Commit graph

24 commits

Author SHA1 Message Date
Marcio Ribeiro
beae6e96f1 boards: esp32xx: fix zephyr,sram
Fixes the the node value of zephyr,sram for the following boards:
- esp32s2_devkitcc
- esp32s2_saola
- esp32s2_franzininho
- esp32s2_lolin_mini
- ttgo_t7v1_5_esp32

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-01-23 16:29:59 +01:00
Sylvio Alves
2c72defed4 boards: esp32-based: remove bluetooth ignore tag
Remove bluetooth ignore tag so it can run CI tests whenever
platform is filtered.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-12-20 23:51:16 +02:00
Sylvio Alves
44eece30b0 boards: esp32-based: remove net from ignore list
This lets esp32-based boards to be tested regarding
Wi-Fi changes.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-12-18 18:17:16 +01:00
Marek Matej
a4904cc6c5 boards: esp32: update dts for APPCPU
Use ready made partition tables on ESP32 targets.
Add flash slot partition for APPCPU.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2024-12-12 11:38:22 +01:00
Marcio Ribeiro
7c12e86e06 boards: esp32: correct "zephyr,sram" property under /chosen node
Correct "zephyr,sram" property under /chosen node to make board and samples
compatible with new SoC memory description.

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2024-12-07 11:02:46 +01:00
Tobias Kässer
887f210153 boards: "Lilygo TTGO T7 V1.5" initial support
Add support for board "Lilygo TTGO T7 V1.5"

Signed-off-by: Tobias Kässer <t.kaesser@gmail.com>
2024-12-02 09:43:12 +01:00
Sylvio Alves
4101401dd7 boards: esp32c3-based: update soc type info
This updates a few esp32c3-based boards accordingly to
its oficial SoC model.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-11-27 21:06:51 +00:00
Marek Matej
410e929459 boards: Remove defconfig value
Remove ENTROPY_GENERATOR defconfig as it is pulled in automatically when
needed.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2024-11-25 17:43:10 +01:00
Lothar Felten
f982d180ad boards: lilygo: ttgo_t8s3: initial support
adds initial support for Lilygo TTGO T8-S3 board

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-11-25 14:43:01 +01:00
Marek Matej
78c1def4db boards: esp32xx: Use common partition tables
* Replace copies of fixed-partitions nodes in related boards by
referencing the apropriate partition table from the available list.
* For better reference the `partitions_*.dtsi` file has boot offset,
purpose and the flash size encoded in the file name. Default flash size
is considered to be 4MB.
* Added the flash size node for the boards which are not based on the
module.
* Removed flash size registry from the esp32.*common.dtsi

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2024-11-22 17:45:24 +01:00
Lothar Felten
e7c3434685 boards: lilygo: ttgo_lora32: enable SDHC support
device tree:
enable support for the SDHC controller to use the micro SD card slot

documentation:
- added instructions for SD card and OLED samples
- added links to code samples

defconfig:
added CONFIG_ESP32_USE_UNSUPPORTED_REVISION=y to
ttgo_lora32_esp32_procpu_defconfig

The chip on the board is a ESP32 chip revision 1.
The board will not boot, it displays the following warning at boot:

I (35) boot: chip revision: v1.0
E (38) boot: You are using ESP32 chip revision (1) that is unsupported.
While it may work, it could cause unexpected behavior or issues.
E (50) boot: Proceeding with this ESP32 chip revision is not recommended
unless you fully understand the potential risk and limitations.
E (62) boot: If you choose to continue, please enable the
'CONFIG_ESP32_USE_UNSUPPORTED_REVISION' in your project configuration.
E (73) boot: HW init failed, aborting

In order to prevent a boot loop, CONFIG_ESP32_USE_UNSUPPORTED_REVISION=y
was added to the defconfig.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-11-21 09:21:56 +01:00
Benjamin Cabé
4ddef9fc0f boards: lilygo: adopt new zephyr:board directive and role
This updates the documentation of all the LilyGO boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-14 12:41:19 -06:00
Lothar Felten
a427497f03 documentation: lilygo: fix formatting for LoRa32 and T8-C3
Fix the formatting of the doc/index.rst for Lilygo LoRa32 and T8-C3
Requested by nordicjm

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-10-16 09:59:26 +02:00
Benjamin Cabé
05d59f7207 boards: Set full_name for all boards
Full name was set based on the information available either in board
documentation or in Twister files.
Whenever applicable, vendor name was dropped from the full name so that
all boards have a consistent naming scheme.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-10 20:22:21 -04:00
Sylvio Alves
0a56dc8055 boards: esp32-based: unset default libc in appcpu
As in all other esp32-based boards, APPCPU
does not require to have MINIMAL_LIBC as default libc.
In the past, that was required due to memory constraints,
which is not the case anymore.

This fixes build issues in `tests/lib/c_lib/common`.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-09 09:48:45 +02:00
Sylvio Alves
9403b08512 boards: esp32: move board specific kconfig definitions
HEAP_MEM_POOL_ADD_SIZE_BOARD is not a zephyr-defined entry and
should be placed into Kconfig instead of Kconfig.defconfig.

This PR moves that entry for all ESP32-based boards accordingly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-04 22:53:01 +01:00
Benjamin Cabé
9a16b93868 samples: hello_world: use zephyr:code-sample directive
Adds missing code-sample directive to the Hello World sample in
preparation for upcoming changes to the Zephyr documentation that will
be leveraging the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-16 10:05:18 +02:00
Benjamin Cabé
34982bb00b doc: samples: use :zephyr-app: for in-tree samples
The zephyr-app-commands directive can output a helpful hint to the user
when they are trying to build a sample that is in the Zephyr tree,
telling them to ensure they are in the root folder of the Zephyr repo.

Update all doc pages that were using :app: instead of :zephyr-app: so
that the hint is displayed.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-05 17:18:05 -04:00
Anas Nashif
82613fba11 doc: fix trivial typo
fix 'be build' and replace with 'be built'.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-09-05 09:49:18 +02:00
Sylvio Alves
d3541febcf boards: esp32: revert HEAP size to integer number
The commit ad63ca284e replaced
default value of 65535 to UINT16_MAX. That change might cause
confusion as it suggests that the HEAP size is limited to UINT16_MAX.

For this particular scenario, 65535 bytes is a resonable amount of
HEAP to allow both Wi-Fi and BT working in coexistance, which could be
increased as per application.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-08-15 12:00:06 -04:00
Pieter De Gendt
ad63ca284e kconfig: replace known integer constants with variables
Make the intent of the value clear and avoid invalid ranges with typos.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-07-27 20:49:15 +03:00
Benjamin Cabé
5a07cf4e0d doc: esp32: fix rendering of MCUboot note
Use proper syntax to ensure rendering of the
CONFIG_BOOTLOADER_MCUBOOT snippet is correct.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-01 18:12:43 +02:00
Lothar Felten
0a2e4d1b5f boards: lilygo: ttgo_lora32: initial support
adds initial support for Lilygo TTGO LoRa32 board
dts: vendor-prefixes: add vendor lilygo

Co-authored-by: Benjamin Cabé <kartben@gmail.com>

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-06-13 05:46:10 -04:00
Lothar Felten
7fef853015 boards: lilygo: ttgo_t8c3: initial support
adds initial support for Lilygo TTGO T8-C3 board

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-06-12 21:15:09 -04:00