gc9a01_mpy icon indicating copy to clipboard operation
gc9a01_mpy copied to clipboard

Trouble compiling for a RP2040 on MBP M3

Open martyphee opened this issue 7 months ago • 0 comments

The docs say to use this command

cd micropython/ports/rp2
make \
    BOARD=RPI_PICO \
    FROZEN_MANIFEST=../../../../gc9a01c/manifest.py \
    USER_C_MODULES=../../../gc9a01c/src/micropython.cmake \
    submodules clean all

I think that directory is wrong if you just use a git clone it would be gc9a01_mpy

I got past that but get this error now

Root pointer registrations updated
[  5%] Generating genhdr/root_pointers.h
freeze error executing "../../../gc9a01_mpy/manifest.py": Error in manifest file: /Users/marty/develop/micro/micropython/gc9a01_mpy/manifest.py: [Errno 2] No such file or directory: '/Users/marty/develop/micro/micropython/gc9a01_mpy/manifest.py'
make[3]: *** [CMakeFiles/BUILD_FROZEN_CONTENT] Error 1
make[2]: *** [CMakeFiles/BUILD_FROZEN_CONTENT.dir/all] Error 2
make[1]: *** [all] Error 2
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [all] Error 1

Full output: output.log

Using this command from ./micropython/ports/rp2

make \
    BOARD=RPI_PICO \
    PICO_TOOLCHAIN_PATH=/Applications/ARM/bin \
    FROZEN_MANIFEST=../../../gc9a01_mpy/manifest.py \
    USER_C_MODULES=../../../gc9a01_mpy/src/micropython.cmake \
    submodules clean all

Computer: MBP M3

Same error trying to build the ESP32

./../../gc9a01_mpy/manifest.py
freeze error executing "../../../../gc9a01_mpy/manifest.py": Error in manifest file: /Users/marty/develop/micro/micropython/ports/gc9a01_mpy/manifest.py: [Errno 2] No such file or directory: '/Users/marty/develop/micro/micropython/ports/gc9a01_mpy/manifest.py'
[1128/1379] Performing configure step for 'bootloader'

martyphee avatar Jul 07 '24 09:07 martyphee