Schorcht
16f0bf4fdc
cpu/esp32: fixes compile problems
2018-11-10 14:14:49 +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
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