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

3638 Commits

Author SHA1 Message Date
196cf2d776 boards/arduino-leonardo: fix typos 2019-11-23 22:39:07 +01:00
723707b7fa boards/airfy-beacon: fix typos 2019-11-23 22:39:07 +01:00
benpicco
d244b0fe59
Merge pull request #12787 from gschorcht/cpu/esp32/netdev_default
cpu/esp*: define esp_now as default netdev
2019-11-23 14:59:54 +01:00
Gunar Schorcht
72967f8fc3 cpu/esp32: GNRC_NETIF_NUMOF is handled in CPU makefile
Since Makefile.dep files are included as last files multiple times to resolve all module dependencies, GNRC_NETIF_NUMOF is handled here.
2019-11-22 17:38:35 +01:00
Francisco
3c60afc083
Merge pull request #12768 from aabadie/pr/boards/pic32-clicker-uart-cleanup
boards/pic32-clicker: cleanup uart configuration and initialization, cleanup header includes
2019-11-22 17:20:40 +01:00
Hauke Petersen
96c6313bd4 boards/avr-rss2: use bme280_i2c module 2019-11-22 14:04:38 +01:00
Hauke Petersen
f46731801a boards/sltb001a: use i2c mode of bme280 driver 2019-11-22 14:04:37 +01:00
Hauke Petersen
3c0d5048f9 board/ruuvitag: enable bme280 for saul default 2019-11-22 14:04:37 +01:00
401abd5b71
boards/pic32-clicker: cleanup includes 2019-11-22 08:12:47 +01:00
e8b0399bc9
boards/pic32-clicker: cleanup uart initialization 2019-11-22 08:12:46 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
4337cb316f
Merge pull request #12752 from gschorcht/cpu/esp32/espreset
boards/esp32*: use espreset tool for reset in make test
2019-11-20 22:07:15 +01:00
Robert Olsson
c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
Gunar Schorcht
5ba4a7d7cf boards/esp32*: espreset tool added 2019-11-20 08:33:47 +01:00
benpicco
1999e2f89c
Merge pull request #12745 from benpicco/atmega-led_fix
boards/atmega_common: remove weak led_init()
2019-11-20 00:14:48 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Hauke Petersen
04dcc3662b
Merge pull request #12344 from chrysn-pull-requests/particle-antenna-switch
particle-*: Configure antenna switch
2019-11-19 23:06:29 +01:00
Benjamin Valentin
c277100dd9 boards/atmega_common: remove weak led_init()
`led_init()` is already protected by an `#ifdef`, so no need for
the weak symbol.

The problem is that the weak function does not get overridden, even when
the board provides it's own led_init(), resulting in no LEDs being
initialized.
2019-11-19 22:36:07 +01:00
Marian Buschsieweke
b7150ed6c7
boards/common/atmega: Added ATmega1284P PWM conf
Added PWM configuration for the ATmega1284P CPU; this can be reused for every
board featuring that CPU.
2019-11-18 23:46:08 +01:00
chrysn
9954194ae0 particle boards: Make default antenna selection configurable
The setter function approach makes this switchable at runtime (antenna
diversity?).

Documentation is added both to the board introduction page and the
individual pins and functions.
2019-11-18 13:54:39 +01:00
chrysn
951f7dec2c particle-*: Configure antenna switch
The particle-{argon,boron,xenon} all have a uFL connector and a PCB
antenna for 2.4GHz radio, connected by a SKY13351-378LF switch
configured by a VCTL[12] pin pair.

This sets the default configuration to use the PCB antenna, as driving
an unconnected antenna will deteriorate radio performance.
2019-11-18 13:54:22 +01:00
588766ab27
Merge pull request #12733 from fjmolinas/pr_jlink_serial
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
2019-11-18 13:47:26 +01:00
Francisco Molina
f9ebc8658f dist/tools/jlink: cleanup doc 2019-11-18 13:04:42 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Marian Buschsieweke
f4089d08fe
boards/atmega328p: Fixed doc
- Use proper IEC units for sizes
- Added info on EEPROM
- Fixed incorrect info on default fuse settings
- Added info on how to unlock 8MHz
2019-11-18 00:16:43 +01:00
Marian Buschsieweke
8f03c7561a
boards/atmega1284p: Add ATmega1284P as board
The ATmega1284P can be run on a breadboard with no external components, except
for a power supply and (if access to the serial is required) an USB-TTL adapter.
This commit adds it as a "board".
2019-11-17 14:10:12 +01:00
Benjamin Valentin
60686c96dc boards/common: clean up msba2 common files
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
65e0247a9b
boards/arduino-atmega: add mapping for Arduino PWM pins 2019-11-15 17:54:30 +01:00
e0f288421d
boards/sodaq-autonomo: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
d03c982ddb
boards/arduino-mkr: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
f1cb14730d
boards/arduino-zero: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
Gunar Schorcht
555a7040db cpu/esp8266: reset tool to allow automatic tests 2019-11-14 13:58:48 +01:00
Gunar Schorcht
e5b7645b0b boards/esp32: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
Gunar Schorcht
7d9a3a79a2 boards/esp8266: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
253c75ab6b
Merge pull request #12703 from haukepetersen/fix_nrfboards_blefeat
nrf5x: move nimble_ble feat. to cpu
2019-11-13 19:07:48 +01:00
Francisco
9691cb68d6
Merge pull request #12662 from aabadie/pr/boards/hifive1_port_fix
boards/hifive1b: fix Linux default serial port
2019-11-13 18:04:22 +01:00
Hauke Petersen
4bf14822cb nrf5x: move nimble_ble feat. to cpu 2019-11-13 13:43:55 +01:00
Marian Buschsieweke
c510ad858c
boards/common/blxxxpill: Use STM32 programmer conf 2019-11-12 19:48:05 +01:00
Marian Buschsieweke
a949179f69
boards/stm32f030f4-demo: Use STM32 programmer conf 2019-11-12 19:46:29 +01:00
Marian Buschsieweke
92284bed88
boards/common/nucleo: Use STM32 programmer config 2019-11-12 19:43:42 +01:00
benpicco
f77e5a6c6a
Merge pull request #12673 from benpicco/purge-rtc_numof
boards: remove RTT_NUMOF/RTC_NUMOF
2019-11-12 11:33:16 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Marian Buschsieweke
9a0657af9b
boards: Refactored avsextrem & msba2
- Removed features already provided at CPU level
- Sorted features alphabetically
2019-11-08 14:02:42 +01:00
Leandro Lanzieri
66d5e4d05f
Merge pull request #12637 from benpicco/lpc2387-uart
cpu/lpc2387: update the UART driver
2019-11-07 22:21:50 +01:00
Benjamin Valentin
9e68556393 boards/msba2: configure remaining UARTs
All UARTs on the MSBA2 are exposed through pin headers on the board.
Configure them according to the data sheet.
2019-11-07 21:55:25 +01:00
Benjamin Valentin
90aef98ca0 boards/avsextrem: adapt to updated UART driver 2019-11-07 21:55:25 +01:00
Benjamin Valentin
3e053d1db9 boards/msba2: adapt to updated UART driver 2019-11-07 21:55:25 +01:00
2e7534ddee
boards/hifive1b: fix default serial port
The board provides a JLink adapter which is exposed as /dev/ttyACMx on Linux. STDIO UART is available on this port
2019-11-07 14:14:05 +01:00
42c4b7d34d
boards/atmega256rfr2-xpro: use 115200 baudrate for STDIO 2019-11-06 12:46:28 +01:00
485bfc45da
boards/atmega256rfr2-xpro: document how to configure the fuses
This is important for a correct configuration of the external 16MHz oscillator
2019-11-06 12:46:28 +01:00
498cbe9bbc
boards/atmega256rfr2-xpro: configure external 16MHz oscillator 2019-11-06 12:46:28 +01:00
Marian Buschsieweke
d02ed3a3ff
Merge pull request #12646 from maribu/atmega328p-timer
boards/atmega328p: Fixed xtimer frequency
2019-11-05 22:19:09 +01:00
Marian Buschsieweke
f55e438d56
boards/atmega328p: Fixed xtimer frequency
The ATmega328p on a breadboard can have various frequencies depending on
the fuse settings and whether and which crystal is connected. Thus, finding a
fixed xtimer frequency that can be configured for every CPU core clock with the
available prescalers is not possible. Therefore, the fixed frequency is replaced
by a frequency depending on the CPU clock speed. For CPU clock frequency of
more than 4 MHz a prescaler of 64 will be chosen (same as on the Arduino Uno),
for 4 MHz and less a prescaler of 8 will be chosen.
2019-11-05 19:32:29 +01:00
f24a3802c7
boards/atmega256rfr2-xpro: configure debug 2019-11-05 10:40:32 +01:00
4751892ce9
boards/atmega256rfr2-xpro: initial support 2019-11-05 10:40:32 +01:00
Gunar Schorcht
7d63158e06 boards/esp32-wroom-32: fixes a broken image link 2019-11-02 18:31:45 +01:00
benpicco
ed93bce856
Merge pull request #9323 from OYTIS/cc1352-launchpad-support
CC1352 launchpad support
2019-10-30 14:06:13 +01:00
Marian Buschsieweke
fa3651f275
boards/microduino-corerf: Minor doc tweaks
- Using @warning Doxygen command to make warning more visible
- Used IEC units for size specifications
- Aligned markdown source of the table
- Added note that the 5V pin is not connected to the board and cannot be used
  to power the board
2019-10-30 08:51:34 +01:00
Anton Gerasimov
9fad1e3b6d cpu/cc26xx_cc13xx: define uart_conf_t
Replaces older macro-based configuration

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
a60d8f471f boards/cc1352-launchpad: Add support for CC1352R Launchpad
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
f6a3f14d22 cpu/cc26x0: Factor out code common for cc26xx/cc13xx family
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Benjamin Valentin
3ecf7a0430 boards/msba2: define XTAL frequency
The board comes with a 16 MHz XTAL.
Since the avsextrem is just an extended msba2, this is true here too.
2019-10-27 01:32:50 +02:00
7761169964
Merge pull request #11657 from Yanok35/pr-stm32-spi-af
boards/stm32-based: allow SPI signals routed on multiple alternate functions
2019-10-25 09:47:49 +02:00
b0dfda244b
Merge pull request #12460 from fjmolinas/pr_port_migration
makefiles/vars.inc.mk: introduce and use `PROG_DEV`
2019-10-25 09:40:20 +02:00
Yannick Gicquel
d37adee32d boards/stm32-based: allow SPI signals routed on multiple alternate functions
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.

This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.

Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02:00
Marian Buschsieweke
ef97b874bf
boards/native: Default to C11 instead of C99 2019-10-24 21:57:02 +02:00
Francisco Molina
1ae0873769 boards: change PORT used for flash/debug/reset to PROG_DEV 2019-10-24 12:58:12 +02:00
Francisco Molina
755b4d97da boards/(openmote-b/remote): migrate PORT_BSL to PROG_DEV
- Move serial.inc.mk in remote and openmote-b Makefile.include before
  PROG_DEV to avoid repeating OS logic check
- Add deprecation warning for PORT_BSL
2019-10-24 12:57:46 +02:00
Francisco Molina
bf25e12602 makefiles/tools/avrdude.inc.mk: migrate to use PROG_DEV
- Move serial.inc.mk in mega-xplained/Makefile.include after
  PROG_DEV so PROG_DEV can still default to PORT
- Add deprecation warning for arduino-leonardo and mega-xplained
2019-10-24 12:57:07 +02:00
f84cdc4044
boards/sodaq: restore accidentally removed arduino feature 2019-10-22 19:06:16 +02:00
Francisco
88a6ad9df8
Merge pull request #12541 from aabadie/pr/boards/arduino_zero_adc
boards/arduino-zero: configure ADC channels
2019-10-22 15:56:38 +02:00
26c0b812d2
Merge pull request #12531 from fjmolinas/pr_nrf52_nimble
common/nrf52840/Makefile.dep: nrf802154 if no nimble_%
2019-10-22 15:14:54 +02:00
76ca2f5a08
boards/arduino-zero: configure ADC channels 2019-10-22 11:19:26 +02:00
benpicco
d49c48368a
Merge pull request #12438 from aabadie/pr/boards/sodaq_factorize
boards/sodaq: factorize common code
2019-10-21 17:04:20 +02:00
Francisco Molina
c04a2cf3a3 common/nrf52840/Makefile.dep: nrf802154 if no nimble_% 2019-10-21 16:52:18 +02:00
Benjamin Valentin
a97e0543cb boards: add stm32f030f4-demo
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
2019-10-21 15:30:22 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
4b06a11b93
Merge pull request #12470 from aabadie/pr/boards/kw41z_openocd
boards/frdm: update openocd version requirements
2019-10-21 13:30:54 +02:00
Marian Buschsieweke
f9c2f26dd0
boards: Added standalone ATmega328p 2019-10-21 12:54:46 +02:00
536809cdca
boards/sodaq-*: use common code 2019-10-21 08:33:11 +02:00
f9631953cb
boards: add common sodaq module 2019-10-21 08:33:11 +02:00
5578740fc4
Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM
makefiles/vars.inc.mk: move definition and export of CPU_FAM and CPU_ARCH to vars.inc.mk
2019-10-21 08:23:51 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
benpicco
4ed04208ea
Merge pull request #12492 from aabadie/pr/boards/cc2538_common_periph_gpio
boards/cc2538: move provided gpio features at cpu level
2019-10-18 11:18:54 +02:00
Francisco Molina
45c8eafd42 Makefile.include: remove repeated OS declaration 2019-10-18 10:36:43 +02:00
4d85735b24
boards/slwstk6220a: remove useless provided gpio features
These are provided at CPU level.
2019-10-18 09:35:00 +02:00
aed0cfb1d8
boards/efm32: remove useless provided gpio features
These features are provided at CPU level
2019-10-18 09:33:54 +02:00
Francisco Molina
347a0fc804 cpu/ boards/: remove exports for CPU_FAM 2019-10-18 08:55:33 +02:00
Francisco Molina
f3482de277 REMOVEME: add OS and OS_ARCH variable 2019-10-18 08:46:51 +02:00
Francisco Molina
c010f59b8c Makefile.include: remove repeated OS declaration
- OS := $(shell uname) is already declared in `Makefile.include`
  re-declaring it means it will be re-evalauted multiple times
  uselessly.
2019-10-18 08:46:51 +02:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
5873a04ba9
boards/cc2538*: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 22:05:42 +02:00
2bf983038d
boards/cc2538*: reorder provided features 2019-10-17 22:04:02 +02:00
27f2a19f72
boards/atmega: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 21:42:49 +02:00
Benjamin Valentin
20906328b4 boards/microduino-corerf: Initial board support 2019-10-17 19:20:31 +02:00
Benjamin Valentin
7d78e32b15 cpu/atmega128rfa1: ATmega128rfa1 MCU support 2019-10-17 19:20:31 +02:00
Benjamin Valentin
6617c5c768 cpu/atmega_common: provide dummy implementation for led_init() 2019-10-17 19:20:31 +02:00
Kevin "Tristate Tom" Weiss
0e85425ae4
Merge pull request #12103 from JannesVolkens/mpu9x50
driver/mpu9x50: make mpu9150 more generic
2019-10-17 15:01:50 +02:00