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

34400 Commits

Author SHA1 Message Date
Benjamin Valentin
ebe4fc0bc1 tests/mtd_raw: include mtd_write_page() in test 2021-01-28 11:51:28 +01:00
Benjamin Valentin
c569d9a1d9 drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
- EEPROMs don't need read-modify-write cylce
 - SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
Benjamin Valentin
e8bbe1d1c7 mtd: re-add mtd_write_page()
Add a write_page() command that performs a read-modify-write cycle
if necessary.
2021-01-28 11:51:28 +01:00
Marian Buschsieweke
13b97be08c
Merge pull request #15872 from benpicco/boards/cc1352p-launchpad_saul
boards/cc1352(p)-launchpad: add SAUL configuration
2021-01-28 10:07:54 +01:00
da39ba00cc
Merge pull request #15875 from aabadie/pr/tests/driver_bq2429x_test_with_config
tests/driver_bq2429x: move test to test-with-config
2021-01-28 09:58:10 +01:00
Dylan Laduranty
1d0dbb4626
Merge pull request #15846 from benpicco/cpu/sam0_common-spi_fixes
cpu/sam0_common: SPI: MOSI only operation & fix for adafruit-itsybitsy-m4
2021-01-28 09:26:28 +01:00
999849fac4
tests/driver_bq2429x: move test to test-with-config 2021-01-28 09:17:39 +01:00
Jean Pierre Dudey
bb65b3b0af tests/ieee802154_submac: check netdev_driver_t::recv return value
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-27 22:52:21 +01:00
Benjamin Valentin
c10282d7a3 boards/cc1352-launchpad: fix BTN-1 definition
same as for cc1352p-launchpad
2021-01-27 20:01:14 +01:00
Benjamin Valentin
f8543df549 boards/cc1352-launchpad: add SAUL configuration 2021-01-27 19:55:57 +01:00
Benjamin Valentin
56dc904d3b boards/cc1352p-launchpad: add SAUL configuration 2021-01-27 19:55:17 +01:00
Benjamin Valentin
9ad4159865 boards/cc1352p-launchpad: fix BTN-1 definition
BTN-1 is on pin 15, configuring pin 13 as input gets the board stuck at boot.
2021-01-27 19:55:17 +01:00
1bde5296fd
Merge pull request #14987 from bergzand/pr/riscv/semihosting
stdio_semihosting: Extend with RISC-V support
2021-01-27 18:49:35 +01:00
550be21cfc
Merge pull request #15868 from aabadie/pr/pkg/libfixmath_nump_version
pkg/libfixmath: bump version to latest master
2021-01-27 17:56:39 +01:00
0a6c9c4ec0
stdio_semihosting: Extend with RISC-V support
RISC-V support semihosting in very similar way as the cortex-m
microcontrollers. The code calls a breakpoint instruction and the
attached debugger reads/writes registers and memory for stdio.

The RISC-V architecture doesn't support a call number with the EBREAK
instruction, to allow the debugger to detect a semihosting break point,
the EBREAK instruction is wrapped in a SLLI and SRAI instruction. These
use x0 as output register, making them NOP instructions.

One caveat when using this is that the RISC-V core traps the EBREAK
instruction with trap code 3 when no debugger is attached. Restarting
the application with the debugger attached avoids this.
2021-01-27 17:52:19 +01:00
543b26c7ab
tests/pkg_libfixmath_unittests: exclude new small boards 2021-01-27 16:58:47 +01:00
df12cbbe5a
pkg/libfixmath: bump version to latest master 2021-01-27 14:19:52 +01:00
Benjamin Valentin
f12a82e4f9 cpu/stm32: use common pm_off() function
The code is identical to the one found in sys/pm_layered/pm.c
2021-01-27 14:07:22 +01:00
Benjamin Valentin
b6c96b101b riotboot: disable pm_layered
On `same54-xpro` this saves 212 bytes of ROM.
2021-01-27 13:21:20 +01:00
Benjamin Valentin
9c1455d55f cpu: make pm_layered a DEFAULT_MODULE
Allow to disable pm_layered in the bootloader to save some ROM.
2021-01-27 13:21:20 +01:00
benpicco
4509dc6812
Merge pull request #15863 from btcven/2020_01_26-ieee-sfd-phr
ieee802154: add SFD and length of PHR for MR-FSK.
2021-01-27 12:31:12 +01:00
dd9ff31878
Merge pull request #15832 from fjmolinas/pr_TOOLCHAIN_cleanup
Makefile.include: change to account for TOOLCHAIN having dependencies
2021-01-27 11:56:44 +01:00
Jean Pierre Dudey
38ade8d2e9 ieee802154: add MR-FSK SFD values for 2FSK
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2021-01-27 11:52:53 +01:00
Jean Pierre Dudey
9fe6b9ac99 ieee802154: add MR-FSK PHR length definition
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2021-01-27 11:52:53 +01:00
Francisco Molina
92afc0441a
examples/gnrc_minimal: move TOOLCHAIN dep to Makefile.gnu.dep 2021-01-27 11:13:08 +01:00
Francisco Molina
7f06865098
Makefile.dep: add TOOLCHAIN specific dependencies
This commit allows to add a Makefile.dep file in an application
directory to finely tune application dependencies, based on the
used TOOLCHAIN.

Using this mechanism, if an application has dependencies pulled-in based
on the TOOLCHAIN, info-boards-supported, will take this into account to
determine the boards supported by an application
2021-01-27 11:13:03 +01:00
Francisco Molina
1ed4c3a230
makefiles/dependencies_debug.inc.mk: add TOOLCHAIN 2021-01-27 11:11:43 +01:00
Francisco Molina
d1deb6f3ef
Makefile.include: move default TOOLCHAIN before global goals 2021-01-27 11:11:43 +01:00
7212ad7dbd
Merge pull request #15860 from leandrolanzieri/pr/makefiles/riotboot_add_builddeps_dependency
makefiles/riotboot: ensure BUILDDEPS are built before riotboot targets
2021-01-27 10:34:29 +01:00
Francisco
dc801b9dde
Merge pull request #15817 from leandrolanzieri/pr/kconfig/sys_crypto
sys/{crypto, hashes, random}: add modules to Kconfig
2021-01-27 10:20:11 +01:00
ce97e9d8ce
Merge pull request #15859 from fjmolinas/pr_newlib_feature
treewide: model newlib as a FEATURE
2021-01-27 10:06:08 +01:00
Francisco Molina
63a2a6ce1b
treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
Benjamin Valentin
31bf0c5257 cpu/sam0_common: SPI: only mux MISO on spi_acquire() 2021-01-26 21:42:06 +01:00
Leandro Lanzieri
434b6b68d5
Merge pull request #15790 from akshaim/Kconfig_skald_update
net/skald: Update Kconfig implementation
2021-01-26 20:46:27 +01:00
benpicco
dfd2f41267
Merge pull request #15862 from benpicco/cpu/samd21-dox.txt
cpu/samd21: update doc.txt with supported MCUs
2021-01-26 20:37:57 +01:00
Benjamin Valentin
b894b280f4 cpu/samd21: update doc.txt with supported MCUs
SAMD10, SAMD20, SAMD21, SAMR21 all belong to the same family/generation
of Atmel MCUs, they are all supported by `cpu/samd21`.
2021-01-26 19:23:52 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
José Alamos
41caa862bb
Merge pull request #15507 from akshaim/Kconfig_LoRaWAN
net/lorawan : Expose configurations to Kconfig
2021-01-26 18:29:18 +01:00
Leandro Lanzieri
c99559222f
makefiles/riotboot: ensure BUILDDEPS are built before riotboot targets 2021-01-26 18:04:22 +01:00
Leandro Lanzieri
589904e6e8
tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
Leandro Lanzieri
5c4df6078e
sys/random: add modules to Kconfig 2021-01-26 17:40:53 +01:00
Leandro Lanzieri
34594ae1dc
sys/luid: add module to Kconfig 2021-01-26 17:40:30 +01:00
Leandro Lanzieri
0fb2711a15
sys/hashes: add module to Kconfig 2021-01-26 17:40:29 +01:00
Leandro Lanzieri
d90ac484a3
sys/crypto: add modules to Kconfig 2021-01-26 17:39:44 +01:00
Akshai M
c7691035a6 pkg/semtech-loramac : Translate the configs
Translate Kconfigs and CFLAGS
2021-01-26 16:56:05 +01:00
Akshai M
42eb6c4097 net/lorawan : Update documentation
Marked as non-supported:
LORAMAC_DEFAULT_ADR_ACK_LIMIT
LORAMAC_DEFAULT_ADR_ACK_DELAY
LORAMAC_DEFAULT_ADR_TIMEOUT
2021-01-26 16:56:05 +01:00
Akshai M
9600ebf536 net/lorawan : Expose to Kconfig 2021-01-26 16:56:02 +01:00
Akshai M
ae1c8497f2 examples/lorawan : Update macros
Updates macros to allow for changes via Kconfig
2021-01-26 16:52:59 +01:00
Akshai M
a2f505f116 net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
216956d7b0 net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_' 2021-01-26 16:52:59 +01:00