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

13 Commits

Author SHA1 Message Date
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h 2024-07-12 15:02:43 +02:00
Kees Bakker
08862b2e65 boards/sodaq-sara-sff: add status pin for SARA 2024-06-01 14:04:09 +02:00
Marian Buschsieweke
043e8cc88e
boards,sys/arduino: major clean up
- Rename all `arduino_pinmap.h` to `arduino_iomap.h`
    - An empty `arduino_pinmap.h` that just includes `arduino_iomap.h`
      is provided for backward compatibility
    - Move all info from `arduino_board.h` into the new file as trivial
      macros, so that they can also be used outside of sketches
    - The new name reflects the fact not just pin mappings, but also
      other I/O features such as PWMs are mapped
- Drop all `arduino_board.h`
    - `arduino_board.h` and `arduino_iomap.h` now provide the exact
      same information, just in a different format
    - a generic `arduino_board.h` is provided instead that just
      uses the info in `arduinio_iomap.h` and provides them in the
      format the code in `sys/arduino` expects it
- Add fine grained features to indicate for mappings
    - availability of mappings for analog pins, DAC pins, PWM pins,
      UART devices, SPI/I2C buses to the corresponding RIOT
      identification can now be expressed:
        - `arduino_pins`: `ARDUINO_PIN_0` etc. are available
        - `arduino_analog`: `ARDUINO_A0` etc. are available
        - `arduino_pwm`: `ARDUINO_PIN_13_PWM_DEV` etc. are available
        - `arduino_dac`: `ARDUINO_DAC0` etc. are available
        - `arduino_uart`: `ARDUINO_UART_D0D1` or similar are available
        - `arduino_spi`: `ARDUINO_SPI_ISP` or similar are available
        - `arduino_i2c`: `ARDUINO_I2C_UNO` or similar are available
    - mechanical/electrical compatibility with specific form factors
      can now be expressed as features:
        - `aruino_shield_nano`: Arduino NANO compatible headers
        - `aruino_shield_uno`: Arduino UNO compatible headers
        - `aruino_shield_mega`: Arduino MEGA compatible headers
        - `aruino_shield_isp`: ISP header is available

This provides the groundwork to implement shield support as modules
that can rely on the I/O mappings, rather than having to provide a
configuration per board.
2023-06-26 17:24:07 +02:00
Benjamin Valentin
2c9a3857d9 boards: convert sam0 boards to new adc_conf_chan_t 2022-09-27 22:43:31 +02:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Gunar Schorcht
a7dc4808b7 boards/sodaq-*: use UART_UNDEF to enable Serial over STDIO 2022-01-06 17:33:08 +01:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
Benjamin Valentin
8f0fa9411c boards/samd21-arduino-bootloader: rename to samdx1-arduino-bootloader
The bootloader itself is called `uf2-samdx1` and supports both samd21
and samd51.

Rename the module accordingly.
2021-02-09 19:44:03 +01:00
Leandro Lanzieri
4e53bb0a73
boards/sodaq-sara-sff: Add Kconfig symbols 2020-07-17 08:46:17 +02:00
9daaaf25a5
sodaq-sara-sff: Add DMA config to SPI peripheral 2020-06-16 09:44:51 +02:00
Kees Bakker
446892a356 boards/sodaq*: correct the XTIMER defines
There is now a common set of defines for all Sodaq boards. This commit
removes old configurations.
2020-06-15 21:10:09 +02:00
Kees Bakker
76a4f145d9 boards/sodaq-sff: add support for SODAQ SFF
The following features were tested (briefly):
* UART (the first, and the second connected to the UBlox SARA)
* xtimer
* I2C (using driver BMX280 and SHT2x)
* ADC
* WDT
* RGB-LEDs

SPI isn't tested, but it should be working.
2020-06-15 21:10:09 +02:00