e827f0bdf1
core/xfa: add comments explaining the pragmas
2021-02-18 10:46:08 +01:00
50dc68bd21
core/xfa: make const XFA's volatile
...
This prevents gcc from figuring out that an XFA that has been
initialized in the same file is technically empty when the compilation
unit is seen by itself. This happened with gcc 10.1.0 on msp430-elf.
2021-02-18 10:46:08 +01:00
6711388afe
cpu/mips_pic32_common: fix XFA support
2021-02-18 10:46:08 +01:00
b54afa1449
xfa: remove duplicate "const" from _XFA_CONST
2021-02-18 10:46:08 +01:00
61d9f34748
cpu/lpc23xx: add XFA support
2021-02-18 10:46:08 +01:00
b3b04faadb
cpu/fe310: add XFA support
2021-02-18 10:46:08 +01:00
858b5ca6ed
xfa: remove obsolete empty xfa.ld
2021-02-18 10:46:08 +01:00
ee9d6c879a
cpu/native: add XFA support
2021-02-18 10:46:08 +01:00
ac549abbb9
xfa: remove common -Txfa.ld include
2021-02-18 10:46:08 +01:00
f411fd4814
cpu/msp430_common: add XFA support
2021-02-18 10:46:08 +01:00
06ec602782
cpu/esp8266: add XFA support
2021-02-18 10:46:08 +01:00
91b987acd6
cpu/esp8266: add ld/ to linker search path, use it
2021-02-18 10:46:08 +01:00
2474fa7af5
cpu/esp32: add XFA support
2021-02-18 10:46:08 +01:00
bdd59ae7f2
core: disable -Warray-bounds for XFA users
2021-02-18 10:46:08 +01:00
d8d34e033c
cpu/cortexm_common: add XFA handling to linkerscript
...
The global core/ldscripts/xfa.ld doesn't match our cortexm_base.ld.
This commit directly adds the two XFA lines to cortexm_base.ld.
In addition to that, a dummy (empty) xfa.ld is added, which the linker will pick
instead of core/ldscripts/xfa.ld, effectingly not using it.
2021-02-18 10:46:08 +01:00
Gaëtan Harter
3099e02953
xfa: add a test script
...
Enable it for CI test
2021-02-18 10:46:08 +01:00
Joakim Nohlgård
a23b29d42e
pic32_common: Add CPU specific xfa.ld variant
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
abca94b25d
tests/xfa: Add static check of XFA linking
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
12a2243485
unittests: Add XFA tests
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
6adeec09e9
atmega_common: add arch specific XFA ldscript to properly place .roxfa
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
97e1be0830
tests: Add xfa test
2021-02-16 14:21:33 +01:00
66092f5506
core: Introduce cross file arrays (XFA)
...
Co-Authored-By: Joakim Nohlgård <joakim.nohlgard@eistec.se>
2021-02-16 14:21:32 +01:00
09df6a4549
Merge pull request #15971 from aabadie/pr/make/emulate_flash_bug
...
make/emulate: fix bugs when using flash target
2021-02-16 11:56:04 +01:00
benpicco
4bacc4f9b1
Merge pull request #16015 from jeandudey/2021_02_15-gpio-params
...
boards/[cc2650, cc1312]-launchpad: add saul_gpio definitions
2021-02-16 10:12:55 +01:00
benpicco
b4523297c5
Merge pull request #16016 from memiks/issue-15954
...
remove unused parameter spi3w_en to solve issue #15954
2021-02-16 10:12:40 +01:00
Memiks
e6cb7392d7
drivers/bmx280: remove unused parameter spi3w_en #15954
2021-02-16 09:04:08 +09:00
Jean Pierre Dudey
6178698c3d
boards/cc2650-launchpad: add saul_gpio definitions
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-15 22:39:05 +01:00
Jean Pierre Dudey
17baeb2258
boards/cc1312-launchpad: add saul_gpio definitions
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-15 22:39:05 +01:00
Leandro Lanzieri
4172066ab3
Merge pull request #15984 from MrKevinWeiss/pr/posix_sleep/kconfig
...
sys/posix_sleep: Add Kconfig support
2021-02-15 16:01:09 +01:00
Leandro Lanzieri
85da504d2d
Merge pull request #15947 from nmeum/pr/clif_get_attr_empty
...
clif: Don't access any data if input is empty
2021-02-15 13:53:40 +01:00
MrKevinWeiss
83f5995b6f
murdock: Add tests/posix_sleep to TEST_KCONFIG
2021-02-15 12:24:38 +01:00
MrKevinWeiss
d5a94d79a5
tests/posix_sleep: add Kconfig configuration file
2021-02-15 12:24:38 +01:00
MrKevinWeiss
b8eb12d43b
sys/posix_sleep: add module to Kconfig
2021-02-15 12:24:38 +01:00
benpicco
ffdddc802e
Merge pull request #14738 from benpicco/c11
...
CODING_CONVENTIONS.md: default to C11
2021-02-15 10:42:54 +01:00
chrysn
54b2436daa
Merge pull request #16006 from chrysn-pull-requests/no-mutex-in-init
...
core/mutex: Check against mutex use outside of threads
2021-02-15 10:39:30 +01:00
benpicco
68f840e5e5
Merge pull request #15394 from chrysn-pull-requests/particle-mesh-acmdefault
...
b/c/particle-mesh: Switch default stdio to USB
2021-02-15 10:28:06 +01:00
chrysn
9c08017dea
b/c/particle-mesh: Switch default stdio to USB
...
The ttyUSB0 defaults are inapplicable here, and the default values
should work for CDC-ACM.
2021-02-15 08:56:27 +01:00
chrysn
711e9ab3b6
doc: Warn against blocking in board_init
2021-02-15 06:01:29 +01:00
chrysn
6145949f88
core/mutex: Add assert guard against usage without threads
2021-02-15 06:01:01 +01:00
Marian Buschsieweke
bf7c697c8d
Merge pull request #16004 from benpicco/cpu/nrf52-DCDCEN0_fix
...
cpu/nrf5x: only enable DCDC for REG0 if REG0 exists
2021-02-14 14:28:41 +01:00
Benjamin Valentin
95f814b5da
CODING_CONVENTIONS.md: default to C11
...
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).
Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
Benjamin Valentin
a8fcc7b238
cpu/nrf5x: only enable DCDC for REG0 if REG0 exists
...
nRF52833 has POWER_MAINREGSTATUS_MAINREGSTATUS_High, but no POWER->DCDCEN0
register.
This breaks all builds on this MCU.
Fix the ifdef to fix the build.
2021-02-14 00:06:34 +01:00
benpicco
76c03291dc
Merge pull request #15990 from haukepetersen/opt_board_nrf52840dogle_dcdc
...
boards/nrf52840dongle: enable DCDC converters
2021-02-13 23:53:03 +01:00
benpicco
3e3c4d06fb
Merge pull request #15955 from aabadie/pr/boards/microbit-v2
...
boards: add support for microbit v2
2021-02-13 23:48:43 +01:00
benpicco
84e21e97f1
Merge pull request #15991 from haukepetersen/opt_nrf52_dcdc
...
cpu/nrf5x: enable DC/DC also for REG0 if VDDH is used
2021-02-13 23:09:12 +01:00
54dbc555c0
Merge pull request #15176 from nmeum/pr/hifive1-llvm
...
fe310: Support compilation with clang
2021-02-13 18:53:54 +01:00
Martine Lenders
c50f7a177c
Merge pull request #16001 from yarrick/esp_netif
...
lwip/esp: Support adding both netifs (eth+wifi)
2021-02-13 18:07:14 +01:00
benpicco
490e94c917
Merge pull request #15976 from benpicco/boards/cc26xx_cc13xx-cleanup
...
boards/[cc13x0, cc26x0]: move programmer config to common folder
2021-02-13 17:15:13 +01:00
Erik Ekman
a29c835b2e
lwip/esp: Support adding both netifs (eth/wifi)
2021-02-13 15:42:33 +01:00
Marian Buschsieweke
f3ec10ac64
Merge pull request #15997 from maribu/serpente-led-pwm
...
boards/serpente: add SAUL PWM integration
2021-02-13 13:17:00 +01:00