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

11 Commits

Author SHA1 Message Date
Benjamin Valentin
961b333ea6 boards/openmote-b: add saul config
Hook up the GPIOs and the si7006 sensor to SAUL.
2020-02-28 13:37:15 +01:00
MrKevinWeiss
ebe010125b boards/openmote-b: fix button pin define
According to the schematics user button should be on `PD5` not `PC5`
(so `GPIO_PIN(3, 5)`).
Due to the super high values resistors being used for the external
pullup it seems if you use a internal pullup it doesn't work.
2019-11-29 11:10:24 +01:00
Benjamin Valentin
70eef51cd8 boards/openmote-b: fix naming of RF24 switch pins.
The Sub-GHz Antenna of the Openmote-B is always connected to the AT86RF215.
It is the 2.4 GHz radial that can be switched between the CC2538 and the AT86RF215.

This changes the name of the defines accordingly.
2019-11-29 10:59:59 +01:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
MrKevinWeiss
08ef6a7e22 boards/openmote-b: Set boot pin to input
Some boards seem to lock the bootloader if the boot pin is high
It must be set to input to prevent contention from the msp430 line controller
2019-07-17 16:39:55 +02:00
MrKevinWeiss
407dff7f62 boards/openmote-b/doc: Add doc.txt to openmote-b
It seems the doc was not added during the port.
This adds documentation similar to the openmote-cc2538.
This also expands on some flashing issues that have occurred.
2019-06-26 09:58:06 +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
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
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
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
Kevin Weiss
a48b8e741b boards/openmote-b: Add board support 2018-08-07 10:32:03 +02:00