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

3126 Commits

Author SHA1 Message Date
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