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

64 Commits

Author SHA1 Message Date
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Gunar Schorcht
26030e28af boards: remove extern mtd_dev_t* Declarations 2023-12-07 15:32:49 +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
Benjamin Valentin
66707ad367 boards/remote-*: drop custom led_init()
A custom rainbow boot-up animation/delay gets old pretty quick
and we didn't actually init the LEDs anyway, so it would not be shown.

Drop the custom led_init() so the generic led_init() kicks in
and properly initializes the LEDs.
2023-03-06 11:04:48 +01:00
Benjamin Valentin
4a85d7905e boards/remote-revb: make use of mtd_sdcard_default 2023-02-05 19:05:43 +01:00
J. David Ibáñez
630c4a0474 boards/remote-revb: define default MTD device 2022-09-26 13:46:14 +02:00
J. David Ibáñez
1a640a4cdb boards/remote-revb: fix pinout image in doc.txt 2022-09-21 09:21:35 +02:00
Karl Fessel
da51932737 boards: add some missing whitespaces for static tests 2022-09-14 15:11:14 +02:00
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +02:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
Benjamin Valentin
de0eed384d boards/remote: provide custom led_init() 2022-02-18 14:35:49 +01:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
MrKevinWeiss
483bca453e
boards/common/remote: Add Kconfig for remote boards 2021-09-08 12:40:32 +02:00
J. David Ibáñez
f056c78c50 boards/remote-revb: add arduino feature 2020-12-22 11:32:03 +01:00
Leandro Lanzieri
b099726895
boards/remote-revb: Add Kconfig symbols 2020-06-24 15:18:37 +02:00
Gunar Schorcht
e41e9b565f boards/remote-revb: fix broken links 2020-03-24 10:38:40 +01:00
Francisco
3f062a78b2
Merge pull request #13045 from aabadie/pr/boards/remote_factorize
boards/remote*: cleanup and factorize code in peripheral configuration headers
2020-03-03 13:21:04 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
2bcf1890bb
boards/remote*: factorize provided features 2020-01-08 14:42:03 +01:00
c70a14ff89
boards/remote*,firefly: use common config headers 2020-01-08 14:40:20 +01:00
f69af0edda boards/remote-revb: fix typos 2019-11-23 22:39:35 +01: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
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
cladmi
ec312492ee
boards/remote: use common/remote/Makefile.features
Introduce and use a common/remote/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/cc2538/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +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
MrKevinWeiss
cfebd7b4a2 boards/remote*: Update broken link in readme 2018-10-12 15:55:04 +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
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
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
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +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
Kevin Weiss
1bbd7fcd62
Merge pull request #9724 from smlng/pr/cc2538/spi_clk
cpu/cc2538: generalise SPI clock configuration
2018-08-07 14:33:05 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +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
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
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +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
9a0cedeb8d boards/remote*: fix doxygen grouping 2018-03-07 10:25:35 +01:00
smlng
a42e4bd5fb boards/remote: invert button logic in SAUL 2018-01-15 15:34:43 +01:00
smlng
25ef1ea880 boards, remote-X: adapt and centralize uart pin config 2017-12-14 10:43:58 +01:00
Hauke Petersen
4bcb353f89 boards/remote: move shared code to common/remote 2017-11-30 10:26:35 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
smlng
2806484f2c saul, adc: add config for remote boards 2017-07-20 20:52:36 +02:00
smlng
bfae64d670 boards: adapt ADC config of cc2538 based boards
adapted boards are: cc2538dk, openmote-cc2538, remote-pa,
remote-reva, and remote-revb.
2017-07-20 20:52:29 +02:00
smlng
de948189c3 periph: generalized button macros 2017-06-20 21:19:56 +02:00