-
Notifications
You must be signed in to change notification settings - Fork 43
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
Can't compile in latest ESP-IDF #21
Comments
Seems to be because micropython needs a cmake interface file now #20 appears to be a fix for this |
I finally got it to work using an absolute path
|
Thanks.
I'll try this, but the file is a .mk not a .cmake
Do I possibly have the wrong files?
Phil
…On Fri, Apr 16, 2021, 08:01 Colin Alston ***@***.***> wrote:
I finally got it to work using an absolute path
make USER_C_MODULES=~/st7789_mpy/st7789/micropython.cmake all
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF6UV35MJ5WTF3YOYYHXSODTI5O3NANCNFSM4272UNJA>
.
|
it has changed in the new micropython codebase. See the pull requests fork at https://github.com/udifuchs/st7789_mpy - I just got it working now |
It's making more progress, but now I get the following error. Building C object esp-idf/main/CMakeFiles/idf_main.dir///frozen_content.c.obj |
try a |
Champion. That has worked a treat! |
So it builds with the following and works great now thanks so much. To sumerize I did the following: make clean I have flashed the ESP32 using the following code changing the port and baud rate. /home/pico/.espressif/python_env/idf4.3_py3.8_env/bin/python ../../../esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyS12 -b 921600 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 build-GENERIC/bootloader/bootloader.bin 0x8000 build-GENERIC/partition_table/partition-table.bin 0x10000 build-GENERIC/micropython.bin Then I use putty serial at 15200 baud rate (in Windows on COM12) |
Doesn't build.
|
|
The 4.3 release of ESP-IDF won't compile the c modules into the micropython firmware as has some error using 'make' 'all' that it can't find the 'file' st7789_mpy, when this is actually a folder and not a file.
The text was updated successfully, but these errors were encountered: