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

31179 Commits

Author SHA1 Message Date
Francisco
613d0cfffd
Merge pull request #14767 from hugueslarrive/boards/common/blxxxpill
boards/common/blxxxpill: DMA feature added
2020-08-20 09:11:03 +02:00
Francisco
35b4cbbb6e
Merge pull request #14765 from hugueslarrive/boards/nucleo-f303k8
boards/nucleo-f303k8: DMA feature added
2020-08-20 09:09:57 +02:00
benpicco
593568ca21
Merge pull request #14798 from bergzand/pr/core/sched_no_mpu_enable
sched: Remove extra mpu_enable during context switch
2020-08-20 00:10:01 +02:00
benpicco
157705c0c6
Merge pull request #14772 from maribu/esp_sched_cleanup
cpu/esp: Use API to access sched internals
2020-08-20 00:09:35 +02:00
benpicco
9be2c25ac1
Merge pull request #14789 from leandrolanzieri/pr/pkg/cmsis_dsp_nn_cleanup
pkg/cmsis-[dsp/nn]: cleanup makefiles
2020-08-20 00:09:04 +02:00
benpicco
5913e0dc25
Merge pull request #14786 from leandrolanzieri/pr/cpu/esp_atmega/check_stdio
cpu/[esp/atmega]_common: check if other STDIO implementation is selected
2020-08-20 00:08:41 +02:00
Benjamin Valentin
ae8ed273ab pkg/cn-cbor bump to 1.0.0
Upstream changed, original upstream is archived now with this note:

> Jim Schaad now is so far ahead of this repo that you are most
> likely better off using his repo as your upstream.
2020-08-19 23:25:25 +02:00
hugues
0b648f44d4 boards/nucleo-f746zg: Add dma, eth, pwm and spi features 2020-08-19 22:53:44 +02:00
e6fd3630eb
sched: Remove extra mpu_enable during context switch 2020-08-19 20:13:28 +02:00
hugues
6c35a6a69f boards/common/blxxxpill: DMA feature added 2020-08-19 18:25:03 +02:00
hugues
bdf9d8eee6 boards/nucleo-f303k8: DMA feature added 2020-08-19 18:08:17 +02:00
János Brodbeck
96fd915b76
boards/same54-xpro: add ADC periph_conf 2020-08-19 18:00:30 +02:00
János Brodbeck
083b3c167f
sam0/adc: add support for samd5x/same5x
Add samd5x/same5x support  through introducing ADC_DEV as alias for ADC0/ADC1/ADC. ADC (respectively ADC0) is the default if no device is set.
2020-08-19 18:00:29 +02:00
János Brodbeck
7a7f06a3e1
cpu/samd5x: add ADC resolution type 2020-08-19 17:48:37 +02:00
Francisco
e9833f68d6
Merge pull request #14794 from bergzand/pr/stm32/dma_add_unsuported_trigger_define
stm32: Add define for when DMA channel selection is not supported
2020-08-19 17:13:10 +02:00
5fab8f7a9a
stm32: Add define for when DMA channel selection is not supported
This adds a placeholder define for when the DMA peripheral available on
the MCU doesn't support channel/trigger filtering. This is the case on
the stm32f1 and stm32f3 family.
2020-08-19 16:09:55 +02:00
Francisco
0d66683c28
Merge pull request #14784 from leandrolanzieri/pr/boards/common/atmega/use_weak_functions
boards/common/[atmega|arduino-atmega]: use weak for common functions
2020-08-19 13:39:42 +02:00
Francisco
505b9b4a30
Merge pull request #14785 from leandrolanzieri/pr/cpu/cc26x2_cc13x2/remove_pm
cpu/cc26x2_cc13x2: remove unnecessary pm.c
2020-08-19 13:29:16 +02:00
Francisco
70fc19258f
Merge pull request #14783 from maribu/xtimer_on_ztimer_fix
sys/{ztimer, xtimer}: Fix issues with xtimer_on_ztimer
2020-08-19 13:28:10 +02:00
hugues
859c1285cc boards/nucleo-f303k8: bugfix: spi is AF5, not AF0 2020-08-19 13:27:10 +02:00
benpicco
7f359612e9
Merge pull request #14371 from jia200x/pr/radio_hal
ieee802154/radio_hal: introduce Radio HAL for IEEE802.15.4 compatible radios
2020-08-19 13:07:52 +02:00
Francisco
4dce666435
Merge pull request #14764 from hugueslarrive/cpu/stm32/periph/dma
cpu/stm32/periph/dma: add support for STM32F3
2020-08-19 12:53:35 +02:00
Jose Alamos
b6e3afe3d6 ieee802154/radio: add radio HAL definition 2020-08-19 12:06:04 +02:00
Leandro Lanzieri
e7912ce2a6
pkg/cmsis-nn: use modules to compile package 2020-08-19 11:34:43 +02:00
Leandro Lanzieri
75902c96f8
pkg/cmsis-dsp: use modules to compile package 2020-08-19 11:34:43 +02:00
hugues
d06aa3cd63 cpu/stm32/periph/dma: add support for STM32F3 2020-08-19 11:26:04 +02:00
hugues
2f0ac9e820 cpu/stm32/periph/spi: use dma_stop for STM32s that need it 2020-08-19 11:25:34 +02:00
Francisco
cc954274a7
Merge pull request #14763 from hugueslarrive/cpu/stm32/vectors/vectors_f3
cpu/stm32/vectors/vectors_f3: a small fix for STM32F334x8
2020-08-19 10:08:31 +02:00
Leandro Lanzieri
a64461cdad
cpu/esp_common: stdio_uart by default if there is no other 2020-08-19 10:00:35 +02:00
Leandro Lanzieri
67aec8392c
cpu/atmega_common: use stdio_uart only when no other is defined 2020-08-19 10:00:26 +02:00
Leandro Lanzieri
8f9ce7f81f
cpu/cc26x2_cc13x2: remove unnecessary pm.c
This CPU families already use the peripheral implementation of
cc26xx_cc13xx for PM.
2020-08-19 09:50:56 +02:00
Marian Buschsieweke
d382bd6565
sys/xtimer: No tick conversion if xtimer_on_ztimer
When `xtimer_on_ztimer` is used, `xtimer` does not need to perform any clock
conversion. Especially undefined macros of `XTIMER_HZ` and `XTIMER_SHIFT` should
no longer result in compilation issues, as they are not used internally anyway.
2020-08-19 09:48:23 +02:00
Marian Buschsieweke
67a024ee3b
Makefile.dep: include ztimer Makefile.dep for %ztimer modules as well
The module `xtimer_on_ztimer` should also pull in ztimer deps.
2020-08-19 09:47:16 +02:00
Francisco Molina
1b68c384a3
tests/periph_rtt_min: add test to figure out RTT_MIN_OFFSET 2020-08-19 09:28:24 +02:00
Leandro Lanzieri
99f0b86768
boards/common/atmega: define board_init as weak 2020-08-19 09:18:02 +02:00
Leandro Lanzieri
26dae7a198
boards/common/arduino-atmega: define led_init as weak 2020-08-19 09:17:50 +02:00
Marian Buschsieweke
527c429f5f
sys/ztimer: Fix compilation without ztimer_extend
`ztimer_init_extend()` should only be defined when module `ztimer_extend` is
used, as otherwise the `struct` member `clock->max_value` is not available.
2020-08-19 07:02:19 +02:00
benpicco
4a2d867339
Merge pull request #14749 from bergzand/pr/stm32/dynamic_spi_freqs
stm32: Add support for arbitrary SPI clock rates
2020-08-18 17:57:30 +02:00
Benjamin Valentin
4d41d7f069 tests/pkg_fatfs_vfs: blacklist nucleo-l031k6 2020-08-18 17:26:15 +02:00
Benjamin Valentin
02f37b998a drivers/at24cxxx: export page-wise write function
Export the _write_page() function so it can be used by the MTD subsystem.
2020-08-18 17:25:40 +02:00
Benjamin Valentin
277452807b cpu/esp_common: flash: implement write_page() 2020-08-18 17:25:40 +02:00
Benjamin Valentin
f3500257b1 pkg/littlefs: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
7c8fe862ce drivers/at25xxx: export page-wise write function
Export the _write_page() function so it can be used by the MTD subsystem.
2020-08-18 17:25:40 +02:00
Benjamin Valentin
c2492209d8 pkg/littlefs2: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
68a47b63e3 drivers/mtd_spi_nor: implement mtd_spi_nor_write_page() 2020-08-18 17:25:39 +02:00
Benjamin Valentin
c436c39ea8 pkg/fatfs: use page-wise read() and write()
The FAT file system operates on sectors (pages), so use the new
mtd_write_page() and mtd_read_page() functions.

This also avoids the wrap-around after reading/writing past 4 GiB.
2020-08-18 17:25:39 +02:00
Benjamin Valentin
7d291b5707 drivers/mtd_sdard: implement page-wise read() and write()
SD cards are usually larger than 4 GiB, so using 32 bit addressing will
break once they are filled to a certain extend.

Implement read_page() and write_page() which at a page size of 512
should work for SD cards of up to 2 TiB.

The read() and write() functions will ignore any offset that is not aligned
with the page boundary, so do the same for the new functions, but at least
report an error.
2020-08-18 17:25:39 +02:00
Benjamin Valentin
4034f96169 mtd: add page addressed operations
Currently read(), write() and erase() all use 32 bit addressing.
This is a problem when writing to media > 4 GiB, e.g. SD cards.

The current implementation would wrap around after 4 GiB and corrupt data.

To avoid this, add functions to the MTD subsystem that allow for page-wise
addressing. This is how most of the underling storage drivers and the
file-systems above work anyway.

In the future we should then deprecate the 32-bit functions if all drivers
are converted.
2020-08-18 17:25:39 +02:00
2f3f1e0da2
p-l496g-cell02: remove obsolete spi_divtable include 2020-08-18 16:55:12 +02:00
742aa4ecde
nucleo-l496zg: remove obsolete spi_divtable include 2020-08-18 16:55:12 +02:00