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

38 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
Marian Buschsieweke
03a1a02ec2
boards/esp32-wroom-32: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CP2102 USB2UART bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from other
boards.
2023-12-06 11:14:21 +01: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
ae16753f6f boards/esp*: replace FLASH_MODE_* by CONFIG_*FLASHMODE_* defines
The former FLASH_MODE_{DOUT,DIO,QOUT,QIO} defines are replaced by the corresponding CONFIG_FLASHMODE_{DOUT,DIO,QOUT,QIO} and CONFIG_ESPTOOLPY_FLASHMODE_{DOUT,DIO,QOUT,QIO} as used by the ESP-IDF. This is also needed for the migration of defining flash mode in Kconfig.
2022-08-02 07:24:30 +02:00
Benjamin Valentin
3977023700 boards/esp32-*: drop custom board_init() 2022-02-22 18:27:37 +01: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
49ab2f0ef2
boards/*esp32*: Fix documentation format
Fix broken references and missing open/closing group commands.
2021-10-10 21:35:31 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02: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
Leandro Lanzieri
4804757b4c
boards/esp32-wroom-32: Add Kconfig symbols 2020-07-07 16:27:40 +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
b1ec6953a3 boards/esp32: add button default interrupt flank definition 2020-03-23 12:38:36 +01:00
Leandro Lanzieri
ab10b33848 boards/esp32-wroom-32/doc: Add SPI freq configuration for mrf24j40 2020-03-09 16:51:35 +01:00
Leandro Lanzieri
cffc9b70bf boards/esp32-wroom-32: Remove drivers configuration from Makefile.dep
This removes the configuration parameters for mrf24j40 and enc28j60
drivers, which were present in the boards's Makefile.dep. There is
already documentation regarding how to correctly configure these devices
for the board.
2020-03-09 16:49:11 +01:00
d10211b7ff
boards/esp32-wroom-32: don't export _PARAM_DEFINED variables 2020-03-03 14:18:03 +01:00
benpicco
ea24d30e7a
Merge pull request #13417 from gschorcht/boards/esp32/doc_remove_mcu_table
boards/esp32: remove MCU feature table in board documentation
2020-02-21 10:13:44 +01:00
Gunar Schorcht
6a7ba7ba1a boards/esp32: rename BUTTON0_PIN to BTN0_PIN
Since a number of applications rely on the existence of the BTN0_PIN definition, the BUTTON0_PIN  definition has been renamed to BTN0_PIN to make the ESP32 boards compatible with these applications. However, for compatibility with earlier versions, BUTTON0_PIN is still defined as an alias of BTN0_PIN.
2020-02-20 12:14:44 +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
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
8e52d30949 boards/esp32-wroom-32: fix typos 2019-11-23 22:39:07 +01:00
Gunar Schorcht
7d63158e06 boards/esp32-wroom-32: fixes a broken image link 2019-11-02 18:31:45 +01:00
Kevin "Bear Puncher" Weiss
e40f483acf
Merge pull request #11261 from gschorcht/cpu/esp32/doc_fix/rom
boards/cpu/esp32: doc fix of built-in ROM size
2019-05-14 13:07:50 +02:00
Yegor Yefremov
46060cf779 boards/esp32*: revise CAN support
CAN interface is now supported in RIOT. Change feature tables
accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-11 07:34:29 +02:00
Yegor Yefremov
4c270eecfa boards/esp32*: fix ENC28J60 configuration example
Add missing '#' to the MODULE_ENC28J80's endif.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-10 15:14:47 +02:00
Gunar Schorcht
01d17793eb boards/cpu/esp32*: doc fix of built-in ROM size 2019-03-25 14:00:59 +01:00
Gunar Schorcht
d99d72c583
Merge pull request #10737 from aabadie/pr/boards/esp32-wroom-32-button
boards/esp32-wroom-32: configure saul button as inverted
2019-01-09 17:24:21 +01:00
Kevin "Bear Puncher" Weiss
0b23e8898e
Merge pull request #10641 from gschorcht/esp32_spi_revision
cpu/esp32: cleanup in periph/spi
2019-01-09 14:02:06 +01:00
Gunar Schorcht
cb6b7539f4 boards/esp32*: cleanup of SPI interfaces
SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:04:28 +01:00
484572f881 boards/esp32-wroom-32: configure saul button as inverted 2019-01-09 10:00:16 +01:00
Gunar Schorcht
c352966d29 boards/esp32: UART configuration fix
Fixes the UART pin configuration for UART_DEV(0). Since this configuration is fixed and only defined for documentation purposes, the change has no impact on the code.
2018-12-20 07:57:20 +01:00
Gunar Schorcht
dc6b193e2a boards/esp32: fix of Arduino pinmap 2018-10-15 16:09:13 +02:00
Schorcht
8e0d69c807 cpu/esp32: define ARDUINO_PIN_* 2018-10-11 09:33:43 +02:00
Schorcht
6226b5dddd boards: add esp32-wroom-32 2018-10-08 12:20:49 +02:00