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

5197 Commits

Author SHA1 Message Date
Benjamin Valentin
762decd207 boards/common/e104-bt50xxa-tb: software reset depends on periph_pm 2021-02-02 23:40:21 +01:00
Benjamin Valentin
1d95950ca1 boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
This board is sold by several vendors on AliExpress, Amazon and ebay.
It does not have name, but since it comes in the same form-factor and
color as the Bluepill line of boards, I think it makes sense to use that
name.

Flashing is a bit cumbersome as I always had to press the reset button
in time when OpenOCD tries to connect to the CPU.
There is no dedicated reset pin exposed on the board.
2021-02-02 17:13:29 +01:00
64b6314807
boards/atmega: cleanup BOOTLOADER variables definitions 2021-02-02 14:10:03 +01:00
Benjamin Valentin
50c2cb727d boards/same54-xpro: update implementation status
The table has not been touched since initial support for the board
was added.
2021-01-31 19:43:05 +01:00
iosabi
4fb4f03252 boards/qn9080dk: Add SPI NOR flash definition
The QN9080-DK board has a 2 Mbit MX25R2035F SPI NOR flash connected to
SPI0. This patch adds the flash definition to the board.
2021-01-31 16:27:22 +00:00
iosabi
cde5d91018 boards/qn9080dk: Configure the SPI bus.
The SPI0 (FLEXCOMM2) is connected to a 2 Mb (256 KB) NAND flash
MX25R2035F in the board. This patch configures the SPI bus with the
CS line used for this flash chip.
2021-01-31 16:27:22 +00:00
iosabi
e72049a180 boards/qn9080dk: Add ADC configuration
The QN9080DK board has 6 Analog Input lines in the J6 header, labeled
"A0" to "A5". This configuration enables these lines as ADC lines 0 to 5
as well as some other channel options available as lines 6 and up.
2021-01-30 17:25:09 +00:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
Benjamin Valentin
c10282d7a3 boards/cc1352-launchpad: fix BTN-1 definition
same as for cc1352p-launchpad
2021-01-27 20:01:14 +01:00
Benjamin Valentin
f8543df549 boards/cc1352-launchpad: add SAUL configuration 2021-01-27 19:55:57 +01:00
Benjamin Valentin
56dc904d3b boards/cc1352p-launchpad: add SAUL configuration 2021-01-27 19:55:17 +01:00
Benjamin Valentin
9ad4159865 boards/cc1352p-launchpad: fix BTN-1 definition
BTN-1 is on pin 15, configuring pin 13 as input gets the board stuck at boot.
2021-01-27 19:55:17 +01:00
ce97e9d8ce
Merge pull request #15859 from fjmolinas/pr_newlib_feature
treewide: model newlib as a FEATURE
2021-01-27 10:06:08 +01:00
Francisco Molina
63a2a6ce1b
treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Marian Buschsieweke
38188017a8
Merge pull request #15610 from maribu/stm32-ethernet-rx-timestamp
drivers/stm32_eth: add RX timestamps
2021-01-26 13:32:19 +01:00
Benjamin Valentin
57f40e5afb boards/same54-xpro: expose at24mac as MTD_1 2021-01-26 11:40:59 +01:00
Marian Buschsieweke
ef205aeb02
boards/nucleo-f767zi: Enable PTP timestamps 2021-01-26 10:44:04 +01:00
Francisco
de9f29cf42
Merge pull request #15835 from leandrolanzieri/pr/makefile/fix_default_modules_in_usemodules
Makefile.include: avoid recursive expansion of USEMODULE
2021-01-25 21:50:03 +01:00
87cd41a6d1
Merge pull request #15657 from aabadie/pr/cpu/stm32_merge_clock_headers
cpu/stm32: merge clock source selection headers
2021-01-25 13:57:05 +01:00
a034e65453
boards/stm32f7: use common clk_conf.h header 2021-01-25 11:44:22 +01:00
Leandro Lanzieri
150b086c3f
boards/e104-bt50xxa-tb: move default module to Makefile.default 2021-01-25 09:17:00 +01:00
AravindKarri
e9691e61c2 boards/nucleo-f767zi: add ADC support 2021-01-24 22:31:38 +01:00
Benjamin Valentin
33fec8b9dc boards/samd20-xpro: add support for SAM D20 Xplained Pro 2021-01-21 20:29:15 +01:00
b2227b88b0
Merge pull request #15634 from aabadie/pr/boards/nucleo-common-kconfig-hse
boards/nucleo*: move HSE/LSE configuration for Kconfig to common
2021-01-21 17:21:56 +01:00
d0abe16966
boards/nucleo-f303ze: fix nucleo common Kconfig 2021-01-21 16:20:56 +01:00
1793fb6c00
boards/nucleo-f207zg: fix nucleo common Kconfig 2021-01-21 16:20:42 +01:00
5bc7555ae7
Merge pull request #15794 from fjmolinas/pr_fix_posix_sleep
tests/posix_sleep: fix for invalid RTT configurations
2021-01-20 14:07:23 +01:00
de37259c64
boards/nucleo-*: put Kconfig HSE/LSE clock config in common 2021-01-20 09:16:46 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration 2021-01-19 22:09:17 +01:00
96b79c21f0
boards/stm32f4*: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
342df4bf37
boards/nucleo-f207zg: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
Francisco Molina
4c9a2d7b95
boards/common/arduino-zero: configure RTT_MIN_OFFSET 2021-01-19 12:37:39 +01:00
Francisco Molina
69659efc99
boards/common/iotlab: change default RTT_FREQUENCY to RTT_MAX_FREQUENCY 2021-01-19 12:37:38 +01:00
ead5822fa4
pinetime: Add touch screen configuration 2021-01-14 18:17:52 +01:00
Francisco
4736a881fc
Merge pull request #15512 from aabadie/pr/tools/emulator_term
tools/emulator: allow use with *term targets + introduce EMULATE=1 instead of emulate target
2021-01-13 17:12:00 +01:00
Leandro Lanzieri
c516832211
boards/pba-d-01-kw2x: not define LPTMR_ISR_1 2021-01-12 15:31:34 +01:00
f5616e406f
boards/stm32f4discovery: update documentation 2021-01-11 21:31:49 +01:00
46b92f487a
boards/stm32f4discovery: use custom renode sysbus for uart 2021-01-11 21:31:49 +01:00
7723416d99
boards/microbit: adapt documentation 2021-01-11 21:31:48 +01:00
1090e55683
boards/lpc1768: move vendor conf code to CPU level 2021-01-08 21:47:10 +01:00
8acf9398e8
Merge pull request #15723 from aabadie/pr/tools/codespell_fixes
tools/codespell: fix new typos found by recent version + add new ignored words
2021-01-08 11:01:49 +01:00
907c673020
boards/feather-nrf52840: fix typo in doc
Progammer => Programmer
2021-01-08 10:15:32 +01:00
Benjamin Valentin
40cc547a7a boards/stm32f030f4-demo: use picolibc to save ROM
STM32F030R4 only has 16k Flash, so use picolibc as done on other
16k flash boards to save some ROM.
2021-01-08 09:11:02 +01:00
Bas Stottelaar
31c5c4988e
Merge pull request #15377 from basilfx/feature/efm32_slstk3400a
boards/slstk3400a: add support
2021-01-08 07:29:03 +01:00
Gerson Fernando Budke
1426e15679 cpu/avr8_common: Normalize method prefix name
Refactor atmega_ prefix to avr8_ prefix and update copyrights.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-01-07 16:29:42 -03:00
Bas Stottelaar
3bddad0de1 boards/slstk3400a: add initial support 2021-01-06 23:44:54 +01:00
Bas Stottelaar
04a0db1c86 ikea-tradfri: order alphabetically 2021-01-06 22:34:49 +01:00
Bas Stottelaar
0a9a901348 boards/e180-zg120b-tb: order alphabetically 2021-01-06 22:34:49 +01:00
Bas Stottelaar
b6062e4f92 boards/e180-zg120b-tb: simplify flashing 2021-01-06 22:34:49 +01:00
Bas Stottelaar
ca4930fd7b boards/e180-zg120b-tb: remove silabs_common 2021-01-06 22:34:49 +01:00
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