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

tinygo flash -target ESP32-S3 #4778

Open
vladichumachenko opened this issue Mar 5, 2025 · 1 comment
Open

tinygo flash -target ESP32-S3 #4778

vladichumachenko opened this issue Mar 5, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request esp32

Comments

@vladichumachenko
Copy link

I cannot flash the firmware for Heltec esp32S3 + SX1262.

When using:

tinygo-v.0.36.0 flash -target=esp32 -port=…

  • machine_esp32_i2c.go:38:16: undefined: SCL_PIN
  • machine_esp32_i2c.go:41:16 undefined: SDA_PIN

target=esp32c3(?)

  • machine_esp32_i2c.go:38:16: undefined: SCL_PIN
  • machine_esp32_i2c.go:41:16 undefined: SDA_PIN

Perhaps I need to specify a different target?
My code does not use I2C directly, but the internal initialization of the machine for ESP32-S3 triggers this error due to incomplete support or a bug.

  • machine_esp32_i2c.go:38:16: undefined: SCL_PIN
  • machine_esp32_i2c.go:41:16 undefined: SDA_PIN

tinygo-v.0.31.0 flash -target=esp32 -port=…

  • A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?
@deadprogram
Copy link
Member

Please see #3442

@deadprogram deadprogram added duplicate This issue or pull request already exists enhancement New feature or request esp32 labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request esp32
Projects
None yet
Development

No branches or pull requests

2 participants