Hi Guys,
I tried to use the esp-adf on a M1-Chip based Macbook ... with no success. I got esp-idf v4.4 up and running, but as soon as i try to open menuconfig of an adf sample i getan c-make error
CMake Error at /Users/ESP/esp-idf/tools/cmake/build.cmake:200 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/Users/ESP/esp-idf/tools/cmake/build.cmake:234 (__build_resolve_and_add_req)
/Users/ESP/esp-idf/tools/cmake/build.cmake:515 (__build_expand_requirements)
/Users/ESP/esp-idf/tools/cmake/project.cmake:382 (idf_build_process)
CMakeLists.txt:8 (project)
I tried to include the jsmn component from my other system and managed to pass menuconfig but when I try uploading it fails with
FAILED: esp-idf/coredump_upload_service/CMakeFiles/__idf_coredump_upload_service.dir/coredump_upload_service.c.obj
any Ideas what might help?
ESP-ADF not running on Apple M1 Chip?
-
- Posts: 3
- Joined: Wed Aug 18, 2021 7:42 am
Re: ESP-ADF not running on Apple M1 Chip?
Same here, but on IDF 5.0 and Linux (Ubuntu 20.04LTS).
-
- Posts: 3
- Joined: Wed Aug 18, 2021 7:42 am
Re: ESP-ADF not running on Apple M1 Chip?
It appears IDF 5 does not contain the jsmn component. Downgrading may help.
Re: ESP-ADF not running on Apple M1 Chip?
I seem to have the same issue. But I have a MacBook Pro (Retina, 15-inch, Mid 2015) hardware
Processor: 2.2 GHz Quad-Core Intel Core i7
OS: macOS v12.1 Monterey
Any recommendations?
Processor: 2.2 GHz Quad-Core Intel Core i7
OS: macOS v12.1 Monterey
Any recommendations?
Code: Select all
s@S-MacBook-Pro play_mp3_control % idf.py menuconfig
Executing action: menuconfig
Running cmake in directory /Volumes/Data/auscult/play_mp3_control/build
Executing "cmake -G 'Unix Makefiles' -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /Volumes/Data/auscult/play_mp3_control"...
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- IDF_TARGET not set, using default target: esp32
-- Found Git: /usr/local/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/s/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/s/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/s/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at /Users/s/esp/esp-idf/tools/cmake/build.cmake:200 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/Users/s/esp/esp-idf/tools/cmake/build.cmake:234 (__build_resolve_and_add_req)
/Users/s/esp/esp-idf/tools/cmake/build.cmake:515 (__build_expand_requirements)
/Users/s/esp/esp-idf/tools/cmake/project.cmake:422 (idf_build_process)
CMakeLists.txt:10 (project)
-- Configuring incomplete, errors occurred!
See also "/Volumes/Data/auscult/play_mp3_control/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
Re: ESP-ADF not running on Apple M1 Chip?
I seem to have installed the dev version of IDF. I can confirm build and flash works with esp-idf v4.3.2 and esp-adf v2.3-191-g2b7af28 on macOS v12.1 Monterey.
Re: ESP-ADF not running on Apple M1 Chip?
the combination of esp-idf v4.3.2 and esp-adf v2.3 seems to be working on Monterey ... thanks a lot werty37
Who is online
Users browsing this forum: No registered users and 14 guests