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

5096 Commits

Author SHA1 Message Date
MrKevinWeiss
67ef7e25e6 boards/stm32f4discovery: Add initial renode support 2021-01-05 17:09:58 +01:00
J. David Ibáñez
f056c78c50 boards/remote-revb: add arduino feature 2020-12-22 11:32:03 +01:00
benpicco
7d8f801b20
Merge pull request #15650 from aabadie/pr/cpu/stm32_clk_merge_f0f1f3
cpu/stm32: merge f0/f1/f3 clock configuration headers
2020-12-20 02:31:12 +01:00
iosabi
0b70a7897a boards/qn9080dk: Add mma8x5x driver for MMA8652FC
The qn9080dk includes a MMA8652FC chip connected to the I2C0 bus, this
patch adds the driver for the in the default.

Note that the MMA8652FC device is powered from the LPC_VCC line, which
is different from the QN_VCC line that powers the QN9080 MCU. A voltage
level translator is included in the QN9080DK which is only enabled when
JP11 (labeled "G-Sensor I2C") is closed and the LPC debugger hardware
is powered, for example from the USB port.
2020-12-19 22:41:57 +00:00
iosabi
5f78519b29 boards/qn9080dk: Enable driver for I2C0
The QN9080DK board can expose the I2C bus SDA and SCL in the pins
labeled D14 and D15 respectively in the J5 headers, and in the Pmod (J8)
connector in the pins 10 and 9 of the header respectively.

The bus has a 2K2 pull up resistor on each line when SB7 and SB8 (next
to the Pmod connector) are closed, which is the factory default.
2020-12-19 22:41:57 +00:00
Martine Lenders
6646682873
Merge pull request #15611 from benpicco/boards/eui_provider.h
net/eui_provider: API cleanup
2020-12-18 15:02:57 +01:00
0a45ac5fa1
boards/hifive1*: use common clock configuration 2020-12-17 15:53:31 +01:00
f2fe6373be
boards/hifive1*: remove board level clock Kconfig 2020-12-17 15:53:31 +01:00
2d97581d06
boards/stm32f0: use clk_conf.h 2020-12-17 08:38:40 +01:00
benpicco
6d602e6a63
Update boards/samr21-xpro/include/eui_provider_params.h
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2020-12-14 15:23:07 +01:00
benpicco
f0c09c927e
Update boards/derfmega256/include/eui_provider_params.h
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2020-12-14 15:23:02 +01:00
Benjamin Valentin
d4acf95a27 net/eui_provider: drop useless EUI provider arg parameter
This has never been used and we might as well define a second
callback function instead of using a generic one with an arg.
2020-12-14 00:22:43 +01:00
Benjamin Valentin
9c20540e3d boards/same54-xpro: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:42 +01:00
Benjamin Valentin
b0dd4aa716 boards/derfmega256: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
ac2edfca35 boards/avr-rss2: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
d3e8ffb021 boards/samr21-xpro: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
fe9ae5bc80 net/eui_provider: provide index to the callback function
If the same callback function is used for multiple interfaces
(`NETDEV_INDEX_ANY`), it is necessary to also provide the index of
the interface to hand out and address.
2020-12-14 00:22:18 +01:00
dylad
3937aff923 board/same54-xpro: add Ethernet configuration 2020-12-13 22:01:50 +01:00
Benjamin Valentin
09c6d2c4db boards/same54-xpro: add configuration for SPI flash 2020-12-12 18:36:16 +01:00
Benjamin Valentin
b66b59a411 boards/samd10-xmini: add SAM D10 Xplained Mini 2020-12-11 18:25:36 +01:00
Francisco
0a265b3114
Merge pull request #15591 from aabadie/pr/boards/stm32l476g-disco-connect-assert-srst
boards/stm32l476g-disco: use connect_assert_srst with openocd
2020-12-11 08:54:04 +01:00
38fdcd318d
Merge pull request #15578 from Hxinrong/devfs_registerBranch
add error checks of devfs_register()
2020-12-09 18:53:26 +01:00
b801d57f0c
Merge pull request #15555 from dylad/pr/makefiles/dfu_optionnal_dfuse
boards: move DfuSe specific argument at board level
2020-12-09 14:08:50 +01:00
dylad
47f8d69845 boards: update boards using DfuSe
Update these boards to make use of a new argument to keep using DfuSe mode of dfu-util
2020-12-09 11:48:37 +01:00
Han Xinrong
385dfe46a5 boards/mulle/board.c:add error checks of devfs_register() 2020-12-09 17:55:25 +08:00
fbc8d4add5
boards/stm32l476g-disco: use connect_assert_srst with openocd 2020-12-08 22:32:48 +01:00
8f6005b26e
boards: cpu: stm32f1: use .config for specific iotlab PLL_PREDIV 2020-12-08 18:02:57 +01:00
591f201c11
boards/nucleo-f303k8: remove custom pll prediv/mul defines 2020-12-08 17:36:52 +01:00
75d2002e76
boards/stm32f1/f3: adapt Kconfig for clock configuration 2020-12-08 17:36:52 +01:00
iosabi
ef4b58f4f0 cpu/qn908x: Add timer driver based on CTIMER.
The QN908x CPU has several timer modules: one RTC (Real-Time Clock) that
can count from the 32kHz internal clock or 32.768 kHz external clock,
four CTIMER that use the APB clock and have four channels each and one
SCT timer with up to 10 channels running on the AHB clock.

This patch implements a timer driver for the CTIMER blocks only, which
is enough to make the xtimer module work. Future patches should improve
on this module to support using the RTC CNT2 32-bit free-running
counter unit and/or the SCT timer.
2020-12-04 23:18:27 +01:00
iosabi
bd929a3746 cpu/qn908x: Add support for UART.
The QN908x has four FLEXCOMM interfaces that support a subset of UART,
SPI or I2C each one. This patch adds generic support for dealing with
the FLEXCOMM initialization and interrupts and adds a driver for
RX/TX support in UART.

With this patch is now possible to use a shell on the device over UART.
2020-12-03 20:53:49 +01:00
iosabi
3f600d869e boards/common/qn908x: Compute the image checksum
QN908X CPUs require the image to have a valid checksum. The checksum is
a simple addition of the first 7 uint32_t values stored in the 8th
position of the image header. This position is a reseved entry of the
Cortex-M Vector Table and its value depends on other fields that are
computed at link time. Performing this checksum at link time seems
hard to do, so instead this patch uses a python script to patch the
checksum from the ELF file. This redefines the value of FLASHFILE
to the new .elf file with the checksum fixed.

With this patch, OpenOCD can program and verify QN908X images since
now they have a valid checksum value.
2020-12-03 17:47:33 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +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
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
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
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +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
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +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
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
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
Francisco
0b8ec0ba11
Merge pull request #15490 from aabadie/pr/tools/renode_refactor
tools/renode: refactor integration + add debugger support
2020-12-01 23:16:11 +01:00