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
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
hugues
394ccfde0b
boards/weact-f411ce: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
0943d12bb1
boards/ublox-c030-u201: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
110c9bb8c1
boards/stm32f4discovery: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
477e910066
boards/stm32f0discovery: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
80990e7c96
boards/stm32f030f4-demo: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
3e2e4c4150
boards/olimexino-stm32: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
d1a7ecb60e
boards/nucleo-l476rg: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00