Bas Stottelaar
7781da7799
sys: netopt: add busy option
2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d
sys: netopt: add checksum option
2018-05-21 16:37:38 +02:00
4ca2109655
Merge pull request #9154 from maribu/lpc2387
...
cpu/lpc2387: Fixed broken SPI driver
2018-05-21 09:59:49 +02:00
Marian Buschsieweke
17a5101b40
cpu/lpc2387: Fixed broken SPI driver
...
In commit 513b20ffd3
the SPI API was changed to
power up an configure the SPI bus on spi_acquire(). Sadly, the lpc2387 SPI
apparently needs to be reconfigured after each power up. This commit moves
the initialization code required after each power up from spi_init() to
spi_acquire().
2018-05-19 18:12:25 +02:00
Cenk Gündoğan
f307314959
Merge pull request #9006 from jcarrano/tlsf-original-api
...
pkg/tlsf: revert to original api
2018-05-18 17:57:07 +02:00
Juan Carrano
cf686bde2d
pkg/tlsf: Refactor the TLSF package and bring back original TLSF api.
...
- Cleanup package makefile.
- Download directly from git.
- Remove giant patch.
- Implement malloc function as a contrib package.
- Update ccn example.
- Update ps command.
2018-05-18 15:41:07 +02:00
Cenk Gündoğan
94541e1802
Merge pull request #9145 from bergzand/pr/trickle/ms_us_swap
...
trickle: remove msg_time member from struct
2018-05-18 15:00:52 +02:00
4e955175f9
Merge pull request #9150 from gebart/pr/git-cache-update
...
dist: tools: git-cache: update to latest upstream
2018-05-17 23:11:46 +02:00
Joakim Nohlgård
5816aa7419
dist: tools: git-cache: update to latest upstream
...
Upstream commit 04f04e5272f9fd68113a7f07ef034dd672630c79
04f04e5272
2018-05-17 20:42:23 +02:00
Cenk Gündoğan
ab0071622b
Merge pull request #9121 from kaspar030/uart_stdio_workaround
...
sys/uart_stdio: compile with -Wno-cast-function-type
2018-05-17 17:13:30 +02:00
1c03b67cab
sys/uart_stdio: compile with -Wno-cast-function-type
2018-05-17 17:03:27 +02:00
aa84c3e6b8
trickle: remove msg_time member from struct
...
The msg_time member is only locally used and set before read. It can
be removed as the state kept by the member is not used.
2018-05-17 10:40:12 +02:00
Francisco Acosta
af829e2da4
Merge pull request #9007 from kYc0o/add_more_hil_tests
...
tests: add more hardware in the loop tests
2018-05-15 22:14:15 +02:00
b7c65fe2ce
Merge pull request #9132 from gebart/pr/native-pm
...
native: define PROVIDES_PM_SET_LOWEST
2018-05-15 21:48:40 +02:00
236c4f29a8
Merge pull request #9140 from gebart/pr/libcose-randombytes
...
pkg/libcose: Use RIOT random_bytes instead of randombytes
2018-05-15 21:44:05 +02:00
b0099f7220
Merge pull request #9138 from gebart/pr/hacl-randombytes
...
pkg/hacl: Use RIOT random_bytes instead of randombytes
2018-05-15 21:42:34 +02:00
6df8e9808c
Merge pull request #9139 from gebart/pr/tweetnacl-randombytes
...
pkg/tweetnacl: Use RIOT random_bytes instead of randombytes
2018-05-15 21:41:09 +02:00
8fd013635f
Merge pull request #9136 from jcarrano/fix-assert
...
core: make assert() an expression.
2018-05-15 21:38:14 +02:00
Francisco Acosta
d634b7b1d9
tests: add more hardware in the loop tests
2018-05-15 19:54:51 +02:00
Joakim Nohlgård
3efd3829f4
pkg/libcose: Use RIOT random_bytes instead of randombytes
2018-05-15 18:18:32 +02:00
Joakim Nohlgård
c11f9d214a
pkg/tweetnacl: Use RIOT random_bytes instead of randombytes
2018-05-15 18:15:39 +02:00
Joakim Nohlgård
86b5f648ce
pkg/hacl: Use RIOT random_bytes instead of randombytes
2018-05-15 18:10:18 +02:00
d6c63592bb
Merge pull request #9137 from cladmi/pr/tests/unittests/cli_foreach_empty_list
...
tests/unittests: add empty list clist_foreach case
2018-05-15 17:17:13 +02:00
1646af35a6
Merge pull request #8944 from aabadie/pr/examples/filesystem
...
examples/filesystem: fix typos and cleanup
2018-05-15 17:05:47 +02:00
59747590f1
examples/filesystem: fix typos and cleanup
2018-05-15 16:50:33 +02:00
Gaëtan Harter
64bc06f2b6
tests/unittests: add empty list clist_foreach case
...
Add clist_foreach empty list test case which should:
* not call `func`
* return `NULL`
2018-05-15 16:49:59 +02:00
56c2b6a0e3
Merge pull request #9017 from kaspar030/clist_add_foreach_return
...
core/clist: make clist_foreach() return break-causing node
2018-05-15 16:48:12 +02:00
Juan Carrano
09d1b2eac7
core: Make assert be an expression.
...
The "verbose" alternative for assert() is now an expression and
can be used in all the places that a funcion call can be used.
2018-05-15 14:25:55 +02:00
33116c80d7
Merge pull request #9070 from cladmi/pr/make/riottools/tools/check
...
tools/check: use RIOTTOOLS variable
2018-05-15 12:24:37 +02:00
Loïc Dauphin
00ac6171c3
Merge pull request #7085 from aabadie/nucleo144_l496
...
boards/nucleo-l496zg: add initial support
2018-05-15 12:03:19 +02:00
bcb458192d
tests/unittests: add nucleo-l496zg to arm boards
2018-05-15 11:56:51 +02:00
ac00b81e24
boards/nucleo-l496zg: add initial support
2018-05-15 11:56:51 +02:00
601846c2ba
cpu/stm32l4: add support for stm32l496zg
2018-05-15 11:56:51 +02:00
Joakim Nohlgård
2d88cfca15
native: Define PROVIDES_PM_SET_LOWEST
2018-05-15 10:58:05 +02:00
ecb2e4767d
Merge pull request #8955 from aabadie/pr/cpu/guard_cc2538
...
cpu/cc2538: remove obsolete periph file guard
2018-05-14 22:46:47 +02:00
3f1657ffbb
Merge pull request #8952 from ZetaR60/RIOT_atmega_graceful_clock
...
boards/common/atmega: gracefully handle CKDIV8 fuse
2018-05-14 16:11:17 +02:00
Gaëtan Harter
ef13d91bed
tools/check: use RIOTTOOLS variable
...
Follow up to #9067 and part of #8821
2018-05-14 15:47:53 +02:00
d6f9be77b5
Merge pull request #9123 from maribu/pack_structs
...
gnrc/netif/hdr.h: Optimized structure layout
2018-05-14 14:29:09 +02:00
Marian Buschsieweke
4b8881abb4
gnrc/netif/hdr.h: Optimized structure layout
...
Reordered struct members to not waste memory due to padding.
Before:
``` C
typedef struct {
uint8_t src_l2addr_len;
uint8_t dst_l2addr_len;
kernel_pid_t if_pid; // <-- 16 bit, is aligned to 16 bit
uint8_t flags;
uint8_t __padding_byte; // <-- Inserted to fulfill padding requirements
int16_t rssi; // <-- 16 bit, is NOT aligned to 16 bit
uint8_t lqi;
uint8_t __padding_byte2;// <-- Inserted to fulfill padding requirements
} gnrc_netif_hdr_t;
```
Now:
``` C
typedef struct {
uint8_t src_l2addr_len;
uint8_t dst_l2addr_len;
kernel_pid_t if_pid; // <-- 16 bit, is aligned to 16 bit
uint8_t flags;
uint8_t lqi;
int16_t rssi; // <-- 16 bit, is aligned to 16 bit
} gnrc_netif_hdr_t;
```
When build for the `bluepill` board, the new layout reduces the size by 2 bytes.
2018-05-14 14:01:29 +02:00
0b0fea9a2e
Merge pull request #9101 from cladmi/pr/make/add_debug_variable
...
makefiles/info.inc.mk: add a info-debug-variable-% target
2018-05-14 11:47:29 +02:00
Bas Stottelaar
14e5a2b683
Merge pull request #9098 from basilfx/feature/efm32_unittests
...
tests: unittests: disable for new efm32 boards.
2018-05-14 11:13:12 +02:00
Cenk Gündoğan
db754c6cd5
Merge pull request #9122 from kaspar030/fix_cortexm0_gcc81
...
cpu/cortexm: explicitly set -march=armv6s-m for crotexm0(plus)
2018-05-14 09:59:30 +02:00
1f436e2486
Merge pull request #8965 from aabadie/pr/drivers/io1_xplained_enh_sd
...
drivers/io1_xplained: improve driver and add support for the sdcard and light sensor
2018-05-14 09:00:47 +02:00
372aadd626
Merge pull request #8978 from Hyungsin/forupstream_fxos8700
...
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-14 08:45:58 +02:00
Bas Stottelaar
e7b3e4bf64
tests: unittests: disable for new efm32 boards.
2018-05-13 18:59:12 +02:00
Hyungsin
beaf08bcb2
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-12 17:51:58 -07:00
10870eac62
Merge pull request #9076 from gschorcht/enc28j60-fix
...
enc28j60: fix compilation with l2 stats enabled
2018-05-12 02:20:57 +02:00
bb60b3e040
Merge pull request #9074 from haukepetersen/opt_nrf5x_nrfminfeature
...
cpu/nrf5x: define nrfmin feature in nrf5x_common
2018-05-12 02:18:31 +02:00
234b363e8c
Merge pull request #9032 from cladmi/pr/fix/test/wsn430/mutex_unlock_and_sleep
...
tests/mutex_unlock_and_sleep: increase timeout
2018-05-12 02:09:37 +02:00
0ca4ffa6a4
Merge pull request #9116 from cladmi/pr/sys/icmpv6_hdr_print
...
sys/icmpv6_hdr_print: replace PRIu8 by PRIu16
2018-05-12 02:02:30 +02:00