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

30842 Commits

Author SHA1 Message Date
Benjamin Valentin
7a9e68af96 cpu/nrf52: add vendor files for nrf52805/10/20/33 2020-08-09 21:46:06 +02:00
benpicco
0064397fc2
Merge pull request #14736 from gschorcht/boards/feather_m0/split_wifi_version
boards/feather-m0: separate directory for the wifi version
2020-08-09 20:58:10 +02:00
benpicco
6ca7b26a51
Merge pull request #14725 from aabadie/pr/boards/stm32l4_spi_divtable
boards/stm32l4: use common spi_divtable where possible
2020-08-09 20:57:19 +02:00
Gunar Schorcht
cae29539e8 examples/lua_REPL: add feather-m0-wifi to insufficient memory list 2020-08-09 20:24:05 +02:00
Gunar Schorcht
7e57c562df tests/bench_timer: add fether-m0-wifi to low memory boards 2020-08-09 20:20:59 +02:00
Gunar Schorcht
163190a7f2 boards/feather-m0: separate directory for the wifi version 2020-08-08 17:04:58 +02:00
Marian Buschsieweke
234a720571
Merge pull request #14516 from benpicco/bitband_hw
cortexm_common: fix check for bitbanding feature
2020-08-08 14:26:49 +02:00
Benjamin Valentin
0e22910c94 cpu/sam_common: set CPU_HAS_BITBAND
- https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11057-32-bit-Cortex-M3-Microcontroller-SAM3X-SAM3A_Datasheet.pdf
- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11100-32-bit%20Cortex-M4-Microcontroller-SAM4S_Datasheet.pdf
2020-08-08 12:44:11 +02:00
Benjamin Valentin
e886dad430 cpu/lpc1768: set CPU_HAS_BITBAND
> Support for Cortex-M3 bit banding.

https://www.nxp.com/docs/en/data-sheet/LPC1769_68_67_66_65_64_63.pdf
2020-08-08 12:44:11 +02:00
Benjamin Valentin
225f56b5e6 cpu/lm4f120: set CPU_HAS_BITBAND
> A bit-band region maps each word in a bit-band alias region to a single bit in the bit-band region.
> The bit-band regions occupy the lowest 1 MB of the SRAM and peripheral memory regions. A

https://www.mouser.com/datasheet/2/405/lm4f120h5qr-124014.pdf
2020-08-08 12:44:11 +02:00
Benjamin Valentin
fae0b00918 cpu/cc26x0: set CPU_HAS_BITBAND
> Bit-banding is supported in order to reduce the execution time for
> read-modify-write (RMW) operations to memory.
> With bit-banding, certain regions in the memory map
> (SRAM and peripheral space) can use address aliases to access
> individual bits in one atomic operation.

https://www.ti.com/lit/ug/swcu117i/swcu117i.pdf
2020-08-08 12:44:11 +02:00
Benjamin Valentin
098b37a7dc cpu/cc26x2_cc13x2: set CPU_HAS_BITBAND
> Bit-banding is supported in order to reduce the execution time for
> read-modify-write (RMW) operations to memory.
> With bit-banding, certain regions in the memory map
> (SRAM and peripheral space) can use address aliases to access
> individual bits in one atomic operation.

https://www.ti.com/lit/ug/swcu185d/swcu185d.pdf
2020-08-08 12:44:11 +02:00
Benjamin Valentin
b8d49fe627 cpu/cc2538: set CPU_HAS_BITBAND 2020-08-08 12:44:11 +02:00
benpicco
4635be207b
Merge pull request #14726 from benpicco/riot_epoch
drivers/periph_common: RTC: use RIOT_EPOCH as the RTC reset value
2020-08-07 19:07:28 +02:00
benpicco
09085e7684
Merge pull request #14730 from maribu/sys-makefile-sort
sys: Sort Makefile
2020-08-07 18:13:18 +02:00
Leandro Lanzieri
6b52c53db3
Merge pull request #14614 from aabadie/pr/boards/hifive1_clock_kconfig
boards/hifive1*: add kconfig options to configure the clock
2020-08-07 17:40:08 +02:00
Benjamin Valentin
97bf000bcd cpu/stm32: use RIOT_EPOCH 2020-08-07 17:39:25 +02:00
Benjamin Valentin
69c436b891 cpu/ezr32wg: set CPU_HAS_BITBAND 2020-08-07 17:38:38 +02:00
Martine Lenders
2510ef03cf
Merge pull request #14719 from miri64/riotctrl_shell.cord_ep/enh/simplify
riotctrl_shell: simplify error case for cord registration info parser
2020-08-07 17:37:04 +02:00
benpicco
a455d74621
Merge pull request #14729 from gschorcht/cpu/esp32/vendor_dependeny_boarddir
cpu/esp32: remove the dependency of vendor code on BOARDDIR
2020-08-07 17:03:40 +02:00
benpicco
cc1ffc8a4d
Merge pull request #13357 from benemorius/pr/efm32-letimer
cpu/efm32/timer: add support for LETIMER
2020-08-07 17:03:01 +02:00
benpicco
b73144acfe
Merge pull request #14692 from nicoHarel/feature/board_particle_xenon_uart1
boards/particle-xenon: add UART1 to uart_config
2020-08-07 17:02:32 +02:00
Marian Buschsieweke
c2b32430b1
sys: Sort Makefile 2020-08-07 16:42:39 +02:00
Gunar Schorcht
d19a1f5af5 cpu/esp32: remove the dependency of vendor code on BOARDDIR 2020-08-07 16:09:12 +02:00
benpicco
574676b150
Merge pull request #14700 from fjmolinas/to_cc2538_enhance_rtt
cpu/cc2538: RTT: implement missing API functions
2020-08-07 15:11:53 +02:00
benpicco
e5e8d4f6a9
Merge pull request #14720 from jia200x/copr/14552
[take-over] boards/omote: add support for OMote board
2020-08-07 15:08:43 +02:00
Benjamin Valentin
6d684ee748 cpu/lpc23xx: use RIOT_EPOCH 2020-08-07 13:24:58 +02:00
Benjamin Valentin
d02aa4a6b5 cpu/sam0_common: RTC: use RIOT_EPOCH 2020-08-07 13:24:10 +02:00
Benjamin Valentin
7543e714c1 drivers/periph_common: RTC: move RIOT_EPOCH to header, document it. 2020-08-07 13:22:19 +02:00
Jose Alamos
e14c3ecee4 examples/lua_REPL: blacklist omote 2020-08-07 13:14:14 +02:00
Oppila-ms
cc12cb8ef3 boards/omote: add support for OMote board 2020-08-07 13:14:14 +02:00
7b9f435f70
boards/stm32l4: use common spi_divtable where possible 2020-08-07 12:25:18 +02:00
benpicco
964d202bf1
Merge pull request #14713 from maribu/core_helper_funcs
core: Add and use helper functions for internal data
2020-08-06 23:08:34 +02:00
95ae77dd4b
Merge pull request #14695 from maribu/event_cleanup 2020-08-06 22:15:51 +02:00
Peter Kietzmann
01e6b62667
Merge pull request #14605 from JannesVolkens/ethertype_custom
sys/include/net: Add possibility to define custom ethertype
2020-08-06 18:05:45 +02:00
Marian Buschsieweke
13575b2131
core/thread_flags: Avoid using inline w/o static
Apparently clang doesn't like static variables / functions being accessed called
from inline function (-Wstatic-in-inline). This commit results in the same
binary being generated while making clang happy.
2020-08-06 17:54:32 +02:00
Martine Lenders
a5d3ad82cd
Merge pull request #14646 from miri64/gh-actions/enh/release-tests
gh-actions: add release-specs tests
2020-08-06 17:04:18 +02:00
Martine S. Lenders
382cfee1de
riotctrl_shell: simplify error case for cord registration info parser 2020-08-06 17:02:32 +02:00
Marian Buschsieweke
57264c5059
core: Access internal vars via helper funcs
Replace accesses to `sched_active_thread`, `sched_active_pid`, and
`sched_threads` with `thread_get_active()`, `thread_get_active_pid()`, and
`thread_get_unchecked()` where sensible.
2020-08-06 16:47:33 +02:00
901d698983
boards/hifive1*: add Kconfig menu for clock configuration 2020-08-06 15:59:35 +02:00
7acf81552a
boards/hifive1* cpu/fe310: improve clock customization 2020-08-06 15:59:34 +02:00
Martine Lenders
b2c8270a40
Merge pull request #14715 from pokgak/riotctrl_shell/cord_ep
riotctrl_shell: provide cord_ep interactions and parser
2020-08-06 15:45:05 +02:00
Marian Buschsieweke
4a31578982
core/thread: Add/change helper access functions
- Add `thread_get_active()` to access the TCB
- Add `thread_get_unchecked()` as fast alternative to `thread_get()`
- Drop `volatile` qualifier in `thread_get()`
    - Right now every caller of this function does this. It is better to
      contain this undefined behavior to at least one place in code
2020-08-06 14:35:43 +02:00
e81d0050d1
Merge pull request #14717 from kaspar030/optim_msg_active_thread
core/msg: sched_threads[sched_active_pid] -> sched_active_thread
2020-08-06 14:18:17 +02:00
M Aiman Ismail
45546a711f riotctrl_shell: provide cord_ep interactions and parser 2020-08-06 13:51:13 +02:00
70610b3d8a
Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
Martine S. Lenders
17f7274d51
gh-actions: add release-specs tests 2020-08-06 13:30:31 +02:00
Jannes
7f0a099256 net: Add the possibility to use custom ethertype 2020-08-06 13:04:58 +02:00
5dbcfa3391
Merge pull request #14698 from benpicco/core/bitarithm-msb_clz
core/bitarithm: use __builtin_clz() for bitarithm_msb()
2020-08-06 13:00:34 +02:00
1bb3d56bd5 core/msg: sched_threads[sched_active_pid] -> sched_active_thread
Same result, but only a single volatile read.
2020-08-06 12:46:26 +02:00