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

3333 Commits

Author SHA1 Message Date
Gaëtan Harter
e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
Gaëtan Harter
ff00096a39
boards/tools: remove exporting MSPDEBUGFLAGS
MSPDEBUGFLAGS is evaluated only in the same file.
Its value does not need to be exported.

This will also prevent evaluating 'PORT' for MSPDEBUGFLAGS when not needed.
2019-05-28 09:58:40 +02:00
Gaëtan Harter
7306dbd382
boards/tools: remove exporting DEBUG*
DEBUGGER/DEBUGGER_FLAGS/DEBUGSERVER/DEBUGSERVER_FLAGS are evaluated by the
main Makefile.include or by file included by it.
Their value does not need to be exported.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `55 insertions(+), 55 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:58:35 +02:00
Gaëtan Harter
b88d1887c8
boards/tools: remove exporting RESET/RESET_FLAGS
RESET and RESET_FLAGS are evaluated by the main Makefile.include or by file
included by it. Their value does not need to be exported.

This will also prevent evaluating 'PORT' for RESET_FLAGS when not needed.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `24 insertions(+), 24 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:14 +02:00
Gaëtan Harter
ac113ca2f8
boards/tools: remove exporting FLASHER/FFLAGS
FLASHER and FFLAGS are evaluated by the main Makefile.include or by file
included by it. Their value does not need to be exported.

This will also prevent evaluating 'PORT' for FFLAGS when not needed.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `84 insertions(+), 84 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:00 +02:00
francisco
963bbe75ba kinetis/check-fcfield: merge hex and elf script 2019-05-27 17:38:46 +02:00
Thomas Perrot
b63121c588
board: add support for arduino-leonardo 2019-05-24 15:12:47 +02:00
Thomas Perrot
44803ea4fd
cpu/atmega32u4: add support for ATmega32U4 2019-05-24 15:12:47 +02:00
25a8ea5d1b
boards/b-l072z-lrwan1: use common i2c configuration 2019-05-24 11:12:02 +02:00
6cad403dfa
boards/stm32: adapt common i2c config to L0 boards 2019-05-24 11:11:24 +02:00
Francisco
b6749ac5b9
Merge pull request #11322 from aabadie/pr/stm32f7/add_rtt_feature
stm32f7: enable periph_rtt feature and apply to f7 based boards
2019-05-23 21:25:19 +02:00
Kevin "Bear Puncher" Weiss
3f4c92d8bf
Merge pull request #11569 from cladmi/pr/make/cc2538/flashfile
boards/cc2538: use FLASHFILE for boards using cc2538-bsl.py
2019-05-23 16:33:49 +02:00
Gaëtan Harter
9e9f8637e9
boards/cc2538: use FLASHFILE for boards using cc2538-bsl.py
Update to use FLASHFILE as file to be flashed on the board.
2019-05-23 15:02:15 +02:00
Gaëtan Harter
d58d8b375c
boards/openmote-b: remove OFLAGS
OFLAGS is set by the `.bin` and `.hex` rules no need to define it anymore.
2019-05-23 14:55:26 +02:00
f153429f69
boards/stm32: add rtt features to stm32f7 based boards 2019-05-23 14:49:39 +02:00
9849010309
boards/stm32l0: use shared clock configuration 2019-05-23 14:03:17 +02:00
d6689103ef
boards/stm32: add shared STM32L0 clock configuration 2019-05-23 14:03:17 +02:00
Francisco
269882b619
Merge pull request #11323 from aabadie/pr/stm32/add_rtt_feature
boards/stm32l0/l4: add rtt feature
2019-05-23 12:22:03 +02:00
Felix B
d185767070 boards/nucleo-f767zi: add spi config 2019-05-21 17:39:03 +02:00
f559ccb0c6
Merge pull request #11260 from maribu/nucleo-f767zi
boards/nucleof7*: SPI and refactoring
2019-05-21 14:01:41 +02:00
Marian Buschsieweke
ffb6c54d81
boards/nucleo-f746zg: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-05-21 13:19:42 +02:00
Marian Buschsieweke
54b621bf3e
boards/nucleo-f722ze: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-05-21 13:19:42 +02:00
Marian Buschsieweke
61e1068eba
boards/nucleo-f767zi: Add SPI settings 2019-05-21 13:19:42 +02:00
Dylan Laduranty
85d37bb94f
Merge pull request #11336 from benpicco/sam0-timer
sam0_common: make Timer implementation common across all sam0 MCUs
2019-05-21 12:13:39 +02:00
Benjamin Valentin
849dd4cdce sam0_common: make Timer implementation common across all sam0 MCUs
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same
Timer peripheral, yet each of them carries it's own copy of the Timer
driver.

This introduces a new timer driver that is common for all sam0 MCUs and
uses structs for configuration instead of defines.
2019-05-21 11:47:59 +02:00
5e3d20d0b2
boards: add support for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
ac878f3758
boards/nucleo-l0*: enable clock LSE 2019-05-21 09:50:10 +02:00
5c79e1456a
boards/stm32l476rg: add RTT and RTC features 2019-05-21 09:50:10 +02:00
a38823b823
boards/nucleo-*: add RTT feature where possible 2019-05-21 09:50:10 +02:00
a4de4153fc
boards/lsn50: use common rtt configuration 2019-05-21 09:01:02 +02:00
ca9bd8e5cc
boards/nucleo-l496zg: use common rtt configuration 2019-05-21 08:38:44 +02:00
f92139509d
boards/nucleo-l476rg: use common rtt configuration 2019-05-21 08:38:44 +02:00
c3d7dbce2c
boards/nucleo-l452re: use common rtt configuration 2019-05-21 08:38:44 +02:00
4c86b00808
boards/nucleo-l433rc: use common rtt configuration 2019-05-21 08:38:43 +02:00
4e26ac943b
boards/b-l475e-iot01a: use common rtt configuration 2019-05-21 08:38:43 +02:00
7d12ea78f0
boards/b-l072z-lrwan1: use common rtt configuration 2019-05-21 08:38:43 +02:00
871dda1216
boards/stm32: introduce common default rtt config 2019-05-21 08:38:43 +02:00
Gaëtan Harter
777592dff1
boards/sltb001a: reset before flashing
When it was running 'hello-world', the board could not be flashed through
JLinkExe anymore and only through the drag and drop support.

By resetting the board before doing 'loadbin' it can now be flashed
properly.
2019-05-20 13:54:06 +02:00
c439346f6d
Merge pull request #10563 from aabadie/pr/boards/particle_mesh
boards/particle-{xenon,argon,boron}: add initial support
2019-05-20 11:54:04 +02:00
bf3e471fdb
boards/lsn50: add initial support 2019-05-17 22:43:04 +02:00
05409782c0
boards/particle-boron: initial support 2019-05-17 22:42:08 +02:00
17fd5b7145
boards/particle-argon: initial support 2019-05-17 22:42:08 +02:00
f524a451a4
boards/particle-xenon: initial support 2019-05-17 22:42:08 +02:00
22fe1925e0
boards/particle-mesh: common support for particle mesh boards 2019-05-17 22:42:08 +02:00
Kevin "Bear Puncher" Weiss
e40f483acf
Merge pull request #11261 from gschorcht/cpu/esp32/doc_fix/rom
boards/cpu/esp32: doc fix of built-in ROM size
2019-05-14 13:07:50 +02:00
Leandro Lanzieri
44d981947d
Merge pull request #11293 from gschorcht/cpu/esp32/periph/conf/spi
boards/esp32: changes the approach for configurations of SPI interfaces in board definitions
2019-05-14 12:07:19 +02:00
Leandro Lanzieri
171058d38d
Merge pull request #11481 from gschorcht/boards/esp32_wrover_kit/doc/fix
boards/esp32 wrover kit: documentation fixes and small improvents
2019-05-14 11:23:58 +02:00
Francisco
6b8bbd7eba
Merge pull request #11044 from aabadie/pr/boards/kw41z-common
boards/kw41z*: add common configuration and use it with existing kw41z boards
2019-05-14 01:53:31 -07:00
Gunar Schorcht
bf60857442 boards/esp32_wrover_kit: documentation fix
Fixes the bold faced references **/dev/ttyUSB** that stopped doxygen generation
2019-05-13 18:12:03 +02:00
Gunar Schorcht
38843792c4 boards/esp32_wrover_kit: documentation fix
Fixes a reference to vendor picture that has been moved to a different location.
2019-05-13 18:12:03 +02:00
Gunar Schorcht
0eb8275925 boards/esp32_wrover_kit: documentation improvement 2019-05-13 18:12:03 +02:00
Leandro Lanzieri
ab6d0fe08c
Merge pull request #11292 from gschorcht/cpu/esp32/periph/conf/pwm
boards/esp32: changes the approach for configurations of PWM channels in board definitions
2019-05-13 16:11:05 +02:00
Igor Knippenberg
6da0ca735a boards/nrf52840-mdk: added I2C config 2019-05-13 11:03:41 +02:00
Kevin "Bear Puncher" Weiss
6a78746471
Merge pull request #11506 from maribu/bluepill_doc
boards/bluepill: Extended/updated doc on flashing
2019-05-10 00:56:50 -07:00
Marian Buschsieweke
531c62fa65
boards/bluepill: Extended/updated doc on flashing
- Indicated that the hardware reset signal is used to reset the device and that
  OpenOCD will that connect under reset
- Added troubleshooting for flashing using hardware reset
- Removed previous troubleshooting for flashing, as this issue is no longer
  present since OpenOCD connects under reset
2019-05-09 19:36:12 +02:00
Kevin "Bear Puncher" Weiss
6afb0603aa
Merge pull request #11291 from gschorcht/cpu/esp32/periph/conf/i2c
boards/esp32: changes the approach for configurations of I2C in board definitions
2019-05-09 08:26:01 -07:00
Kevin "Bear Puncher" Weiss
795ad18f2e
Merge pull request #11294 from gschorcht/cpu/esp32/periph/conf/uart
boards/esp32: changes the approach for configurations of UART interfaces in board definitions
2019-05-09 08:25:40 -07:00
8bd320b34f
boards/phynode-kw41z: use common configuration 2019-05-07 21:57:05 +02:00
7d90a48a3d
boards/usb-kw41z: use common configuration 2019-05-07 21:57:05 +02:00
151803da5b
boards/frdm-kw41z: use common configuration 2019-05-07 21:57:04 +02:00
cb4cdee0ef
boards/common: introduce common code for kw41z boards 2019-05-07 21:57:04 +02:00
Leandro Lanzieri
9075e1d207
Merge pull request #11290 from gschorcht/cpu/esp32/periph/conf/dac
boards/esp32: changes the approach for configurations of DAC channels in board definitions
2019-05-07 11:35:34 +02:00
990086aee7
Merge pull request #11479 from cladmi/pr/kinetis/hwrng
kinetis: move filtering-out periph_hwrng in cpu/kinetis
2019-05-06 17:42:16 +02:00
Gaëtan Harter
19224ec1d5
kinetis: move filtering-out periph_hwrng in cpu/kinetis
This removes doing `filter-out periph_hwrng, $(FEATURES_PROVIDED)`
after processing `cpu/$(CPU)/Makefile.features`.
The current solution is a HACK as `CPU_MODEL` is currently not available
at that moment but will be in the near future.

It will allow always including `cpu/$(CPU)/Makefile.features` after
`boards/$(BOARD)/Makefile.features`.

It is a part of moving `CPU/CPU_MODEL` definitions to `Makefile.features`.
2019-05-06 15:12:47 +02:00
Gunar Schorcht
008f1c5d55 boards/esp32: UART configuration approach changed
UART devices are now configured using static array in header files instead of static variables in implementation to be able to define UART_NUMOF using the size of the array instead of a variable.
2019-05-06 13:34:59 +02:00
Gunar Schorcht
23cc987184 boards/esp32: SPI configuration approach changed
SPI devices are now configured using static array in header files instead of static variables in implementation to be able to define SPI_NUMOF using the size of the array instead of a variable.
2019-05-06 13:33:48 +02:00
Gunar Schorcht
bd354dd29f boards/esp32: PWM configuration approach changed
PWM channels are now configured using static array in header files instead of static variables in implementation.
2019-05-06 13:32:52 +02:00
Gunar Schorcht
6a3bc3e242 boards/esp32: I2C configuration approach changed
I2C devices are now configured using static array in header files instead of static variables in implementation to be able to define I2C_NUMOF using the size of the array instead of a variable.
2019-05-06 13:32:06 +02:00
Gunar Schorcht
7e8a1c1ea6 boards/esp32: DAC config approach changed
DAC pins are now configured using static arrays in header files instead of static variables in implementation to be able to define DAC_NUMOF using the size of these arrays instead of a variable.
2019-05-06 13:29:38 +02:00
Gunar Schorcht
880e156602 boards/esp32: disable DAC for WROVER-Kit boards 2019-05-06 13:29:38 +02:00
Gunar Schorcht
f872eb9488 boards/esp32: disable DAC for Olimex ESP32 boards 2019-05-06 13:29:38 +02:00
Gunar Schorcht
18cb678dd7 boards/esp32_wrover_kit: documentation improvement
Adds a reference to a vendor document about hardware configuration.
2019-05-03 07:57:30 +02:00
Gunar Schorcht
3db78e0423 boards/esp32: ADC config approach changed
ADC pins are now configured using static arrays in header files instead of static variables in implementation to be able to define ADC_NUMOF using the size of these arrays instead of a variable.
2019-05-02 16:39:04 +02:00
Gunar Schorcht
0bab7e08cf boards/esp32: disable ADC for Olimex ESP32 EVB 2019-05-02 16:38:58 +02:00
Emmanuel Baccelli
4c3e49ee40
Merge pull request #11475 from kaspar030/add_iotpush_copyrights
add copyrights from IOTPUSH project
2019-05-02 12:42:17 +02:00
0ec9c57b2b add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
Leandro Lanzieri
7c14ff4153
Merge pull request #11337 from gschorcht/cpu/esp32/periph/submodules
cpu/esp32: fix of periph_* submodule compilation
2019-05-01 23:51:03 +02:00
Gunar Schorcht
a3c314f0cd boards/esp32*: print config for enabled modules 2019-05-01 09:40:17 +02:00
Juan I Carrano
d4edbea332
Merge pull request #11454 from cladmi/pr/frdm-k64f/hack/hwrng
boards/frdm-k64f: hack disable periph_hwrng as it crashes
2019-04-29 11:40:40 +02:00
Yegor Yefremov
2c41c9e094 boards/lobaro-lorabox: make sx127x definition consistent
No need to specify SX127X_PARAMS structure as it is already
defined in drivers/sx127x/include/sx127x_params.h.

Also remove SX127X_PARAM_SPI and SX127X_PARAM_PASELECT as their
values are the same as default ones.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-29 09:07:29 +02:00
Gaëtan Harter
8f9c629aaf boards/frdm-k64f: hack disable periph_hwrng as it crashes
Use the same disable as in `frdm-kw41z`.
2019-04-26 12:09:55 +02:00
Yegor Yefremov
3d6bc49d9a boards/esp32-olimex-evb: fix comment typo
Replace "ob-board" with "on-board" in LED description.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-17 16:59:48 +02:00
ccebd2bd2f
boards/calliope-mini: enable pyocd programmer option 2019-04-17 14:09:29 +02:00
b4fcccc8fe
boards/calliope-mini: use dap adapter with openocd 2019-04-17 14:08:02 +02:00
Yegor Yefremov
46060cf779 boards/esp32*: revise CAN support
CAN interface is now supported in RIOT. Change feature tables
accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-11 07:34:29 +02:00
Yegor Yefremov
4c270eecfa boards/esp32*: fix ENC28J60 configuration example
Add missing '#' to the MODULE_ENC28J80's endif.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-10 15:14:47 +02:00
Sebastian Meiling
29efd8402f boards: add I2C config for cc2650stk 2019-04-09 18:07:06 +02:00
21e55bbd28 boards/hifive1: fixup custom reset command 2019-04-09 12:46:15 +02:00
44ecf0e7f2 boards/cc2650-launchpad: configure i2c feature 2019-04-08 11:32:11 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
Hyungsin
d9c17c2154 boards: add initial hamilton board support 2019-04-03 15:00:35 -07:00
Vincent Dupont
2cb8c4b75c boards/esp32-olimex-evb: disable periph_can 2019-04-03 11:12:46 +02:00
Vincent Dupont
3db7c65438 boards/nucleo-f413zh: add periph_can as supported 2019-04-03 11:12:46 +02:00
d021d971fb
boards/nucleo-l073rz: enable LSE clock 2019-03-29 11:37:22 +01:00
330f97f15f
boards/b-l072z-lrwan1: enable LSE clock 2019-03-29 11:36:07 +01:00
Vincent Dupont
242c0cc7aa
Merge pull request #11266 from aabadie/pr/boards/b-l072z-lrwan1_rtt
boards/b-l072z-lrwan1: provide periph_rtt feature
2019-03-29 11:30:23 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
34ee41ee14
boards/b-l072z-lrwan1: provide and configure rtt peripheral 2019-03-29 09:33:09 +01:00
Kevin "Bear Puncher" Weiss
2d7c72db7f
Merge pull request #11231 from gschorcht/cpu/esp32/periph/uart_mode
cpu/esp32: add the new API function uart_mode to periph/uart
2019-03-28 19:29:38 +01:00
Gunar Schorcht
217ccbe1c4 cpu/esp32: add new uart_mode API function
The internal _uart_set_mode function is exposed if module periph_uart_modecfg is enabled.
2019-03-28 16:36:04 +01:00
Gaëtan Harter
29ada72a9e
Merge pull request #11254 from cladmi/pr/make/openocd/flashfile
makefiles/openocd.inc.mk: use FLASHFILE
2019-03-28 11:56:59 +01:00
Gaëtan Harter
5ce0c8f50d
boards/seeeduino_arch-pro: use FLASHFILE variable
Update to use FLASHFILE as file to be flashed on the board.

openocd.inc.mk now uses FLASHFILE variable so does not need to overwrite
FFLAGS anymore.
2019-03-26 19:26:42 +01:00
Martine Lenders
790f763d3d native: use -g3 instead of -g 2019-03-26 18:53:27 +01:00
emmanuelsearch
61c793aa4c cpu/cortexm_common: Add image_baseaddr support for Cortex-M23 2019-03-26 11:46:00 +01:00
emmanuelsearch
78cbf4fb57 saml1x: Add riotboot support 2019-03-26 11:46:00 +01:00
7daf5966c2
arduino-zero: add usbdev feature 2019-03-26 10:26:12 +01:00
99962ffd15
samr21-xpro: add usbdev configuration 2019-03-26 10:26:12 +01:00
d7804823db
sam0_common: Add USB peripheral driver 2019-03-26 10:26:11 +01:00
Marian Buschsieweke
d00becbc4b
boards/nucleo-f767zi: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-03-25 15:51:30 +01:00
Marian Buschsieweke
17fd6941ce
boards/common/stm32: SPI divtable for 108MHz/54MHz 2019-03-25 15:51:30 +01:00
Marian Buschsieweke
7ab1ae1b76
boards/common/stm32: Clock for F7 216MHz/8MHz/LSE
Added file with clock settings for STM32-F7 CPUs with a core clock of 216MHz,
an external high speed clock of 8 MHz and external low speed clock (32.768kHz)
enabled.
2019-03-25 15:51:30 +01:00
Gunar Schorcht
01d17793eb boards/cpu/esp32*: doc fix of built-in ROM size 2019-03-25 14:00:59 +01:00
e830462bf2
boards/nrf52840-mdk: fix device type used with pyocd
This allows pyOCD to use the right memory values, especially flash size and pyOCD 0.14.1 has support for nrf52840.
2019-03-24 16:48:29 +01:00
1f937cedb7
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
stm32l0: add riotboot support
2019-03-24 10:48:48 +01:00
francisco
9624a34e86 boards/b-072z-lrwan1: provide riotboot feature 2019-03-24 10:05:53 +01:00
francisco
235d5ce835 boards/nucleo-l073rz: provide riotboot feature 2019-03-23 20:38:20 +01:00
e7f8e46114
boards/nrf52840-mdk: add missing dependency to 802154 driver 2019-03-23 13:40:18 +01:00
Gaëtan Harter
2523c1b8ef
Merge pull request #11126 from bergzand/pr/nrf52/riotboot
nrf52: Add riotboot support
2019-03-20 19:58:41 +01:00
Gaëtan Harter
7d360fcd2a
Merge pull request #11200 from danpetry/tools/jlink_handle_image_offset
jlink: handle flashing at IMAGE_OFFSET
2019-03-20 19:13:28 +01:00
Gaëtan Harter
f9cee9e820
Merge pull request #11174 from fjmolinas/stm32lx_dual_bank
boards/common/stm32l0: use dual bank with openocd if available
2019-03-20 18:38:19 +01:00
danpetry
f8bb42f787 Openmote-cc2538: format flash start address as hex
Declaring the address in decimal format meant that it was being
interpreted as a decimal rather than hex address by the tooling
and the intermediate bash arithmetic. This fixes that bug.
2019-03-20 16:07:51 +01:00
905376eef8
Merge pull request #11103 from aabadie/pr/boards/nrf52832-mdk-v2
boards/nrf52832-mdk: add basic support
2019-03-20 15:48:13 +01:00
a218bc62ab
boards/b-l475e-iot01a: add defines and deps for lps22hb 2019-03-20 14:43:37 +01:00
80b337b756
boards/iotlab: update lps331ap device addr define
The default address is the same one
2019-03-20 14:43:36 +01:00
d08a028c20
boards: add support for nrf52832-mdk 2019-03-20 14:41:26 +01:00
Gaëtan Harter
9d5e06a512
boards/lpc2k_pgm: use FLASHFILE for boards using lpc2k_pgm
Update to use FLASHFILE as file to be flashed on the board.
2019-03-20 14:31:25 +01:00
Hauke Petersen
8216c9397a
Merge pull request #11096 from haukepetersen/add_board_reel
boards: add support for Phytec 'reel board'
2019-03-20 10:47:21 +01:00
Marian Buschsieweke
e7e9084c64
Merge pull request #11185 from cladmi/pr/make/msba2/compile_flasher
msba2: compile 'lpc2k_pgm' when flashing
2019-03-20 10:38:46 +01:00
Gaëtan Harter
edaaa78851
boards/cc2650: use the common uniflash configuration
The content is exactly the same.
2019-03-15 15:54:34 +01:00
Gaëtan Harter
d2103b21ab
boards/cc2650stk: fix whitespace
Make it more similar to cc2650-launchpad
2019-03-15 15:39:42 +01:00
Hauke Petersen
ada1d3ce48 boards: add support for Phytec 'reel board' 2019-03-15 10:46:45 +01:00
francisco
026f7dc4a4 boards/stm32lx: use openocd dual bank if possible 2019-03-14 18:10:27 +01:00
Gaëtan Harter
702db3468d
msba2: compile 'lpc2k_pgm' when flashing
Add a rule to build `lpc2k_pgm` when flashing.
It is only compiled if it is using the one in `tools`.
If overwritten to `lpc2k_pgm` if it should be taken from the path,
it is not compiled.

The compilation is still done in `boards/common/msba2/tools` as it was
the case before and this commit does not address this.
2019-03-14 16:41:13 +01:00
Marian Buschsieweke
e4ebbaf59f
boards: Add support for the Arduino Nano
The Arduino Nano board is the cheapest member of the Arduino family and used the
same MCU as the Arduino Uno. It differs in the form factor (the Nano is much
smaller), it uses an integrated FT232RL TTL adapter instead of an ATmega16u2 to
provide access to the serial console via USB, and it uses a different
bootloader (which occupies 2 KiB of the 32 KiB flash instead of 0.5 KiB occupied
on the Arduino Uno). This commit mostly copy pastes code from the Arduino Uno.
2019-03-14 13:54:38 +01:00
005710effb
nrf52: include riotboot feature when possible
The riotboot feature is not compatible with the nordic_softdevice_ble
package at the moment
2019-03-14 12:03:39 +01:00
e3b10e3d7d
Merge pull request #10343 from MrKevinWeiss/pr/fixnucleol1flasher
boards/stm32l0: Fix openocd to prevent flash locking
2019-03-14 10:27:02 +01:00
Emmanuel Baccelli
8969fd32e9
Merge pull request #11080 from kaspar030/add_pyboard
boards: add pyboard v1.1 support
2019-03-13 17:07:40 +01:00
Juan I Carrano
b50ad9ed4c
Merge pull request #11040 from kaspar030/fix_hifive1_reset
boards/hifive1: fix hifive1 reset
2019-03-12 14:59:36 +01:00
b1a7d6093b boards/hifive1: add and use custom openocd reset command 2019-03-12 11:49:02 +01:00
Gilles DOFFE
f3130a3a81 boards/nucleo64: add motor driver
Add motor_driver driver configuration example.
The most simple motor driver type is used here (MOTOR_DRIVER_1_DIR) which
needs only one pin to work.
This example uses already configured PWM channels and 2 free GPIOS.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
3fd3eea5bc boards/native: add two factice motors with qdec simulation
Configure 2 factice motors in one motor_driver.
native_motor_driver_qdec_simulation() is provided to simulate QDEC encoders
virtually linked to the motors.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
ffad5048fc boards/native: update doc.txt
Add PWM and QDEC peripheral description.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
d04c21bb8b boards/native: add qdec simulation callback
native_motor_driver_qdec_simulation() callback is called each time
motor_set() from motor_driver driver is called.
It set associated qdec value to the PWM duty cycle.
QDEC values are stored in qdecs_value[] array in the order motors
are described in board.h.
Then it is needed to configure in first motors that needs the QDEC in
board.h.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
37981b5bc2 boards/native: add periph_pwm to FEATURES_PROVIDED
Add periph_pwm to FEATURES_PROVIDED as PWM is now implemented into native
cpu.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
f390a8df2e
boards/nrf5x: use periph_temperature with saul 2019-03-08 21:14:22 +01:00
1da26d5690
Merge pull request #11105 from aabadie/pr/boards/nrf52840-mdk-openocd-fix
boards/nrf52840-mdk: fix openocd programmer configuration
2019-03-06 21:58:34 +01:00
45c4741310 boards/pyboard: initial commit 2019-03-05 22:23:07 +01:00
ee44e58855
Merge pull request #11065 from cladmi/pr/board/nz32/termprog
boards/nz32-sc151: do not blindly set TERMFLAGS
2019-03-05 17:07:56 +01:00
840a096ce6
boards/nrf52840-mdk: fix openocd programmer configuration
For nrf52 based boards, the default adapter is JLink and nrf52840-mdk
uses dap.
2019-03-05 11:48:16 +01:00
Hauke Petersen
7cb1049eef
Merge pull request #10268 from SemjonKerner/add_nrf154
cpu/nrf52/radio: initial support for nrf52's ieee802.15.4 radio
2019-03-04 16:18:43 +01:00
MichelRottleuthner
1642a03125
Merge pull request #11066 from aabadie/pr/boards/common_f4_clock
boards/common/stm32: rework common clock configuration for stm32f4
2019-03-04 14:10:47 +01:00
Semjon Kerner
84ebd83a62 boards/nrf52840dk: support ieee802.15.4 radio 2019-03-04 13:21:47 +01:00
Sebastian Meiling
d29d336894
Merge pull request #11039 from maribu/avrdude
makefiles/tools: Improved avrdude integration
2019-02-28 22:15:30 +02:00
Marian Buschsieweke
4abc41a227
makefiles/tools: Automatically set avrdude target
The CPU variable in the boards Makefile.include file already contains the target
CPU, so there is no reason to provide it in each board again as avrdude flag.

This commit automatically sets the avrdude target from the CPU variable and
removes the unneeded flags.
2019-02-28 20:55:04 +01:00
a5ff1dc32a
boards/stm32f4discovery: use common clock configuration without LSE
This fixes the boards being stuck when initializing the RTC
2019-02-27 21:49:56 +01:00
7d31bb43f1
boards/stm32/f4: factorize common clock configuration (168/8)
A common configuration file is introduced for stm32f4 with core clock
at 168MHz with HSE at 8MHz, 2 configuration files are introduced to²:
distinguish between clock configuration with and without LSE.
2019-02-27 21:49:55 +01:00
Rotzbua
d606c11d11 tests/leds: initialize led0 by default
fix unexpected behavior:
reference #9949
reference #10294

fix redefinition for AUTO_INIT_LED0
2019-02-27 13:09:29 +01:00
Peter Kietzmann
ca9c441923
Merge pull request #11070 from cladmi/pr/bug/stm32f3discovery/clock_lse
boards/stm32f3discovery: Fix no external low speed crystal
2019-02-26 21:40:39 +01:00
Martine Lenders
07260661bb
Merge pull request #11060 from leandrolanzieri/pr/boards/lobaro-lorabox_remove_auto_init_led0
boards/lobaro-lorabox: Remove auto init LED0
2019-02-26 21:35:21 +01:00
Gaëtan Harter
5e58eccd5a
boards/stm32f3discovery: Fix no external low speed crystal
The board does not have external low speed crystal.

Page 20 of User Manual: 6.10.2 "OSC 32 kHz clock supply"

 * X3 Crystal (not provided)

https://www.st.com/resource/en/user_manual/dm00063382.pdf

This fixes `example/default` and makes `tests/periph_rtc` work properly.
2019-02-26 16:44:46 +01:00
7a5d2ad2fb
boards/nrf52: thingy52 and ruuvitag don't work with openocd 2019-02-26 11:15:36 +01:00
a2cfa52602
boards/nrf52xx: use common flashing documentation 2019-02-26 11:03:06 +01:00
826df5648b
boards/nrf52: update nrf52 common documentation
Add common flashing notes + move the doc in a separate doc.txt file
2019-02-26 11:03:06 +01:00
9373225a13
boards/nrf52xx: add flashing and stdio sections in doc 2019-02-26 11:03:06 +01:00
171e8589ff
boards/nrf52840-mdk: use common openocd configuration 2019-02-26 11:03:06 +01:00
3eb17f56fa
boards/nrf52xxxdk: add openocd as programmer
For the moment openocd doesn't work when softdevice blob module is loaded
2019-02-26 11:02:57 +01:00
Sebastian Meiling
a5385c15cc
Merge pull request #11027 from maribu/atmega_cleanup
boards/common/atmega: Refactoring periph_conf.h
2019-02-25 20:13:41 +02:00
Marian Buschsieweke
7bc9b4b707
boards/common/atmega: Refactoring periph_conf.h
- Moved code for periph_conf of all ATmega based boards to boards/common/atmega
- Added possibility to override config from individual board:
  - Named file `periph_conf_atmega_common.h` and let this be included from
    `board/$BOARD/include/periph_conf.h` to allow modifications
  - Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`
2019-02-25 18:48:09 +01:00
Gaëtan Harter
479d679ddf
boards/nz32-sc151: do not blindly set TERMFLAGS
The board should not globally set `TERMFLAGS` without a RIOT_TERMINAL
condition.

Also the board does not export uart through usb and thus needs an uart
converter connected. Other boards in the same situation do not need
to set `TERMPROG` without a valid baudrate. So remove the definition
anyway.

This also removes the export of TERM* variables and should make it work
with the other RIOT_TERMINAL.
2019-02-25 18:00:58 +01:00
Gaëtan Harter
3b119cc5ba
boards/native: unexport TERM* variables
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
2019-02-25 17:26:03 +01:00
Leandro Lanzieri
609db0c2f6 boards/lobaro-lorabox: Remove auto init LED0 2019-02-25 13:43:50 +01:00
Yegor Yefremov
a62d4550d7 Documentation: fix dead links
The link to nodemcu-devkit-v1.0 was missing 'h' in 'http'.

Other links were missing 'http://' or 'https://' and were pointing
to non-existing components on RIOT's web site.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-12 10:46:15 +01:00
ZetaR60
1f9e1857f7
Merge pull request #9130 from kYc0o/cpu/atmega/unify_stacks
atmega: refactor cpu/board code and build/flash variables
2019-02-08 18:07:22 -05:00
Kees Bakker
361ba8d1a0 boards/sodaq-autonomo: switch to flashing with bossac 2019-02-06 19:44:26 +01:00
Francisco Acosta
7139393394 boards: include potential features from CPU for atmega boards
Features must be provided by the board if they're actually
available on board. Other features might be provided by the
CPU.

Some grouping is also removed as it is not necessary.
2019-02-05 17:12:04 +01:00
Francisco Acosta
d208cba464 boards: leverage avrdude.inc.mk for atmega based boards.
Additionally, it removes unnecessary exports and cleans up
waspmote-pro toolchain variables (not needed) which are taken
from atmega_common.
2019-02-05 17:12:04 +01:00
Francisco Acosta
1a98d64cd5 boards/arduino*: use common avrdude.inc.mk from atmega_common
Leverages common flasher (avrdude) and removes unnecessary exports.
Moreover, a reuse of serial.inc.mk is perfomed from the same
atmega_common/Makefile.include
2019-02-05 17:12:03 +01:00
Marian Buschsieweke
fa0d08a08b
boards/msba2: Added ltc4150 to saul_default 2019-01-28 13:45:08 +01:00
6cd81dbc87
Merge pull request #10865 from kaspar030/uncrustify_change_disable_hint
uncrustify: change en/disable markers
2019-01-25 22:40:02 +01:00
674128ea27 boards/hifive1: adapt to RIOT uncrustify markers 2019-01-25 17:21:14 +01:00
a12b61e9af
boards/nrf52840-mdk: initial support 2019-01-25 16:29:10 +01:00
Hauke Petersen
93e7d88f75
cpu/nrf5x: reworked and fixed UART driver 2019-01-25 15:52:25 +01:00
72f3f7d4f1
boards/nrf52840dk: add second UART interface
This commit also change the STDIO UART to use the UARTE device type (with EasyDMA)
2019-01-25 15:52:25 +01:00
190d48c5d3
boards/nrf52840dk: configure uart flow control pins 2019-01-25 15:51:50 +01:00
1be60741e3
boards/nrf52xxxdk: refactor UART config 2019-01-25 15:51:50 +01:00
Leandro Lanzieri
ba592ae4d3
Merge pull request #10848 from PeterKietzmann/pr_phy-kw41_ccs811condif
boards/phynode-kw41z:enable support for cc811 sensor
2019-01-25 11:42:40 +01:00
PeterKietzmann
536cf1b4e9 boards/phynode-kw41z:enable ccs811,mma8x5x,tcs37727 sensors 2019-01-25 11:10:08 +01:00
03ed77b141
Merge pull request #10805 from beduino-project/fix-hifive1-coreclock-define
boards/hifive1: fix CLOCK_CORECLOCK
2019-01-24 20:48:40 +01:00
Kevin "Bear Puncher" Weiss
06b5a58e62
Merge pull request #10802 from leandrolanzieri/pr/boards/sensebox_samd21-mtd
boards/sensebox_samd21: Add MTD definition
2019-01-24 12:20:16 +01:00
Martine Lenders
fbe43634d9
Merge pull request #10844 from maribu/ethernet_shield
boards/arduino*: Added/refactored params for W5100
2019-01-24 11:59:43 +01:00
Marian Buschsieweke
d2c8eab793
boards/arduino*: Added/refactored params for W5100
- ATmega based boards: Added parameter for W5100 to board_common.h
- Arduino Due based boards: Use board.h instead of providing w5100_params.h
2019-01-22 15:46:33 +01:00
7e3c382547
Merge pull request #10653 from dylad/pr/saml1x_support
cpu/saml1x: add support for SAML10 and SAML11 MCUs (Cortex-M23)
2019-01-22 08:53:06 +01:00
Sebastian Meiling
0edf76d362
Merge pull request #9984 from kaspar030/refactor_atmega_libc
cpu/atmega_common: refactor AVR libc code into module
2019-01-22 08:41:37 +01:00
Dylan Laduranty
e838f0c291 board/saml11-xpro: add support for SAML11-XPRO board 2019-01-21 17:08:02 +01:00
Dylan Laduranty
2132f5b85b board/saml10-xpro: add support for SAML10-XPRO board 2019-01-21 17:07:42 +01:00
Dylan Laduranty
99966b318a board/common/saml1x: add common configuration 2019-01-21 17:07:18 +01:00
8d1a0ae074
boards: revert forced use of periph_dma with STM32
The periph_dma is not pulled in automatically for all applications.
Applications willing to use the configured peripherals with periph_dma
for a given board will have to include the feature explictly in their
Makefile.

It was causing unrelated issues as threads got de-scheduled while
calling printf and this was not handled properly in tests at that
moment.
2019-01-21 15:14:28 +01:00
7313525035 atmega_common: refactor avr-libc-extra into avr_libc_extra module 2019-01-21 14:37:08 +01:00
c6b9bb5055
boards/b-l475e-iot01a: provide already configured features
RTC and RTT are available and already configured for this board but not provided by the build system
2019-01-20 13:10:25 +01:00
Leandro Lanzieri
2625a86450 boards/sensebox_samd21: Add MTD definitions 2019-01-18 13:25:35 +01:00
Tristan Bruns
8d50b8cc60 boards/hifive1: fix CLOCK_CORECLOCK 2019-01-17 17:21:09 +01:00
Tristan Bruns
6c1f2bb174 boards/hifive1: fix file permissions of flasher.sh 2019-01-17 16:33:25 +01:00
9daf3c74a9 boards/iotlab-m3: disable DMA with SPI 2019-01-15 19:49:32 +01:00
Sebastian Meiling
4a91b61ad8
Merge pull request #9930 from gebart/pr/frdm-k64f-lptmr
frdm-k64f: Add LPTMR configuration
2019-01-11 13:29:59 +01:00
afe3d676a5
Merge pull request #10126 from gschorcht/esp8266_doc
cpu/esp8266: doc extended
2019-01-11 08:00:09 +01:00
steffen
2ff2b2c1d7 drivers: Initial support for TPS6274x converter
drivers/tps6274x: initial support step-down converter
tests/driver_tps6274x: Added testcase for the step-down converter
boards/jiminy-mega256rfr2: Added TPS6274x config
2019-01-10 00:00:02 +01:00
Gunar Schorcht
d99d72c583
Merge pull request #10737 from aabadie/pr/boards/esp32-wroom-32-button
boards/esp32-wroom-32: configure saul button as inverted
2019-01-09 17:24:21 +01:00
Gunar Schorcht
fa0b4b801f cpu/esp8266: doc fixes 2019-01-09 16:55:21 +01:00
Kevin "Bear Puncher" Weiss
0b23e8898e
Merge pull request #10641 from gschorcht/esp32_spi_revision
cpu/esp32: cleanup in periph/spi
2019-01-09 14:02:06 +01:00
Gunar Schorcht
cb6b7539f4 boards/esp32*: cleanup of SPI interfaces
SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:04:28 +01:00
081c4a9c90 boards/esp32-olimex-evb: configure saul button as inverted 2019-01-09 12:52:24 +01:00
484572f881 boards/esp32-wroom-32: configure saul button as inverted 2019-01-09 10:00:16 +01:00
Kevin "Bear Puncher" Weiss
a1218f007b
Merge pull request #10643 from gschorcht/esp32_uart_board_fix
boards/esp32: UART configuration fix
2019-01-08 17:55:38 +01:00
3a5c9cb921 boards/nucleo-f207zg: configure and use DMA 2019-01-08 09:32:18 +01:00
abc97c2a1e boards/nucleo-l152re: configure and use DMA 2019-01-08 09:32:18 +01:00
294711d9ba boards/nucleo-f767zi: configure and use DMA 2019-01-08 09:32:18 +01:00
0b6bccb543 boards/iotlab-m3: configure and use DMA
Used with UART and SPI peripheral
2019-01-08 09:32:18 +01:00
9ecf12119f boards/b-l475e-iot01a: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
08a85fbfdd boards/b-l072z-lrwan1: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
962d81b652 boards/nucleo-f091rc: configure and use DMA 2019-01-08 09:32:18 +01:00
Bas Stottelaar
00e13e5713 boards: slstk3402a: use wtimer by default 2019-01-07 18:51:08 +01:00
Kevin "Bear Puncher" Weiss
605365cae0
Merge pull request #10696 from Derwaan/board/z1_fix-btn0
board/z1: Fix BTN0_PIN
2019-01-07 15:29:45 +01:00
bc5e3e7721
Merge pull request #10213 from kYc0o/pr/stm32l152_add_second_bank
boards/common: change openocd config file for stm32l1x
2019-01-03 13:31:04 +01:00
Kevin "Bear Puncher" Weiss
d9f26dbbe2
Merge pull request #10636 from aabadie/pr/cpu/nrf5x_gpio_common
cpu/nrf5x: move periph_gpio/periph_gpio_irq at an even more common level
2019-01-03 11:37:48 +01:00
Gomez Julien
905855b7c2 board/z1: Fix BTN0_PIN
Set BTN0_PIN to GPIO_PIN(2, 5) in board.h

#10611
2019-01-03 11:35:08 +01:00
Kevin "Bear Puncher" Weiss
2bf29dd99e
Merge pull request #10692 from aabadie/pr/boards/nucleo-f767_i2c
boards/nucleo-f767zi: use common STM32 i2c configuration
2019-01-03 10:17:44 +01:00
Kevin "Bear Puncher" Weiss
fd15cb8f77
Merge pull request #10646 from aabadie/pr/boards/nucleo-f072-i2c
boards/nucleo-f072rb: configure I2C using common stm32 configuration
2019-01-03 09:48:57 +01:00
Kevin "Bear Puncher" Weiss
90b5865692
Merge pull request #10691 from aabadie/pr/boards/stm32_useless_defines
boards/stm32: remove useless empty conf defines
2019-01-02 17:00:30 +01:00
c0b1d37d73 boards/nucleo-f072rb: use common i2c configuration 2019-01-02 16:08:56 +01:00
402f02d471 boards/nucleo-f767zi: use STM32 common i2c config 2019-01-02 16:06:34 +01:00
9a69c9bbc5 boards/stm32: remove useless empty conf defines 2019-01-02 14:52:38 +01:00
3eba44a660 boards/nucleo-f0207zg: use common clock and i2c configuration 2019-01-02 14:29:26 +01:00
24bc5ae254 boards/nucleo-f0xx: use common i2c configuration 2019-01-02 14:23:46 +01:00
541fc7f93f boards/stm32: add f2 common clock configuration 2019-01-02 14:23:46 +01:00
Kevin "Bear Puncher" Weiss
02ec3845de
Merge pull request #9728 from aabadie/pr/boards/stm32_common_i2c
boards: factorize some nucleo f4/f7/l4 i2c configuration
2019-01-02 14:05:32 +01:00
536e4a55a8 boards/nucleo-l496zg: provide and configure i2c 2019-01-02 11:27:42 +01:00
ed6dcfe872 boards/nucleo-f746zg: provide and configure i2c 2019-01-02 11:27:25 +01:00
4fd4ce4c54 boards/nucleo-f722/l476: use common i2c configuration 2019-01-02 11:26:54 +01:00
f8d8ddb1ef boards/stm32: adapt common i2c config to f7 and l4 2019-01-02 11:25:32 +01:00
b81941f953 boards/nucleo-f4**: use common clock and I2c configuration 2019-01-02 10:30:13 +01:00
08608c350c boards/stm32: add common I2C configuration
This configuration provides 1 I2C using I2C1 on PB8 and PB9, which is very common for STMs
2019-01-02 10:30:13 +01:00
11da5036fb boards/stm32: add new common clock configurations 2019-01-02 10:30:13 +01:00
824201b9ea boards/nucleo-l433rc: add I2C configuration 2019-01-02 10:19:46 +01:00
973a6a4c93 boards/stm32: remove unnecessary ADC defines in board config 2019-01-02 09:15:22 +01:00
Martine Lenders
b0f64dbb98
Merge pull request #9847 from aabadie/pr/tools/pyocd
dist/tools: add support for PyOCD programmer/debugger
2018-12-28 12:09:51 +01:00
f682476c87 boards/nucleo-l496zg: adapt conf to lpuart driver
Co-authored-by: Vincent Dupont <vincent@otakeys.com>
2018-12-27 14:16:05 +01:00
d2a07f0494 boards/nrf51dk: add pyocd in supported programmers 2018-12-21 14:56:26 +01:00
77c9f783bd boards/microbit: add pyocd in supported programmers 2018-12-21 14:56:26 +01:00
Dylan Laduranty
63e71cbbde
Merge pull request #10314 from fedepell/saml21-xpro_arduino
boards/saml21-xpro: add Arduino API support for saml21-xpro board
2018-12-20 14:03:19 +01:00
Federico Pellegrin
dc8c84f7eb boards/saml21-xpro: add Arduino API support for saml21-xpro board 2018-12-20 12:41:40 +01:00