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

24 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
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01: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
Leandro Lanzieri
8e7691e34d boards/samd21-based: model Kconfig 2021-12-15 10:31:18 +01:00
Jose Alamos
5d5f8e90e1
boards/arduino-mkr1000: Add board specific Kconfig symbols 2020-07-17 08:43:46 +02:00
Gunar Schorcht
bd08a33667 boards/arduino-mkr1000: enable atwinc15x0 as netdev_default 2020-06-27 16:40:42 +02:00
Gunar Schorcht
35c0524aff boards/mkr1000: add ATWINC15x0 WiFi driver 2020-06-26 12:33:38 +02:00
26222d601c
boards/arduino-mkr: don't export MKR_JLINK_DEVICE variables 2020-03-03 14:18:03 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
f7763438a9
boards/common/arduino-mkr: use common LED0_NAME definition 2019-10-03 09:24:20 +02:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +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
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
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
70802fc652 boards*: cleanup doxygen
- replace brief with name where required
- remove some unwanted empty lines
- fix missing closing doxygen name block
2018-04-18 12:08:56 +02:00
Hauke Petersen
050a1ddeab boards/arduino-mkr: move shared code to common/arduino-mkr 2017-11-30 10:26:35 +01:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
48bedff2d1 boards/arduino-mkrzero: adapt implementation to use common code 2017-08-25 15:33:03 +02:00
b04bf93a17 boards/arduino-mkr1000: adapt implementation to use common code 2017-08-25 15:18:44 +02:00
Bumsik Kim
b7990ab3ec board/arduino-mkr1000: Fixed bad MUX config for SPI bus 2017-07-31 14:41:47 -04:00
Hauke Petersen
d0b959df1c boards/arduino-mkr1000: used shared BOSSA tooling 2017-05-22 11:42:01 +02:00
Bumsik Kim
67d7346d27 boards/arduino-mkr1000: Updated periph config and SWD flashing (#3) 2017-05-16 10:15:29 +02:00
f97b4497f2 boards/arduino-mkr1000: initial support 2017-05-16 10:14:59 +02:00