grblHAL / ESP32

grblHAL driver for ESP32
Other
73 stars 43 forks source link

Can't compile BOARD_MKS_TINYBEE_V1 .esp32 I get errors #117

Closed regin92 closed 1 month ago

regin92 commented 4 months ago

I need for esp32 BOARD_MKS_TINY change the pins. with the official map, the fact is that I’m installing Web Builder, not all pins are correctly set for the laser; you need to change a little to add devices for m8 and change the laser pin. installed Espressif. cloned the project edited the files ESP32\main\CMakeLists.txt ESP32\main\my_machine.h \ESP32\main\grbl\config.h \ESP32\main\boards\mks_tinybee_1_0_map.h I get errors. I can’t fix it myself. I am attaching the log and the files that I edited. Снимок экрана (9) ESP32.zip ESP32_MKS_TINYBEE_V1.json

terjeio commented 4 months ago

Wrong IDF version? Espressif has a habit of making new version not backwards compatible, grblHAL is for 4.3 or 4.4. And as long as the versions used for grblHAL is working I do not want to spend time refactoring/retesting the code.

CMakeLists.txt should not be modified unless you add a custom plugin, enable stuff in _mymachine.h instead.

regin92 commented 4 months ago

Thank you. installed Espressif\frameworks\esp-idf-v4.4.8\ and everything compiled fine everything works but I don’t know where to turn on the limit switches and the house. many settings. I'm still figuring it out. where can I find descriptions of the settings? I use LightBurn. the machine is working fine. but the house doesn't work Previously, the house and limit switches worked on other grbl firmwares. I configure it via ioSender. and web browser index.html.gz . I did several firmware updates and configured my_machine.h and here’s the question: Is it possible to change anything in grbl/config.h? i just changed #define COREXY 1 but i need end switches and house

define DEFAULT_HOMING_FORCE_SET_ORIGIN Off

And

define DEFAULT_LIMITS_TWO_SWITCHES_ON_AXES Off

can this be enabled here?

terjeio commented 4 months ago

where can I find descriptions of the settings?

Some are documented here, all by querying the controller as described in the linked page.

All settings with short descriptions, are available in ioSender - in the WebUI without descriptions though. Here is how homing options are presented in ioSender:

image

Is it possible to change anything in grbl/config.h?

Yes, but many #defines there are just defaults for settings that can be changed with $-commands. You will have to send $RST=* to change the stored values after reflashing, however it is better to use the $-commands instead as this does not reset other settings you may want to keep.