Closed hankecnc closed 2 years ago
If it can't be solved, I hope you can provide me with a bin firmware, I want to replace the Grbl_Esp32 control board sold before with grblhal_esp32, Grbl_Esp32 can be compiled with vc code Platformio and arduino, which is much simpler for me,
If the compilation problem is not easy to solve, can you provide a compiled bin file? Here is his pin assignment:
//Adir GPIO_NUM_13 //Apul GPIO_NUM_25
Judging from the more than 150 esp32 control boards that have been sold, for amateur CNC, people seem to like the grbl of the esp32 port. It has many functions. It can connect to the control computer without plugging in usb, and can use wifi, bluetooth, etc. control,
In addition, I have established a Chinese grbl website to provide users with Chinese grbl tutorials, http://www.grbl.cc/
Looks like you have not downloaded the submodules with the --recurse-submodules option.
The simplest way to add your pin mapping is to create _my_machinemap.h in the main directory, add definitions, and enable that in CMakelists.txt. BTW the mappings shown above is not compatible with grblHAL.
Grbl_Esp32 can be compiled with vc code Platformio and arduino
It should be possible to build grblHAL with VSCode - I did that earlier, but I have gave up on it after an automatic upgrade broke something. It should be possible to use platformio as well if you are able to create an ini-file. Compiling with Arduino is not possible without more fundamental code changes?
FYI there is a regression in the source that I have not yet comitted a fix for.
It's frustrating, or it doesn't work, I don't know what I'm doing wrong? English is not my native language and it's a headach e
I used the --recurse-submodules download, also enabled a pinout file in my_machine.h, also in CMakeLists.txt ![Uploading dd.png…]() ![Uploading aaa.png…]() ,
You have to run the ESP-IDF startup script to setup the environment for compiling. On my machine there are two versions found on the Start menu in the ESP-IDF "folder" - this is what I get when starting ESP-IDF 4.3 CMD shortcut:
Then I have to change directory to the project folder before building/flashing.
When building with idf.py _mymachine.h is not used at all, configuration has to be done in CMakeLists.txt, if you added _my_machinemap.h for your board you have to disable (set to OFF) this line: https://github.com/grblHAL/ESP32/blob/a02a4a4202fc617c944a20bdff3bc43ae632e76d/main/CMakeLists.txt#L7 and enable (set to ON) this line: https://github.com/grblHAL/ESP32/blob/a02a4a4202fc617c944a20bdff3bc43ae632e76d/main/CMakeLists.txt#L16
I recommend using _my_machinemap.h for custom mappings as this will not be overwritten on updates.
I downloaded esp idf 4.3 on windows system, downloaded your source code, entered cd to enter the esp directory, entered idf.py build to compile, Got the error, depending on how some work needs to be done before this?