Marian Buschsieweke
93f8f8cd84
tests/external_board_native: Extended readme
...
Added a note to explain why the deprecated variable BOARDSDIR is still used.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
cf379660e9
tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
ba7815163c
Makefile*: Allow multiple external board dirs
...
- Add the new EXTERNAL_BOARD_DIRS variable that can contain a space separated
list of folders containing external boards
- Introduce $(BOARDDIR) as shortcut for $(BOARDSDIR)/$(BOARD)
- Map the existing BOARDSDIR to the new approach
- If BOARDSDIR is provided by the user, it will be added to
EXTERNAL_BOARD_DIRS for backward compatibility. (And a warning is issued
to encourage users migrating to EXTRA_BOARDS.)
- BOARDSDIR is updated after the board is found to "$(BOARDDIR)/..".
- Useful for `include $(BOARDSDIR)/common/external_common/Makefile.dep`
- Provides backward compatibility
2020-04-29 18:32:39 +02:00
Benjamin Valentin
bb3995b462
tests/periph_pm: introduce set_rtc
...
Similar to unblock_rtc, but uses `pm_set()` instead of `pm_unblock()`.
2020-04-29 18:06:36 +02:00
Benjamin Valentin
ffdb115ffe
tests/periph_pm: drop use of mktime()
...
The RTC implementation are expected to normalize the input struct.
2020-04-29 18:04:27 +02:00
Jean Pierre Dudey
1586c89f1a
cc26x2_cc13x2: update DDI_0_OSC register bank
...
- Fixes padding.
- Updates documentation.
- Removes documentation longer than 80-chars for the registers values.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 10:17:20 -05:00
Leandro Lanzieri
34120c1a23
drivers/Kconfig: Move Actuator and Sensor menus to root file
2020-04-29 17:15:47 +02:00
Jean Pierre Dudey
2921944c66
cc26x2_cc13x2: add function to change AUX opmode
...
This function is needed to setup the AUX operational mode at startup,
also used for managing low-power states.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 09:38:36 -05:00
Benjamin Valentin
18651eb399
gnrc_netif: Use full L2-PDU as IPv6 MTU
...
If the L2-PDU is greater than IPV6_MIN_MTU, use that as the MTU instead.
2020-04-29 12:49:36 +02:00
Benjamin Valentin
4065da8838
gnrc/netif: 6lo: use 16 bit for max_frag_size
...
Using 8 bit for `max_frag_size` limits that value to 255.
802.15.4g specifies a PDU of 2047 bytes which exceeds that limit.
Using a 16 bit value here allows to use the full L2 PDU.
Before:
12:02:16,300 # ping6 fe80::2068:3123:59f5:d238%8 -s 400
12:02:16,302 # sending 244 bytes
12:02:16,387 # sending 218 bytes
12:02:16,624 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=0 ttl=64 rssi=-49 dBm time=316.307 ms
12:02:17,302 # sending 244 bytes
12:02:17,387 # sending 218 bytes
12:02:17,624 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=1 ttl=64 rssi=-49 dBm time=316.307 ms
12:02:18,302 # sending 244 bytes
12:02:18,387 # sending 218 bytes
12:02:18,624 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=2 ttl=64 rssi=-50 dBm time=316.306 ms
12:02:18,625 #
12:02:18,629 # --- fe80::2068:3123:59f5:d238 PING statistics ---
With this patch:
12:09:44,276 # ping6 fe80::2068:3123:59f5:d238%8 -s 400
12:09:44,278 # sending 432 bytes
12:09:44,574 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=0 ttl=64 rssi=-52 dBm time=289.888 ms
12:09:45,279 # sending 432 bytes
12:09:45,574 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=1 ttl=64 rssi=-52 dBm time=289.885 ms
12:09:46,069 # sending 43 bytes
12:09:46,279 # sending 432 bytes
12:09:46,499 # sending 43 bytes
12:09:46,574 # 408 bytes from fe80::2068:3123:59f5:d238%8: icmp_seq=2 ttl=64 rssi=-47 dBm time=289.886 ms
12:09:46,574 #
12:09:46,578 # --- fe80::2068:3123:59f5:d238 PING statistics ---
2020-04-29 12:49:36 +02:00
Francisco
80b300289d
Merge pull request #13912 from benpicco/at86rf215-mr-qpsk
...
drivers/at86rf215: implement MR-O-QPSK
2020-04-29 12:44:00 +02:00
9a4537eef6
Merge pull request #13976 from maribu/pm_get_blocker
...
sys/pm: Add pm_get_blocker()
2020-04-29 12:37:15 +02:00
2af3ea586a
Merge pull request #13947 from benpicco/riot-bus_multibus
...
core/msg: add message bus
2020-04-29 12:24:12 +02:00
Marian Buschsieweke
a3e7abc2e2
sys/pm: Fix behavior of fallback pm_off() implementation
...
- pm_off() should prevent other threads from getting executed after it is
called, as it should turn off the MCU completely according to its doc
- Previously, the fallback implementation would still allow other threads
to continue working
- Simply disabling IRQs and never enabling them again should make sure
the MCU behaves like it would be completely off
- pm_off() should reduce the power consumption as much as possible
- Previously, when IRQs came after the call to pm_set_lowest() in the
fallback implementation of pm_off(), `while(1) {}` got executed at full
power consumption
- Just calling `pm_set(0);` in a loop while make sure that lowest power mode
is restored if the MCU wakes up again.
- The check if the lowest power mode is available is skipped, as no code
gets executed afterwards anyway
2020-04-29 12:08:12 +02:00
Francisco
777a8aa459
Merge pull request #12709 from aabadie/pr/cpu/native_eeprom
...
cpu/native: add periph_eeprom driver implementation
2020-04-29 11:44:35 +02:00
Leandro Lanzieri
c8fa7f045b
Merge pull request #13914 from akshaim/Kconfig_fxos8700
...
drivers/fxos8700 : Expose Configurations to Kconfig
2020-04-29 11:42:37 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
...
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
Akshai M
0bc7952e30
drivers/fxos8700 : Expose to Kconfig
...
Expose Configurations to Kconfig
2020-04-29 14:32:00 +05:30
Akshai M
e5fe525711
drivers/fxos8700 : Add CONFIG_
...
Add CONFIG_ Prefix for FXOS8700_USE_ACC_RAW_VALUES and model
it as a bool
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-29 14:32:00 +05:30
José Alamos
373a335ec8
Merge pull request #13974 from kaspar030/fix_uncrustify_logic
...
dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic
2020-04-29 11:01:10 +02:00
Juergen Fitschen
73e22612e2
sys/ztimer: add power management for ztimer clocks
2020-04-29 10:55:10 +02:00
Benjamin Valentin
6ce0092982
shell/sc_gnrc_netif: fix vera++ errors
2020-04-29 10:41:37 +02:00
Benjamin Valentin
504d02038d
gnrc_netif: update PDU after changing PHY mode
2020-04-29 10:41:37 +02:00
Benjamin Valentin
e6d47aa825
drivers/at86rf215: implement MR-O-QPSK
2020-04-29 10:41:37 +02:00
Benjamin Valentin
0cf9f6aa7f
drivers/at86rf215: implement at86rf215_get_phy_mode()
2020-04-29 10:41:37 +02:00
Benjamin Valentin
cfc2feca1d
ieee802154: return PDU based on PHY mode
...
IEEE 802.15.4g-2012 specifies a PDU of 2047 for it's PHY modes, so
query the driver for the mode before returning the PDU.
If none of the new modes is used, don't query the driver to not incure
a penalty on existing platforms.
2020-04-29 10:41:37 +02:00
Benjamin Valentin
c77119957f
shell/sc_gnrc_netif: fix space after NID
...
All option have a space behind them. This fixes the formatting of the
NID parameter if there are options after it.
2020-04-29 10:41:37 +02:00
Benjamin Valentin
fac35644d0
ieee802154: add definitions & config options for MR-O-QPSK
...
Define options for IEEE 802.15.4g MR-O-QPSK as well as shell commands
to set them via ifconfig.
2020-04-29 10:41:37 +02:00
fda6ef6ac6
dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic
...
Previously, uncrustify.sh would fail (report uncrustifying necessary) if
there was any output of uncrustify. Turns out uncrustify sometimes
outputs something.
This commit changes the logic to use uncrustify's output value as
indicator.
Also, adds printing which file causes the check to fail.
2020-04-29 09:51:36 +02:00
Leandro Lanzieri
d822a91403
Merge pull request #13954 from akshaim/Kconfig_slipdev
...
drivers/slipdev : Expose Configurations to Kconfig
2020-04-29 09:38:26 +02:00
e531bdbcec
Merge pull request #8519 from jia200x/uncrustify
...
uncrustify: add auto uncrustify with blacklist
2020-04-29 09:16:27 +02:00
b04d354640
tests/periph_eeprom: use native as default board
2020-04-29 08:56:34 +02:00
ab8ad3f990
makefiles/vars: document EEPROM_FILE variable
2020-04-29 08:56:34 +02:00
5a9f01d91a
native: pass eeprom file path via command line
2020-04-29 08:56:33 +02:00
decd73129c
tests/periph_eeprom: improve automatic test script
...
Reboot the application and verify data previously written on EEPROM by the test command are still there
2020-04-29 08:55:10 +02:00
cbdda3c990
cpu/native: read/persist EEPROM data at startup/reboot/exit
2020-04-29 08:55:10 +02:00
4e1d7abddc
cpu/native: implement eeprom peripheral driver
...
The driver simply manages an internal buffer in memory that can be filled/dumped from/to a file
2020-04-29 08:55:08 +02:00
Akshai M
e6924e525d
drivers/slipdev : Expose to Kconfig
...
Expose configurations to Kconfig
2020-04-29 09:42:59 +05:30
Akshai M
b4451ffd43
drivers/slipdev : Add CONFIG_
...
Add CONFIG_ prefix to SLIPDEV_BUFSIZE
2020-04-29 09:42:10 +05:30
benpicco
549d7ff24f
Merge pull request #13964 from btcven/board/cc1352p-launchpad
...
boards: add for cc1352p-launchpad board
2020-04-28 21:41:02 +02:00
Leandro Lanzieri
fe09fd3502
Merge pull request #13891 from miri64/testrunner/fix/SIGKILL-last-resort
...
testrunner: use SIGKILL only as last resort
2020-04-28 20:15:00 +02:00
Martine S. Lenders
aee9f09386
testrunner: use SIGKILL only as last resort
...
When the child has a clean-up step (closing files, killing
sub-processes, deleting operational files, etc.), this currently is not
executed by the test, as the `testrunner` just does a hard `SIGKILL`
for the child's PPID. This change makes this a `SIGTERM` and only uses
`SIGKILL` if there are still processes lingering a second after the
`SIGTERM`.
2020-04-28 19:42:07 +02:00
Leandro Lanzieri
b543fbd69d
Merge pull request #13879 from aabadie/pr/sys/touch_dev
...
sys/touch_dev: add generic API for touch device
2020-04-28 18:58:25 +02:00
f22529ec71
Merge pull request #11731 from benemorius/tests-periph_pm-ux
...
tests/periph_pm: make usage more intuitive and move shell commands to sys/
2020-04-28 18:52:09 +02:00
804cc8cbd7
tests: add new boards in low memory blacklists
2020-04-28 18:35:17 +02:00
benpicco
4bb8fab1dc
Merge pull request #13971 from bergzand/pr/sam0_common/cpuid_clarify
...
sam0_common: clarify memcpy in cpuid_get
2020-04-28 18:31:27 +02:00
benpicco
96c638f2d1
Merge pull request #13949 from benpicco/MAKEFILEDIR-doc
...
Makefile.include: update the documentation of $(MAKEFILEDIR)
2020-04-28 18:30:44 +02:00
6778e34032
tests/touch_dev: add test application
2020-04-28 18:18:01 +02:00
c0f46c06bb
drivers/stmpe811: provide adaption to touch_dev interface
2020-04-28 18:18:01 +02:00