Skip to content

SOC_TOUCH_VERSION_2 not define #17018

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

Closed
Ansen88 opened this issue Mar 27, 2025 · 3 comments
Closed

SOC_TOUCH_VERSION_2 not define #17018

Ansen88 opened this issue Mar 27, 2025 · 3 comments
Labels

Comments

@Ansen88
Copy link

Ansen88 commented Mar 27, 2025

Port, board and/or hardware

esp32 ports ESP32_GENERIC_S3 board

MicroPython version

Micropython v1.24-release on 2025-3-27;

Reproduction

idf v5.4

cd ports/esp32
make BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT

Expected behaviour

make completed

Observed behaviour

FAILED: genhdr/qstr.i.last /home/ansen/work/src/micropython/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/genhdr/qstr.i.last
/bin/sh esp-idf/main_esp32s3/CMakeFiles/qstr.i.last-93c470f.sh adef200ce74d197a
/home/ansen/work/src/micropython/micropython/ports/esp32/machine_touchpad.c:39:2: error: #error "Unknown touch hardware version"
39 | #error "Unknown touch hardware version"
| ^~~~~

Additional Information

No response

Code of Conduct

Yes, I agree

@Ansen88 Ansen88 added the bug label Mar 27, 2025
@cnadler86
Copy link

cnadler86 commented Mar 28, 2025

You need to use the actual Micropython master branch (or at least the commit where Support for IDF 5.4 was introduced) and not 1.24.x.

@lhtien
Copy link

lhtien commented Apr 3, 2025

You need to use the actual Micropython master branch (or at least the commit where Support for IDF 5.4 was introduced) and not 1.24.x.

Great!
After checking out the master branch, the build was successful. Thank you for your answer. However, I believe this bug should be fixed as soon as possible.

@cnadler86
Copy link

This is not a bug. Micropython 1.24.1 does not support idf 5.4 (and I think 5.3 neither). Micropython 1.25 will. So, if you use the actual master branch you will use the 1.25 Preview.

@Ansen88 Ansen88 closed this as completed May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants