Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

M5Stack-IDF for (ESP-IDF4.0 + arduino-esp32-4.0) CMake update #2

Open
Sterpa opened this issue Mar 20, 2020 · 0 comments
Open

M5Stack-IDF for (ESP-IDF4.0 + arduino-esp32-4.0) CMake update #2

Sterpa opened this issue Mar 20, 2020 · 0 comments

Comments

@Sterpa
Copy link

Sterpa commented Mar 20, 2020

Could you please update M5Stack-IDF for (ESP-IDF4.0 + arduino-esp32-4.0 as a component) with CMake ?
ESP-IDF4.0 + arduino-esp32-4.0 branches is the most powerful environment combination now, but master branch of https://github.com/m5stack/M5Stack is not compatible with ESP-IDF4.0 & arduino-esp32-4.0 branches and with modern cmake syntaxes.

  1. I tried to change CMakeList.txt to
idf_component_register(SRCDIRS "src" "src/utility" "src/Fonts"
                       INCLUDE_DIRS "src" "src/utility" "src/Fonts"
                       REQUIRES arduino)
  1. enable bluetooth in menuconfig

  2. target_compile_definitions(${COMPONENT_NAME} PUBLIC ${DEFINITIONS}) generates an error - i have delete all text after idf_component_register

But then i got a billion errors with LoRaWan and so-on...

Please update M5Stack-IDF component or make a manual - how to connect https://github.com/m5stack/M5Stack to (ESP-IDF4.0 + arduino-esp32-4.0 as a component).

Thx a lot in advance!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant