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

44740 Commits

Author SHA1 Message Date
Benjamin Valentin
112e378fcc cpu/avr8_common: fix build with !core_thread 2024-01-09 19:00:22 +01:00
Benjamin Valentin
14d0cf5d87 Makefile.dep: don't include idle thread with !core_thread 2024-01-09 18:59:58 +01:00
Benjamin Valentin
b9a76ea094 core/init: avoid context switch with !core_thread 2024-01-09 18:59:28 +01:00
Marian Buschsieweke
a4fcf219a8
Merge pull request #20181 from maribu/dist/tools/edbg/reset
tools/edbg: fix `make reset`
2023-12-14 11:00:45 +00:00
Marian Buschsieweke
485a98bd6e
tools/edbg: fix make reset
Likely a change in the command line interface of EDBG broke the
`make reset` integration. This adds the missing flag.

Note: Since the binary is build on demand with our build system, we
      can in fact rely on every using the same version of EDBG. Hence,
      we don't need to be backwards compatible with the flag.
2023-12-14 09:17:19 +01:00
benpicco
690efb2655
Merge pull request #20128 from benpicco/tests/periph/uart-nl
tests/periph/uart: allow to set line ending
2023-12-13 22:11:54 +00:00
benpicco
79d27ade29
Merge pull request #20174 from fabian18/pr/pkg_libcose_compile_fix
pkg/libcose: fix auto_init compilation
2023-12-13 21:29:26 +00:00
benpicco
6eac1e1761
Merge pull request #15380 from benpicco/mtd_drop_write
mtd/*: drop .write() if .write_page() is implemented
2023-12-13 20:35:53 +00:00
Benjamin Valentin
9855b02b07 mtd: drop .write() function
All MTD drivers should now implement the .write_page() function instead.
2023-12-13 17:46:43 +01:00
Marian Buschsieweke
9514c586f1
Merge pull request #20179 from maribu/boards/wemos-zero
boards/wemos-zero: fix flashing and doc
2023-12-13 16:13:10 +00:00
Benjamin Valentin
431afeaa51 drivers/mtd_sdmmc: drop .write() function 2023-12-13 16:58:31 +01:00
Benjamin Valentin
cf123f98d5 drivers/mtd_emulated: drop .write() function 2023-12-13 16:56:51 +01:00
Benjamin Valentin
6c28a7d62c drivers/mtd_mapper: drop .write() function 2023-12-13 16:56:51 +01:00
Benjamin Valentin
3b489cf2f5 tests/mtd_mapper: drop .write() function 2023-12-13 16:56:51 +01:00
Benjamin Valentin
d525807598 unittests/tests-mtd: expect mtd_write() to always succeed
The MTD layer now takes care of splitting up writes, so it
should always work (as long as the destination address is
within the memory region)
2023-12-13 16:50:41 +01:00
Benjamin Valentin
c6646125f7 native/mtd: drop .write()
The old .write() function is only used as a fall-back if .write_page()
is not implemented.
We can drop it.
2023-12-13 16:50:41 +01:00
Benjamin Valentin
ba17c14aef drivers/mtd_sdcard: drop .write()
The old .write() function is only used as a fall-back if .write_page()
is not implemented.
We can drop it.
2023-12-13 16:50:41 +01:00
Benjamin Valentin
ea105d34ec drivers/mtd_spi_nor: drop .write()
The old .write() function is only used as a fall-back if .write_page()
is not implemented.
We can drop it.
2023-12-13 16:50:41 +01:00
Benjamin Valentin
26aba7b8c7 drivers/at25xxx: drop .write()
The old .write() function is only used as a fall-back if .write_page()
is not implemented.
We can drop it.
2023-12-13 16:50:41 +01:00
Benjamin Valentin
2235dc2464 cpu/esp_common: flash: drop .write()
The old .write() function is only used as a fall-back if .write_page()
is not implemented.
We can drop it.
2023-12-13 16:50:41 +01:00
Marian Buschsieweke
1d11a2a281
boards/wemos-zero: fix flashing and doc
Fix flashing with `MOST_RECENT_PORT=1` by detecting the board when
either in RIOT mode or in bootloader mode (which matches different
USB vendor and model strings).

Support for programming with the nrf52-u2f bootloader was dropped
apparently, but the documentation still recommends that over the
Arduino Bootloader. This brings doc and code in sync.
2023-12-13 15:40:41 +01:00
benpicco
dbb4f61a7f
Merge pull request #20176 from OlegHahm/pr/maintaining.md/remove_bors
Maintaining: remove obsolete bors section
2023-12-13 13:33:05 +00:00
benpicco
bee6c17a9a
Merge pull request #20175 from OlegHahm/pr/contributing.md/broken_wiki_link
Fixing broken Wiki links
2023-12-13 13:32:56 +00:00
benpicco
ebf07d51d0
Merge pull request #20171 from benpicco/uart_pin_cts
cpu/sam0/uart: implement uart_pin_cts()/uart_pin_rts()
2023-12-13 13:32:41 +00:00
Oleg Hahm
630b14b322 Maintaining: remove obsolete bors section 2023-12-13 12:32:59 +01:00
Oleg Hahm
cb7a66d66b tests: build_system: replace broken wiki link with link to docs 2023-12-13 12:24:58 +01:00
Oleg Hahm
dbe4d1e681 Contributing: remove broken link to wiki 2023-12-13 12:24:28 +01:00
Fabian Hüßler
f9c5420717 pkg/libcose: fix auto_init compilation 2023-12-13 12:08:33 +01:00
Benjamin Valentin
6b86e274d9 cpu/sam0/uart: implement uart_pin_cts()/uart_pin_rts() 2023-12-12 20:26:17 +01:00
Benjamin Valentin
5acfb20d02 drivers/periph/uart: add functions to query RTS/CTS pins 2023-12-12 20:25:39 +01:00
Marian Buschsieweke
4370d93226
Merge pull request #20100 from maribu/cpu/stm32/periph/i2c_2.c
cpu/stm32: fix periph_i2c for F1, F2, L1 and F4 families
2023-12-12 11:15:55 +00:00
Marian Buschsieweke
3002f1efa3
cpu/stm32: fix periph_i2c for F1, F2, L1 and F4 families
- boot the I2C after init in low power mode
    - otherwise I2C will consume more power until the first time it is
      used, which is surprising
- STM32 F1 only: reconfigure SCL and SDA as GPIOs while the I2C
  peripheral is powered down
    - When the I2C peripheral is not clocked, it drives SCL and SDA
      down. This will dissipate power across the pull up resistor.
2023-12-12 09:55:47 +01:00
Marian Buschsieweke
13f0a5062d
cpu/stm32/periph_i2c: improve DEBUG output 2023-12-12 09:55:47 +01:00
benpicco
fd3d92f1ba
Merge pull request #20165 from fzi-haxel/pr/tests-hashes-sha512-fix
tests/unittests/tests-hashes: fix wrong string length
2023-12-11 14:39:58 +00:00
Frederik Haxel
4a1d07ab64 tests/unittests/tests-hashes: fixes wrong string length 2023-12-11 14:15:50 +01:00
Marian Buschsieweke
bb07bb6613
Merge pull request #20160 from maribu/cpu/msp430/timer
cpu/msp430: improve periph_timer
2023-12-10 13:02:30 +00:00
Marian Buschsieweke
eca0bdd5aa
examples,tests: Update Makefile.cis 2023-12-10 13:51:04 +01:00
Marian Buschsieweke
a3cd9ef387
Merge pull request #20111 from maribu/cpu/nrf5x_common/cleanup_uart
cpu/nrf5x_common: clean up UART implementation
2023-12-10 08:32:30 +00:00
Marian Buschsieweke
b51ea4ca24
boards: clean up MSP430 board configuration
Move common configuration for MSP430 based boards to
`boards/common/msp430` and make use of that.
2023-12-10 09:11:24 +01:00
Marian Buschsieweke
e6154a04a1
cpu/msp430: aid optimizer
Declare functions retrieving the clock domains frequency as pure so
that common subexpressions can be eliminated more easily.
2023-12-10 09:11:23 +01:00
Marian Buschsieweke
7044699388
cpu/msp430: improve periph_timer
- add support for multiple timers
- add support for selecting clock source in the board's `periph_conf.h`
- add support for the prescaler
- implement `periph_timer_query_freqs`
- add a second timer to all MSP430 boards
    - the first timer is fast ticking, high-power
    - the second is slow ticking, low-power
2023-12-10 09:11:23 +01:00
Marian Buschsieweke
43e62e68f7
Merge pull request #20149 from maribu/cpu/stm32/buf-wfi
cpu/cortexm_common: work around bug on WFI for STM32
2023-12-09 15:45:12 +00:00
Marian Buschsieweke
46571b6aec
Merge pull request #20144 from maribu/periph_timer_query_freq-kinetis
cpu/kinetis: implement periph_timer_query_freqs
2023-12-09 12:39:06 +00:00
Marian Buschsieweke
95be5edf5c
Merge pull request #20145 from maribu/periph_timer_query_freq-nrf5x
cpu/nrf5x_common: implement periph_timer_query_freqs
2023-12-09 07:42:56 +00:00
Marian Buschsieweke
12fdab90b7
Merge pull request #20155 from OlegHahm/pr/pkg/flashdb/versionbump
pkg/flashdb: bump to 2.1.0
2023-12-09 07:42:13 +00:00
Marian Buschsieweke
b40ab8f833
cpu/nrf5x_common: implement periph_timer_query_freqs 2023-12-08 23:23:07 +01:00
Oleg Hahm
0e8b1c0dce pkg/flashdb: bump to 2.1.0 + patches
There are two more commits upstream after the 2.1.0 release which are
required to compile this package without warnings.
2023-12-08 21:36:07 +01:00
Marian Buschsieweke
2a6ef9fda4
Merge pull request #20146 from maribu/periph_timer_query_freq-qn908x
cpu/qn908x: implement periph_timer_query_freqs
2023-12-08 14:46:01 +00:00
Marian Buschsieweke
9718e9afc0
Merge pull request #20143 from maribu/periph_timer_query_freq-cc26xx_cc13xx
cpu/cc26xx_cc13xx: implement periph_timer_query_freqs
2023-12-08 14:45:55 +00:00
Marian Buschsieweke
03a4d31e02
Merge pull request #20141 from maribu/arch/riscv
makefiles/arch/riscv.inc.mk: Always provide TARGET_ARCH_LLVM
2023-12-08 14:45:51 +00:00