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

31312 Commits

Author SHA1 Message Date
Gunar Schorcht
147b79169c drivers/periph/gpio: add comparison functions
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers and other modules must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
f264b049aa
Merge pull request #14888 from bergzand/pr/fe310/gpio_atomics
fe310: Use read-modify-store instruction for GPIO bitwise operations
2020-08-31 11:11:54 +02:00
Leandro Lanzieri
083b73d71b
Merge pull request #14828 from wosym/candev_native_check
tests/candev: Prevent user from attempting to use native can interface on non-native board
2020-08-31 11:06:02 +02:00
Leandro Lanzieri
64a3b79019
Merge pull request #14885 from miri64/gnrc_ipv6_nib/cleanup/sock_dns-dep
gnrc_ipv6_nib: don't pull in RDNSS support with sock_dns
2020-08-31 11:00:09 +02:00
889ea15936
fe310: Use read-modify-store instruction on GPIO
The rv32imac supports the A (atomic) extensions containing
read-modify-store operations. This commit modifies the GPIO code to use
these for all bitwise operations. The atomic operations are emitted with
relaxed ordering as they do not require multiprocessor synchronization.

This decreases the duration of the gpio operations from 59 ns to 50 ns
per call. depending a bit on the type of operation.
2020-08-29 09:24:02 +02:00
Wouter Symons
f8d9566a84 tests/candev: Prevent user from attempting to use native can interface on non-native board 2020-08-28 21:17:13 +02:00
Martine S. Lenders
6f6598586d
gnrc_ipv6_nib: don't pull in RDNSS support with sock_dns
Just because a user pulls in the DNS client (`sock_dns`) doesn't mean
they want to pull in RDNSS option support as well. Besides, since
`gnrc_ipv6_nib_dns` depends on `gnrc_ipv6_nib`, this forms a circular
dependency that really isn't necessary.
2020-08-28 20:03:03 +02:00
Martine S. Lenders
04222f0393
examples/gnrc_border_router: include gnrc_ipv6_nib_dns explicitly
The other applications using `sock_dns` do it too
(`tests/gnrc_sock_dns` and `tests/gnrc_ipv6_nib_dns`) and besides it
doesn't make much sense to include RDNSS option support
(aka `gnrc_ipv6_nib_dns`) just because someone uses the DNS client
(aka `sock_dns`). This dependency will be removed in a later commit.
2020-08-28 19:58:00 +02:00
benpicco
029ae8c7d2
Merge pull request #14766 from benpicco/cpu/native-rtc_set_alarm
cpu/native: RTC: implement rtc_set_alarm()
2020-08-28 17:39:47 +02:00
38854a580d
Merge pull request #14871 from miri64/gh-actions/enh/test-on-iotlab-xml
gh-actions: test-on-iotlab: additionally report as XML
2020-08-28 16:55:07 +02:00
Martine S. Lenders
64824854f9
gh-actions: test-on-iotlab: additionally report as XML 2020-08-28 16:07:16 +02:00
d369eff042
Merge pull request #14868 from bergzand/pr/fe310/irq_trap_entry_optimize
fe310: Merge and optimize trap_entry with irq_arch
2020-08-28 15:04:14 +02:00
1e5dc928ad
fe310: Split sched_run call from handle_trap
This is a small optimization to the RISC-V trap handler. By splitting
the call to sched_run from the trap_handle call, loading the previous
thread ptr can be delayed until after it is determined that a schedule
run is required. This shaves of a few cycles during regular interrupts
that do not trigger the scheduler.
2020-08-28 14:17:58 +02:00
4289b09a33
fe310: Skip most context save on null thread 2020-08-28 14:17:56 +02:00
acf948a296
fe310: Only retrieve mepc and mtval on exception 2020-08-28 14:17:33 +02:00
503806cbb3
fe310: Only save caller-saved registers on regular trap
This commit reworks the trap entry to only save the callee-saved
registers when a context switch is required. the caller-saved registers
are always stored and restored to adhere to the RISC-V ABI. This saves
considerable cycles on interrupts.
2020-08-28 14:17:01 +02:00
1dd5dc4b47
Merge pull request #14850 from miri64/gh-actions/feat/check-labels
gh-actions: initial import of a label-checker workflow
2020-08-28 14:13:36 +02:00
Martine Lenders
0bb90f5bd4
Merge pull request #14875 from miri64/release-notes/enh/2020.07.1
release-notes: add 2020.07.1 release notes
2020-08-28 14:08:16 +02:00
179cf1b8cd
Merge pull request #14882 from aabadie/pr/tools/tapsetup_typo
tools/tapsetup: fix typo in function name
2020-08-28 13:58:02 +02:00
e56da0241e
Merge pull request #14881 from janosbrodbeck/typo/tapsetup
dist/tools/tapsetup: fix minor typo
2020-08-28 13:54:59 +02:00
45646a811d
Merge pull request #13003 from benpicco/lpc2387-timer 2020-08-28 13:35:15 +02:00
15222cf5e9
tools/tapsetup: fix typo in function name 2020-08-28 13:33:27 +02:00
János Brodbeck
e9370a2b81
dist/tools/tapsetup: fix minor typo 2020-08-28 13:24:55 +02:00
7eed33bf78
Merge pull request #14846 from hugueslarrive/adc_config
Declare adc_config[] like others peripherals configuration arrays
2020-08-28 09:59:21 +02:00
hugues
228a71f96e boards/common/blxxxpill/include/periph_conf.h: reorder adc_config[] 2020-08-27 23:27:42 +02:00
Martine S. Lenders
809fef2d63
release-notes: add 2020.07.1 release notes 2020-08-27 20:51:47 +02:00
7a3c371b44
Merge pull request #14873 from ant9000/yarm_debug
boards/yarm: support debugging via openocd
2020-08-27 19:31:17 +02:00
Peter Kietzmann
9c8c242759
Merge pull request #14834 from JannesVolkens/restore_CAN_README
tests/conn_can: Add to README
2020-08-27 17:24:12 +02:00
Antonio Galea
d98dfaf203 boards/yarm: support debugging via openocd 2020-08-27 17:03:08 +02:00
benpicco
b6a542668b
Merge pull request #14845 from fjmolinas/pr_driver_netdev_common
tests/driver_netdev_common: add netdev_default
2020-08-27 17:01:50 +02:00
benpicco
779fb7d470
Merge pull request #14860 from hugueslarrive/adc_f3
STM32F3 familly ADC implementation
2020-08-27 16:50:44 +02:00
Jannes
8e5d79ffe7 tests/conn_can: Add to README 2020-08-27 16:35:40 +02:00
hugues
e314632c2e cpu/stm32/periph/adc_f3: initial ADC implementation for f3 2020-08-27 15:43:43 +02:00
hugues
6959a905a2 cpu/stm32/include/periph/f3/periph_cpu.h: add ADC support 2020-08-27 15:43:43 +02:00
Kevin "Tristate Tom" Weiss
3f884c6b37
Merge pull request #14851 from miri64/tools/enh/compile-and-test-for-board-xml
compile_and_test_for_board.py: add optional JUnit XML support
2020-08-27 15:31:08 +02:00
Martine S. Lenders
4cc6963b12
compile_and_test_for_board.py: add optional JUnit XML support 2020-08-27 14:25:57 +02:00
Francisco
578b8b8885
Merge pull request #14372 from benpicco/cpu/nrf52-full
cpu/nrf52: add support for the whole family, fix nrf52811
2020-08-27 13:51:12 +02:00
Francisco Molina
c05dd9e6d3
treewide: change netdev driver dependencies against netdev_default
- gnrc_netdev_default depends on netdev_default, no need for checking
against both modules.
- fix documentation mentions of the double check
2020-08-27 11:46:25 +02:00
Francisco Molina
f38baaabce
tests: use driver_netdev_common Makefile.netdev.mk instead of Makefile 2020-08-27 11:46:25 +02:00
Francisco Molina
639c2a7b31
tests/driver_netdev_common: add Makefile.netdev.mk
- Put common configuration in Makefile.netdev.mk
- Add netdev_default to the application Makefile
2020-08-27 11:46:24 +02:00
hugues
4c4b754e1c cpu/nrf51/include/periph_cpu.h: add adc_conf_t typedef 2020-08-27 11:43:22 +02:00
hugues
692f99989a cpu/nrf51/periph/adc: removes ADC configuration loading 2020-08-27 03:59:44 +02:00
hugues
07cdad29d7 cpu/stm32/periph/adc_f0: removes ADC configuration loading 2020-08-27 03:59:44 +02:00
hugues
5a26f74124 cpu/stm32/periph/adc_l0: removes ADC configuration loading 2020-08-27 03:58:33 +02:00
hugues
779d7a3b00 cpu/stm32/periph/adc_l4: removes ADC configuration loading 2020-08-27 03:56:26 +02:00
hugues
05702d5593 cpu/stm32/periph/adc_f2: removes ADC configuration loading 2020-08-27 03:56:26 +02:00
hugues
7680c8e2cb cpu/stm32/periph/adc_f1: removes ADC configuration loading 2020-08-27 03:56:26 +02:00
hugues
323725bcf5 cpu/stm32/periph/adc_f4: removes ADC configuration loading 2020-08-27 03:56:26 +02:00
hugues
3921a2f925 cpu/stm32/periph/adc_l1: removes ADC configuration loading 2020-08-27 03:56:26 +02:00
hugues
1a6f8df3cc boards/yunjia-nrf51822: declare adc_config[] directly in periph_conf.h 2020-08-27 03:56:26 +02:00