Commit Graph
18468 Commits
Author SHA1 Message Date
Alexandre Abadie a3fc323cf5 Merge pull request #7615 from rfuentess/dtls_upgrade
Improving TinyDTLS package and dtls-echo example
2018-07-04 11:57:48 +02:00
Raul Fuentes 4092eda744 examples/dtls-echo: Cleaning and upgrade to sock
Due to all the changes, this is basically a new version for this
example. The main benefit is the use of sock_udp but also the client
side is now more robust and reliable.

The parameters required for the PSK and ECC (e.g. keys) modes are moved
to an unique header.
2018-07-04 11:35:08 +02:00
Raul Fuentes 61f56ddb14 pkg/tinydtls: Moving to official repository
The integration of TinyDTLS for RIOT has been merged into the
development branch of the official repository.

It will be officially available on the master branch in the next
release of tinyDTLS.

Other minor updates:
- Support for the RIOT's memarray
- tinydtls/sha2 is removed from the compilation for giving priority
to RIOT's sha2 functions.
2018-07-04 11:33:58 +02:00
Loïc Dauphin b539ab4142 Merge pull request #9135 from aabadie/pr/board/stm32l476g-disco
boards/stm32l476g-disco: initial basic support
2018-07-04 10:55:00 +02:00
Koen Zandberg 3b9f34f26e Merge pull request #9480 from danpetry/allow_time_to_ack
Docs: add "allow time to ACK before dismissing review" to maintainer guidelines
2018-07-04 10:42:12 +02:00
Gaëtan Harter 499d6b4ed7 Merge pull request #8717 from cladmi/pr/makefile/change_include_order
Makefile.include: fix board/cpu inconsistent include order
2018-07-04 10:36:38 +02:00
Alexandre Abadie 9b5d282f61 boards/stm32l46zg-disco: initial support 2018-07-04 09:58:55 +02:00
Alexandre Abadie ce917269da Merge pull request #9333 from cladmi/pr/make/fix/stm32f103c8
stm32f103c8: fix Makefile.include INCLUDES definition
2018-07-04 09:56:35 +02:00
Gaëtan Harter f7f2494426 Makefile.include: fix board/cpu inconsistent include order
Include order for board and cpu was

1. cpu include
2. board include
3. board common includes
4. cpu common includes

Its now changed to:

1. board include
2. board common includes
3. cpu include
4. cpu common includes

Verifications:

There are no common headers names between boards and cpus.
Except native that has a 'periph_conf.h' in cpu instead of being in board.
2018-07-04 09:20:01 +02:00
Alexandre Abadie f7922b9055 cpu/stm32l4: adapt for stm32l476vg 2018-07-04 09:19:46 +02:00
Alexandre Abadie 2c37309b49 Merge pull request #9488 from Hyungsin/forupstream_pir
tests/driver_pir: remove redundant/double configuration from Makefile
2018-07-04 09:00:45 +02:00
Hyungsin 492c86b9d7 tests/driver_pir: remove redundant/double configuration from Makefile 2018-07-03 23:46:29 -07:00
Loïc Dauphin 4fcd58acfd Merge pull request #8868 from aabadie/pr/boards/stm32f429i-disc1
boards/stm32f429i-disc1: add initial support
2018-07-03 17:35:54 +02:00
danpetry fb22cf89fe Docs: add "allow time to ack before dismissing" 2018-07-03 12:05:40 +02:00
Cenk Gündoğan 16e1f972ab Merge pull request #9424 from miri64/gnrc_sixlowpan_frag/enh/async-gc
gnrc_sixlowpan_frag: add asynchronous rbuf GC
2018-07-03 11:45:52 +02:00
Martine Lenders 254f16e81f gnrc_sixlowpan_frag: add asynchronous rbuf GC
While the current approach for garbage collection in the 6Lo reassembly
buffer is good for best-effort handling of
*fragmented* packets and nicely RAM saving, it has the problem that
incomplete, huge datagrams can basically DoS a node, if no further
fragmented datagram is received for a while (since the packet buffer is
full and GC is not triggered).

This change adds a asynchronous GC (utilizing the existing
functionality) to the reassembly buffer, so that even if there is no new
fragmented packet received, fragments older than `RBUF_TIMEOUT` will be
removed from the reassembly buffer, freeing up the otherwise wasted
packet buffer space.
2018-07-03 10:25:25 +02:00
Cenk Gündoğan e5c6d0ebf1 Merge pull request #9240 from maxvankessel/pr/isrpipe
drivers/isrpipe: changed isrpipe_t content order
2018-07-02 22:28:41 +02:00
Cenk Gündoğan bf33941819 Merge pull request #9434 from miri64/gnrc_pktbuf_static/fix/alignment-race
gnrc_pktbuf_static: fix alignment issue / leaks
2018-07-02 16:32:13 +02:00
danpetry f47bbfea5f Merge pull request #9153 from jcarrano/lua-on-riot
pkg/lua: Better Lua-RIOT integration
2018-07-02 16:00:35 +02:00
Martine Lenders a6ac22af3b tests: fix gnrc_ndp tests for new alignment 2018-07-02 15:44:24 +02:00
Juan Carrano 87496f3376 examples/lua: Add REPL.
This example add a module thats starts an interactive READ-EVAL-
PRINT-LOOP written in Lua.
2018-07-02 15:39:31 +02:00
danpetry ed4411602c pkg/lua: Provide better integration with RIOT
- Remove file related functions from loader.
 * All packages must be builtin.
- Remove os.tmpname.
- Interface with TLSF.
- Don't abort() when out of memory.
2018-07-02 15:13:10 +02:00
Juan I Carrano 122ebb0b75 Merge pull request #9463 from bergzand/pr/pkg/monocypher/initial
Monocypher: Initial import of package
2018-07-02 14:55:23 +02:00
Cenk Gündoğan 32e823acb2 Merge pull request #9447 from miri64/gnrc_sixlowpan_frag/enh/add-cur-size
gnrc_sixlowpan_frag: add current_size to exposed struct
2018-07-02 14:05:40 +02:00
Koen Zandberg 02362e8ddd monocypher: Add public key signature test 2018-07-02 13:59:09 +02:00
Koen Zandberg 306731a790 monocypher: Initial import of package
Support for monocypher as crypto library. Blazing fast performance, but
double the flash requirement compared to TweetNaCl. Stack usage is
around 70% of TweetNaCl
2018-07-02 13:59:08 +02:00
Francisco Acosta fb49884a95 Merge pull request #8977 from cladmi/pr/fix/iotlab/openocd
boards/iotlab-m3|a8: fix openocd configuration
2018-07-02 12:11:23 +02:00
Gaëtan Harter d4ca2644a3 boards/iotlab-m3|a8: fix openocd configuration
iotlab-m3 boards always ended up not being able to flash after time.
This changes managed to fix and flash boards that where able to be flashed with
the deprecated `ft2232` driver and not with the `ftdi` driver used in RIOT.

It combines configuration from openocd, iot-lab, RIOT config and Alexandre
Abadie feedback

* http://repo.or.cz/openocd.git/blob/HEAD:/tcl/interface/ftdi/iotlab-usb.cfg
  * ftdi configuration
* https://github.com/iot-lab/iot-lab-gateway/blob/2.4.1/gateway_code/static/iot-lab-m3.cfg
  * `trst_and_srst` config
* Alexandre feedback and http://openocd.org/doc/html/Reset-Configuration.html
  * 'connect_assert_srst' reset configuration
    * it prevents errors in the output on first flash
    * should help on boards with invalid code
    * It was taken from what Alexandre found for board 'b-l072z-lrwan1'
  * It requires using '-c reset halt' instead of '-c halt' before debug
* RIOT
  * Keep the `configure -rtos` auto
2018-07-02 11:00:48 +02:00
MichelRottleuthner 2ac61b7f1f Merge pull request #9282 from jcarrano/new-mkconstfs
tools/mkconstfs: Add an improved tool.
2018-07-02 10:50:37 +02:00
Juan Carrano 6cfafc8923 tools/mkconstfs: Add an improved tool.
The new tool (mkconstfs2) features:

* more robust filename handling: no need for mangling,
  and works on Windows.
* Better output generation: nothing is written in case
  of failures.
* Allows more control over the files that are included:
 - does not traverse directories, filenames must be explicitly
   given.
 - The "root" can be explicitly given (thus the tool can get
   the same result independently of the CWD).

Thanks to MichelRottleuthner for making it work with Windows paths.
2018-07-02 10:15:56 +02:00
Peter Kietzmann c68ebca154 Merge pull request #9468 from gebart/pr/mulle-uart-pins
boards/mulle: Fix mixed up RX TX pins on UART0
2018-07-02 08:28:49 +02:00
Joakim Nohlgård 723d86bab0 boards/mulle: Fix mixed up RX TX pins on UART0 2018-06-30 15:40:27 +02:00
Francisco Acosta 4b7f85de75 Merge pull request #9285 from Lydrin/master
pkg/jerryscript: update to latest commit
2018-06-29 18:14:02 +02:00
Gaëtan Harter d055fde171 Merge pull request #8790 from aabadie/pr/openocd_b-l072z-lrwan1
boards/b-l072z-lrwan1: fix openocd configuration and 'make debug'
2018-06-29 18:09:03 +02:00
Alexandre Abadie cda12a0c2b Merge pull request #9462 from MichelRottleuthner/pr_pn532_fix_buffer_type
drivers/pn532: fix wrong buffer type
2018-06-29 17:38:18 +02:00
Michel Rottleuthner 41d103ad10 drivers/pn532: fix wrong buffer type 2018-06-29 16:48:59 +02:00
Alexandre Abadie 05c53a9216 Merge pull request #9435 from OTAkeys/pr/stm32f2_cpu_line
cpu/stm32f2: make use of CPU_LINE
2018-06-29 15:42:37 +02:00
Alexandre Abadie 5206446cf7 Merge pull request #9439 from OTAkeys/pr/stm32f3_cpu_line
cpu/stm32f3: make use of CPU_LINE
2018-06-29 15:42:17 +02:00
Alexandre Abadie 48d65d656f Merge pull request #9441 from OTAkeys/pr/stm32f7_cpu_line
cpu/stm32f7: make use of CPU_LINE
2018-06-29 15:41:58 +02:00
Peter Kietzmann 8ab20f0551 Merge pull request #9456 from ZetaR60/RIOT_atmega_gpio_misc_fix
cpu/atmega_common: misc gpio interrupt fixes
2018-06-29 09:18:35 +02:00
Francisco Acosta 23d176f46b Merge pull request #8857 from ZetaR60/RIOT_atmega_time_dot_h
cpu/atmega_common: Use updated time.h
2018-06-28 22:29:20 +02:00
Matthew Blue adc44e6496 cpu/atmega_common: misc gpio interrupt fixes 2018-06-28 16:06:36 -04:00
Alexandre Abadie aa7fad6d40 boards/stm32f429i-disc1: add initial support 2018-06-28 20:48:58 +02:00
Ken Bannister 03115a7c0c Merge pull request #9444 from kb2ma/nanocoap/test_get_uri_path
net/nanocoap: test coap_get_uri() boundaries
2018-06-28 13:06:30 -04:00
Hauke Petersen a5f2f0e1c0 Merge pull request #9453 from miri64/gnrc_sock_udp/fix/use-sock-ep
gnrc_sock_udp: use sock's local end-point for listening
2018-06-28 18:43:59 +02:00
Martine Lenders 647d1d2b01 tests: provide test for reception on sock with port 0 2018-06-28 17:38:12 +02:00
Martine Lenders cb74063573 gnrc_sock_udp: use sock's local end-point for listening
Without this fix the listener doesn't actually listen on the
(potentially) ephemeral port introduced in #9382, but on port 0 which is
wrong.
2018-06-28 17:25:26 +02:00
Alexandre Abadie 4e1f07b895 Merge pull request #8475 from aabadie/pr/common-stlink
boards/stm32: use common place of openocd config files for all boards using stlink
2018-06-28 15:13:48 +02:00
Gaëtan Harter 77a8aee6fa Merge pull request #8821 from cladmi/pr/riottools
make: add and export RIOTTOOLS directory
2018-06-28 14:34:25 +02:00
Gaëtan Harter 609c7073db pkg/relic: use RIOTTOOLS variable 2018-06-28 14:11:00 +02:00