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

66 Commits

Author SHA1 Message Date
Marian Buschsieweke
77dfc7e2a5
boards/esp32*: move saul_gpio dep to board level
The ESP32 Ethernet Kit has only a single GPIO pin exposed to SAUL via
`saul_gpio`, but that GPIO doubles as PHY clock input when `esp32_eth`
is used. Hence, the `saul_gpio` dep should be optional and only kick
in when `esp32_eth` is not used.
2024-05-22 13:38:33 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
MrKevinWeiss
0a9c51fdf9
*.config: Modify all .config kconfig files 2024-03-26 14:53:40 +01:00
Gunar Schorcht
517cbc59ff boards/esp32-wrover-kit: add SDMMC support 2024-01-05 07:22:27 +01:00
Marian Buschsieweke
28a5ec3911
boards/esp32-*-kit*: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now select relatively robustly the most recently connected
ESP32 Ethernet Kit / ESP32 Wrover Kit board, even with other TTYs
present. This is because the FTDI Dual RS232-HS with two USB2UART
bridges in the chip would be an expensive overkill for most boards,
unless one is using the FTDI chip to big-bang JTAG as well - as done
on the Ethernet Kit and Wrover Kit boards.
2023-12-06 11:14:21 +01:00
Gunar Schorcht
9a72d6cc55 boards: fix inches unit in documentation 2023-09-27 09:12:06 +02:00
Gunar Schorcht
c80591779f boards: fix references in documentation 2023-09-27 09:12:06 +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
Gunar Schorcht
6477976099 boards/esp32-wrover-kit: complete SD card MTD config 2023-02-06 23:37:40 +01:00
Gunar Schorcht
77647ea10c boards/esp32: PWM configuration cleanup 2022-07-14 15:50:47 +02:00
Gunar Schorcht
d00c6b0e3c boards/esp32: cleanup board_init_common
board_init_common isn't needed any longer.
2022-06-21 16:21:10 +02:00
Gunar Schorcht
54c1cd673e boards/esp32-wrover-kit: revert changes in commit b74c456
In the board definition of `esp32_wrover_kit` default values for `ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` had to be defined because this board was used in the CI to compile the optional module `esp_wifi_enterprise`. Now that the CI compilation for the `esp_wifi_enterprise` module is realized by an external board definition `esp32-ci`, these default values should be removed to make the compilation fail if the user did not define these variables.
2022-06-16 14:11:58 +02:00
d992a18c76
boards: adapt configuration with new rotation mode defines 2022-04-19 16:22:11 +02:00
6df46ecc91
boards: adapt ili9341 default config where needed 2022-04-12 12:39:00 +02:00
Gunar Schorcht
421fb6dedd cpu/esp32: update the doc for Espressif's ESP32 vendor toolchain 2022-03-10 05:31:04 +01:00
Benjamin Valentin
3977023700 boards/esp32-*: drop custom board_init() 2022-02-22 18:27:37 +01:00
MrKevinWeiss
ddfe1f6aff
boards: Use BOARD.config pattern for kconfig
Many simple kconfig configurations are added to boards and brought in with the board name.

This makes a common import of these configs so one only requires adding a BOARD.config without having to alter the makefile.
2022-02-14 13:10:09 +01:00
Francisco Molina
c1238ad4e4 cpu/esp: model missing modules 2022-02-09 16:50:04 +01:00
Francisco Molina
8d12479935 boards/esp*: revert optional modules used only in CI 2022-02-04 08:24:20 +01:00
MrKevinWeiss
ff32e7545a
boards/esp32-wrover-kit: Use KCONFIG_BOARD_CONFIG 2022-02-01 13:58:07 +01:00
Gunar Schorcht
85313ccc02
Merge pull request #17232 from leandrolanzieri/pr/cpu/esp/model_kconfig
cpu/esp{32,8266}: model kconfig
2021-12-11 08:53:31 +01:00
Leandro Lanzieri
b89a62df9b
boards/esp32-wrover-kit: provide esp_jtag feature 2021-12-10 18:54:27 +01:00
Leandro Lanzieri
9f31dfe28a
cpu/esp32: refactor esp_spi_ram feature
This feature is provided by all esp32_wrover% models, so group it in the
common file.
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
b3b468ad8b
boards/esp32: model Kconfig 2021-12-10 18:54:07 +01:00
Leandro Lanzieri
bfdfbb1a48
cpu/esp32: model Kconfig 2021-12-10 18:54:07 +01:00
Gunar Schorcht
b74c456595 cpu/esp32: use optional modules when compiled in CI
To test compilation of optional ESP32 modules, these modules are enabled for the `esp32-wrover-kit` borad when compiled in CI. The use of some of these optional modules depend on the use of other modules.
2021-12-02 06:17:48 +01:00
Erik Ekman
cbecb4d249 boards/esp32-wrover-kit: Enable esp_jtag module
Allows use of openocd by just setting PROGRAMMER.
2021-10-25 21:11:29 +02:00
Erik Ekman
8b467534fe boards/esp32-wrover-kit: Add openocd config and docs 2021-10-18 20:11:32 +02:00
Gunar Schorcht
de78a827c3 boards/esp32: reformat docs for 80 chars 2021-10-15 02:50:21 +02:00
Gunar Schorcht
bce0d4cb10 boards/esp32: fix documentation
Fixes various issues in documentation:
- replaces HTML anchor tags in markdown headings by markdown heading IDs.
- replaces HTML linebreaks by newline commands
- replaces \htmlonly commands for image resizing by the width argument in \image commands
- uses more unique identifiers for references
- uses stable references for driver documentation
- fix broken links to external HTML documents
- replaces the TOC link in headers by a back to TOC link below each section
- replaces ``` fenced code blocks by ~~~
2021-10-15 02:50:21 +02:00
Marian Buschsieweke
cf7e9e34b0
boards/esp32-wrover-kit/doc: Restore center alignment of tables 2021-10-13 14:56:28 +02:00
Marian Buschsieweke
49ab2f0ef2
boards/*esp32*: Fix documentation format
Fix broken references and missing open/closing group commands.
2021-10-10 21:35:31 +02:00
Marian Buschsieweke
72cab30703
boards/esp32-wrover-kit: Fix documentation format
Fix various issues with incompatibilities to flavor of markdown
supported by Doxygen and re-format text.
2021-10-10 21:35:30 +02:00
Jean-Pierre De Jesus DIAZ
ee413f2f7f boards/esp32-wrover-kit: add ILI9341 rotation mode param
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Jean Pierre Dudey
628739172b boards/esp32-wrover-kit: add dependency to ILI9341
When disp_dev is present, pull the ili9341 driver to allow auto-
initialization

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-05-20 20:00:03 +02:00
Erik Ekman
2afa93c9f7 boards/esp32-ethernet-kit: Setup Kconfig to match makefiles 2020-11-28 10:18:54 +01:00
Erik Ekman
db91be6ef8 cpu/esp32: add esp_jtag pseudomodule and feature
Available on esp32-wrover-kit and esp32-ethernet-kit boards.
2020-11-28 10:18:54 +01:00
Erik Ekman
d9c40ba47a boards/esp32: fix spelling of periph_i2c
Also change to single quotes for inline verbatim.
2020-11-28 10:18:54 +01:00
Jean Pierre Dudey
aa97387b85 boards/esp32-wrover-kit: don't invert & use RGB for ILI9341
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-11 09:50:42 +01:00
Jean Pierre Dudey
771584e4e3 boards/esp32-wrover-kit: add ILI9341 driver params
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-03 15:04:27 +01:00
Leandro Lanzieri
6dd0d90e5e
boards/esp32-wrover-kit: Add Kconfig symbols 2020-07-07 16:27:41 +02:00
Leandro Lanzieri
f46b0c2da3
boards/esp32: Move inclusion of boards_common_esp32 to common file 2020-03-24 09:21:22 +01:00
Gunar Schorcht
e4b3ce7c91 boards/esp32: remove MCU feature table in doc
Instead of using the same MCU feature table in every board documentation, it refers to the MCU documentation. This makes it easier to maintain the MCU feature table.
2020-02-20 08:47:18 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
1e71606305 boards/esp32: enable 32 kHz XTAL for WROVER-KIT 2020-02-07 00:46:16 +01:00
Gunar Schorcht
cfcea03a58 board/esp32: fix compilation error due to C linkage
Including `board_common.h` header has to be outside the `extern C` linkage block.
2020-02-05 20:42:22 +01:00
Gunar Schorcht
624c6f24ca boards/esp32: allow board specific initialization 2020-02-01 16:12:05 +01:00
a394fcd100 boards/esp32-wrover-kit: fix typos 2019-11-23 22:39:07 +01:00