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

33435 Commits

Author SHA1 Message Date
Benjamin Valentin
95d082a2be driver/at86rf215: add functions to set trim & clock output at run-time
To calibrate the at86rf215 radio, trim value has to be set at run-time
during board production.
Add two helper functions to control the trim value and clock output register.
2020-12-02 14:59:17 +01:00
Benjamin Valentin
b866b5ef2b sys/net/gnrc/netif: add gnrc_netif_get_netdev()
Add a function to retrieve a netdev from the list of interfaces.
2020-12-02 14:59:17 +01:00
f150304643
boards/common/qn908x: cleanup Makefile.include
- include serial.inc.mk is not needed as it's handled in the main Makefile.include
- the default serial ports are already defined in serial.inc.mk
- use PROGRAMMER to specify the default programmer (openocd) and don't include openocd.inc.mk
- FLASHFILE is already defined as ELFILE in openocd.inc.mk
2020-12-02 14:05:19 +01:00
7492bd4b3d
Merge pull request #15509 from leandrolanzieri/pr/kconfig/drivers_def
drivers/{d,e,f}*: add Kconfig modules
2020-12-02 13:37:40 +01:00
28947e5198
Merge pull request #15542 from miri64/tests/enh/gnrc_ipv6_ext_frag-netif_setter
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
2020-12-02 13:36:58 +01:00
53b1a2f36d
Merge pull request #15544 from aabadie/pr/doc/board_porting_serial
doc: update board porting documentation page
2020-12-02 13:27:07 +01:00
benpicco
c03e3adfd0
Merge pull request #14647 from benpicco/boards/nrf52840-mdk-dongle
boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle
2020-12-02 12:02:44 +01:00
b31357eccc
doc: update Makefile.include instructions
Specify the programmer using the PROGRAMMER variable, don't include programmer specific makefile and serial makefile
2020-12-02 11:57:10 +01:00
Firas Hamdi
398889cafa sys/suit: fix use w/o progress bar
apply change
2020-12-02 10:51:36 +01:00
benpicco
646e665a86
Merge pull request #13855 from iosabi/qn908x_initial
cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
2020-12-02 10:31:38 +01:00
Benjamin Valentin
081c600901 boards/nrf52840-mdk-dongle: configure RGB LED as PWM 2020-12-02 10:20:19 +01:00
Benjamin Valentin
4f28bd3482 boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle 2020-12-02 10:20:19 +01:00
Benjamin Valentin
b7b208829f tools/uf2: add uf2conv.py as a flash tool 2020-12-02 10:20:17 +01:00
Leandro Lanzieri
192b7b4efe
tests/driver_{d,e,f}*: add Kconfig configuration files
Also add the tests to the CI list.
2020-12-02 10:16:49 +01:00
Leandro Lanzieri
d91e8463bb
drivers/fxos8700: add module to Kconfig 2020-12-02 10:15:01 +01:00
Leandro Lanzieri
a2d31be65b
drivers/feetech: add module to Kconfig 2020-12-02 10:15:00 +01:00
Leandro Lanzieri
25917b1986
sys/fmt/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
5ab04a28b9
sys/embunit/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
af672ca01a
drivers/dynamixel: add module to Kconfig 2020-12-02 10:14:41 +01:00
Leandro Lanzieri
03e94aab1e
drivers/uart_half_duplex: add module to Kconfig 2020-12-02 10:13:50 +01:00
Leandro Lanzieri
fe2c66fd89
drivers/dsp0401: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
2b70d7ab31
drivers/ds3234: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
480840e209
drivers/ds3231: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
53b5f6dac9
drivers/ds1307: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
05e79ed86d
drivers/ds75lx: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
0eb1f03c45
drivers/ds18: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
14ea7a676d
sys/Kconfig.stdio: add printf_float module 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
895be48336
drivers/disp_dev: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
789a197cee
drivers/dht: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
a0f8ad9e8c
drivers/dfplayer: add module to Kconfig 2020-12-02 10:13:08 +01:00
Leandro Lanzieri
3741fc8b92
sys/auto_init/multimedia: add module to Kconfig 2020-12-02 10:12:17 +01:00
Leandro Lanzieri
d7e9b242e9
drivers/dcf77: add module to Kconfig 2020-12-02 10:12:16 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00
Francisco
974ade8ce3
Merge pull request #15477 from aabadie/pr/make/serial_common
Makefile.include: only include serial.inc.mk once in Makefile.include
2020-12-02 09:59:23 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
83bbe00d62
makefiles/serial.inc.mk: define a default port for linux/darwin 2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
d709ec78f6
Makefile.include: include serial.inc.mk in one place 2020-12-02 09:19:28 +01:00
Francisco
9f3eebd9b9
Merge pull request #15543 from aabadie/pr/tools/robotis-loader_common
boards/opencm904: move robotis-loader in common place
2020-12-02 09:18:51 +01:00
Francisco
b251ca2d4f
Merge pull request #15541 from aabadie/pr/make/goodfet_common
tools/goodfet: define variables in common makefile
2020-12-02 09:18:18 +01:00
4ff5b749b0
tools/renode: qemu: move debug script in common place 2020-12-02 08:43:44 +01:00
ae20873510
makefiles/qemu: add DEBUGGER variables 2020-12-02 08:43:43 +01:00
c066f21b68
Merge pull request #15539 from aabadie/pr/tools/stm32loader
tools/stm32loader: introduce common makefile
2020-12-02 08:24:05 +01:00
iosabi
cc6adbb39d boards/qn9080dk: New board for the QN908x
The QN9080DK is the developer board reference from NXP for the QN908x
CPUs. The developer kit comes with two boards: a larger PCB with many
peripherals and a much smaller "USB dongle". This board adds initial
support for the larger "DK board". At the moment, with the minimal CPU
support this board only configures the GPIOs available in the board,
namely the RGB LED and the two user buttons.
2020-12-02 02:47:07 +00:00
iosabi
86ab9401aa boards/common/qn908x: Define a common qn908x board
Boards based on the qn908x CPU will share the same OpenOCD configuration
regarding the image offset and OpenOCD commands needed to flash the
image directly with "make flash".
2020-12-02 02:47:07 +00:00
iosabi
cde8ac6093 cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
The NXP QN908x CPU family is a Cortex-M4F CPU with integrated USB,
Bluetooth Low Energy and in some variants NFC. This patch implements the
first steps for having support for this CPU.

While the QN908x can be considered the successor of similar chips from
NXP like the KW41Z when looking at the feature set, the internal
architecture, boot image format and CPU peripherals don't match those
in the Kinetis line. Therefore, this patch creates a new directory for
just the QN908x chip under cpu/qn908x.

The minimal set of peripherals are implemented in this patch to allow
the device to boot and enable a GPIO: the gpio and wdt peripheral
modules only.

The wdt driver is required to boot and disable the wdt. On reset, the
wdt is disabled by the chip, however the QN908x bootloader stored in
the internal ROM enables the wdt and sets a timer to reboot after 10
seconds, therefore it is needed to disable the wdt in RIOT OS soon
after booting. This patch sets it up such that when no periph_wdt module
is used the Watchdog is disabled, but if the periph_wdt is used it must
be configured (initialized) within the first 10 seconds.

Tests performed:
Defined a custom board for this CPU and compiled a simple application
that blinks some LEDs. Manually tested with periph_wdt and with
periph_wdt_cb as well.
2020-12-02 02:47:07 +00:00
iosabi
21fd1f9258 Add vendor files for the NXP QN908x cpu
In preparation for adding support for the QN908x cpus, this patch adds
a pristine copy of the vendor SDK files needed for initial support.
The only modification to these files is to add '#ifdef __cplusplus'
guards to all the header files, even if not needed or already
present as '#if defined(__cplusplus)', to make sure
./dist/tools/externc/check.sh check passes.

These files are located under vendor/ directories (both
cpu/qn908x/include/vendor/ and cpu/qn908x/vendor/) and are part of NXP's
SDK for the QN908x family available for download from:
  https://mcuxpresso.nxp.com/en/builder

The files included in these vendor/ directories are released by NXP
under an Open Source license as described in each file, but only the
files used by the next patch are included here.
2020-12-02 02:45:53 +00:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00