Benjamin Valentin
96a3e91c3d
tests/periph_timer_periodic: add test for periodic timer
2020-05-28 17:37:42 +02:00
Benjamin Valentin
c000a77658
cpu/atmega_common: implement timer_set_periodic()
2020-05-28 17:37:42 +02:00
Benjamin Valentin
8486e8c6d1
cpu/sam0_common: implement timer_set_periodic()
2020-05-28 17:37:42 +02:00
Benjamin Valentin
41a961be22
cpu/lpc2387: timer: implement timer_set_periodic()
2020-05-28 17:37:41 +02:00
Benjamin Valentin
cd107be976
drivers/periph/timer: add timer_set_periodic()
2020-05-28 17:37:41 +02:00
Benjamin Valentin
7c11ae9dcc
cpu/lpc2387: use TIMER_CHANNELS for consistency
2020-05-28 13:24:06 +02:00
Benjamin Valentin
ec7ae668e2
cpu/sam0_common: define TIMER_CHANNELS
2020-05-28 13:24:06 +02:00
benpicco
8a2b089cd5
Merge pull request #14098 from maribu/atmega-timer
...
cpu/atmega_common: Fix periph_timer
2020-05-28 13:23:22 +02:00
86e319a6f9
Merge pull request #14159 from fjmolinas/pr_build_bin
...
Makefile: add BINFILE to default BUILD_FILES
2020-05-28 12:01:43 +02:00
Marian Buschsieweke
99bd1c318c
cpu/atmega_common/periph_timer: Add timer_set
...
Added a low level implementation of timer_set() that allows setting relative
timeouts as short as 0. This results in tests/periph_timer_short_relative_set
no passing.
2020-05-28 11:46:02 +02:00
José Alamos
408b9848db
Merge pull request #14160 from leandrolanzieri/pr/kconfig_rename_folder
...
Kconfig: rename folder to kconfigs
2020-05-28 11:43:45 +02:00
José Alamos
e7abd8805c
Merge pull request #14157 from leandrolanzieri/pr/cpu/kconfig_add_cpu_core
...
cpu/Kconfig: Add a common symbol for the CPU Core
2020-05-28 11:11:07 +02:00
Francisco Molina
47a5805434
Makefile: add BINFILE to default BUILD_FILES
2020-05-28 10:40:48 +02:00
Leandro Lanzieri
4289ed175c
Kconfig: rename folder to kconfigs
...
On case-insensitive file systems the root Kconfig file clashes with the
kconfig folder where we keep constants and features, producing the
deletion of one of them. This renames the folder to remove the conflict.
2020-05-28 10:39:43 +02:00
Leandro Lanzieri
9d4582547f
cpu/Kconfig: Add a common symbol for the CPU Core
2020-05-28 10:08:34 +02:00
Leandro Lanzieri
d4e90d3ec8
Merge pull request #14153 from aabadie/pr/make/openocd_stlink_fix
...
makefiles/stlink: fix path to default stm32 openocd config files
2020-05-27 16:18:30 +02:00
4cd1d54715
makefiles/stlink: fix path to default stm32 openocd config files
2020-05-27 15:44:28 +02:00
José Alamos
692f0ee690
Merge pull request #14151 from leandrolanzieri/pr/kconfig/add_cpu_board_features
...
kconfig: Declare common feature symbols
2020-05-27 10:55:38 +02:00
3244b26ab4
Merge pull request #14141 from aabadie/pr/cpu/stm32_fam_short
...
cpu/stm32: use shorten name in CPU_FAM variable
2020-05-27 08:40:01 +02:00
8593176e29
Merge pull request #14140 from aabadie/pr/cpu/stm32_uid_base
...
cpu/stm32: get the cpuid address from the UID_BASE constant defined in CMSIS
2020-05-27 08:39:35 +02:00
af8c4a32f6
Merge pull request #14147 from aabadie/pr/cpu/stm32f1_gpio_cleanup
...
cpu/stm32f1: restore default gpio struct in CMSIS + adapt driver
2020-05-27 08:39:17 +02:00
Martine Lenders
5ab1633c04
Merge pull request #14149 from miri64/sock_dtls/enh/udp_sock_getter
...
sock_dtls: provide getter function for UDP sock
2020-05-26 22:30:43 +02:00
Martine Lenders
a38428b8f2
Merge pull request #13701 from miri64/lwip_sock/enh/recv_buf
...
lwip_sock: provide implementation for `sock_*_recv_buf()`
2020-05-26 21:33:09 +02:00
Leandro Lanzieri
f8be12cb86
kconfig: Declare common feature symbols
2020-05-26 21:11:52 +02:00
Martine S. Lenders
ccdcc3679c
tinydtls: provide implementation for sock_dtls_get_udp_sock
2020-05-26 20:37:42 +02:00
Martine S. Lenders
c7916e11e6
sock_dtls: add missing whitespace to doc
2020-05-26 20:36:57 +02:00
Martine S. Lenders
880c42e236
sock_dtls: introduce UDP sock getter
2020-05-26 20:29:33 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
...
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
31c6a225b2
Merge pull request #14145 from aabadie/pr/cpu/stm32_cleanup_exti
...
cpu/stm32: restore default attribute names in exti structure for l4 and wb
2020-05-26 18:34:36 +02:00
cc9219c96e
cpu/stm32f1: adapt gpio driver and usage to CMSIS struct
2020-05-26 18:10:04 +02:00
Peter Kietzmann
4831300a6a
Merge pull request #14111 from leandrolanzieri/pr/cpu/kinetis/cleanup_dependencies
...
cpu/kinetis: Move dependencies to Makefile.dep
2020-05-26 17:31:09 +02:00
c40f0a79bf
cpu/stm32: adapt rtc driver to default CMSIS exti structure
2020-05-26 17:29:37 +02:00
09c1afe9c5
cpu/stm32l4/wb: restore exti structure in vendor headers
2020-05-26 17:24:59 +02:00
97942ddbe6
cpu/stm32: adapt gpio driver to default CMSIS exti structure
2020-05-26 17:24:58 +02:00
Francisco
3ef40f3321
Merge pull request #14085 from maribu/atmega_irq
...
cpu/atmega_common: Update to inlineable IRQ API
2020-05-26 16:33:07 +02:00
1a8f4d4f25
cpu/stm32f1: restore gpio struct to default in CMSIS header
2020-05-26 16:26:20 +02:00
Benjamin Valentin
ccdbbfa53c
examples/filesystem: add support for fatfs
2020-05-26 16:22:31 +02:00
61d3afcb63
cpu/stm32: remove hardcoded cpuid addr for f1
2020-05-26 15:44:50 +02:00
d78c955e50
cpu/stm32: remove hardcoded cpuid addr for f0
2020-05-26 15:44:50 +02:00
98a30ddadf
cpu/stm32: remove not needed periph_cpu.h for f3
2020-05-26 15:44:50 +02:00
4e33cebb3d
cpu/stm32: remove not needed periph_cpu.h for f7
2020-05-26 15:44:50 +02:00
bf01940ec7
cpu/stm32: use UID_BASE when possible
2020-05-26 15:44:50 +02:00
2313b85a8d
cpu/stm32: use UID_BASE from CMSIS when not defined
2020-05-26 15:44:50 +02:00
e20788bfdf
Merge pull request #14143 from aabadie/pr/cpu/stm32_cmsis_update
...
cpu/stm32: update some cmsis headers
2020-05-26 15:27:46 +02:00
Marian Buschsieweke
9e566370bf
cpu/atmega_common: Fixed irq_arch implementation
...
The inline assembly implementation was badly in need of improvement.
- irq_disable() took 2 CPU cycles more than needed
- The current interrupt state was stored in a temporary register and
afterwards copied to the target register, rather than storing it in the
target register right away
- The lower bits of the state were cleared (as they have no meaning for the
interrupt status), but the API purposely never required such things from
implementations.
- irq_restore() took 5 CPU cycles. This was reduced to 3 CPU cycles (or 2 CPU
cycles in the best case)
2020-05-26 15:19:14 +02:00
e4639fc7a0
Merge pull request #14009 from aabadie/pr/make/fix-info-build-output
...
makefiles/info.inc.mk: fix supported boards output
2020-05-26 12:36:58 +02:00
7bfdd7718f
cpu/stm32: introduce CPU_FAM_SHORT variable
...
This variable contains the short cpu family name: f1, f2, etc.
2020-05-26 12:27:12 +02:00
Francisco
baeea442fa
Merge pull request #14103 from aabadie/pr/doc/generator_doc
...
doc: document make generate-* in related sections
2020-05-26 12:17:21 +02:00
8959274165
cpu/stm32: update vendor headers for f1
2020-05-26 11:43:45 +02:00
1e4da87aad
cpu/stm32: update vendor headers for f0
2020-05-26 11:43:44 +02:00