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

4238 Commits

Author SHA1 Message Date
Marian Buschsieweke
4d1a5b9256
cpu/atmega_common: Drop legacy include
Drop `#include "irq.h"` in `cpu.h`, which was there for a legacy work around.
A bunch of missing includes of `irq.h` materialized due to this and were
fixed.
2020-05-15 11:24:28 +02:00
Marian Buschsieweke
7cf49d145d
boards/common/nrf52: Allow external boards
Replace `$(RIOTBOARD)/$(BOARD)` with `$(BOARDDIR)`, which also works for
external boards. This allows external boards to build on top of
`$(RIOTBOARD)/common/nrf52`.
2020-05-14 13:56:12 +02:00
benpicco
e3591535ce
Merge pull request #13972 from Citrullin/nrf52_bmp
Add bmp config for nrf52
2020-05-12 16:59:34 +02:00
Philipp Blum
3240dfc0b2 boards/common/nrf52: add config for bmp 2020-05-12 15:54:38 +02:00
Marian Buschsieweke
966b0e22e5
boards/microduino-corerf: Fix duplicated includes
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-12 15:00:14 +02:00
benpicco
e45777d077
Merge pull request #13809 from Vinggui/master
Added a new flashing parameter for generic cheap St-link and bluepill(-128kib) boards.
2020-05-12 11:48:43 +02:00
aa2e84218f
Merge pull request #14052 from bergzand/pr/nrf52840dk/add_mtd
nrf52840dk: Add MTD configuration
2020-05-11 13:01:33 +02:00
4f41c60e05
nrf52840dk: Add MTD configuration 2020-05-11 10:26:29 +02:00
chrysn
1c0bdede8d boards/nrf52840dongle: Add support
It includes per-board support for the nrfutil programmer used with its
default bootloader; this is not generalized over Adafruit's boards as
they use incompatible versions of nrfutil.
2020-05-08 14:49:46 +02:00
Marian Buschsieweke
ee50546f80
boards/atmega328p: Fix duplicated includes
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-06 20:28:34 +02:00
Marian Buschsieweke
9c042eb388
boards/atmega1284p: Default programmer, fix doc
The AVR Dragon, previously the cheapest debugger/programmer for AVR, is out of
production. The default debugger for AVR devices has been changed to the Atmel
ICE, the now cheapest debugger option. The commit updates the documentation
accordingly.

Additionally the default programmer is changed to the Atmel ICE for consistency.
The doc is updated accordingly.
2020-05-06 20:28:33 +02:00
Marian Buschsieweke
6c203deb7d
boards/atmega1284p: Fix duplicated includes & typo
- avrdude.mk and serial.mk were included twice.
    - The former resulted in `make flash` wasting one flash cycle by flashing
      the same firmware twice
- Fixed typos (atmega328p instead of atmega1284p)
2020-05-06 20:27:42 +02:00
5773db93f8
Merge pull request #14025 from fjmolinas/pr_nrf5x_rtt_conf
boards/common/nrf5x: add configurable RTT_FREQUENCY
2020-05-05 17:46:05 +02:00
343dc3f90f
Merge pull request #13909 from fjmolinas/pr_stm32_rtt
cpu/stm32_common: make RTT_FREQUENCY configurable
2020-05-05 16:45:39 +02:00
Francisco Molina
409185c5ce
boards/common/nrf5x: add configurable RTT_FREQUENCY
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:52:55 +02:00
Francisco Molina
fc644cc2c2
boards/nucleo-f413zh: use common rtt config 2020-05-05 14:36:32 +02:00
Francisco Molina
b5bcf26e0f
cpu/stm32_common: make RTT_FREQUENCY configurable
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:36:31 +02:00
benpicco
4631c6452b
Merge pull request #14018 from benpicco/boards-purge-gnrc_netdev_default
boards: purge gnrc_netdev_default from Makefile.dep
2020-05-05 14:22:08 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
Vinicius G. Guimaraes
f8776a989f boards/blxxxpill: add support for stm32duino bootloader and for generic St-Link V2. 2020-05-04 19:36:15 -07:00
benpicco
3c03394e1e
Merge pull request #13820 from francois-berder/pic32-gpio-irq
cpu: mips_pic32_common: Implement GPIO IRQ
2020-05-04 18:36:48 +02:00
Dylan Laduranty
57c1a49a82
Merge pull request #13957 from benpicco/cpu/samd21-pwm_flex
cpu/samd21: PWM don't hard-code number of channels to 3
2020-05-02 20:52:56 +02:00
Dylan Laduranty
76870721fe
Merge pull request #13965 from benpicco/cpu/sam0_common/periph/dac
cpu/sam0_common: implement periph/dac
2020-05-02 20:34:40 +02:00
Francois Berder
937a30eca7 boards: 6lowpan-clicker: Update GPIO SAUL configuration for buttons
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
fb610ba7cb boards: 6lowpan-clicker: Add button pin configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
42f5363ef0 boards: pic32-wifire: Update GPIO SAUL configuration for buttons
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
d70f0cab51 boards: pic32-wifire: Define buttons configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Benjamin Valentin
3d458310f4 boards/saml21-xpro: enable DAC
saml21-xpro exposes PA02 and PA05 on the EXT1 pin header,
so we can enable the DAC.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
f4e5f016ac boards/samd21-xpro: enable DAC
samd21-xpro exposes PA02 on the EXT3 pin header, so we can enable
the DAC
2020-05-02 18:31:55 +02:00
Benjamin Valentin
777931bcdc boards/common/saml1x: enable DAC
Both saml10-xpro and saml11-xpro expose PA02 on the pin header, so
we can enable the DAC feature.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
d4b601327b boards/same54-xpro: enable DAC
Both PA2 and PA5 are exposed on the board, so we can enable the DAC
feature.
2020-05-02 18:31:55 +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
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
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
5a9f01d91a
native: pass eeprom file path via command line 2020-04-29 08:56:33 +02:00
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
Luis Ruiz
aa3ac67b7d Add support for cc1352p-launchpad
- Fix some typos
- Add/Update attribution and copyright to related files
- delete Makefile.dep
2020-04-28 15:14:07 +02:00
Francisco Molina
b78e4efb56
cpu/stm32f1: dont provide periph_rtc at cpu level
stm32f1 periph_rtc implementation gets a 1s resolution by dividing
CLOCK_LSx by 32768. This only make sense if CLOCK_LSE is set,
otherwise CLOCK_LSI=~40000, which will lead to an imprecise rtc.
2020-04-27 08:59:21 +02:00
Francois Berder
9f429d6768 boards: Rename pic32-clicker to 6lowpan-clicker
After releasing the 6LoWPAN clicker, MikroE released yet another PIC32 based clicker
named the PIC32MX clicker. To avoid any confusion between the two boards, pic32-clicker
is renamed to 6lowpan-clicker.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-26 22:04:59 +01:00
Benjamin Valentin
5bb1978de2 boards/feather-m0: update PWM configuration 2020-04-26 22:56:39 +02:00
Benjamin Valentin
f76f6f4935 boards/sodaq-autonomo: update PWM configuration 2020-04-26 22:56:26 +02:00
Benjamin Valentin
393105a9e1 boards/common/arduino-mkr: update PWM configuration 2020-04-26 22:52:29 +02:00
Benjamin Valentin
335f669933 boards/hamilton: update PWM configuration 2020-04-26 22:42:20 +02:00
Benjamin Valentin
e03b692ff7 boards/arduino-zero: update PWM configuration 2020-04-26 22:39:38 +02:00
Benjamin Valentin
ed3f951825 boards/samd21-xpro: update PWM configuration 2020-04-26 22:35:24 +02:00
Benjamin Valentin
cc3779671e boards/samr21-xpro: update PWM configuration 2020-04-26 22:33:38 +02:00
benpicco
bcf4cc8083
Merge pull request #13868 from benpicco/boards/mcb2388-enhancements
boards/mcb2388: misc enhancements
2020-04-26 19:31:08 +02:00
Francisco Molina
a72abe5903
boards/common/blxxxpill: provide periph_rtt 2020-04-24 10:44:57 +02:00
Francisco Molina
4d398ab09e
cpu/stm32f1: add unified rtt configuration 2020-04-24 08:57:04 +02:00
Marian Buschsieweke
fdf955cfb2
Merge pull request #13899 from Hoernchen20/stm32f1_adc
boards/blxxxpill: improve adc
2020-04-22 23:07:26 +02:00
Hoernchen20
c64f7f72c2 boards/common/blxxxpill: Drop ADC lines used for stdio 2020-04-22 21:16:20 +02:00
Hoernchen20
4e87682ba1 boards/common/blxxxpill: Add internal ADC lines 2020-04-22 21:08:20 +02:00
Leandro Lanzieri
75b371ccb0
boards/common/msba2: Set RTS and DTR to 0 when using Miniterm 2020-04-22 08:08:23 +02:00
Benjamin Valentin
a1276d7cd1 boards/mcb2388: remove XTIMER_OVERHEAD
It's not used anywhere.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
40838ee4be boards/mcb2388: add SAUL config for ADC
ADC0 is connected to a potentiometer on the board, so expose this
through SAUL.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
161156b067 boards/mcb2388: enable all timers 2020-04-21 20:47:53 +02:00
Benjamin Valentin
45947c0fcd boards/mcb2388: define flank of the on-board button
Define the button flank for tests that use this define.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
d906d5aef8 boards/mcb2388: configure second SPI bus
SPI0 will always clash with the pins of the LCD display, so if we
want to use both SPI and the display we need to use SPI1.
2020-04-21 20:47:53 +02:00
19119f142a
Merge pull request #13558 from fjmolinas/pr_mtd_powerup
drivers/mtd_spi_nor: power up MTD on init
2020-04-21 13:53:07 +02:00
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init 2020-04-21 11:09:40 +02:00
Martine Lenders
55a7010a0a
Merge pull request #13157 from nmeum/pr/fuzzing_tcp_only
Add AFL-based fuzzing setup for network modules
2020-04-18 10:54:14 +02:00
benpicco
17f1a85bf1
Merge pull request #12415 from maribu/nucleo_board_init
boards/common/nucleo: Marked board_init as weak
2020-04-16 23:30:19 +02:00
c1176e961c
boards/cc1312-launchpad: fix typo + reword 2020-04-16 12:08:22 +02:00
benpicco
7aa62006e7
Merge pull request #13840 from btcven/2020_04_06-uart1
cc26xx_cc13xx: fix UART1 initialization
2020-04-15 17:15:24 +02:00
Jean Pierre Dudey
9d27000b65
cc1312-launchpad: add UART1 configuration
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-14 18:41:31 -05:00
7226635564
boards/samr3x-xpro: add riotboot feature 2020-04-14 18:31:18 +02:00
benpicco
1c22ee8782
Merge pull request #13844 from maribu/msbiot
boards/msbiot: Use common stm32 serial/programmer settings
2020-04-14 13:54:58 +02:00
Benjamin Valentin
58beead805 boards/mcb2388: define flank of the on-board button
Define the button flank for tests that use this define.
2020-04-12 21:08:46 +02:00
Marian Buschsieweke
c989205d8f
boards/msbiot: Use common stm32 serial/programmer settings 2020-04-09 09:57:45 +02:00
Leandro Lanzieri
08ace5a353
boards/Kconfig: Declare common board symbol 2020-04-08 17:37:06 +02:00
6d38a232d3
boards/arduino-nano-33-ble: initial support 2020-04-08 09:58:21 +02:00
6ba3b8b023
boards/adafruit-clue: add initial support 2020-04-08 09:35:08 +02:00
9cc338d29e
boards/nucleo-l4*: use shared clock configuration 2020-04-07 17:42:56 +02:00
73615d690d
boards/stm32l4: introduce common clock configuration 2020-04-07 17:42:56 +02:00
Sören Tempel
d7104e4992 makefiles/toolchain: add support for afl 2020-04-07 14:24:10 +02:00
Leandro Lanzieri
d60295db3c
Merge pull request #13720 from aabadie/pr/native_no_export
native: only export NATIVEINCLUDES in vars.inc.mk
2020-04-07 12:55:45 +02:00
010aca2638
Merge pull request #13719 from aabadie/pr/boards/flash_export_remove
boards*: remove remaining uses of export with some openocd related variables
2020-04-07 11:58:28 +02:00
1aab4daf8f
boards*: fix position of openocd variable definitions 2020-04-07 11:38:53 +02:00
Francisco
2165327bbf
Merge pull request #13794 from aabadie/pr/boards/samd21_bootloader_cleanup
boards/samd21-bootloader*: small cleanup
2020-04-06 09:35:04 +02:00
Francois Berder
988763bf89 boards: pic32-wifire: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
Francois Berder
932ba6d9f0 boards: pic32-clicker: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
benpicco
b87be4bd6e
Merge pull request #13786 from benpicco/cpu/saml21/buck_converter
cpu/saml21: enable buck voltage regulator when possible
2020-04-03 18:12:05 +02:00
benpicco
fdaf1ac6fe
Merge pull request #13795 from francois-berder/pic32-saul
boards: pic32*: Add GPIO SAUL configuration
2020-04-02 21:28:38 +02:00
Benjamin Valentin
09ef2f6908 boards/samr34-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
Benjamin Valentin
a102ad3d3d boards/saml21-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
0f9e56d0ff
boards/samd21-bootloader: don't use bootloader with slipdev_stdio 2020-04-02 16:42:37 +02:00
fc7e98b60c
boards/samd21-arduino: exclude reset with usb-board-reset macro 2020-04-02 16:41:53 +02:00
Francisco Molina
72a2220d21
boards/common/nrf52: include Makefile.board.dep in hack
nrf52 includes include $(RIOTBOARD)/$(BOARD)/Makefile.dep to know
if `nordic_softdevice_ble` is used, this changes dependency
resolution sinnce -include $(APPDIR)/Makefile.board.dep should
be resolved before.

This can be removed once #9913 is if `nordic_softdevice` is
deprecated.
2020-04-02 14:51:22 +02:00
Francisco Molina
0e5205c4a5
*/Makefile.dep: remove usage of DEFAULT_MODULE += stdio% 2020-04-02 14:50:18 +02:00
Francois Berder
0454253519 boards: pic32-clicker: Add GPIO SAUL configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-02 10:07:56 +01:00
Francois Berder
e52441cf35 boards: pic32-wifire: Add GPIO SAUL configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-02 10:07:56 +01:00
cd0b765346
Merge pull request #13664 from fjmolinas/pr_samd21_bootloader_default_module
boards: set samd21-arduino-bootloader as DEFAULT_MODULE
2020-04-01 21:42:42 +02:00
Francisco Molina
1387b736b7
boards: conditionally include samd21-arduino-bootloader
samd21-arduino-bootloader and its dependencies will only be
included if no other stdio_% (other than stdio_cdc_acm) is included.
2020-04-01 15:10:32 +02:00
Dylan Laduranty
6bba4188fc
Merge pull request #13764 from benpicco/cpu/saml11/use_buck_converter
cpu/saml1x: select buck voltage regulator when possible
2020-04-01 14:47:47 +02:00
benpicco
ec296f8439
Merge pull request #13756 from fjmolinas/pr_cc2538_timer_order
boards/common/cc2538/include: re-order timer config
2020-03-31 17:40:27 +02:00
Benjamin Valentin
2d14a328c4 board/common/saml1x: enable buck converter 2020-03-31 17:18:58 +02:00
934f68ead8
Merge pull request #13094 from francois-berder/pic32-uart-3
UART RX implementation on PIC32 devices
2020-03-31 10:45:43 +02:00
Francisco Molina
8437673237
boards/common/cc2538/include: re-order timer config 2020-03-30 16:09:18 +02:00
Gunar Schorcht
0c4fb6c092 boards/esp32-heltec-lora-v2: define BTN0_INT_FLANK 2020-03-29 11:59:17 +02:00
c86dcd4611
Merge pull request #10075 from dylad/saml21_dfll_support
cpu/saml21: add DFLL support
2020-03-27 10:24:59 +01:00