Martine S. Lenders
1c251beb03
gnrc_nettype: indirect NETTYPE definition via pseudo-modules
...
Instead of making a NETTYPE definition dependent on an implementation
module, this change makes it dependent on a pseudo-module for each
specific NETTYPE and makes the respective implementation modules
dependent on it.
This has two advantages:
- one does not need include the whole implementation module to
subscribe to a NETTYPE for testing or to provide an alternative
implementation
- A lot of circular dependencies related to GNRC could be untangled.
E.g. the only reason `gnrc_icmpv6` needs the `gnrc_ipv6` is because it
uses `GNRC_NETTYPE_IPV6` to search for the IPv6 header in an ICMPv6
when demultiplexing an ICMPv6 header.
This change does not resolve these dependencies or include usages where
needed. The only dependency change is the addition of the
pseudo-modules to the implementation modules.
2020-05-05 19:16:06 +02:00
benpicco
8136edca95
Merge pull request #13958 from francois-berder/rename-pic32-clicker
...
boards: Rename pic32-clicker to 6lowpan-clicker
2020-04-30 16:06:50 +02:00
Martine Lenders
6a75e042cd
Merge pull request #13953 from leandrolanzieri/pr/2020.04_release_notes
...
release-notes.txt: add 2020.04 release notes
2020-04-29 21:27:42 +02:00
Leandro Lanzieri
673144ecf4
release-notes.txt: add 2020.04 release notes
2020-04-29 20:13:36 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
...
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
37d5d571c8
.murdock: Remove board sanity check
...
With external board folders supported (and used within RIOT's code base in
testing applications), boards can be outside of the /boards folder.
2020-04-29 18:32:39 +02:00
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
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
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
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
3d557556e0
sys: add interface for generic touch device
2020-04-28 18:17:31 +02:00
Leandro Lanzieri
bb66845756
Merge pull request #13966 from akshaim/Kconfig_sps30
...
drivers/sps30 : Expose Configurations to Kconfig
2020-04-28 17:26:08 +02:00
Thomas Stilwell
325ab426d4
sys/shell/commands: pm: add set mode
block mode
unblock mode
2020-04-28 16:56:34 +02:00