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

3043 Commits

Author SHA1 Message Date
MrKevinWeiss
7c9ef1e9e0 boards/stm32l0: Fix openocd to prevent flash locking
This commit add the connect_assert_srst which requires the SRST to be asserted before trying to connect.
Certain firmwares will cause it to get to a state where flashing fails and the reset button must be pushed at the correct time to recover.
2018-11-30 10:07:18 +01:00
Kevin "Bear Puncher" Weiss
153759b926
Merge pull request #10498 from smlng/pr/adapt/7542
atmega: add periph_pwm (taken from #7542)
2018-11-29 15:54:51 +01:00
a7fa9e5580
Merge pull request #10478 from gebart/frdm/openocd-default-new
frdm: Use configuration for OpenOCD 0.10.0 or newer by default
2018-11-29 15:05:50 +01:00
Kevin "Bear Puncher" Weiss
46bdbb6535
Merge pull request #10484 from smlng/pr/atmega/timer
atmega: fix periph timer configuration
2018-11-29 14:28:23 +01:00
Joakim Nohlgård
26d782533c frdm: Use configuration for OpenOCD 0.10.0 or newer by default
Update your environment variables if you are running an older Debian or
Ubuntu release and use the distribution provided OpenOCD packages.
2018-11-29 14:23:49 +01:00
smlng
262a04c9cf atmega: fix periph timer configuration
- correct number of timers for atmega328p from 2 to 1
- correct number of timer channels for atmega328p from 3 to 2
- adapt atmega periph timer implementation accordingly
2018-11-29 09:30:44 +01:00
Victor Arino
8ff8aefb72 boards/arduino-atmega-common: support for PWM 2018-11-29 08:50:56 +01:00
Martine Lenders
4b06d64778
Merge pull request #10454 from jcarrano/msba2-fix-port
boards/msba2: Do not set PORT.
2018-11-28 16:43:23 +01:00
Juan Carrano
c4ccaecda5 boards/msba2: Do not set PORT.
Boards should not set PORT and should not have code conditional on
PORT as that causes PORT to be evaluated and the build to fail even
if this varible is not needed.

Exporting has the same effect.

This fixes the MSBA2 board by declaring PORT_LINUX and PORT_DARWIN
instead.
2018-11-28 15:46:53 +01:00
7078acfadf
Merge pull request #10423 from gebart/frdm-k64f/btn-macros
frdm-k64f: Define BTNx macros for user pushbuttons
2018-11-28 11:39:36 +01:00
Joakim Nohlgård
2b0892996e frdm-k64f: Define BTNx macros for user pushbuttons 2018-11-28 10:43:36 +01:00
Hauke Petersen
d8cfe1f470
Merge pull request #10476 from aabadie/pr/boards/nrf51_no_adc
boards/nrf51: remove ADC_NUMOF define when not needed
2018-11-28 09:48:37 +01:00
Juan I Carrano
bac432781c
Merge pull request #10471 from cladmi/pr/flash_sh/use_binfile
boards/flash.sh: rename HEXFILE to BINFILE
2018-11-27 17:56:27 +01:00
Juan I Carrano
0294a38429
Merge pull request #10472 from cladmi/pr/board/remote/common/fix_jlink_flasher
boards/common/remote: fix mis-migrated path for flash/reset
2018-11-27 15:19:09 +01:00
91e3215ce2 boards/nrf51: remove ADC_NUMOF define when not needed 2018-11-27 08:41:00 +01:00
Gaëtan Harter
1c12cb31e9
opencm904/flash: get arguments from cli 2018-11-26 17:28:36 +01:00
Gaëtan Harter
4ef7511b7e
microbit/flash: get BINFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
8b2ff285be
mbed_lpc1768/flash: get BINFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
44da86f2ee
calliope-mini/flash: get HEXFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
214f971174
boards/common/remote: fix mis-migrated path for flash/reset
The path to flash/reset/debug was not migrated correctly when moving to
`remote-common` (even before `common/remote`).
2018-11-26 17:01:02 +01:00
cladmi
52b0b183a3
boards/flash.sh: rename HEXFILE to BINFILE
Flasher are doing 'loadbin' so use BINFILE name.
2018-11-26 16:39:11 +01:00
Marian Buschsieweke
2b7a63b9b5
boards/common/stm32f103c8: Fixed I2C configuration
In commit e90f2b439e the I2C config has been
adapted to the new I2C API. However, the pins of I2C_DEV(0) have been changed
from PB6 and PB7 to PB8 and PB9. While PB8 and PB9 also can be used for I2C1
by remapping I2C1, this is not done. As a result, I2C1 was unusable. This
commit restores the default I2C1 pins for I2C_DEV(0), resulting in I2C_DEV(0)
becoming usable again.
2018-11-26 13:12:36 +01:00
430c50bcec boards/yunjia-nrf51822: use common clock config 2018-11-26 11:25:04 +01:00
4805fcc0a8 boards/microbit: use common clock config 2018-11-26 11:23:22 +01:00
a248a0aa51 boards/calliope-mini: use common clock config 2018-11-26 11:23:22 +01:00
ee2a5a3448 boards/nf6310: use common clock config 2018-11-26 11:23:22 +01:00
4c0dc13040 boards/nf51dongle: use common clock config 2018-11-26 11:23:22 +01:00
bcb23fbed8 boards/airfy-beacon: use common clock config 2018-11-26 11:23:22 +01:00
b1de432cd2 boards/common/nrf51: add common clock configuration 2018-11-26 11:23:22 +01:00
Hauke Petersen
ac50b4a052
Merge pull request #10243 from aabadie/pr/board/common_nrf51
boards/common: add common place for nrf51 based boards
2018-11-26 10:07:31 +01:00
Kevin "Bear Puncher" Weiss
c699eef9cb
Merge pull request #10424 from gebart/frdm-k22f/btn-macros
frdm-k22f: Define BTNx macros for user pushbuttons
2018-11-23 13:49:57 +01:00
059af13933
Merge pull request #10306 from aabadie/pr/drivers/mma8x5x_update
drivers/mma8x5x: remove useless type from initialization parameters
2018-11-22 10:18:43 +01:00
MichelRottleuthner
1be4d15a4e
Merge pull request #10390 from PeterKietzmann/pr_mega2560_puf_seed
cpu/atmega_common: add mega2560 puf_sram feature
2018-11-22 09:57:19 +01:00
Leandro Lanzieri
b2b7a54470
Merge pull request #10449 from smlng/pr/lorabox/gpio_irq
boards: add feature periph_gpio_irq to lobaro-lorabox
2018-11-22 08:07:07 +01:00
Sebastian Meiling
5b118df6b1 boards: add feature periph_gpio_irq to lobaro-lorabox 2018-11-21 17:35:49 +01:00
Juan I Carrano
68d68d18b4
Merge pull request #10362 from gschorcht/esp32_compile_fix
cpu/esp32: fixes compile problems
2018-11-21 14:18:15 +01:00
5436f84449 boards/microbit: auto include mma8653 driver with saul 2018-11-20 10:42:14 +01:00
b089b9076f boards/microbit: remove useless MMA8X5X_TYPE param 2018-11-20 10:42:14 +01:00
PeterKietzmann
8d11ca417f cpu/atmega_common: add mega2560 puf_sram feature 2018-11-20 09:45:32 +01:00
d15f287312
Merge pull request #10414 from gebart/frdm-kw41z/btn-macros
frdm-kw41z: Define BTNx macros for user pushbuttons
2018-11-19 16:14:05 +01:00
Joakim Nohlgård
126f232cc6
Merge pull request #10394 from aabadie/pr/boards/frdm-kw41z-update-i2c
boards/frdm-kw41z: update i2c configuration
2018-11-19 08:17:50 +01:00
Joakim Nohlgård
e1a4f7d7b9 frdm-k22f: Define BTNx macros for user pushbuttons 2018-11-17 21:52:47 +01:00
Joakim Nohlgård
9e9a01bc19 frdm-kw41z: Use SAUL_GPIO_INVERT on SW3, SW4 inputs
with this flag set, reading 1 means that the button is being pressed.
2018-11-16 13:23:08 +01:00
Joakim Nohlgård
38f8cc2284 frdm-kw41z: Define BTNx macros for user pushbuttons 2018-11-16 13:17:40 +01:00
e47e996b0e boards/frdm-kw41z: autoload fxos8700 with saul_default 2018-11-15 21:23:08 +01:00
fb5aed464f boards/frdm-kw41z: update i2c configuration
Remove first I2C that is not reachable from the pinout and is not connected to anything. Move I2C1 as the first I2C device.
Update FXOS8700 I2C device in board configuration
2018-11-15 08:57:20 +01:00
Schorcht
16f0bf4fdc cpu/esp32: fixes compile problems 2018-11-10 14:14:49 +01:00
Federico Pellegrin
994999132a boards/common/silabs: add Arduino API support for SiLabs boards 2018-11-08 17:03:19 +01:00
Peter Kietzmann
411b12b40f
Merge pull request #10232 from Josar/patch-2
Update Jiminy doc.txt
2018-11-06 18:53:06 +01:00
Josar
834bb94987 boards/jiminy-256rfr2: Fuse, Troubleshooting
Added explanation for fuse settings.
Brown-out when 1.8V is set as system voltage.
Power increase in deep sleep when ext. xtal as system clock.
2018-11-06 17:13:26 +01:00
880b3319db
Merge pull request #10323 from maribu/stm32f103c8_rom_hack
boards: Enable STM32F103C8 ROM hack via env var
2018-11-06 14:41:06 +01:00
Marian Buschsieweke
82ea9a02de
boards: Enable STM32F103C8 flash hack via env var
The STM32F103C8 secretly comes with 128KiB flash instead of 64KiB. Still, only
64KiB of it are tested and guaranteed to work. However, most of the times the
whole 128KiB flash works just fine. In the BluePill documentation this fact is
already documented and by using

    $ make BOARD=bluepill CPU_MODEL=stm32f103cb

the whole 128 KiB can be used by RIOT. When using this hack routinely, it easier
to use environment variables instead. But allowing to overwrite CPU_MODEL via
environment variables seems to be a bad thing, as it is easy to forget to clear
that environment variable when changing the BOARD variable.

This commit introduces the new STM32F103C8_FLASH_HACK variable, which unlocks
the 128KiB FLASH when set to "1". The BluePill documentation has been updated
accordingly.
2018-11-05 14:19:21 +01:00
Marian Buschsieweke
6189f9b400
boards/msba2: Added call to periph_init 2018-11-05 13:54:04 +01:00
Francisco Acosta
73f6328137 jiminy-mega256rfr2: add BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR
This variable helps to inform at boot time that some
information about the booting process, e.g. reset cause.
2018-11-02 16:39:15 +01:00
Francisco Acosta
956ae521dc boards: add atmega based boards clock scale defaults
The `atmega_set_prescaler` was using a "sensible" default
but it's better to define it at the board level to make
it clear.
2018-11-02 16:24:30 +01:00
Francisco Acosta
5823f69123 boards: add LED_PANIC to atmega based boards
This adds a LED_PANIC macro which defines which LED,
or combination of LEDs should notify a panic error.
This is currently used to signal BADISR_vect errors.
2018-11-02 16:23:48 +01:00
Jens Alfke
ce1fe776cf cpu/esp32: allow explicit ESP32 crystal freq configuration
Some ESP32 boards (like my SparkFun ESP32 Thing) have a main clock
crystal that runs at 26MHz, not 40MHz. RIOT appears to assume 40MHz.
The mismatch causes the UART to not sync properly, resulting in
garbage written to the terminal instead of log output.

I’ve added:

* A new board configuration constant ESP32_XTAL_FREQ that defaults
  to 40, but can be overridden by a board def or at build time to
  force a specific value (i.e. 26).
* Some code spliced into system_clk_init() to check this constant and
  call rtc_clk_init() to set the correct frequency.
* A copy of the rtf_clk_init() function from the ESP-IDF sources.

Fixes #10272
2018-10-30 16:42:07 -07:00
b3b0cd921a boards/calliope-mini: factorize common code 2018-10-27 09:47:42 +02:00
59b3252888 boards/microbit: add possibility to flash with openocd 2018-10-27 09:47:42 +02:00
871d72ffb4 boards/nrf6310: factorize common code 2018-10-27 09:47:42 +02:00
5e8c92d69c boards/nrf51dongle: factorize common code 2018-10-27 09:47:42 +02:00
a4463be1e3 boards/microbit: factorize common code 2018-10-27 09:47:42 +02:00
a1d65583cb boards/yunjia-nrf51822: factorize common code 2018-10-27 09:47:42 +02:00
0842eb56ce boards/airfy-beacon: factorize common code 2018-10-27 09:47:42 +02:00
84cdab8c0b boards/common/nrf51: introduce common location 2018-10-27 09:47:42 +02:00
Francisco Acosta
974f28fc4c boards/nucleo-l152re: use its own openocd config file
The nucleo-l152re is the only stm32l1x supported board with
two flash banks according to openocd config. Thus, adding
the right config file makes the whole flash available.
2018-10-26 16:50:12 +02:00
f139dfdad2
Merge pull request #10266 from aabadie/pr/typo_freie
boards/*: fix typo Feie => Freie
2018-10-26 11:32:36 +02:00
2ebd88d0c4 boards/*: fix typo Feie => Freie 2018-10-26 10:26:59 +02:00
MichelRottleuthner
da0f722a1c
Merge pull request #10245 from MichelRottleuthner/pr_l476rg_add_i2c_config
boards/nucleo-l476rg: add I2C configuration
2018-10-25 14:02:50 +02:00
Michel Rottleuthner
2bbc9be47a boards/nucleo-l476rg: add I2C configuration 2018-10-25 09:45:17 +02:00
José Alamos
6f9838f14a
Merge pull request #9881 from basilfx/feature/slstk3401a_docs
boards: slstk3401a: add docs
2018-10-24 12:55:53 +02:00
Juan I Carrano
4d85bcf510
Merge pull request #10062 from cladmi/pr/make/cpu/fe310/features
cpu/fe310: rtc depend on the rtt feature and hifive1 update
2018-10-23 13:28:17 +02:00
José Alamos
27f61a2ca6
Merge pull request #10207 from PeterKietzmann/pr_move_jiminy_doc
doc/boards: move jiminy from wiki to RIOT repo
2018-10-19 16:44:24 +02:00
PeterKietzmann
ecb5972a2a doc/boards: move jiminy from wiki to RIOT repo 2018-10-19 15:44:36 +02:00
3ee51bf059 boards/wsn430*: fix doxygen grouping 2018-10-18 17:41:22 +02:00
smlng
3f938123d5 lorabox: add port to flasher parameters
This adds the port parameter to the stm32loader flash script. This was
necessary to allow flashing on macOS X where the default port is not
autodetected correctly and needs to be specified, e.g. by running:

    BOARD=lobaro-lorabox PORT=/dev/tty.SLAB_USBtoUART \
    make -C examples/lorawan flash term`
2018-10-17 16:07:00 +02:00
Kevin "Bear Puncher" Weiss
7187bbf8cf
Merge pull request #9426 from gschorcht/esp32
ESP32 port
2018-10-16 15:24:25 +02:00
dfe03562a8
Merge pull request #7401 from dailab/Firefly
boards: add Zolertia Firefly board
2018-10-16 10:28:48 +02:00
Gunar Schorcht
dc6b193e2a boards/esp32: fix of Arduino pinmap 2018-10-15 16:09:13 +02:00
Sebastian Meiling
6c847b8258
Merge pull request #9945 from Teufelchen1/bluepill-uart
Adding additional information about the default uart configuration to the bluepill docs
2018-10-15 12:00:28 +02:00
Sebastian Meiling
2b67078896
Merge pull request #10141 from MrKevinWeiss/pr/remoteb/docupdate
boards/remote-revb: Update broken link in readme
2018-10-15 11:24:31 +02:00
Gunar Schorcht
eb350292fb boards/esp32-wrover-kit: change default PORT_LINUX
Changes the default port on LINUX systems to /dev/ttyUSB1. /dev/ttyUSB0 is the JTAG interface for OCD.
2018-10-15 11:14:52 +02:00
MrKevinWeiss
cfebd7b4a2 boards/remote*: Update broken link in readme 2018-10-12 15:55:04 +02:00
Kevin "Bear Puncher" Weiss
0719442ddc
Merge pull request #10072 from haukepetersen/fix_nrf52xxxdk_resetpin
boards/nrf52xxxdk: make reset pin work
2018-10-12 09:36:30 +02:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Schorcht
8e0d69c807 cpu/esp32: define ARDUINO_PIN_* 2018-10-11 09:33:43 +02:00
Schorcht
be78bb3a4d boards: add esp32-wrover-kit 2018-10-08 12:20:49 +02:00
Schorcht
6226b5dddd boards: add esp32-wroom-32 2018-10-08 12:20:49 +02:00
Schorcht
692d6725e2 boards: add esp32-wemos-lolin-d32-pro 2018-10-08 12:20:49 +02:00
Schorcht
d3444e2631 boards: add esp32-olimex-evb 2018-10-08 12:20:49 +02:00
Schorcht
c11a36ec6c boards: add esp32-mh-et-live-minikit 2018-10-08 12:20:49 +02:00
Schorcht
6ed5e0565b boards: add common esp32 based sources 2018-10-08 12:20:49 +02:00
danpetry
8e1ffd5176 Add limitations to doc.txt.
This describes the limitations of the interrupt pin being multiplexed.

Fixup: add details of specific pins
2018-10-05 13:29:12 +02:00
Anon Mall
f6f6f2fbf0 boards/firefly: add initial support 2018-10-04 17:23:42 +02:00
Vincent Dupont
0cbef09575 native: use gnu99 by default 2018-10-04 08:48:43 +02:00
4df9e059ae boards/samr30-xpro: add initial board support
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:20:41 +02:00
Sebastian Meiling
dc8653363c
Merge pull request #10063 from cladmi/pr/hifive1/use_fe310_features
boards/hifive1: include cpu/fe310 features
2018-10-01 08:38:50 +02:00
Hauke Petersen
19d0da08f9 boards/nrf52xdk: add doc for reset pin config 2018-09-28 16:58:38 +02:00
cladmi
1c89d23e5b
boards/hifive1: include cpu/fe310 features
The board should process its CPU features.
This has the consequence to make 'periph_pm' visible to the board.

I also removed the duplicate FEATURES_PROVIDED from the board defined in
the cpu.
2018-09-27 18:24:51 +02:00
cladmi
635691199a
boards/hifive1: remove erroneous features parsing
Remove duplicate handling of `periph_rtc` dependency to `periph_rtt` now
declared in the cpu.

Also the makefiles should not parse FEATURES_REQUIRED as it does not
guarantee anything as features could also be requested by FEATURES_OPTIONAL.
In practice it should parse it using `USEMODULE`.
2018-09-27 18:11:18 +02:00
cladmi
dc7726df66
board/mips-malta: include the cpu features instead of common cpu
This change was missed when the cpu 'mips32r2_generic' was separated
from 'mips32r2_common'. The target file already includes 'mips32r2_common'.
2018-09-27 17:49:49 +02:00
MrKevinWeiss
3360ec1c11 boards/openmote-b: Fix RF_SWITCH_* logic to active low
RF_SWITCH_2_4_GHZ_ON should turn PD4 low not high to active the 2.4 GHz radio.
The same goes for RF_SWITCH_SUB_GHZ_ON on PD3.
2018-09-27 08:13:08 +02:00
Joakim Nohlgård
7a857a939c
Merge pull request #9807 from gebart/pr/kinetis-adc-average
kinetis: ADC: Add hardware averaging configuration
2018-09-26 12:54:29 +02:00
Bennet Blischke
a4b1e1c367 Adding default uart configuration to bluepill docs
truncated the lines to fit into a 80 character limit
2018-09-23 16:40:33 +02:00
Peter Kietzmann
b0ff74bac2
Merge pull request #9951 from leandrolanzieri/pr/sensebox_adc
boards/sensebox_samd21: Add ADC configuration
2018-09-20 18:27:21 +02:00
Leandro Lanzieri
a5cc36ed32 boards/sensebox_samd21: Add ADC support
boards/sensebox_samd21: Modify ADC documentation
2018-09-20 17:49:32 +02:00
Peter Kietzmann
e1f4d8a76f
Merge pull request #9954 from leandrolanzieri/pr/sensebox_bmp280
boards/sensebox_samd21: Add BMP280 I2C address
2018-09-20 17:32:14 +02:00
Hauke Petersen
c7e6d15990
Merge pull request #9976 from haukepetersen/fix_native_gpioirqfeatureremove
native: remove feature `periph_gpio_irq`
2018-09-20 15:18:21 +02:00
Hauke Petersen
0298cda5d4 boards/native: remove feature periph_gpio_irq
As it is not implemented in the first place.
2018-09-20 14:51:19 +02:00
Hauke Petersen
85d31a2217 boards/pic32-based: rm missing gpio_irq feature 2018-09-20 14:50:32 +02:00
Silke Hofstra
ee82d4fbfe boards, examples, tests: rename stm32mindev to blackpill 2018-09-19 16:22:14 +02:00
1022050dc7
Merge pull request #9923 from cladmi/pr/cleanup/duplicate_includes
boards/cpu: cleanup duplicate includes
2018-09-19 16:08:37 +02:00
Francisco Acosta
3721f193d0
Merge pull request #9816 from leandrolanzieri/lobaro_port
boards/lobaro-lorabox: Add support for Lobaro LoraBox board
2018-09-18 19:35:59 +02:00
Bas Stottelaar
483ee31e46
Merge pull request #9879 from basilfx/feature/efm32_dcdc_off
cpu: efm32: add support for no DC-DC converter
2018-09-18 19:16:26 +02:00
Leandro Lanzieri
177ef5bfa9 boards/lobaro-lorabox: Add initial support for Lobaro Lorabox board 2018-09-18 18:07:07 +02:00
Leandro Lanzieri
55047da195 boards/sensebox_samd21: Add BMP280 I2C address 2018-09-18 14:48:44 +02:00
Leandro Lanzieri
5cc7b6711f drivers/sx127x: add preliminar multi interrupt pin support
drivers/sx127x: add option to use or not multi dio
2018-09-18 14:02:31 +02:00
Bas Stottelaar
e12d4e8a2f boards: sltb001a: throw error on EMU_DCDCINIT_OFF 2018-09-17 19:36:56 +02:00
Bas Stottelaar
333ae1ee2b boards: slstk3401a: throw error on EMU_DCDCINIT_OFF 2018-09-17 19:36:45 +02:00
Joakim Nohlgård
dd2fad6b9b kinetis: ADC: Add hardware averaging configuration
This allows a board configuration to select which kind of averaging
should be applied to the pin instead of always using 32 sample average.
Very high impedance sources may need to disable hardware averaging in
order to give correct values, the on-chip temperature sensor is one such
signal source.
2018-09-12 16:32:48 +02:00
cladmi
6fc8fae2c8
boards/Makefile.include: remove duplicate includes
Includes of $(CPU)/include and $(BOARD)/include and already added in the
main Makefile.include.

Verification:

There are no common headers names between boards and cpus.
Except native that has a 'periph_conf.h' in cpu instead of being in board.
2018-09-11 16:28:18 +02:00
cladmi
99a0664bf7
pba-d-01-kw2x: remove duplicate MCPU
MCPU is already defined to `CPU_ARCH` which is `cortex-m4`.
Removing this line does not change the value:

    make --no-print-directory -C examples/hello-world/ BOARD=pba-d-01-kw2x \
        info-debug-variable-CPU_ARCH info-debug-variable-MCPU
    cortex-m4
    cortex-m4
2018-09-11 15:38:27 +02:00
Andreas "Paul" Pauli
dc6eb82406
Merge pull request #9722 from smlng/pr/cc2538/adc
cpu/cc2538: enhance periph ADC
2018-09-06 14:12:03 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
3bf71959d7
waspmote-pro: configure BOOTLOADER_SIZE
Size is from Francisco knowledge on stk500v1.
2018-09-05 12:20:51 +02:00
cladmi
109467d881
mega-xplained: configure BOOTLOADER_SIZE
Value found by checking fuse settings
2018-09-05 12:20:49 +02:00
cladmi
f59c1c5c2d
jiminy-mega256rfr2: configure BOOTLOADER_SIZE
Value comes the maintainer.
2018-09-05 12:20:46 +02:00
cladmi
8982a08886
arduino-uno: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-uno-rev3
2018-09-05 12:20:43 +02:00
cladmi
6a96042b4a
arduino-mega2560: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-mega-2560-rev3
2018-09-05 12:20:41 +02:00
cladmi
2c1344fc9f
arduino-duemilanove: configure BOOTLOADER_SIZE
Taken from https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove
2018-09-05 12:20:38 +02:00
José Alamos
17b14cd8a0
Merge pull request #9883 from leandrolanzieri/pr/sensebox_sx127x_pa
boards/sensebox_samd21: Use PA_BOOST option on SX127X radios
2018-09-05 10:42:18 +02:00
Schorcht
fa213ddd86 boards: add esp8266-sparkfun-thing 2018-09-05 02:39:50 +02:00
Schorcht
081a8e8921 boards: add esp8266-olimex-mod 2018-09-05 02:39:50 +02:00
Schorcht
eca7169696 boards: add esp8266-esp-12x 2018-09-05 02:39:50 +02:00
Schorcht
bc1906ef42 boards: add common esp8266 based sources 2018-09-05 02:39:50 +02:00
Leandro Lanzieri
9fd10fdad7 boards/sensebox_samd21: Use PA_BOOST for SX127X radios 2018-09-03 14:02:43 +02:00
smlng
d40cfab95a cpu/cc2538: enhance periph ADC
Adapt the periph ADC implementation to use vendor defines where
    ever possible. Remove duplicate or obsolete defines and adapt
    board configuration as required.
2018-09-03 09:01:42 +02:00
Bas Stottelaar
3139c9955f boards: slstk3401a: add docs 2018-09-02 22:23:08 +02:00
Bas Stottelaar
6ae49aa649 boards: sltb001a: add docs 2018-09-02 22:22:17 +02:00
Peter Kietzmann
daf2532c7d
Merge pull request #9760 from MrKevinWeiss/pr/bluepill/openocdfix
boards/stm32f103c8: fix openocd config
2018-08-30 09:24:58 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
José Alamos
ed14e806c3
Merge pull request #9791 from basilfx/feature/slstk3402a_docs
boards: slstk3402a: add docs
2018-08-28 11:52:35 +02:00
Francisco Acosta
185c5a53db
Merge pull request #9801 from gebart/pr/frdm-kw41z-adc-config
frdm-kw41z: Clean up ADC configuration
2018-08-27 19:45:32 +02:00
Peter Kietzmann
bc667ec3e0
Merge pull request #9817 from leandrolanzieri/pr/sensebox_fixdoc
boards/sensebox_samd21: Fix documentation
2018-08-23 08:40:30 +02:00
Leandro Lanzieri
0bfb01b7b9 boards/sensebox_samd21: Fix documentation 2018-08-22 14:41:59 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
Semjon Kerner
c0ee92e776 boards/nrf52dk: add PWM configuration 2018-08-21 11:28:23 +02:00
Joakim Nohlgård
504db007db frdm-kw41z: Clean up ADC configuration
Reorder ADC lines to put the external connections first in the list.
Remove VREFH, VREFL signals. Add single ended reading of ADC0_DP
2018-08-20 15:17:58 +02:00
Peter Kietzmann
3b0b95567c
Merge pull request #9780 from maribu/nucleo-64-spi
boards: Extended/fixed SPI config for STM32 Nucleo-64 boards
2018-08-20 09:39:55 +02:00
Peter Kietzmann
064485519f
Merge pull request #9406 from beduino-project/phywave-openocd-upstream
boards/pba-d-01-kw2x: use OpenOCD-supplied config
2018-08-17 11:23:53 +02:00
Kevin Weiss
3673c55394
Merge pull request #9779 from maribu/nucleo-64-uart
boards: Harmonized UART config of Nucleo-64 boards
2018-08-17 08:13:12 +02:00
Bas Stottelaar
11bce76c9c boards: slstk3402a: add docs 2018-08-16 21:37:51 +02:00
smlng
1f3ce773d7 boards/stm32f103c8: add docu on flashing with DFU 2018-08-15 15:00:13 +02:00
smlng
9b23863804 boards/stm32f103c8: update dfu-util flash flags
The latest bootloader has new usb device id and needs different
parameters to flash a RIOT image using `dfu-util`.
2018-08-15 14:45:06 +02:00
Marian Buschsieweke
5a3326350b
boards: Harmonized UART config of Nucleo-64 boards
- nucleo-f334r8:
  - Added USART1 and USART3 config
- nucleo-f401re:
  - Changed order of UARTs to match the other boards
- nucleo-f410rb:
  - Added USART6 configuration
  - Fixed incorrect DMA settings (according to reference manual of the MCU)
- nucleo-f446re:
  - Changed order of UARTs to match the other boards
- nucleo-l152re:
  - Changed order of UARTs to match the other boards

The result of this harmonization is, that the first UART is always USART2, the
other USARTs are added in ascending order.
2018-08-15 12:51:41 +02:00
Marian Buschsieweke
41e73396e0
boards/nucleo-f303re: Fixed/extended SPI conf 2018-08-15 12:03:32 +02:00
Marian Buschsieweke
171a8bfe27
boards/nucleo-f072rb: Added SPI2 config 2018-08-15 11:58:19 +02:00
Marian Buschsieweke
a8b980abfb
board/nucleo-f030r8: Added SPI config 2018-08-15 10:52:17 +02:00
José Alamos
a697689c4c
Merge pull request #9729 from leandrolanzieri/pr/sensebox
boards/sensebox: Add support for SenseBox board
2018-08-15 10:04:57 +02:00
Francisco Acosta
3f5564b212
Merge pull request #9764 from gebart/pr/frdm-k64f-saul-adc
frdm-k64f: Add SAUL ADC configuration
2018-08-14 19:19:38 +02:00
Francisco Acosta
f74a1df875
Merge pull request #9763 from gebart/pr/frdm-k64f-adc
frdm-k64f: Update ADC configuration
2018-08-14 19:18:33 +02:00
Francisco Acosta
0c14681a3e
Merge pull request #9710 from basilfx/feature/slstk3402a_i2c
boards: slstk3402a: add i2c
2018-08-14 12:34:36 +02:00
Jose Alamos
d54a74736d boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
Joakim Nohlgård
8487710173 frdm-k64f: Add ADC SAUL configuration 2018-08-11 06:38:23 +02:00
MrKevinWeiss
5fa366fc59 boards/stm32f103c8: Remove lines from openocd.cfg handled my makefile 2018-08-10 16:59:57 +02:00
Joakim Nohlgård
45edfa43bf frdm-k64f: Add configuration for dedicated analog pins
These pins have no alternate function in the pin mux so we might as well
make them available to applications. These pins are the only pins which
provide differential analog input pairs on this board.
2018-08-10 16:27:06 +02:00
Joakim Nohlgård
9d720877d3 frdm-k64f: Change ADC config to use the Arduino compatible pins 2018-08-10 16:25:35 +02:00
Joakim Nohlgård
da5a57e72d frdm-k64f: Correct and format ADC pin configuration
Only ADC1 has a connection with the configured pins, the chosen channels
on ADC0 are connected to other pins.
2018-08-10 16:23:59 +02:00
MrKevinWeiss
2bf16a5555 boards/stm32f103c8: fix openocd config
When flashing multiple times the flasher gets stuck.
Default configuration is used that fixes running mulitple tests.
-c 'reset halt' is needed to support debug after config is changed.
2018-08-10 14:41:35 +02:00
4d141d4885 boards/frdm-kw41z: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:25 +02:00
1ffe438488 boards/jiminy-mega256rfr2: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:17 +02:00
5eb3cb0120 boards/native: cleanup documentation
Display brief description instead of link to the wiki
2018-08-10 13:54:17 +02:00
172942ce8c boards/common: cleanup documentation
Display brief description instead of copyright
2018-08-10 13:54:17 +02:00
0ee7bd2f90 boards/*: cleanup arduino-due and udoo doc
- display brief description instead of copyright
- add a reference to the 'real' documentation, otherwise it's empty
2018-08-10 13:54:17 +02:00
smlng
e246c19fe1 cpu/cc2538: adapt periph/spi to gpio API
Rework SPI periph driver to use proper RIOT GPIO API functions.
    Also cleanup header files by using vendor defines and remove
    obsolete code. Further, adapt board config accordingly.
2018-08-10 10:38:51 +02:00
Vincent Dupont
0e48bd0d93
Merge pull request #9716 from aabadie/b-l475e-iot01-sensors
boards/b-l475e-iot01a: configure second I2C and on-board sensors (lis3mdl, lsm6dsl and hts221)
2018-08-08 12:13:00 +02:00
Vincent Dupont
ed27927f76 boards/nucleo-f091: add i2c configuration 2018-08-07 14:46:57 +02:00
Kevin Weiss
1bbd7fcd62
Merge pull request #9724 from smlng/pr/cc2538/spi_clk
cpu/cc2538: generalise SPI clock configuration
2018-08-07 14:33:05 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
smlng
459f7ebce0 cpu/cc2538: generalise SPI clock configuration
The SPI bus frequency/clock is calculated relative to the MCUs
    core clock. Currently all boards use the default 32MHz, hence
    prescaler settings for SPI are all the same. This PR moves the
    default config for 32MHz to the CPU and allows to be overriden
    by board config if needed.
2018-08-07 12:15:45 +02:00
ab26a1bf79 boards/nucleo-f070rb: add missing periph_i2c feature 2018-08-07 11:26:57 +02:00
Kees Bakker
a10bec6874 boards/sodaq-one: add support for SODAQ ONE
The following features were tested (briefly):
* UART (the first)
* xtimer is working (it's the same code as in samr21)
2018-08-07 11:06:14 +02:00
Kevin Weiss
a48b8e741b boards/openmote-b: Add board support 2018-08-07 10:32:03 +02:00
ad34cb311a boards/b-l475e-iot01a: configure on-board sensors
HTS221, LIS3MDL and LSM6DSL
2018-08-06 11:30:29 +02:00
61a9f791b6 boards/b-l475e-iot01a: configure second I2C
This I2C bus is used by on-board sensors
2018-08-06 10:58:25 +02:00
Bas Stottelaar
809ec68642 boards: slstk3402a: enable saul for on-board Si7021 2018-08-05 15:37:10 +02:00
Bas Stottelaar
9620b45c45 boards: slstk3402a: add i2c support 2018-08-05 15:36:46 +02:00
Jose Alamos
2531487fca boards/periph_conf: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
smlng
530571b50e boards/yunjia-nrf51822: add missing I2C speed config 2018-07-25 15:17:43 +02:00
smlng
813030ddf5 boards/sodaq-explorer: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
75d7bcb26a boards/sodaq-autonomo: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
a6d4ade2c6 boards/samr21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
f727761fa2 boards/saml21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
d698919589 boards/samd21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
4abf93fcc8 boards/feather-m0: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
2a05e5177d boards/acd52832: add missing I2C speed to config 2018-07-25 15:17:43 +02:00
smlng
f16272506c boards/nucleo-f070: drop periph_i2c
This drops the I2C feature for the nucleo-f070. Note: this is
    only temporarily, to get the new I2C API merged into master.
    Hence, will be re-introduces and fixed later on, sorry for any
    inconvenience.
2018-07-25 15:17:43 +02:00
dylad
4276c12be0 board/ublox-c030-u201: add periph_conf to new I2C
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 15:17:43 +02:00
smlng
500c855017 boards/arduino-mkr*: fix order in struct
C++ requires to init struct attributes in order of there definition
        in the respective struct.
2018-07-25 12:01:40 +02:00
smlng
7c2404cd88 boards/arduino-zero: fix order in struct
C++ requires to init struct attributes in order of there definition
    in the respective struct.
2018-07-25 12:01:40 +02:00
dylad
8964f3accc board/limifrog-v1: add missing I2C changes in periph_conf 2018-07-25 12:01:40 +02:00
dylad
365f72acd4 board/nz32-sc151: add missing I2C changes in periph_conf 2018-07-25 12:01:40 +02:00
Bas Stottelaar
0541b5c449 boards: efm32: adapt to new i2c interface. 2018-07-25 12:01:40 +02:00
c26888c9f7 boards: adapt atmega boards with new i2c API 2018-07-25 12:01:39 +02:00
12e282d527 boards/calliope-mini: adapt i2c config 2018-07-25 12:01:39 +02:00
70d9495b6f board/airdy-beacon: adapt i2c config 2018-07-25 12:01:39 +02:00
aab0ecee4f boards/microbit: fix MMA8653 configuration defines 2018-07-25 12:01:39 +02:00
f8f4cb1273 boards/microbit: adapt I2C periph configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
238b4dda2f pba-d-01-kw2x: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
127b0134b2 mulle: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
84ba49f158 frdm-kw41z: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
ecb44c477c frdm-k64f: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
c2583dd225 frdm-k22f: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
2728a56ed8 pba-d-01-kw2x: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
d95cf40d23 mulle: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
695f6fb2b6 frdm-kw41z: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
9e8f5a03d0 frdm-k64f: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
251c4c109e frdm-k22f: Update I2C configuration 2018-07-25 12:01:39 +02:00
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +02:00
e90f2b439e boards*: adapt f1 based boards to new i2c api 2018-07-25 12:01:37 +02:00
2aed31906e boards/nucleo-l152re: use new style for i2c config 2018-07-25 12:01:37 +02:00
4e09a2b6b7 boards*: adapt stm32f4 based board with new i2c conf style 2018-07-25 12:01:37 +02:00
27d2841a60 boards/nucleo-f207zg: use new style for i2c config 2018-07-25 12:01:36 +02:00
2e6a80ce4e boards/nucleo-f722ze provide i2c configuration 2018-07-25 12:01:36 +02:00
d8c51dc373 boards/b-l475e-iot01a: provide i2c configuration 2018-07-25 12:01:36 +02:00
78a918d53a boards/nucleo144-f303: remove useless I2C_NUMOF define 2018-07-25 12:01:36 +02:00
22ff7d7af2 boards/nucleo-f070: add i2c configuration for i2c 2018-07-25 12:01:36 +02:00
634d9f6d68 boards: adapt stm32f3 based boards to new I2C api 2018-07-25 12:01:35 +02:00
c95ee04b23 boards/*: adapt stm32l0 based board to new I2C api 2018-07-25 12:01:35 +02:00
dylad
4ff319b469 nrf52/i2c: adapt to new I2C API 2018-07-25 12:01:34 +02:00
dylad
93558125b5 sam0/i2c: update sam0 based periph_conf
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Francisco Acosta
a0a31120b2
Merge pull request #9429 from kaspar030/some_riscv_fixes
boards/hifive1: add serial terminal config
2018-07-17 14:36:29 +02:00
Peter Kietzmann
f398b5e5ff
Merge pull request #9428 from kYc0o/add_reset_remote
remote: add RESET variable
2018-07-11 10:28:39 +02:00
MichelRottleuthner
392c40e1a0
Merge pull request #8804 from MichelRottleuthner/pr_stm32l4_add_adc
cpu/stm32l4: add adc implementation
2018-07-06 10:31:41 +02:00
Francisco Acosta
2a8c6526e3 boards/common/remote: add RESET variable
For CI HIL purposes a reset is needed before running the test
target. The remote board didn't assign a RESET variable to perform
a reset, so it wasn't possible to call `make test` correctly.
By calling the flash script without arguments, a reset is performed.
2018-07-04 16:13:47 +02:00
Loïc Dauphin
b539ab4142
Merge pull request #9135 from aabadie/pr/board/stm32l476g-disco
boards/stm32l476g-disco: initial basic support
2018-07-04 10:55:00 +02:00
9b5d282f61 boards/stm32l46zg-disco: initial support 2018-07-04 09:58:55 +02:00
ce917269da
Merge pull request #9333 from cladmi/pr/make/fix/stm32f103c8
stm32f103c8: fix Makefile.include INCLUDES definition
2018-07-04 09:56:35 +02:00
Loïc Dauphin
4fcd58acfd
Merge pull request #8868 from aabadie/pr/boards/stm32f429i-disc1
boards/stm32f429i-disc1: add initial support
2018-07-03 17:35:54 +02:00
Gaëtan Harter
d4ca2644a3
boards/iotlab-m3|a8: fix openocd configuration
iotlab-m3 boards always ended up not being able to flash after time.
This changes managed to fix and flash boards that where able to be flashed with
the deprecated `ft2232` driver and not with the `ftdi` driver used in RIOT.

It combines configuration from openocd, iot-lab, RIOT config and Alexandre
Abadie feedback

* http://repo.or.cz/openocd.git/blob/HEAD:/tcl/interface/ftdi/iotlab-usb.cfg
  * ftdi configuration
* https://github.com/iot-lab/iot-lab-gateway/blob/2.4.1/gateway_code/static/iot-lab-m3.cfg
  * `trst_and_srst` config
* Alexandre feedback and http://openocd.org/doc/html/Reset-Configuration.html
  * 'connect_assert_srst' reset configuration
    * it prevents errors in the output on first flash
    * should help on boards with invalid code
    * It was taken from what Alexandre found for board 'b-l072z-lrwan1'
  * It requires using '-c reset halt' instead of '-c halt' before debug
* RIOT
  * Keep the `configure -rtos` auto
2018-07-02 11:00:48 +02:00
Joakim Nohlgård
723d86bab0 boards/mulle: Fix mixed up RX TX pins on UART0 2018-06-30 15:40:27 +02:00
Gaëtan Harter
d055fde171
Merge pull request #8790 from aabadie/pr/openocd_b-l072z-lrwan1
boards/b-l072z-lrwan1: fix openocd configuration and 'make debug'
2018-06-29 18:09:03 +02:00
aa7fad6d40 boards/stm32f429i-disc1: add initial support 2018-06-28 20:48:58 +02:00
4e1f07b895
Merge pull request #8475 from aabadie/pr/common-stlink
boards/stm32: use common place of openocd config files for all boards using stlink
2018-06-28 15:13:48 +02:00
Joakim Nohlgård
95c04efe7c frdm-kw41z: Add FXOS8700CQ configuration 2018-06-27 21:41:14 +02:00
Joakim Nohlgård
8163e285ac frdm-k64f: Add FXOS8700CQ configuration 2018-06-27 21:41:03 +02:00
Joakim Nohlgård
1e395aeee7 frdm-k22f: Add FXOS8700CQ configuration 2018-06-27 21:40:54 +02:00
20407197bc boards/hifive1: add serial terminal config 2018-06-27 15:13:37 +02:00