1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

17867 Commits

Author SHA1 Message Date
f04f954a21 makefiles/tools: use RIOTTOOLS variable 2018-05-15 11:29:33 +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
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
9312a711bc cpu/cortexm: explicitly set -march=armv6s-m for crotexm0(plus)
Works around a regression in gcc 8.1.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85606.
2018-05-11 23:07:25 +02:00
Joakim Nohlgård
77449aa592
Merge pull request #9103 from gebart/pr/cortexm-vectors-const
cortexm: const ISR vectors
2018-05-11 21:35:12 +02:00
e05b780a10
Merge pull request #9118 from cladmi/pr/tests/trickle
tests/trickle: initialize prev_now in main
2018-05-11 20:57:01 +02:00
Gaëtan Harter
b11b806465
Merge pull request #9019 from aabadie/pr/tests/pkg_cayenne_lpp_less_strict
tests/pkg_cayenne_lpp: fix inconsistent buffer values across architectures (native, boards)
2018-05-11 19:06:26 +02:00
Gaëtan Harter
6027b9bca1
Merge pull request #9018 from aabadie/pr/dist/testbed-support-tools-name
dist/testbed-support: use new cli-tools command names
2018-05-11 19:05:56 +02:00
925f3c3a03 tests/pkg_cayenne_lpp: improve test and fix failing checks
- generated payloads can differ between architectures due to floating precision
- reworked how buffer content is tested in the application
- second test value depends on architecture (native and other platforms)
2018-05-11 18:57:36 +02:00
Gaëtan Harter
39b3b31a5d
Merge pull request #9078 from aabadie/pr/boards/iotlab
boards/iotlab: fix saul gpio configuration
2018-05-11 18:46:32 +02:00
Gaëtan Harter
08aea22127
Merge pull request #9119 from kaspar030/release_notes_fixup
release notes 2018.04 typo fix
2018-05-11 18:28:45 +02:00
6cee498832 release notes 2018.04 typo fix 2018-05-11 17:58:24 +02:00
Gaëtan Harter
4032cf73b0
tests/trickle: initialize prev_now in main
Having `prev_now` initialized to 0 breaks tests on `arduino-zero` and
`arduino-mega2560` as `xtimer_now_usec` is way bigger (72k on `arduino-zero`).

Issue found in:
* #9052 and proposed fix by ZetaR60
* https://github.com/RIOT-OS/Release-Specs/issues/62#issuecomment-387421737
2018-05-11 17:56:27 +02:00
Gaëtan Harter
60d09e6b21
sys/icmpv6_hdr_print: replace PRIu8 by PRIu16
PRIu8 is not supported on samr21-xpro:

    type:   hu  code:   hu

After fix

    type: 133  code:   0

Found by running 'tests/gnrc_netif'
2018-05-11 17:41:25 +02:00
f4566fe175
Merge pull request #9114 from kaspar030/2018.04/release-notes
add 2018.04 release notes
2018-05-11 17:33:24 +02:00
fec1a09d89 add 2018.04 release notes 2018-05-11 16:31:25 +02:00
Gaëtan Harter
d0f22b787c
Merge pull request #8112 from cladmi/pr/crypto/input_len
crypto/ccm: fix input_len checking with length_encoding
2018-05-09 18:56:34 +02:00
Gaëtan Harter
96812341fc
Merge pull request #9110 from cladmi/pr/make/riottools/gnrc_border_router
examples/gnrc_border_router: use RIOTTOOLS variable
2018-05-09 18:55:44 +02:00
Gaëtan Harter
45e6d60373
examples/gnrc_border_router: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-09 18:49:12 +02:00
1b76ce9e92
Merge pull request #9102 from cladmi/pr/make/riottools/main_makefile
Makefile.include: use RIOTTOOLS variable for included files
2018-05-09 18:32:25 +02:00
Gaëtan Harter
e45194d301
mcuboot.mk: use RIOTTOOLS variable 2018-05-09 18:01:51 +02:00
Gaëtan Harter
297ca898fe
dist/tools/desvirt: use RIOTTOOLS variable 2018-05-09 18:01:48 +02:00
Gaëtan Harter
98d33a5eca
Makefile.include: use RIOTTOOLS variable 2018-05-09 18:01:44 +02:00
7f83c450c8
Merge pull request #9100 from cladmi/pr/tests/libfixmath_unittests
tests/libfixmath_unittests: fix for iotlab-m3 and samr21-xpro
2018-05-09 15:30:26 +02:00
83e8a52176
Merge pull request #9089 from gebart/pr/ldscript-attrs
cpu: ldscript memory attribute corrections
2018-05-09 09:26:20 +02:00
260940cfa3
Merge pull request #9079 from OTAkeys/pr/stm32f423
cpu/stm32f4: add support for STM32F423 line
2018-05-09 09:18:18 +02:00
Joakim Nohlgård
986000492d stm32_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:29 +02:00
Joakim Nohlgård
e29e0588b4 sam_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:25 +02:00
Joakim Nohlgård
28361592ae sam0_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:02 +02:00
Joakim Nohlgård
72118db964 nrf52: Adjust ldscript memory segment attributes 2018-05-09 06:48:40 +02:00
Joakim Nohlgård
57b56d2e4d nrf51: Adjust ldscript memory segment attributes 2018-05-09 06:46:51 +02:00
Joakim Nohlgård
60b13e680c lpc2387: Adjust ldscript memory segment attributes 2018-05-09 06:46:05 +02:00
Joakim Nohlgård
bb7fdb6eda lpc1768: Adjust ldscript memory segment attributes 2018-05-09 06:45:28 +02:00
Joakim Nohlgård
37cb8dcf95 lm4f120: Adjust ldscript memory segment attributes 2018-05-09 06:45:00 +02:00
Joakim Nohlgård
433322834e ezr32wg: Adjust ldscript memory segment attributes 2018-05-09 06:44:39 +02:00
Joakim Nohlgård
4532c348b4 cortexm_common: Adjust ldscript memory segment attributes 2018-05-09 06:44:12 +02:00
Joakim Nohlgård
93e2527a64 cc26x0: Adjust ldscript memory segment attributes 2018-05-09 06:43:17 +02:00