You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A) mcommon (OK)
B) mconfig (OK)
C) mdebug (OK)
D) mupgrade (OK)
E) mwifi
console_test (OK)
mqtt_example (OK)
no_router (OK)
root_on_eithernet (OK)
router (OK)
get_started (Ok)
mesh_lite
A)rainmaker/LED_Light (OK)
B)router (OK)
wireless_debug (OK)
NEXT -- I COPIED THE EXAMPLES DIRECTORY TO MY DESKTOP to compile and run menuconfig again...
The docs say clearly that these examples should compile anywhere on your computer.
In my case, all project were not correctly getting the MDF path. That path looked like it was set to a repository
on my desktop where I cloned several versions of the MDF. I don't know how that path gets into
the system (Git?). My Windows MDF PATH variable was being ignored.
The work around that I used was to go to each project's root CMakeLists.txt file and redirect the MDF_PATH by adding this one line marked below:
if(NOT DEFINED $ENV{MDF_PATH})
set(ENV{MDF_PATH} ${CMAKE_CURRENT_LIST_DIR}/../../..)
endif()
set(ENV{MDF_PATH} C:/Users//esp/esp-mdf) <--- Add this line to take control of that path variable
At this point, I verified again that all projects compiled and menuconfig ran.
mesh_lite/rainmaker/LED_Light has additional path problems. Components can not be found. I think this is all CMake related errors.
IF ANYONE HAS A MORE CORRECT SOLUTION TO THESE PROBLEMS PLEASE COMMENT. THANKS.
The text was updated successfully, but these errors were encountered:
I attempted to build and run menuconfig for all the Mesh Example projects...
I think someone at Espressif is not doing their regression testing....
I'm new to Mesh Development Framework but not new to the IDF....
(machine/tools) Windows 10 / IDF 4.4.1 / VS Code / Espressif IDF Plug-in Extension 1.5.1
The MDF was installed side-by-side with the IDF.
The first thing I did was to make sure my window environment variables were set:
IDF_PATH C:\Users<user name>\esp\esp-idf
MDF_PATH C:\Users<user name>\esp\esp-mdf
(restarted Windows to make sure the variables were active.)
FIRST RUNNING EXAMPLES IN PLACE (within the MDF install/examples directory)
I made all the following corrections that are listed.
A) Buddy (Failed to resolve component 'led_strip') AND Menuconfig won't load
Buddy is looking for the led_strip in the wrong place.
Changed this: ${IDF_PATH}/examples/peripherals/rmt/led_strip/components
To this: ${IDF_PATH}/examples/common_components/led_strip
ALSO - There is no Kconfig file to set the configuration for WS2812 LED (not needed????)
B) Button (OK)
C) Light (OK)
D) Sense (Executable exceeds partition sizes)
Changed partition sizes to this:
factory, app, factory, 0x30000, 1700K
ota_0, app, ota_0, 0x1E0000, 1700K
ota_1, app, ota_1, 0x390000, 1700K
A) mcommon (OK)
B) mconfig (OK)
C) mdebug (OK)
D) mupgrade (OK)
E) mwifi
console_test (OK)
mqtt_example (OK)
no_router (OK)
root_on_eithernet (OK)
router (OK)
get_started (Ok)
mesh_lite
A)rainmaker/LED_Light (OK)
B)router (OK)
NEXT -- I COPIED THE EXAMPLES DIRECTORY TO MY DESKTOP to compile and run menuconfig again...
The docs say clearly that these examples should compile anywhere on your computer.
In my case, all project were not correctly getting the MDF path. That path looked like it was set to a repository
on my desktop where I cloned several versions of the MDF. I don't know how that path gets into
the system (Git?). My Windows MDF PATH variable was being ignored.
The work around that I used was to go to each project's root CMakeLists.txt file and redirect the MDF_PATH by adding this one line marked below:
if(NOT DEFINED $ENV{MDF_PATH})
set(ENV{MDF_PATH} ${CMAKE_CURRENT_LIST_DIR}/../../..)
endif()
set(ENV{MDF_PATH} C:/Users//esp/esp-mdf) <--- Add this line to take control of that path variable
At this point, I verified again that all projects compiled and menuconfig ran.
mesh_lite/rainmaker/LED_Light has additional path problems. Components can not be found. I think this is all CMake related errors.
IF ANYONE HAS A MORE CORRECT SOLUTION TO THESE PROBLEMS PLEASE COMMENT. THANKS.
The text was updated successfully, but these errors were encountered: