差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
developmentboard:esp32-s3_lcd [2024/09/15 06:39] admindevelopmentboard:esp32-s3_lcd [2024/09/15 06:39] (当前版本) admin
行 1: 行 1:
 ESP32-S3-CORE ESP32-S3-CORE
  
-===== = ESP32S3-Luatos-Core   ======+===== = ESP32S3-Luatos-Core  =====
  
-===== Overview[[https://docs.zephyrproject.org/latest/boards/luatos/esp32s3_luatos_core/doc/index.html#overview|]] ===== +The ESP32S3-Luatos-Core development board is a compact board based on Espressif ESP32-S3. The board comes equipped with a 2.4GHz antenna and supports both Wi-Fi and Bluetooth functionalities.
- +
-The ESP32S3-Luatos-Core development board is a compact board based on Espressif ESP32-S3. The board comes equipped with a 2.4GHz antenna and supports both Wi-Fi and Bluetooth functionalities. For more information, check [[https://wiki.luatos.com/chips/esp32s3/board.html|ESP32S3-Luatos-Core]] (chinese)+
  
 {{https://docs.zephyrproject.org/latest/_images/esp32s3_luatos_core.jpg?nolink&|esp32s3_luatos_core}} {{https://docs.zephyrproject.org/latest/_images/esp32s3_luatos_core.jpg?nolink&|esp32s3_luatos_core}}
-=====  Hardware    =====+ 
 +===== Hardware  =====
  
 ESP32-S3 is a low-power MCU-based system on a chip (SoC) with integrated 2.4 GHz Wi-Fi and Bluetooth® Low Energy (Bluetooth LE). It consists of high-performance dual-core microprocessor (Xtensa® 32-bit LX7), a low power coprocessor, a Wi-Fi baseband, a Bluetooth LE baseband, RF module, and numerous peripherals. ESP32-S3 is a low-power MCU-based system on a chip (SoC) with integrated 2.4 GHz Wi-Fi and Bluetooth® Low Energy (Bluetooth LE). It consists of high-performance dual-core microprocessor (Xtensa® 32-bit LX7), a low power coprocessor, a Wi-Fi baseband, a Bluetooth LE baseband, RF module, and numerous peripherals.
行 159: 行 158:
  
 {{https://docs.zephyrproject.org/latest/_images/esp32s3_luatos_core_pinout.jpg?nolink&|esp32s3_luatos_core_pinout}} {{https://docs.zephyrproject.org/latest/_images/esp32s3_luatos_core_pinout.jpg?nolink&|esp32s3_luatos_core_pinout}}
-====  Supported Features    ====+ 
 +==== Supported Features  ====
  
 Current Zephyr’s ESP32S3-Luatos-Core board supports the following features: Current Zephyr’s ESP32S3-Luatos-Core board supports the following features:
  
-^ \\ Interface \\ ^ \\ Controller \\ ^ \\ Driver/Component \\ +^ \\ Interface^ \\ Controller^ \\ Driver/Component| 
-| \\ UART \\ | \\ on-chip \\ | \\ serial port \\ +| \\ UART| \\ on-chip| \\ serial port| 
-| \\ GPIO \\ | \\ on-chip \\ | \\ gpio \\ +| \\ GPIO| \\ on-chip| \\ gpio| 
-| \\ PINMUX \\ | \\ on-chip \\ | \\ pinmux \\ +| \\ PINMUX| \\ on-chip| \\ pinmux| 
-| \\ USB-JTAG \\ | \\ on-chip \\ | \\ hardware interface \\ +| \\ USB-JTAG| \\ on-chip| \\ hardware interface| 
-| \\ SPI Master \\ | \\ on-chip \\ | \\ spi \\ +| \\ SPI Master| \\ on-chip| \\ spi| 
-| \\ TWAI/CAN \\ | \\ on-chip \\ | \\ can \\ +| \\ TWAI/CAN| \\ on-chip| \\ can| 
-| \\ Timers \\ | \\ on-chip \\ | \\ counter \\ +| \\ Timers| \\ on-chip| \\ counter| 
-| \\ Watchdog \\ | \\ on-chip \\ | \\ watchdog \\ +| \\ Watchdog| \\ on-chip| \\ watchdog| 
-| \\ TRNG \\ | \\ on-chip \\ | \\ entropy \\ +| \\ TRNG| \\ on-chip| \\ entropy| 
-| \\ LEDC \\ | \\ on-chip \\ | \\ pwm \\ +| \\ LEDC| \\ on-chip| \\ pwm| 
-| \\ MCPWM \\ | \\ on-chip \\ | \\ pwm \\ +| \\ MCPWM| \\ on-chip| \\ pwm| 
-| \\ PCNT \\ | \\ on-chip \\ | \\ qdec \\ +| \\ PCNT| \\ on-chip| \\ qdec| 
-| \\ GDMA \\ | \\ on-chip \\ | \\ dma \\ +| \\ GDMA| \\ on-chip| \\ dma| 
-| \\ USB-CDC \\ | \\ on-chip \\ | \\ serial \\ |+| \\ USB-CDC| \\ on-chip| \\ serial|
  
-===  Prerequisites    ===+=== Prerequisites  ===
  
 Espressif HAL requires WiFi and Bluetooth binary blobs in order work. Run the command below to retrieve those files. Espressif HAL requires WiFi and Bluetooth binary blobs in order work. Run the command below to retrieve those files.
 <code> <code>
-west blobs fetch hal_espressif 
  
 +west blobs fetch hal_espressif
  
 </code> </code>
行 192: 行 192:
 It is recommended running the command above after ''west update''. It is recommended running the command above after ''west update''.
  
-==== = Building & Flashing   =====+==== = Building & Flashing  ====
  
-==== Simple boot[[https://docs.zephyrproject.org/latest/boards/luatos/esp32s3_luatos_core/doc/index.html#simple-boot|]] ====+====  Simple boot    ====
  
 The board could be loaded using the single binary image, without 2nd stage bootloader. It is the default option when building the application without additional configuration. The board could be loaded using the single binary image, without 2nd stage bootloader. It is the default option when building the application without additional configuration.
行 202: 行 202:
 Simple boot does not provide any security features nor OTA updates. Simple boot does not provide any security features nor OTA updates.
  
-====  MCUboot bootloader    ====+==== MCUboot bootloader  ====
  
 User may choose to use MCUboot bootloader instead. In that case the bootloader must be built (and flashed) at least once. User may choose to use MCUboot bootloader instead. In that case the bootloader must be built (and flashed) at least once.
行 219: 行 219:
  
 User can select the MCUboot bootloader by adding the following line to the board default configuration file. User can select the MCUboot bootloader by adding the following line to the board default configuration file.
 +
 <code> <code>
 CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_BOOTLOADER_MCUBOOT=y
- 
  
 </code> </code>
-====  Sysbuild    ====+ 
 +==== Sysbuild  ====
  
 The sysbuild makes possible to build and flash all necessary images needed to bootstrap the board with the ESP32 SoC. The sysbuild makes possible to build and flash all necessary images needed to bootstrap the board with the ESP32 SoC.
行 230: 行 231:
 To build the sample application using sysbuild use the command: To build the sample application using sysbuild use the command:
  
-<code>west build -b esp32s3_luatos_core --sysbuild samples/hello_world +<code> 
 +west build -b esp32s3_luatos_core --sysbuild samples/hello_world
  
 </code> </code>
行 239: 行 240:
 Build directory structure created by sysbuild is different from traditional Zephyr build. Output is structured by the domain subdirectories: Build directory structure created by sysbuild is different from traditional Zephyr build. Output is structured by the domain subdirectories:
  
-<code>build/+<code> 
 +build/
 ├── hello_world ├── hello_world
 │   └── zephyr │   └── zephyr
行 249: 行 251:
 │       └── zephyr.bin │       └── zephyr.bin
 └── domains.yaml └── domains.yaml
- 
  
 </code> </code>
行 255: 行 256:
 Note Note
  
-With ''--sysbuild'' option the bootloader will be re-build and re-flash every time the pristine build is used.+With ''sysbuild''  option the bootloader will be re-build and re-flash every time the pristine build is used.
  
 For more information about the system build please read the [[https://docs.zephyrproject.org/latest/build/sysbuild/index.html#sysbuild|Sysbuild (System build)]] documentation. For more information about the system build please read the [[https://docs.zephyrproject.org/latest/build/sysbuild/index.html#sysbuild|Sysbuild (System build)]] documentation.
  
-====  Manual build    ====+==== Manual build  ====
  
 During the development cycle, it is intended to build & flash as quickly possible. For that reason, images can be built one at a time using traditional build. During the development cycle, it is intended to build & flash as quickly possible. For that reason, images can be built one at a time using traditional build.
行 271: 行 272:
 Build and flash applications as usual (see [[https://docs.zephyrproject.org/latest/develop/application/index.html#build-an-application|Building an Application]] and [[https://docs.zephyrproject.org/latest/develop/application/index.html#application-run|Run an Application]] for more details). Build and flash applications as usual (see [[https://docs.zephyrproject.org/latest/develop/application/index.html#build-an-application|Building an Application]] and [[https://docs.zephyrproject.org/latest/develop/application/index.html#application-run|Run an Application]] for more details).
 <code> <code>
 +
 # From the root of the zephyr repository # From the root of the zephyr repository
 west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world
- 
  
 </code> </code>
行 279: 行 280:
 If CH343 chip is disabled, You need use the following command to build: If CH343 chip is disabled, You need use the following command to build:
  
-<code># From the root of the zephyr repository+<code> 
 +# From the root of the zephyr repository
 west build -b esp32s3_luatos_core/esp32s3/procpu/usb samples/hello_world west build -b esp32s3_luatos_core/esp32s3/procpu/usb samples/hello_world
- 
  
 </code> </code>
  
-The usual ''flash'' target will work with the ''esp32s3_luatos_core'' board configuration. Here is an example for the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application.+The usual ''flash''  target will work with the ''esp32s3_luatos_core''  board configuration. Here is an example for the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application.
 <code> <code>
 +
 # From the root of the zephyr repository # From the root of the zephyr repository
 west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world
 west flash west flash
- 
  
 </code> </code>
行 296: 行 297:
 Open the serial monitor using the following command: Open the serial monitor using the following command:
  
-<code>west espressif monitor +<code> 
 +west espressif monitor
  
 </code> </code>
行 303: 行 304:
 After the board has automatically reset and booted, you should see the following message in the monitor: After the board has automatically reset and booted, you should see the following message in the monitor:
  
-<code>***** Booting Zephyr OS vx.x.x-xxx-gxxxxxxxxxxxx *****+<code> 
 +***** Booting Zephyr OS vx.x.x-xxx-gxxxxxxxxxxxx *****
 Hello World! esp32s3_luatos_core Hello World! esp32s3_luatos_core
- 
  
 </code> </code>
-=====  Debugging    =====+ 
 +===== Debugging  =====
  
 ESP32-S3 support on OpenOCD is available at [[https://github.com/espressif/openocd-esp32/releases|OpenOCD ESP32]]. ESP32-S3 support on OpenOCD is available at [[https://github.com/espressif/openocd-esp32/releases|OpenOCD ESP32]].
行 318: 行 320:
 Here is an example for building the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application. Here is an example for building the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application.
 <code> <code>
 +
 # From the root of the zephyr repository # From the root of the zephyr repository
 west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world
 west flash west flash
- 
  
 </code> </code>
行 327: 行 329:
 You can debug an application in the usual way. Here is an example for the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application. You can debug an application in the usual way. Here is an example for the [[https://docs.zephyrproject.org/latest/samples/hello_world/README.html#hello-world|Hello World]] application.
 <code> <code>
 +
 # From the root of the zephyr repository # From the root of the zephyr repository
 west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world west build -b esp32s3_luatos_core/esp32s3/procpu samples/hello_world
 west debug west debug
- 
  
 </code> </code>
-=====  References    =====+ 
 +===== References  =====
  
 {{  :developmentboard:esp32-s3-sch3.png?400  }} {{  :developmentboard:esp32-s3-sch3.png?400  }}
  • developmentboard/esp32-s3_lcd.1726382368.txt.gz
  • 最后更改: 2024/09/15 06:39
  • admin