09fe0c7667
Merge pull request #14531 from benpicco/drivers/stmpe811/fix_polarity
...
drivers/stmpe811: fix interrupt polarity & interrupt generation
2020-07-22 11:12:31 +02:00
9b3e94bf34
tests/driver_stmpe811: update application README
2020-07-22 09:59:39 +02:00
37b096562a
drivers/stmpe811: ensure fifo is not empty before reading touch position
2020-07-22 09:59:18 +02:00
Benjamin Valentin
caead7bb75
drivers/stmpe811: always clear interrupt state
2020-07-22 09:59:11 +02:00
Cenk Gündoğan
a0c4b8a4a0
Merge pull request #14550 from leandrolanzieri/pr/net/gcoap_remove_gcoap_finish
...
net/gcoap: remove gcoap_finish
2020-07-22 09:40:09 +02:00
Cenk Gündoğan
2505730b3d
Merge pull request #14544 from leandrolanzieri/pr/examples/cord_epsim_parse_with_str2ep
...
examples/cord_epsim: default to first interface when not specified
2020-07-22 09:26:25 +02:00
Gunar Schorcht
044d08d599
cpu/stm32: GPIO ports definition fix
...
The available GPIO ports may also differ within a family. Therefore, the vendor definitions GPIO* are used instad of CPU_FAM_STM definitions to determine which ports are available for a certain MCU.
2020-07-22 09:13:52 +02:00
Francisco Molina
9dde6ec53d
drivers/rtt: overrite RTT_MAX_VALUE and RTT_FREQUENCY for mock
...
mock_rtt relies on setting mock values for RTT_MAX_VALUE and
RTT_FREQUENCY. Platforms with a rtt will already define these
values which leads to mock_rtt working with different values than
rtt_rtc.
This commit changes the ifdef logic so that when using mock_rtt
RTT_MAX_VALUE and RTT_FREQUENCY are redefined.
2020-07-22 08:52:54 +02:00
Benjamin Valentin
f857b7116b
tests/driver_stmpe811: don't poll for touch events
...
Now that the interrupt of the driver works properly, we don't have to
rely on polling.
Instead, wake the thread by touch interrupt.
2020-07-21 21:22:43 +02:00
Benjamin Valentin
cbae0186ca
drivers/stmpe811: fix interrupt polarity & type
...
The Interrupt on the stmpe811 is generated on the falling edge.
By observing the rising edge, we will only get an event if the
interrupt gets cleared.
Also configure the interrupt to be edge triggered instead of
level triggered.
2020-07-21 21:22:42 +02:00
Akshai M
60170971bd
net/l2filter : Update documentation
2020-07-22 00:26:09 +05:30
Akshai M
9bed3c64e9
net/l2filter : Expose configurations to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-07-22 00:26:09 +05:30
Akshai M
caab4cd8c5
net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_'
2020-07-22 00:26:09 +05:30
Akshai M
0d52f81935
net/l2filter : Move 'L2FILTER_ADDR_MAXLEN' to 'CONFIG_'
2020-07-22 00:26:09 +05:30
Leandro Lanzieri
418157a8f1
examples/cord_epsim: default to first interface when not specified
...
Now sock_udp_str2ep is used to parse the address.
2020-07-21 19:04:24 +02:00
Cenk Gündoğan
43d2de0885
Merge pull request #14569 from fjmolinas/pr_tests_trickle_msg_queue
...
tests/trickle: add message queue
2020-07-21 18:42:19 +02:00
Benjamin Valentin
464dc63f08
cpu/arm7_common: add __ARM_FEATURE_CLZ feature test
...
The feature test macro should work on all ARM CPUs supported by gcc.
2020-07-21 16:03:59 +02:00
Benjamin Valentin
74bbb87f78
tests/bitarithm_timings: add bitarithm_test_and_clear() to the test
2020-07-21 16:03:59 +02:00
Benjamin Valentin
a8904edd7d
core/bitarithm: add bitarithm_test_and_clear()
2020-07-21 16:03:59 +02:00
ec487138bf
Merge pull request #14566 from fjmolinas/pr_test_periph_gpio_pin
...
tests/periph_gpio: allow specifying port under test
2020-07-21 15:22:30 +02:00
185f703c23
Merge pull request #14163 from aabadie/pr/cpu/stm32g0
...
cpu/stm32g0: add basic support + add nucleo-g070rb board
2020-07-21 14:53:59 +02:00
Francisco Molina
194d3192fc
tests/trickle: add message queue
...
Add a message queue in case main thread is not yet waiting for the
message when it gets sent.
2020-07-21 14:19:55 +02:00
b7219d68f4
Merge pull request #12428 from benpicco/native_poll
...
native/async_read: use poll() instead of select()
2020-07-21 14:01:32 +02:00
Francisco Molina
92d2a727f5
tests/periph_gpio: allow specifying port under test
2020-07-21 13:19:14 +02:00
Akshai M
bcb42e2166
mac/types.h : Remove ifndef for 'GNRC_MAC_TYPE_GET_DUTYCYCLE'
...
Removed ifndef guards for GNRC_MAC_TYPE_GET_DUTYCYCLE as its
an IPC message type and is also not intended as a configuration.
2020-07-21 16:36:27 +05:30
ed3ff6ed34
tests: exclude nucleo-f070rb where it doesn't fit in memory
2020-07-21 12:45:25 +02:00
5ccbaada02
examples: exclude nucleo-g070rb where the firmware doesn't fit in memory
2020-07-21 12:45:25 +02:00
54fe59d0ba
boards/nucleo-g070rb: add support
2020-07-21 12:45:25 +02:00
8272541b44
boards/common/stm32: add common code for stm32g0
2020-07-21 12:45:25 +02:00
fc1d642113
cpu/cortexm_init: add specific case for stm32g0 svcall irq
2020-07-21 12:45:25 +02:00
dada52ecd2
cpu/stm32: add stm32g0 support
2020-07-21 12:45:25 +02:00
8c50212a8d
pkg/stm32cmsis: add version for g0 family
2020-07-21 12:35:42 +02:00
0b549c6e0c
Merge pull request #14152 from aabadie/pr/pkg/stm32cube
...
pkg/stm32cmsis: retrieve STM32 CMSIS header from a package
2020-07-21 12:27:19 +02:00
47e2885f80
cpu/native: async_read: add native_async_read_add_int_handler()
...
fcntl(fd, F_SETOWN, getpid()); doesn't seem to work on Linux
to get generate a signal when an event on the GPIO fd occurs.
So fall back to the same method as on OS X and call poll() in
a child process.
2020-07-21 11:50:18 +02:00
a274ea45fc
cpu/native: async_read: rewrite select() call to poll()
...
select() can not listen to POLLPRI events which are used by the
Kernel's GPIO API.
In preparation for that, rewrite async_read() to use poll() instead
of select().
2020-07-21 11:50:18 +02:00
ea8183aac8
Merge pull request #14559 from bergzand/pr/sched/idle_do_while
...
core/sched: tiny logic optimization in idle case
2020-07-21 11:50:09 +02:00
e1b810b613
core/sched: tiny logic optimization in idle case
...
In the case that the no_thread_idle feature is active, the
runqueue_bitcache is checked twice in the case no thread is available to
schedule. This changes the inner while loop to a do-while loop to save
one check from the initial loop iteration, saving a cycle or so in the
idle case.
2020-07-20 23:26:47 +02:00
Francisco
e8a8d12d96
Merge pull request #14511 from aabadie/pr/ci/build_system_check_makefile_features
...
ci/build_system_check: improve check for features only provided in Makefile.features
2020-07-20 15:28:15 +02:00
Francisco
14e232dd43
Merge pull request #14386 from aabadie/pr/drivers/makefile_dep
...
drivers: add driver specific Makefile.dep
2020-07-20 15:27:50 +02:00
0c86b72ed6
drivers/Makefile.dep: remove global dependency resolution
...
Only keep the dependency resolution for drivers declared as pseudo-modules
2020-07-20 14:32:16 +02:00
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
54d51bb098
Makefile.dep: include per driver Makefile.dep if used and exist
2020-07-20 14:32:16 +02:00
b7f2ad8d76
ci/build_system_check: improve check for features provided in Makefile.features
...
- Take into account potential spaces at the beginning of a line
- Check all Makefile.<something> files, not only the ones in boards and cpus
2020-07-20 13:06:05 +02:00
f013be5507
Merge pull request #14497 from aabadie/pr/drivers/makefile_dep_cleanup
...
drivers/Makefile.dep: remove inappropriate use of FEATURES_PROVIDED for rtt_rtc
2020-07-20 13:04:59 +02:00
3222984cb9
Merge pull request #14549 from bergzand/pr/filesystem/check_cleanup
...
examples/filesystem: Cleanup filesystem/mtd check
2020-07-18 17:08:28 +02:00
benpicco
4fb1e17508
Merge pull request #14454 from trickeydan/usb-cdc-ecm-example
...
Add USB Ethernet support to GNRC Border Router example
2020-07-18 15:58:44 +02:00
Martine Lenders
e5d692babe
Merge pull request #14493 from miri64/netopt/cleanup/rm-LINK_CONNECTED
...
netopt: remove deprecated alias NETOPT_LINK_CONNECTED
2020-07-17 22:35:46 +02:00
Martine Lenders
bb07c1889f
Merge pull request #14507 from JannesVolkens/someip_hdr
...
sys/include/net: Add SOME/IP header
2020-07-17 22:35:06 +02:00
Dan Trickey
2c3987def0
examples/gnrc_border_router: add CDC-ECM uplink
...
Optionally executes pyterm from CDC-ECM start_network.sh
The shell script exits and cleans up instantly unless there is a
blocking program running at the end. Users can supply a serial port to
display in pyterm, or alternatively just wait if it is a "headless"
deployment.
2020-07-17 21:34:56 +01:00
87d8124d88
Merge pull request #14536 from HendrikVE/pca9633_fix_copy_pasta
...
drivers/pca9633: fix wrong enum name
2020-07-17 21:03:25 +02:00