Dylan Laduranty
a33e61e997
boards/stm32: update to use generic uart_hw_fc module
2020-03-10 14:34:11 +01:00
Dylan Laduranty
3c47911189
cpu/stm32: use generic hw fc module
2020-03-10 14:34:11 +01:00
Dylan Laduranty
48231efb20
boards/cc26xx_cc13xx: use generic hw fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
8e2227b18b
cpu/cc26xx_cc13xx: use generic hw fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
6baf501a3d
boards/cc2538: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
077a15f254
cpu/cc2538: use generic hw fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
88bb019438
boards/sam0: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
7a095a80d7
cpu/sam0: use generic hw fc module
2020-03-10 14:22:34 +01:00
Marian Buschsieweke
f2edcf9674
makefiles/tools/avrdude: Improved debug handling
...
- Choose correct debug protocol for ATmega328P (which supports debugWIRE instead
of JTAG)
- Allow overwriting debugger device via AVR_DEBUGDEVICE environment variable,
default to the Atmel-ICE (least expensive, supports most AVR devices)
2020-03-10 14:03:33 +01:00
Marian Buschsieweke
edd93411fe
dist: De-duplicated AVR debug config & scripts
...
Use common debug.sh, debug_srv.sh and gdb.conf for all AVR boards.
2020-03-10 12:54:51 +01:00
Jose Alamos
c5cba0733f
gnrc_ipv6_nib: remove parenthesis from boolean configs
2020-03-10 12:30:12 +01:00
90ca4f3b42
tests/ztimer_overhead: update to use signed ztimer_overhead()
2020-03-10 12:23:33 +01:00
b45f4236de
sys/ztimer: make ztimer_overhead() return signed value (int32_t)
2020-03-10 12:23:33 +01:00
benpicco
741b9d3b2d
Merge pull request #13603 from ML-PA-Consulting-GmbH/samd21j17d_add
...
cpu/sam0_common: add samd21j17d
2020-03-10 12:00:25 +01:00
c2f9700f5e
Merge pull request #13570 from kaspar030/ztimer_allow_adjust_config
...
sys/ztimer: allow "adjust" config for ztimer_usec, ztimer_msec
2020-03-10 11:58:21 +01:00
631fbd9fc8
boards/blxxxpill: rework programmer specific configuration
2020-03-10 11:42:10 +01:00
f56470925b
boards: include common dfu logic where applicable
2020-03-10 11:42:10 +01:00
23a3dcf828
makefiles/dfu: refactor configuration file
2020-03-10 11:42:10 +01:00
Sören Tempel
9772f78a0e
tests/mpu_noexec_ram: convert to an automated test
2020-03-10 11:16:22 +01:00
Sören Tempel
59676a1f5e
Make sure the mpu_noexec_ram regions has the lowest priority
...
From the ARMv7-M ARM section B3.5.3:
Where there is an overlap between two regions, the register with
the highest region number takes priority.
We want to make sure the mpu_noexec_ram region has the lowest
priority to allow the mpu_stack_guard region to overwrite the first N
bytes of it.
This change fixes using mpu_noexec_ram and mpu_stack_guard together.
2020-03-10 11:16:22 +01:00
Sören Tempel
5bb3b3dfea
tests: add test for the mpu_noexec_ram pseudomodule
...
The Makefiles have been copied from the mpu_stack_guard test.
2020-03-10 11:16:22 +01:00
660b11261d
makefiles/dfu: remove unapplicable variables
2020-03-10 11:01:43 +01:00
Benjamin Valentin
5d8c00e302
cpu/cc2538: implement periph/pm
...
cc2538 implements 4 sleep modes.
In the lightest mode (3) any interrupt source can wake up the CPU.
In mode 2, only RTT, GPIO or USB may wake the CPU.
In mode 1 only RTT and GPIO can wake the CPU.
In mode 0 only GPIO can wake the CPU.
In mode 0 and 1 the lower 16k RAM are lost. This is a problem since those
are usually used by RIOT.
The linkerscripts in cc2538/ldscripts take different approaches towards that.
Some only use the upper 16k and leave the other half to be managed by the
application.
`cc2538sf53.ld` which is used by `openmote-b` uses the entire RAM starting
at the lower half, so it will not be able to wake up from those modes.
A quick fix to test those modes with `tests/periph_pm` would be
--- a/cpu/cc2538/ldscripts/cc2538sf53.ld
+++ b/cpu/cc2538/ldscripts/cc2538sf53.ld
@@ -21,7 +21,7 @@ MEMORY
{
rom (rx) : ORIGIN = 0x00200000, LENGTH = 512K - 44
cca : ORIGIN = 0x0027ffd4, LENGTH = 44
- ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K
+ ram (w!rx) : ORIGIN = 0x20004000, LENGTH = 16K
}
2020-03-10 10:35:46 +01:00
Alexandre Moguilevski
648a5b9c58
cpu/sam0_common: add samd21j17d
2020-03-10 10:26:45 +01:00
Francisco
1b5f22ec2e
Merge pull request #8410 from OTAkeys/pr/fix_stm32f1_boards
...
boards: fix CLOCK_PLL_PREDIV on stm32f1-based boards
2020-03-10 09:35:48 +01:00
benpicco
82b96ff831
Merge pull request #13592 from aydoganersoz/qcbor_pkg_add
...
pkg/qcbor: Add QCBOR package
2020-03-09 21:48:15 +01:00
Dylan Laduranty
87ee82afd3
Merge pull request #13601 from benpicco/sam0-disable-mux
...
cpu/sam0_common: gpio: add gpio_disable_mux() function
2020-03-09 20:35:53 +01:00
Aydogan Ersoz
d66f35c31a
add QCBOR package
2020-03-09 20:29:50 +01:00
benpicco
6f7293d7c3
Merge pull request #13559 from aabadie/pr/sys/crypto_modules_rework
...
sys/crypto: define cipher using a module instead of CFLAGS
2020-03-09 19:41:27 +01:00
benpicco
f0ac1624c5
Merge pull request #13594 from aabadie/pr/tools/cc2538-bsl_rework
...
tools/cc2538-bsl: deduplicate buildsystem integration
2020-03-09 19:39:43 +01:00
Benjamin Valentin
5c4c45fd3f
cpu/sam0_common: gpio: add gpio_disable_mux() function
...
Inverse to gpio_init_mux()
2020-03-09 19:23:33 +01:00
803698037a
Merge pull request #13554 from OTAkeys/fix/memarray_init
...
memarray: fix memarray init
2020-03-09 19:21:33 +01:00
Benjamin Valentin
74251383a0
makefiles: add OpenOCD config for Raspberry Pi GPIO
...
OpenOCD supports bit-banging the GPIOs of the Raspberry PI to emulate
an SWD flasher.
Add a raspi.inc.mk to support that option.
2020-03-09 19:12:40 +01:00
benpicco
d405cb7dd1
Merge pull request #13577 from kaspar030/fix_ztimer_rtt_logic
...
sys/ztimer: fix typo in rtt conversion selection
2020-03-09 19:11:07 +01:00
benpicco
0cf6e39be5
Merge pull request #13589 from maribu/stm32f103-jtag-pins
...
cpu/stm32f103: Allow boards to expose JTAG pins as GPIOs
2020-03-09 19:07:52 +01:00
b4418426ba
boards/cc2538: use common cc2538-bsl handling file
2020-03-09 18:26:08 +01:00
Gunar Schorcht
75bd22f55b
Merge pull request #13599 from leandrolanzieri/pr/boards/esp32-wroom-32/remove_driver_configurations
...
boards/esp32-wroom-32: Remove driver configurations from Makefile.dep
2020-03-09 18:22:15 +01:00
a83510c354
makefiles: add common file for cc2538-bsl flasher
2020-03-09 18:17:37 +01:00
Vincent Dupont
4647659ea8
boards: fix CLOCK_PLL_PREDIV on stm32f1xx boards
2020-03-09 18:00:48 +01:00
Vincent Dupont
21bbfbed1d
stm32_common/stmclk: check if CLOCK_PLL_PREDIV is valid
2020-03-09 18:00:47 +01:00
Vincent Dupont
97cfd1e512
memarray: fix memarray init
...
If memarray data is not initialized to 0 (for instance during a
re-init). The last element of the array is not properly cleared thus
leading to returning an invalid pointer when everything is allocated.
2020-03-09 17:56:34 +01:00
Leandro Lanzieri
ab10b33848
boards/esp32-wroom-32/doc: Add SPI freq configuration for mrf24j40
2020-03-09 16:51:35 +01:00
Leandro Lanzieri
cffc9b70bf
boards/esp32-wroom-32: Remove drivers configuration from Makefile.dep
...
This removes the configuration parameters for mrf24j40 and enc28j60
drivers, which were present in the boards's Makefile.dep. There is
already documentation regarding how to correctly configure these devices
for the board.
2020-03-09 16:49:11 +01:00
Benjamin Valentin
80392dc644
cpu/cc2538: spi: unify spi_transfer_bytes()
...
Use a common helper function to read/write the data register.
2020-03-09 16:37:07 +01:00
MichelRottleuthner
26f3caf9d7
Merge pull request #13495 from pokgak/pr/sock_dtls/fix_timeout_when_waiting
...
examples/dtls-sock: fix timeout msg stays in mbox
2020-03-09 16:33:05 +01:00
Benjamin Valentin
68b2c57d2d
cpu/cc2538: spi: fix spi_transfer_bytes() with in_buf = NULL
...
We have to read the DR for every byte that we write.
Just reading DR while SPI is busy in a loop can lead to bytes being
left in the fifo, corrupting subsequent reads.
2020-03-09 16:22:37 +01:00
Aiman Ismail
e0a02705b2
examples/dtls-sock: change unsupported %zd to %d
2020-03-09 15:08:52 +01:00
Aiman Ismail
aa3cbacceb
net/sock_dtls: do not put msg in mbox on timeout
2020-03-09 15:08:52 +01:00
José Alamos
de4a1bf552
Merge pull request #13595 from gschorcht/gnrc/lorawan/fix_downlink_handling
...
gnrc/lorawan: fixes the handling of downlink frames without payload
2020-03-09 15:08:25 +01:00
benpicco
780e6a7630
Merge pull request #13596 from gschorcht/tests/driver_sx127x_fix_enum
...
tests: fix netopt_state_t value handling in driver_sx127x
2020-03-09 15:03:17 +01:00