723707b7fa
boards/airfy-beacon: fix typos
2019-11-23 22:39:07 +01:00
benpicco
d244b0fe59
Merge pull request #12787 from gschorcht/cpu/esp32/netdev_default
...
cpu/esp*: define esp_now as default netdev
2019-11-23 14:59:54 +01:00
Gunar Schorcht
72967f8fc3
cpu/esp32: GNRC_NETIF_NUMOF is handled in CPU makefile
...
Since Makefile.dep files are included as last files multiple times to resolve all module dependencies, GNRC_NETIF_NUMOF is handled here.
2019-11-22 17:38:35 +01:00
Francisco
3c60afc083
Merge pull request #12768 from aabadie/pr/boards/pic32-clicker-uart-cleanup
...
boards/pic32-clicker: cleanup uart configuration and initialization, cleanup header includes
2019-11-22 17:20:40 +01:00
Hauke Petersen
96c6313bd4
boards/avr-rss2: use bme280_i2c module
2019-11-22 14:04:38 +01:00
Hauke Petersen
f46731801a
boards/sltb001a: use i2c mode of bme280 driver
2019-11-22 14:04:37 +01:00
Hauke Petersen
3c0d5048f9
board/ruuvitag: enable bme280 for saul default
2019-11-22 14:04:37 +01:00
401abd5b71
boards/pic32-clicker: cleanup includes
2019-11-22 08:12:47 +01:00
e8b0399bc9
boards/pic32-clicker: cleanup uart initialization
2019-11-22 08:12:46 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
...
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
4337cb316f
Merge pull request #12752 from gschorcht/cpu/esp32/espreset
...
boards/esp32*: use espreset tool for reset in make test
2019-11-20 22:07:15 +01:00
Robert Olsson
c903bc8c1b
boards/avr-rss2: add AtMega256RFR2 based board
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
Gunar Schorcht
5ba4a7d7cf
boards/esp32*: espreset tool added
2019-11-20 08:33:47 +01:00
benpicco
1999e2f89c
Merge pull request #12745 from benpicco/atmega-led_fix
...
boards/atmega_common: remove weak led_init()
2019-11-20 00:14:48 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
...
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Hauke Petersen
04dcc3662b
Merge pull request #12344 from chrysn-pull-requests/particle-antenna-switch
...
particle-*: Configure antenna switch
2019-11-19 23:06:29 +01:00
Benjamin Valentin
c277100dd9
boards/atmega_common: remove weak led_init()
...
`led_init()` is already protected by an `#ifdef`, so no need for
the weak symbol.
The problem is that the weak function does not get overridden, even when
the board provides it's own led_init(), resulting in no LEDs being
initialized.
2019-11-19 22:36:07 +01:00
Marian Buschsieweke
b7150ed6c7
boards/common/atmega: Added ATmega1284P PWM conf
...
Added PWM configuration for the ATmega1284P CPU; this can be reused for every
board featuring that CPU.
2019-11-18 23:46:08 +01:00
chrysn
9954194ae0
particle boards: Make default antenna selection configurable
...
The setter function approach makes this switchable at runtime (antenna
diversity?).
Documentation is added both to the board introduction page and the
individual pins and functions.
2019-11-18 13:54:39 +01:00
chrysn
951f7dec2c
particle-*: Configure antenna switch
...
The particle-{argon,boron,xenon} all have a uFL connector and a PCB
antenna for 2.4GHz radio, connected by a SKY13351-378LF switch
configured by a VCTL[12] pin pair.
This sets the default configuration to use the PCB antenna, as driving
an unconnected antenna will deteriorate radio performance.
2019-11-18 13:54:22 +01:00
588766ab27
Merge pull request #12733 from fjmolinas/pr_jlink_serial
...
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
2019-11-18 13:47:26 +01:00
Francisco Molina
f9ebc8658f
dist/tools/jlink: cleanup doc
2019-11-18 13:04:42 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
...
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Marian Buschsieweke
f4089d08fe
boards/atmega328p: Fixed doc
...
- Use proper IEC units for sizes
- Added info on EEPROM
- Fixed incorrect info on default fuse settings
- Added info on how to unlock 8MHz
2019-11-18 00:16:43 +01:00
Marian Buschsieweke
8f03c7561a
boards/atmega1284p: Add ATmega1284P as board
...
The ATmega1284P can be run on a breadboard with no external components, except
for a power supply and (if access to the serial is required) an USB-TTL adapter.
This commit adds it as a "board".
2019-11-17 14:10:12 +01:00
Benjamin Valentin
60686c96dc
boards/common: clean up msba2 common files
...
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.
Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.
This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
65e0247a9b
boards/arduino-atmega: add mapping for Arduino PWM pins
2019-11-15 17:54:30 +01:00
e0f288421d
boards/sodaq-autonomo: add mapping for Arduino PWM pins
2019-11-15 17:51:45 +01:00
d03c982ddb
boards/arduino-mkr: add mapping for Arduino PWM pins
2019-11-15 17:51:45 +01:00
f1cb14730d
boards/arduino-zero: add mapping for Arduino PWM pins
2019-11-15 17:51:45 +01:00
Gunar Schorcht
555a7040db
cpu/esp8266: reset tool to allow automatic tests
2019-11-14 13:58:48 +01:00
Gunar Schorcht
e5b7645b0b
boards/esp32: changes for RTOS SDK
2019-11-14 13:58:25 +01:00
Gunar Schorcht
7d9a3a79a2
boards/esp8266: changes for RTOS SDK
2019-11-14 13:58:25 +01:00
253c75ab6b
Merge pull request #12703 from haukepetersen/fix_nrfboards_blefeat
...
nrf5x: move nimble_ble feat. to cpu
2019-11-13 19:07:48 +01:00
Francisco
9691cb68d6
Merge pull request #12662 from aabadie/pr/boards/hifive1_port_fix
...
boards/hifive1b: fix Linux default serial port
2019-11-13 18:04:22 +01:00
Hauke Petersen
4bf14822cb
nrf5x: move nimble_ble feat. to cpu
2019-11-13 13:43:55 +01:00
Marian Buschsieweke
c510ad858c
boards/common/blxxxpill: Use STM32 programmer conf
2019-11-12 19:48:05 +01:00
Marian Buschsieweke
a949179f69
boards/stm32f030f4-demo: Use STM32 programmer conf
2019-11-12 19:46:29 +01:00
Marian Buschsieweke
92284bed88
boards/common/nucleo: Use STM32 programmer config
2019-11-12 19:43:42 +01:00
benpicco
f77e5a6c6a
Merge pull request #12673 from benpicco/purge-rtc_numof
...
boards: remove RTT_NUMOF/RTC_NUMOF
2019-11-12 11:33:16 +01:00
Benjamin Valentin
0ea2cbf1eb
boards: remove RTT_NUMOF/RTC_NUMOF
...
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Marian Buschsieweke
9a0657af9b
boards: Refactored avsextrem & msba2
...
- Removed features already provided at CPU level
- Sorted features alphabetically
2019-11-08 14:02:42 +01:00
Leandro Lanzieri
66d5e4d05f
Merge pull request #12637 from benpicco/lpc2387-uart
...
cpu/lpc2387: update the UART driver
2019-11-07 22:21:50 +01:00
Benjamin Valentin
9e68556393
boards/msba2: configure remaining UARTs
...
All UARTs on the MSBA2 are exposed through pin headers on the board.
Configure them according to the data sheet.
2019-11-07 21:55:25 +01:00
Benjamin Valentin
90aef98ca0
boards/avsextrem: adapt to updated UART driver
2019-11-07 21:55:25 +01:00
Benjamin Valentin
3e053d1db9
boards/msba2: adapt to updated UART driver
2019-11-07 21:55:25 +01:00
2e7534ddee
boards/hifive1b: fix default serial port
...
The board provides a JLink adapter which is exposed as /dev/ttyACMx on Linux. STDIO UART is available on this port
2019-11-07 14:14:05 +01:00
42c4b7d34d
boards/atmega256rfr2-xpro: use 115200 baudrate for STDIO
2019-11-06 12:46:28 +01:00
485bfc45da
boards/atmega256rfr2-xpro: document how to configure the fuses
...
This is important for a correct configuration of the external 16MHz oscillator
2019-11-06 12:46:28 +01:00
498cbe9bbc
boards/atmega256rfr2-xpro: configure external 16MHz oscillator
2019-11-06 12:46:28 +01:00
Marian Buschsieweke
d02ed3a3ff
Merge pull request #12646 from maribu/atmega328p-timer
...
boards/atmega328p: Fixed xtimer frequency
2019-11-05 22:19:09 +01:00
Marian Buschsieweke
f55e438d56
boards/atmega328p: Fixed xtimer frequency
...
The ATmega328p on a breadboard can have various frequencies depending on
the fuse settings and whether and which crystal is connected. Thus, finding a
fixed xtimer frequency that can be configured for every CPU core clock with the
available prescalers is not possible. Therefore, the fixed frequency is replaced
by a frequency depending on the CPU clock speed. For CPU clock frequency of
more than 4 MHz a prescaler of 64 will be chosen (same as on the Arduino Uno),
for 4 MHz and less a prescaler of 8 will be chosen.
2019-11-05 19:32:29 +01:00
f24a3802c7
boards/atmega256rfr2-xpro: configure debug
2019-11-05 10:40:32 +01:00
4751892ce9
boards/atmega256rfr2-xpro: initial support
2019-11-05 10:40:32 +01:00
Gunar Schorcht
7d63158e06
boards/esp32-wroom-32: fixes a broken image link
2019-11-02 18:31:45 +01:00
benpicco
ed93bce856
Merge pull request #9323 from OYTIS/cc1352-launchpad-support
...
CC1352 launchpad support
2019-10-30 14:06:13 +01:00
Marian Buschsieweke
fa3651f275
boards/microduino-corerf: Minor doc tweaks
...
- Using @warning Doxygen command to make warning more visible
- Used IEC units for size specifications
- Aligned markdown source of the table
- Added note that the 5V pin is not connected to the board and cannot be used
to power the board
2019-10-30 08:51:34 +01:00
Anton Gerasimov
9fad1e3b6d
cpu/cc26xx_cc13xx: define uart_conf_t
...
Replaces older macro-based configuration
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
a60d8f471f
boards/cc1352-launchpad: Add support for CC1352R Launchpad
...
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
f6a3f14d22
cpu/cc26x0: Factor out code common for cc26xx/cc13xx family
...
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Benjamin Valentin
3ecf7a0430
boards/msba2: define XTAL frequency
...
The board comes with a 16 MHz XTAL.
Since the avsextrem is just an extended msba2, this is true here too.
2019-10-27 01:32:50 +02:00
7761169964
Merge pull request #11657 from Yanok35/pr-stm32-spi-af
...
boards/stm32-based: allow SPI signals routed on multiple alternate functions
2019-10-25 09:47:49 +02:00
b0dfda244b
Merge pull request #12460 from fjmolinas/pr_port_migration
...
makefiles/vars.inc.mk: introduce and use `PROG_DEV`
2019-10-25 09:40:20 +02:00
Yannick Gicquel
d37adee32d
boards/stm32-based: allow SPI signals routed on multiple alternate functions
...
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.
This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.
Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02:00
Marian Buschsieweke
ef97b874bf
boards/native: Default to C11 instead of C99
2019-10-24 21:57:02 +02:00
Francois Berder
2d68b16c94
boards: pic32-clicker: Do not include vendor header in board header
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-24 19:01:02 +01:00
Francisco Molina
1ae0873769
boards: change PORT used for flash/debug/reset to PROG_DEV
2019-10-24 12:58:12 +02:00
Francisco Molina
755b4d97da
boards/(openmote-b/remote): migrate PORT_BSL to PROG_DEV
...
- Move serial.inc.mk in remote and openmote-b Makefile.include before
PROG_DEV to avoid repeating OS logic check
- Add deprecation warning for PORT_BSL
2019-10-24 12:57:46 +02:00
Francisco Molina
bf25e12602
makefiles/tools/avrdude.inc.mk: migrate to use PROG_DEV
...
- Move serial.inc.mk in mega-xplained/Makefile.include after
PROG_DEV so PROG_DEV can still default to PORT
- Add deprecation warning for arduino-leonardo and mega-xplained
2019-10-24 12:57:07 +02:00
f84cdc4044
boards/sodaq: restore accidentally removed arduino feature
2019-10-22 19:06:16 +02:00
Francisco
88a6ad9df8
Merge pull request #12541 from aabadie/pr/boards/arduino_zero_adc
...
boards/arduino-zero: configure ADC channels
2019-10-22 15:56:38 +02:00
26c0b812d2
Merge pull request #12531 from fjmolinas/pr_nrf52_nimble
...
common/nrf52840/Makefile.dep: nrf802154 if no nimble_%
2019-10-22 15:14:54 +02:00
76ca2f5a08
boards/arduino-zero: configure ADC channels
2019-10-22 11:19:26 +02:00
benpicco
d49c48368a
Merge pull request #12438 from aabadie/pr/boards/sodaq_factorize
...
boards/sodaq: factorize common code
2019-10-21 17:04:20 +02:00
Francisco Molina
c04a2cf3a3
common/nrf52840/Makefile.dep: nrf802154 if no nimble_%
2019-10-21 16:52:18 +02:00
Benjamin Valentin
a97e0543cb
boards: add stm32f030f4-demo
...
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
2019-10-21 15:30:22 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
...
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
4b06a11b93
Merge pull request #12470 from aabadie/pr/boards/kw41z_openocd
...
boards/frdm: update openocd version requirements
2019-10-21 13:30:54 +02:00
Marian Buschsieweke
f9c2f26dd0
boards: Added standalone ATmega328p
2019-10-21 12:54:46 +02:00
536809cdca
boards/sodaq-*: use common code
2019-10-21 08:33:11 +02:00
f9631953cb
boards: add common sodaq module
2019-10-21 08:33:11 +02:00
5578740fc4
Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM
...
makefiles/vars.inc.mk: move definition and export of CPU_FAM and CPU_ARCH to vars.inc.mk
2019-10-21 08:23:51 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
...
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
...
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
...
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
benpicco
4ed04208ea
Merge pull request #12492 from aabadie/pr/boards/cc2538_common_periph_gpio
...
boards/cc2538: move provided gpio features at cpu level
2019-10-18 11:18:54 +02:00
Francisco Molina
45c8eafd42
Makefile.include: remove repeated OS declaration
2019-10-18 10:36:43 +02:00
4d85735b24
boards/slwstk6220a: remove useless provided gpio features
...
These are provided at CPU level.
2019-10-18 09:35:00 +02:00
aed0cfb1d8
boards/efm32: remove useless provided gpio features
...
These features are provided at CPU level
2019-10-18 09:33:54 +02:00
Francisco Molina
347a0fc804
cpu/ boards/: remove exports for CPU_FAM
2019-10-18 08:55:33 +02:00
Francisco Molina
f3482de277
REMOVEME: add OS and OS_ARCH variable
2019-10-18 08:46:51 +02:00
Francisco Molina
c010f59b8c
Makefile.include: remove repeated OS declaration
...
- OS := $(shell uname) is already declared in `Makefile.include`
re-declaring it means it will be re-evalauted multiple times
uselessly.
2019-10-18 08:46:51 +02:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
...
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
5873a04ba9
boards/cc2538*: remove useless provided gpio features
...
These features are provided at CPU level
2019-10-17 22:05:42 +02:00
2bf983038d
boards/cc2538*: reorder provided features
2019-10-17 22:04:02 +02:00
27f2a19f72
boards/atmega: remove useless provided gpio features
...
These features are provided at CPU level
2019-10-17 21:42:49 +02:00
Benjamin Valentin
20906328b4
boards/microduino-corerf: Initial board support
2019-10-17 19:20:31 +02:00
Benjamin Valentin
7d78e32b15
cpu/atmega128rfa1: ATmega128rfa1 MCU support
2019-10-17 19:20:31 +02:00
Benjamin Valentin
6617c5c768
cpu/atmega_common: provide dummy implementation for led_init()
2019-10-17 19:20:31 +02:00
Kevin "Tristate Tom" Weiss
0e85425ae4
Merge pull request #12103 from JannesVolkens/mpu9x50
...
driver/mpu9x50: make mpu9150 more generic
2019-10-17 15:01:50 +02:00
Jannes
fdd34499ac
drivers/mpu9x50: Correct read_temperature
...
Change msbiot Makefile.dep back to mpu9150
2019-10-17 14:04:43 +02:00
Jannes
2df5d6048d
driver/mpu9x50: Rename mpu9150 to mpu9x50
...
Rename all files
Rename all variables, methods and methodcalls
Rename all folders
Add to the makefiles
Add to doc
2019-10-17 12:52:18 +02:00
Francisco Molina
0e672da1e4
boards/mulle: remove simple expansion of PORT
2019-10-17 11:17:16 +02:00
4c794c1122
boards/frdm: document more the OpenOCD version requirement
...
Add the need to have a built from source version of OpenOCD for kw41z and give the url of the commit adding the change in OpenOCD
2019-10-16 14:53:42 +02:00
f81baf2bf6
boards/frdm: remove OpenOCD < 0.10 specific code
...
OpenOCD 0.10 is out from early 2017, all stable Linux distros provide this version now.
2019-10-16 14:51:53 +02:00
Frank Hessel
40fe3154b4
boards/native Add SPI feature to doc.txt
2019-10-16 14:33:07 +02:00
ffc4c84faa
dist/testbed-support: boards: remove useless IOTLAB_FLASHFILE
2019-10-16 11:44:59 +02:00
benpicco
3d01833f88
Merge pull request #12439 from aabadie/pr/boards/feather-m0-doc-typo
...
boards/feather-m0: fix typo in doc
2019-10-14 18:19:15 +02:00
Kevin "Tristate Tom" Weiss
e236fa1ef3
Merge pull request #10793 from aabadie/pr/boards/thingy52_i2c
...
boards/thingy52: add dependency for on-board hts221/lps22hb sensors
2019-10-14 15:06:37 +02:00
9bc600a2e5
Merge pull request #12386 from keestux/sodaq-boards-arduino
...
Sodaq boards arduino
2019-10-14 07:47:58 +02:00
66b57f2a51
boards/stm32: add 54MHz and 108MHz divtable entries
2019-10-13 20:27:37 +02:00
653a551fcc
boards/feather-m0: fix typo in documentation
2019-10-13 17:48:21 +02:00
Kees Bakker
2c41d7d707
boards/sodaq-*: prefer default ADC config from Arduino
...
Right now the gain and reference are hard coded. Until it is configurable
at runtime prefer the same default as with Arduino Core. That is,
GAIN_DIV2 and REFSEL_INTVCC1. This way we can properly measure the
battery voltage.
2019-10-09 20:14:40 +02:00
Kees Bakker
eb0595e4be
boards/sodaq-autonomo: add arduino config
2019-10-09 20:14:40 +02:00
Kees Bakker
9afb390362
boards/sodaq-explorer: add arduino config
2019-10-09 20:14:40 +02:00
Kees Bakker
20e7232d09
boards/sodaq-sara-aff: add arduino config
2019-10-09 20:14:40 +02:00
Kees Bakker
f80123da85
boards/sodaq-one: add arduino config
2019-10-09 20:14:40 +02:00
Kees Bakker
9974ec2231
boards/sodaq-autonomo: add ADC configuration
2019-10-09 20:14:40 +02:00
Kees Bakker
67f82cdf6a
boards/sodaq-explorer: adjust ADC channels
2019-10-09 20:14:40 +02:00
Kees Bakker
d91f73ae3e
boards/sodaq-one: adjust ADC channels
2019-10-09 20:14:40 +02:00
Gaëtan Harter
7ac30e471c
boards/slwstk6000b-*: move CPU_MODEL definition to Makefile.features
...
This is still currently a hack to hardcode it as the value can be deduced
from the `BOARD_MODULE` daughter board name.
But it requires more cleanup and could come in a separate step.
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-10-09 18:51:57 +02:00
Gaëtan Harter
ec93d4c1c4
boards/common/arduino-atmega: remove special case for jiminy-mega256rfr2
...
The board is deprecated, no need to ignore this board anymore here.
Having the `arduino` and `periph_pwm` features is now required for all
boards using 'arduino-atmega' (as it was except for that board).
If this should change in the future, it should be defined either in each
arduino board, in another board common, or per CPU_MODEL.
2019-10-08 18:37:32 +02:00
Gaëtan Harter
1ab5a9390d
boards/slwstk6000b-*: split one board for each module
...
Define one board for each of the available modules.
2019-10-08 16:33:27 +02:00
Gaëtan Harter
ddf3874995
boards/slwstk6000b: migrate to use a common/slwstk6000b
...
Migrate the board to be implemented with a common/slwstk6000b.
It is a pre step for splitting the board for each "BOARD_MODULE".
2019-10-08 15:36:09 +02:00
86360f73d4
boards/nucleo32: fix arduino pinmap for nucleo-l432kc
2019-10-07 14:30:36 +02:00
255ce7d1a8
Merge pull request #12377 from dylad/pr/board/samr34_fix_typo
...
board/samr34: fix typo in TCXO
2019-10-07 09:28:32 +02:00
Dylan Laduranty
40b65c16e2
Merge pull request #12291 from keestux/sam0-refactor-adc0
...
boards/sam0: refactor ADC_0 into plain ADC
2019-10-07 09:20:38 +02:00
Antonio Galea
a73bee8138
boards/samr34: TXCO should be TCXO
...
Fix board define to TCXO: Temperature Compensated eXternal Oscillator
2019-10-06 20:36:22 +02:00
c5664b77b0
boards/thing52: enable VDD pin for hts221 or lps22hb devices
2019-10-04 19:53:50 +02:00
5dfe80d24c
boards/stm32: initialize board gpios after cpu
2019-10-04 17:05:40 +02:00
7b33599179
boards/thingy52: set custom lps22hb default address
2019-10-04 16:00:27 +02:00
58a5f5e64c
boards/thingy52: auto pull in lps22hb with saul
2019-10-04 16:00:27 +02:00
1f04c5352a
boards/thingy52: use hts221 with saul
2019-10-04 16:00:27 +02:00
Kees Bakker
04c84ed158
cpu/sam0: refactor ADC_0 into plain ADC
...
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.
Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS
Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
49967b2c4a
boards/avr/dist: setsid can be set with env variable
2019-10-03 12:43:49 +02:00
8de86e1206
boards/arduino-mkrwan1300: add initial support
2019-10-03 09:34:34 +02:00
f7763438a9
boards/common/arduino-mkr: use common LED0_NAME definition
2019-10-03 09:24:20 +02:00
7bfe086e7c
boards/common/arduino-mkr: split periph_conf file
...
- periph_conf_common.h contains peripherals configuration common to all mkr boards
- periph_conf.h is specific to a subset of mkr boards (mkr1000 and mkrzero)
2019-10-03 09:24:20 +02:00
bba8395dbc
boards/ruuvitag: thingy52: remove nrfmin default dependency
2019-10-02 12:54:30 +02:00
5c9e5ec7df
boards/nrf52832: manage features in common directory
2019-10-02 12:54:30 +02:00
a2308b65a2
boards/nrf52: factorize even more dependencies
2019-10-02 12:54:30 +02:00
7c4511efff
boards/nrf52832: use common directory for features
2019-10-02 12:54:30 +02:00
86d330aa95
boards/nrf52: cleanup global dependency file
2019-10-02 12:54:30 +02:00
6ad10b9873
boards/reel: use nrf52840 common dependency file
...
This pull in nrf802154 when netdev_default is used
2019-10-02 12:54:30 +02:00
341a82dffe
boards/nrf52840*: use shared nrf52840 dependency file
2019-10-02 12:54:29 +02:00
a2ab86e5f6
boards/nrf52832: add nrf52832 dependency file
...
This pull in softdevice when netdev_default is used
2019-10-02 12:54:29 +02:00
50d47465a2
boards/nrf52dk: use shared nrf52832 dependency file
2019-10-02 12:54:29 +02:00
0d62accfef
boards/common/nrf52: add shared dependency files for nrf52
2019-10-02 12:54:29 +02:00
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
...
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Hauke Petersen
96db5c3def
boards/thingy52: add SAUL dependency for lis2dh12
2019-10-02 11:39:56 +02:00
Hauke Petersen
1d9fbcb076
boards/thingy52: add config for on-board lis2dh12
2019-10-02 11:39:56 +02:00
Hauke Petersen
9c853b598d
boards/thingy52: added I2C configuration
2019-10-02 11:39:56 +02:00
Leandro Lanzieri
3acb63d3f1
Merge pull request #12326 from benpicco/saul_ek-lm4f120xl
...
boards/ek-lm4f120xl: provide SAUL configuration
2019-10-02 11:02:20 +02:00
Bas Stottelaar
08bc67c0b6
boards+efm32: skip board initialization when in bootloader
2019-10-01 18:08:27 +02:00
Bas Stottelaar
962b0efaaf
boards+efm32: add support for riotboot
2019-10-01 18:08:27 +02:00
benpicco
a7cb0a4b77
Merge pull request #12323 from basilfx/feature/efm32_uart_modes
...
cpu/efm32: provide periph_uart_mode
2019-10-01 15:32:50 +02:00
benpicco
9f7abf67d4
Merge pull request #12334 from cladmi/pr/board/slwstk6000b/move_cpu
...
boards/slwstk6000b: move CPU definiton to Makefile.features
2019-09-30 19:53:18 +02:00
benpicco
806b0c4d96
Merge pull request #12335 from cladmi/pr/boards/remove_duplicate_include_riotcpu
...
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
2019-09-30 19:52:44 +02:00
Bas Stottelaar
559fc1fe04
boards+efm32: provide periph_uart_modecfg
2019-09-30 18:12:15 +02:00
Bas Stottelaar
3371cf1831
boards+efm32: remove non-standard uart modes feature
2019-09-30 18:10:38 +02:00
Gaëtan Harter
fc9f2a0f65
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
...
When 'CPU' is defined, the CPU Makefile.features is included by the
build system in the main Makefile.features.
No need to do it manually anymore.
2019-09-30 12:38:01 +02:00
Gaëtan Harter
769c9ef23f
boards/slwstk6000b: move CPU definiton to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
I did not move CPU_MODEL in that one as it requires other refactoring
first.
2019-09-30 12:23:11 +02:00
Bas Stottelaar
6a17cb7029
boards+efm32: remove LOW_POWER_ENABLED from doc.txt
2019-09-30 00:03:15 +02:00
243b02d8e0
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features
2019-09-29 18:51:41 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
...
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
23b40d8b8b
Merge pull request #12331 from aabadie/pr/boards/pic32-wifire-no-export-cpu
...
boards/pic32-wifire: remove export of CPU/CPU_MODEL
2019-09-29 17:12:23 +02:00
Marian Buschsieweke
09d1dcf6b3
boards: Split off 128KiB version of bl*pill
...
- Created new `bluepill-128kib` as 128KiB version of the `bluepill`
- Created new `blackpill-128kib` as 128KiB version of the `blackpill`
- Updated `openocd.cfg` to allow flashing 128KiB of ROM
2019-09-29 16:42:44 +02:00
93dff4cd74
Merge pull request #12330 from aabadie/pr/boards/cleanup_makefile_features
...
boards: don't export CPU/CPU_MODEL for stm32f723i-disco and p-l496g-cell02
2019-09-29 16:40:20 +02:00
9b1115583e
boards/pic32-wifire: remove export of CPU/CPU_MODEL
...
These values are already defined in Makefile.features
2019-09-29 16:35:45 +02:00
b1c8f85873
boards/stm32f723e-disco: don't export CPU/CPU_MODEL variables
2019-09-29 15:54:21 +02:00
f83e9788a6
boards/p-l496g-cell02: don't export CPU/CPU_MODEL variables
2019-09-29 15:54:11 +02:00
e89693b6fc
boards/samr34-xpro: move cpu definitions to Makefile.features
2019-09-29 15:52:35 +02:00
Benjamin Valentin
77c2e94288
boards/ek-lm4f120xl: provide SAUL configuration
...
This adds a SAUL configuration for the buttons and LEDs on the board.
2019-09-28 19:11:03 +02:00
Hauke Petersen
982d730adf
cpu/nrf5x: decelare radio_nrfble feat for all nrfs
2019-09-27 10:00:06 +02:00
Hauke Petersen
df15033148
ble/skald: cleanup dependency to nrfble
2019-09-26 22:15:15 +02:00
Francois Berder
39fb3cb9f0
boards: pic32-wifire: Add support for JLink programmer
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-26 11:08:07 +01:00
e1e01e2617
Merge pull request #11250 from dylad/pr/samr34_support
...
board: add support for SAMR34-XPRO
2019-09-26 11:27:22 +02:00
dylad
dbc6ed544d
boards/samr34-xpro: add basic board support
2019-09-26 10:48:03 +02:00
Francois Berder
7e3e827688
boards: pic32-wifire: Use default value of BAUD
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
738550e28c
boards: pic32-wifire: Fix initialization of UART
...
uart_init should not be called from board_init. stdio_init is responsible for
initializing debug UART device.
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
30656bd18b
boards: pic32-wifire: Define STDIO_UART_DEV
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Martine Lenders
1598c8c6f8
Merge pull request #11950 from gschorcht/cpu/esp32/periph-gpio_read-fix
...
cpu/esp32: fix of gpio_read for output ports
2019-09-24 20:20:40 +02:00
benpicco
50ba48eea6
Merge pull request #9259 from cladmi/pr/pic32/flasher
...
pic32-wifire: add support for flashing with pic32prog
2019-09-24 18:52:44 +02:00
benpicco
3833e42426
Merge pull request #12092 from cladmi/pr/cpu_model/minor_changes_included
...
boards with side-effect: move CPU/CPU_MODEL definition to Makefile.features
2019-09-24 18:36:58 +02:00
Gaëtan Harter
4eeda215e0
pic32-wifire: add flasher using pic32prog
...
For PICkit3 it requires having a scripting firmware installed.
2019-09-24 17:43:12 +02:00
Gaëtan Harter
773419e29c
pic32-wifire: add serial configuration
2019-09-24 17:43:12 +02:00
Gaëtan Harter
cdca4d89a9
boards/mulle: move CPU/CPU_MODEL definiton to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
The multiple boards handling has been changed to use 'CPU_MODEL ?='.
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
8a2d999848
boards/cc2538dk: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
17877ca993
boards/ek-lm4f120xl: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
CPU_MODEL is currently kept uppercase. Making it lowercase is a future task.
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
33816cbbb3
boards/pic32*: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Add the missing space when defining 'CPU_MODEL'.
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
29459beaf2
boards/hifive1*: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
0029bb33ef
boards/nrf6310: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
cladmi
5f1a61ed72
boards/common/nrf52: move CPU/CPU_MODEL definiton to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
49d61bbe6e
boards/common/esp: move CPU/CPU_MODEL definiton to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
8cebed6792
boards/common/esp: harmonize CPU/CPU_MODEL to other boards
...
* CPU files should already have 'CPU' defined by the board.
* Do not conditionally define CPU as it is not needed.
This is part of cleanup prior to moving the CPU/CPU_MODEL to
Makefile.features.
2019-09-24 17:29:37 +02:00
Vincent Dupont
1a44d327cb
Merge pull request #11989 from gschorcht/cpu/esp32/periph-can
...
cpu/esp32: reimplementation of module esp_can as module periph can
2019-09-23 16:52:05 +02:00
Francisco
2346f35bc8
Merge pull request #12289 from cladmi/pr/frdm/minor/remove_export_openocd_extra_init
...
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
2019-09-23 14:28:06 +02:00
Francisco
8467dba680
Merge pull request #12158 from aabadie/pr/boards/stm32_connect_assert_srst
...
boards/stm32: generalize use of connect_assert_srst for flashing
2019-09-23 14:02:39 +02:00
Francisco
abdebaa86f
Merge pull request #11549 from cladmi/pr/pba_d_01_kw2x/fix_flashing
...
boards/pba-d-01-kw2x: fix flashing from invalid state
2019-09-23 13:09:02 +02:00
Gaëtan Harter
0724dc71a7
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
...
The default value in `openocd.sh` is being empty, so no use for exporting it.
2019-09-23 12:10:09 +02:00
Francisco
3d2697973a
Merge pull request #12151 from cladmi/pr/pba-d-01-kw2x/do_not_use_OPENOCD_ADAPTER_INIT
...
boards/pba-d-01-kw2x: rely on the common adapter selection code
2019-09-23 11:47:50 +02:00
Gunar Schorcht
e0f1ab0a16
cpu/esp32: module esp_can removed
...
CAN controller driver for ESP32 is no longer realized as separate module.
2019-09-20 19:35:02 +02:00
Francisco
04b92683e4
Merge pull request #11800 from aabadie/pr/boards/stm32f723e-disco
...
boards/stm32f723e-disco: add initial support
2019-09-20 17:04:17 +02:00
b77dd00142
boards/p-l496zg-cell02: move cpu define to Makefile.features
2019-09-20 13:46:58 +02:00
80a5e88403
boards/stm32f723e-disco: add initial support
...
Peripheral configured:
- 5 UARTs for stdio via STLink, Arduino connector, PMOD connector,
STMOD+ connector and ESP-01 connector
- 1 I2C available on Arduino connector and STMOD+ connector
- 2 SPIs available on Arduino connector and PMOD connector
2019-09-20 13:45:25 +02:00
Francisco
bd5ceb58e7
Merge pull request #11984 from aabadie/pr/boards/p-l496g-cell02
...
boards/p-l496g-cell02: add support
2019-09-20 11:28:54 +02:00
Francisco
6847d0d268
Merge pull request #12261 from cladmi/pr/frdm/fix_flashing
...
boards/frdm: fix flashing from invalid state
2019-09-20 09:15:47 +02:00
MichelRottleuthner
66f1cc78ea
Merge pull request #12059 from maribu/msba2-openocd
...
boards/msba2: Added OpenOCD config
2019-09-19 14:35:58 +02:00
Marian Buschsieweke
8f848e9b38
boards/msba2: Updated board documenation
2019-09-19 14:19:16 +02:00
Marian Buschsieweke
0c04e07740
boards/msba2: Added OpenOCD config
2019-09-19 14:19:16 +02:00
Gaëtan Harter
323050f0e3
boards/frdm: fix flashing from invalid state
...
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
2019-09-17 14:02:55 +02:00
Marian Buschsieweke
8fa0c04e23
Merge pull request #12229 from benpicco/lpc238-cleanup
...
cpu/lpc2387: clean up the platform
2019-09-16 22:06:59 +02:00
Benjamin Valentin
e3b0874305
cpu/lpc2387: clean up the platform
...
- move clock setup from boards/ to cpu/
- reduce code duplication
2019-09-16 13:08:56 +02:00
Dylan Laduranty
e8b08d304f
Merge pull request #12182 from maribu/drop-jiminy
...
boards: Remove support for the Jiminy-Mega256RFR2
2019-09-16 12:00:28 +02:00
a9a971843b
nucleo-l031/l432: fix wrong i2c configuration
2019-09-15 19:29:14 +02:00
chrysn
667a34205a
boards/thingy52: Add description and more precise flashing instructions
2019-09-12 16:44:04 +02:00
Francisco
2d890db6af
Merge pull request #10440 from jcarrano/no-export-ports
...
makefiles: remove exports so that PORT is not evaluated if it's not needed.
2019-09-12 13:50:24 +02:00
23c1831473
Merge pull request #11470 from cladmi/pr/nrf52/opencd/softdevice
...
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
2019-09-11 15:33:08 +02:00
benpicco
6c35e86e95
Merge pull request #11550 from cladmi/pr/stm32f3discovery/fix_flashing
...
boards/stm32f3discovery: fix openocd config to flash from invalid state
2019-09-11 14:44:12 +02:00
benpicco
e11d457e63
Merge pull request #11209 from danpetry/boards/mega1284p_xplained
...
doc/mega-xplained: add JTAG/Atmel-ICE instructions
2019-09-11 14:03:29 +02:00
Gaëtan Harter
f5f275b929
boards/stm32f3discovery: fix openocd config to flash from invalid state
...
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
It was found after the `stm32f3discovery` get stuck in a non-flashable mode
after some firmwares.
2019-09-11 12:19:23 +02:00
danpetry
4554b6cb13
doc/mega-xplained: add JTAG/Atmel-ICE instructions
...
Adds instrucions for the Atmel-ICE with the JTAG header.
2019-09-11 11:49:35 +02:00
benpicco
6f63ef42a7
Merge pull request #11920 from maribu/lpc2387
...
cpu/lpc2387: Cleanup
2019-09-11 10:12:26 +02:00
Marian Buschsieweke
7092566f1f
cpu/arm7_common: Moved compiler flags here
...
- Moved compiler & linker flags from boards/common/msba2 to cpu/arm7_common
- Moved dependency to newlib nano to cpu/arm7_common
- Moved config to link in cpu/startup.o to cpu/arm7_common
2019-09-11 01:02:41 +02:00
Juan I Carrano
c50d8fada1
Merge pull request #11646 from cladmi/pr/esp/programmer_update
...
esp*: updates to the programmer configuration
2019-09-10 17:58:20 +02:00
Gaëtan Harter
fe0b829d5b
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
...
Enable the handling of flashing `softdevice.hex` when flashing the firmware
for openocd.
However, for flashing, only the `hexfile` and `binfile` can currently be used.
The `elffile` is generated with local pages aligned to `0x10000` which makes
the program starting at `0x1f000` be flashed from `0x10000` with padding bytes
even if the `.text` section is indeed at `0x1f000`:
readelf --sections bin/nrf52dk/gnrc_networking.elf
...
[ 1] .text PROGBITS 0001f000 00f000 00f698 00 AX 0 0 16
...
readelf --segments bin/nrf52dk/gnrc_networking.elf
...
LOAD 0x000000 0x00010000 0x00010000 0x1e6a0 0x1e6a0 R E 0x10000
...
The padding bytes would go through `verify_image` in `openocd` so be expected
to not be overwritten but are by `softdevice.hex`
Using --nmagic at link time removes the local page alignement but would
need dedicated testing.
2019-09-10 16:02:04 +02:00
3059e03c7c
Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value
...
pkg/nordic_softdevice_ble: reset memory in the .hex file
2019-09-10 14:38:33 +02:00
b80a41f28f
Merge pull request #12153 from cladmi/pr/iotlab/use_openocd_reset_use_connect_assert_srst
...
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
2019-09-10 08:41:08 +02:00
88e07c06d2
Merge pull request #11367 from maribu/arm_early_stdio
...
cpu: Moved stdio_init() prior to periph_init() for ARM targets
2019-09-09 16:52:30 +03:00
benpicco
c082ada36f
Merge pull request #12141 from aabadie/pr/boards/stm32_common_i2c
...
boards/stm32: introduce and use shared i2c config with I2C1 on PB6/PB7
2019-09-09 14:26:59 +02:00
Kevin "Tristate Tom" Weiss
a138f1466f
Merge pull request #11975 from fjmolinas/pr_nucleof103_xtimer_backoff
...
boards/common/nucleo: increase XTIMER_BACKOFF for STM32F103
2019-09-09 11:15:37 +02:00
Marian Buschsieweke
232aed3e18
boards: Remove support for the Jiminy-Mega256RFR2
...
- The Jiminy-Mega256RFR2 is seemingly unmaintained, as no one has responded
on requests to test changes on it. This lack of support has been blocking
various PRs in the last few months
- No one seems to use it
- Boards that are added to RIOT should match at least one of the following
- It is actively maintained
- It has a significant user base
- It is an off-the-shelf product, so it might be easily obtained for testing
==> The Jiminy is matching none of the above
2019-09-09 10:20:00 +02:00
Francisco
6d800ed85a
Merge pull request #11366 from maribu/early_stdio_atmega
...
cpu/atmega_common: Moved atmega_stdio_init() to cpu_init()
2019-09-09 10:22:53 +03:00
Marian Buschsieweke
73424c1d1e
board/msba2: Added stdio_init()
...
The MSB-A2 uses a custom boot up sequence and does not have a cpu_init(). This
adds the missing call to stdio_init() to that custom boot up sequence.
2019-09-06 16:54:24 +02:00
MrKevinWeiss
853540ce32
boards/slstk3402a: Add reset before flashing
...
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 13:19:27 +02:00
MrKevinWeiss
699892cc7c
boards/slstk3401a: Add reset before flashing
...
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 11:01:21 +02:00
Francisco
900b23626a
Merge pull request #12148 from aabadie/pr/boards/nrf52832-mdk_i2c
...
boards/nrf52832-mdk: enable I2C and use default configuration
2019-09-03 08:52:24 +02:00
e45388e210
boards/stm32l0: use connect_assert_srst when flashing
2019-09-02 21:46:54 +02:00
281273f362
boards/stm32: remove use of connect_assert_srst for flashing stm32l0
2019-09-02 21:46:15 +02:00
01642b9075
boards/nucleo-f091rc: remove duplicate use of connect_assert_srst
2019-09-02 21:45:32 +02:00
fc923baa42
boards/nucleo: generalize use of connect_assert_srst for flashing
...
This allows to flash/reset even over a crashed or sleeping firmware
2019-09-02 21:44:58 +02:00
Gaëtan Harter
c1b32fe1f3
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
...
Use the new OPENOCD_RESET_USE_CONNECT_ASSERT_SRST to configure
'reset_config connect_assert_srst' when flashing and resetting only.
This removes the need for a special debug configuration and should allow
connecting to a running target again.
2019-09-02 16:12:55 +02:00
Gaëtan Harter
94dfc4dd94
boards/pba-d-01-kw2x: fix flashing from invalid state
...
When in an invalid state, the board could not flash anymore.
Like for example after flashing `tests/driver_adt7310` this makes it
flash again.
I used `reset_config srst_only` as the other kinetis boards are also
configured that way.
2019-09-02 15:56:14 +02:00
Kevin "Tristate Tom" Weiss
d9b0db0d61
Merge pull request #11976 from fjmolinas/pr_stm32f0x_extra_flash
...
dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET use for nucleo-f091rc
2019-09-02 15:54:24 +02:00
Francisco Molina
06c830e8cd
boards/nucleo-f091rc: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
...
- Nucleo-f091rc can become unflashable when hardfaults occure.
To make sure flashing succeeds `connect_assert_srst` is called
before connecting to flash threw openocd.
2019-09-02 14:54:38 +02:00
Gaëtan Harter
19290fe8b7
boards/pba-d-01-kw2x: rely on the common adapter selection code
...
Do not set 'OPENOCD_EXTRA_INIT' but rely on
'openocd/openocd-adapters/dap.inc.mk' to select the adapter.
Using 'OPENOCD_EXTRA_INIT' for this was deprecated.
When 'DEBUG_ADAPTER_ID' was set it was already the case but not with
'SERIAL'.
The compatibility with using 'SERIAL' is maintained.
2019-09-02 14:48:01 +02:00
cb51cee2ba
boards/nrf52832-mdk: enable I2C and use default configuration
2019-09-02 13:12:40 +02:00
afb8509034
boards/nucleo: use shared I2C configuration
2019-09-02 08:17:21 +02:00
df18dba378
boards/stm32: introduce shared i2c configuration
...
This configuration corresponds to I2C1 connected to PB6 (SCL) and PB7 (SDA)
2019-09-02 08:17:21 +02:00
Marius
d6b6b7a529
board/nucleo-l031k6: Add i2c to periph_conf
2019-09-01 17:14:06 +02:00
Kevin "Tristate Tom" Weiss
969e3b3e95
Merge pull request #12098 from cladmi/pr/export/remove_local_export_compilation_variables
...
make: do not locally export compilation variables
2019-08-29 14:32:22 +02:00
e9ea6a02ed
Merge pull request #12068 from twostairs/board_nucleo-l432kc_i2c
...
board/nucleo-l432kc: Implementing I2C for board
2019-08-29 13:33:57 +02:00
Martine Lenders
b83c7dd61d
Merge pull request #11927 from maribu/arduino-leonardo
...
cpu/atmega32u4: Fixed external interrupts; boards/arduino-leonardo: Fixed dependency tracking
2019-08-29 12:12:56 +02:00
Hauke Petersen
d961ceefbe
boards/reel: add missing radio_nrf52840 feature
2019-08-29 10:51:17 +02:00
Gaëtan Harter
ef542ef92c
boards: do not locally export compilation variables
...
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:44 +02:00
Hauke Petersen
dff436be63
boards/reel: make nrf802154 the default radio
2019-08-28 16:49:21 +02:00
Hauke Petersen
da494251b6
board/nrf52840dk: fix order in Makefile.dep
2019-08-28 16:49:21 +02:00
Hauke Petersen
d127d18384
boards/nrf52: set NimBLE for gnrc_netdev_default
2019-08-28 16:49:20 +02:00
Hauke Petersen
14662da1db
boards/nrf52dk: add nimble_netif dependency
2019-08-28 16:48:42 +02:00
Marius
80c521b2c3
boards/nucleo-l432kc: provide I2C configuration
2019-08-28 10:50:24 +02:00
Gaëtan Harter
367aa841a2
boards/pyterm: change TERMFLAGS to PYTERMFLAGS
...
The boards are using `pyterm` specific options that do not work on any
other `RIOT_TERMINAL`. It is a shame this is required but at least do
not pass arbitrary arguments to the other RIOT_TERMINAL.
So use the new PYTERMFLAGS for this.
2019-08-27 14:25:02 +02:00
Gaëtan Harter
42d658419f
boards/common/msba2: remove duplicate PORT
...
PORT is already given in pyterm TERMFLAGS.
2019-08-27 12:06:10 +02:00
Juan I Carrano
e2b2b8e43c
Merge pull request #12014 from cladmi/pr/cpu_cpu_model/migration/straightforward_ones
...
boards: move CPU/CPU_MODEL definition to Makefile.features
2019-08-21 18:52:28 +02:00
Marian Buschsieweke
137c2c0adf
boards: Added cc110x params for MSB-A2 & MSB-IoT
2019-08-20 16:38:49 +02:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
cladmi
8305390a05
boards/common: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Marian Buschsieweke
615e25f319
drivers: Removed driver for CC110x transceivers
...
- Removed cc110x driver
- Updated all makefiles
- Kept both board specific configurations and support for it in RIOT's
upper layers, so re-implementations don't need to start from zero
2019-08-19 12:56:47 +02:00
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
...
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.
So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.
This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Gaëtan Harter
e70efb769c
murdock: nordic_softdevice_ble: softdevice.hex is a test input
...
When running tests using 'nordic_softdevice_ble', the 'softdevice.hex'
file must also be taken into account for the test hashing and be
uploaded to the separated murdock testing boards.
When listed as dependency from `test-input-hash` the file must have a
target, which he has not. The file is implicitly created when compiling
`ELFFILE` so declare it as order only dependency.
In practice `BASELIBS` could be enough or even `pkg-build-softdevice`
but I do not want to be depend that much on internals there.
2019-08-12 14:35:58 +02:00
9cf8da0287
Merge pull request #11899 from fjmolinas/pr_stm32f7_riotboot_requirements
...
cpu/stm32f7: add riotboot requirements
2019-08-09 15:36:50 +02:00
Francisco Molina
644cb9f461
boards: add riotboot for nucleo-f722ze/f746zg/f767zi
2019-08-09 13:15:02 +02:00
6f14de38c5
Merge pull request #11900 from fjmolinas/pr_stm32f2_riotboot_requirements
...
cpu/stm32f2: add riotboot requirements
2019-08-09 11:06:49 +02:00
d1fef4803e
boards: add basic support for b-l496g-cell02
2019-08-09 08:26:17 +02:00
f802bbb5ae
Merge pull request #11682 from fjmolinas/pr_stm32f4_riotboot
...
cpu/stm32f4: add riotboot requirements
2019-08-08 18:05:36 +02:00
Lena Boeckmann
58955b39c6
board/saml11-xpro: update implementation status in doc
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
2019-08-08 14:49:05 +02:00
Lena Boeckmann
1b81f6d4a2
board/saml10-xpro: update implementation status in doc
2019-08-08 14:49:04 +02:00
Francisco Molina
7231088b7c
boards/nucleo-f207zg: add riotboot
2019-08-07 18:34:48 +02:00
francisco
bfcb963d1e
boards/nucleo-f446re: add riotboot
2019-08-07 18:29:51 +02:00
fjmolinas
9418eef573
boards/stm32f429i-disc1: add riotboot
2019-08-07 18:29:51 +02:00
430d80729a
boards/nrf51: provide ble_nimble feature
2019-08-07 09:53:55 +02:00
Hauke Petersen
c9e5d2ccc4
boards/common/nrf51: add alternative xtimer mapping
2019-08-07 09:53:55 +02:00
32f54178ea
Merge pull request #11974 from fjmolinas/pr_xtimer_shoot_early
...
boards: remove unused XTIMER_SHOOT_EARLY defines
2019-08-07 09:29:43 +02:00
Francisco Molina
ed3a716ffd
boards/common/nucleo: increase XTIMER_BACKOFF for STM32F1 boards
...
- Boards using stm32f103xx use the same custom config for xtimer
which relies on the same underlying hardware timers that hang
when sleeping for <20us so spin when approaching that limit.
2019-08-07 09:07:24 +02:00
Francisco Molina
294aff2ef1
boards: remove unused XTIMER_SHOOT_EARLY defines
2019-08-07 08:49:14 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
...
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
b388a5b3d2
Merge pull request #11572 from aabadie/pr/boards/native_fix_log
...
boards/native: fix overriden INCLUDES leading to build failure
2019-08-06 12:05:26 +02:00
Martine Lenders
d13d49d11f
Merge pull request #11814 from aabadie/pr/doc/remove_duplicate_group_define
...
doc: remove duplicate definitions of Doxygen groups
2019-08-06 09:50:59 +02:00
d8746add06
native: don't use NATIVEINCLUDES in board and board/drivers
2019-08-06 09:44:19 +02:00
Kevin "Bear Puncher" Weiss
9821fa8043
Merge pull request #11959 from maribu/bluepill
...
boards/{blue,black}pill: Fixed flashing
2019-08-05 17:34:56 +02:00
8196ea7e58
boards/arduino-leonardo: remove duplicate doc group definition
2019-08-05 16:57:37 +02:00
90e136405e
boards/common/esp: deduplicate common esp boards group definitions
2019-08-05 16:57:36 +02:00
6bf9290ed5
boards/stm32f769i-disco: deduplicate doxygen group definition
...
The group is already defined in the doc.txt file so no need to define it again in board.h
2019-08-05 16:57:36 +02:00
01814dec19
boards/nucleo-*: deduplicate doxygen board group definitions
2019-08-05 16:57:35 +02:00
248f8d3284
boards/esp8266: deduplicate board doxygen group definition
2019-08-05 16:57:35 +02:00
cb25ed7b05
boards/stm32: provide support custom spi pins mode for lora boards
...
This minimize a lot power consumption when going to sleep after the spi has been used
2019-08-05 16:46:41 +02:00
31c52041e6
Merge pull request #11939 from fjmolinas/pr_add_nrf52_i2c_cfg
...
boards/common/nrf52: add common nrf52 i2c config
2019-08-05 16:39:33 +02:00
Francisco
db08af4586
Merge pull request #11812 from aabadie/pr/boards/nucleo_doc_cleanup
...
boards/nucleo*: move doxygen group definition to doc.txt
2019-08-05 15:22:03 +02:00
927f283d97
boards/nz32-sc151: use TIM5 common timer configuration
...
This requires including STM32 common include directoy as well
2019-08-05 15:01:15 +02:00
b1fa4fb2d9
boards/nucleo-l152re: use TIM5 common timer configuration
2019-08-05 15:01:15 +02:00