Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-S3 Blinky example fails to build #85398

Closed
LTVA1 opened this issue Feb 7, 2025 · 12 comments
Closed

ESP32-S3 Blinky example fails to build #85398

LTVA1 opened this issue Feb 7, 2025 · 12 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32

Comments

@LTVA1
Copy link

LTVA1 commented Feb 7, 2025

Describe the bug
Blinky example does not compile for ESP32-S3-DevKitC target, fails because of undeclared define.

To Reproduce

  1. Configure the envoronment as in getting started guide.
  2. Try to compile and flash Blinky example as stated in this guide.

Expected behavior
I expected the compilation to finish and the resulting binaries to be flashed on the device.

Impact
I can't work with the Zephyr toolchain because it does not compile the project from examples directory.

Logs and console output
Console output: log.txt

Environment (please complete the following information):

  • OS: Windows 10
  • Toolchain: Zephyr SDK
  • West version: v1.3.0

Additional context
It's funny how I just tried to test it on AMP IPM example and it managed to build it for some reason, doesn't start properly on the device though: log_amp.txt

@LTVA1 LTVA1 added the bug The issue is a bug, or the PR is fixing a bug label Feb 7, 2025
Copy link

github-actions bot commented Feb 7, 2025

Hi @LTVA1! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@sylvioalves
Copy link
Collaborator

This board has no embedded LED that can be controlled over GPIO as done in blinky sample. If you manually attached an LED externally, please read:
https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/basic/blinky/README.rst#adding-board-support

The board has a RGB led though. You can try the sample below:
samples/drivers/led/led_strip.

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

So that's the reason why it doesn't compile?

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

@sylvioalves I tried and it still fails.

log_strip.txt

@sylvioalves
Copy link
Collaborator

No SOURCES given to Zephyr library: drivers__led_strip
This message in the log file indicates LED strip source isn't added into the build.

  1. Can you confirm you run west update prior west build..?
  2. Share the Zephyr branch revision.

I've tested here and it builds properly.

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

I just ran west update to make sure, same error after that (and all stuff was up to date).
How can I check Zephyr branch revision?

@sylvioalves
Copy link
Collaborator

try git describe --tags

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

v4.0.0-4696-g96a235499bc

@sylvioalves
Copy link
Collaborator

Ok, I see the issue now. You have to build the sample for theprocpu. appcpu is intended to be use in AMP scenario only.
Please, run:
west build -p -b esp32s3_devkitc/esp32s3/procpu samples/drivers/led/led_strip

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

Thanks! I completely forgot to test it. I tested blinky for both cores...
However, now it does not start properly... Should I open another issue for that?

log_failed_start.txt

@sylvioalves
Copy link
Collaborator

Board is in bootloader mode. Can you try pressing the BOOT or Reset button?

@LTVA1
Copy link
Author

LTVA1 commented Feb 8, 2025

Connected power when BOOT was pressed, then repeatedly pressed RET log_boot.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32
Projects
None yet
Development

No branches or pull requests

3 participants