1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 20:32:44 +01:00
Commit Graph

2916 Commits

Author SHA1 Message Date
Jose Alamos
40d791e898 doc: add documentation for phynode-kw41z board 2018-12-13 10:35:50 +01:00
Jose Alamos
50c7b5c11a boards/phynode-kw41z: add initial support 2018-12-13 10:35:50 +01:00
aa7a8058d8 boards/ruuvitag: also use nrf52 common place 2018-12-13 10:15:42 +01:00
50fb400413 boards/thingy52: also use nrf52 common place 2018-12-13 10:15:42 +01:00
5fd907eb08 boards/nrf52840dk: remove useless provided feature 2018-12-13 10:15:42 +01:00
cd2f18311f boards/nrf52dk: remove useless provided feature 2018-12-13 10:15:42 +01:00
b2f4a7e735 boards/acd52832: also use nrf52 common place 2018-12-13 10:15:42 +01:00
5429c71cd3 boards/nrf52xxdk: use available nrf52 common place 2018-12-13 10:15:42 +01:00
cd206a909c boards/common/nrf52: add common nrf52 place 2018-12-13 10:15:42 +01:00
Leandro Lanzieri
4ce63d00ea
Merge pull request #10280 from fedepell/stk3700_arduino
boards/common/silabs: add Arduino API support for SiLabs boards
2018-12-12 09:51:13 +01:00
104bb525c9 boards/microbit: fix typo in flash script 2018-12-11 11:10:53 +01:00
Juan Carrano
c6b8cbea00 kinetis-based-boards: use FLASHDEPS instead of flash: xxxx.
With the canned recipe for flashing, flash dependencies should be
added to FLASHDEPS, instead of writing `flash: dependencies`. This
ensures that both flash and flash-only depend on the same prerequisites.
2018-12-06 15:36:53 +01:00
MrKevinWeiss
97e84f816c boards/frdm-k22f: Add second UART to config
This PR adds a second uart on two non-conflicting pins.
Since the first UART is used for shell this allows a usable UART.
2018-12-06 14:45:45 +01:00
Leandro Lanzieri
b6abbad6fb
Merge pull request #10553 from aabadie/pr/boards/feature_periph_irq_missing
boards/{firefly,samr30-xpro}: add missing `periph_gpio_irq` provided feature
2018-12-06 13:11:36 +01:00
e9c9fd5133 boards/samr30-xpro: add missing periph_gpio_irq feature 2018-12-05 17:56:57 +01:00
b600a908ec boards/firefly: add missing periph_gpio_irq feature 2018-12-05 17:56:48 +01:00
Gaëtan Harter
0b664453dc
hifive1/flasher.sh: get flash file from cli
Get FLASH_FILE from command line instead of environment variable.

The documentation was claiming ELFFILE was given as a command line argument
already, but is was not.

This is the same change as with `openocd.sh`.
2018-12-05 16:21:03 +01:00
Gaëtan Harter
a0b97ad737
openocd: get flash and debug files from cli
Get FLASH_FILE and ELFFILE from command line instead of environment variable.

The documentation was claiming ELFFILE was given as a command line argument
already, but is was not.
2018-12-05 16:21:03 +01:00
94b7b242b2 boards/nrf51dk: add initial support 2018-12-04 08:37:00 +01:00
8bd839f04d
Merge pull request #10473 from cladmi/pr/make/flash_sh/get_flashfile_from_cli
board/*/flash.sh: get file to flash from command line
2018-12-03 14:20:35 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
ed75f0a2c5 usb-kw41z: improve doc and sort module dependencies 2018-12-02 17:38:35 +01:00
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +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