Open h-hexin opened 1 month ago
What board are you using?
What board are you using?
NodeMCU-32S
$73=2
?
What is your $I
output?
$73=2
? What is your$I
output?
$72 error:53 - Setting is not available, possibly due to limited driver support. $I [VER:1.1f.20241019:] [OPT:VNMSL,100,1024,5,32] [AXS:5:XYZAB] [NEWOPT:ENUMS,RT+,REBOOT,SED,RTC] [FIRMWARE:grblHAL] [SIGNALS:RHSP] [NVS STORAGE:*FLASH] [FREE MEMORY:235K] [DRIVER:ESP32] [DRIVER VERSION:241003] [DRIVER OPTIONS:v4.3.6-dirty] [BOARD:BDRING v4] [AUX IO:1,0,0,0]
couldn't find Settings for wifi
Are you sure you are using the my_machine.h listed above for compilation? When I try it works:
YES I am sure,I have tried many times,I don't know what the problem is Here is the code I used
Today,I cloned the project and tried to compile it ,succeed,I can find it,Thank you all
I find that when #define N_TOOLS 32 , I can't find wifi_AP
I find that when #define N_TOOLS 32 , I can't find wifi_AP
This is due to running out of settings storage. For now change this line to #define NVS_SIZE 4096
since that is the amount of flash reserved.
I'll add a different fix in the next commit.
I find that when #define N_TOOLS 32 , I can't find wifi_AP
This is due to running out of settings storage. For now changethis lineto
#define NVS_SIZE 4096
since that is the amount of flash reserved.I'll add a different fix in the next commit.
Thank you very much for your reply, which is very helpful to me
I just cloned the project and tried to compile it using ESP IDF 4.3.6. All is well,but grblHAL_AP can't be found,I don't know what I did wrong. This is my_machine.h. Thanks for your help!
/* Part of grblHAL
Copyright (c) 2020-2024 Terje Io
grblHAL is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
grblHAL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with grblHAL. If not, see http://www.gnu.org/licenses/. */
// NOTE: Only one board may be enabled! // If none is enabled pin mappings from generic_map.h will be used //#define BOARD_BDRING_V3P5 // #define BOARD_BDRING_V4 // //#define BOARD_BDRING_I2S6A // //#define BOARD_BDRING_6X // //#define BOARD_BDRING_I2S_6PACK_EXT_V2 // //#define BOARD_ESPDUINO32 // //#define BOARD_SOURCERABBIT_4AXIS // //#define BOARD_PROTONEER_3XX // //#define BOARD_FYSETC_E4 // //#define BOARD_XPRO_V5 // //#define BOARD_MKS_DLC32_V2P0 // //#define BOARD_MKS_TINYBEE_V1 // //#define BOARD_CNC3040 // //#define BOARD_BLACKBOX_X32 // NOTE: Enable in CMakeLists.txt to set board specific defaults for the core! //#define BOARD_ROOTCNC_V2 // //#define BOARD_ROOTCNC_V3 // //#define BOARD_ROOTCNC_PRO // //#define BOARD_JACKPOT // Uses TMC2209 drivers, untested! //#define BOARD_CNC_BOOSTERPACK // //#define BOARD_GENERIC_I2S_S3 // Generic map for ESP32-S3 with I2S shift registers for I/O expansion //#define BOARD_MY_MACHINE // Add my_machine_map.h in the boards directory before enabling this! //#define BOARD_BLOX // Configuration // Uncomment to enable, for some a value > 1 may be assigned, if so the default value is shown.
ifdef CONFIG_IDF_TARGET_ESP32S3
define USB_SERIAL_CDC 1 // Serial communication via native USB.
endif
// Spindle selection: // Up to four specific spindle drivers can be instantiated at a time // depending on N_SPINDLE and N_SYS_SPINDLE definitions in grbl/config.h. // If none are specified the default PWM spindle is instantiated. // Spindle definitions can be found in grbl/spindle_control.h. // More here https://github.com/grblHAL/Plugins_spindle //#define SPINDLE0_ENABLE SPINDLE_HUANYANG1 //#define SPINDLE1_ENABLE SPINDLE_PWM0_NODIR //#define SPINDLE2_ENABLE SPINDLE_NONE //#define SPINDLE3_ENABLE SPINDLE_NONE //#define SPINDLE_OFFSET 1 // Uncomment to enable settings for laser spindle XY-offset. // ** //#define MODBUS_ENABLE 1 // Set to 1 for auto direction, 2 for direction signal on auxillary output pin. //#define WEBUI_ENABLE 3 // Enable ESP3D-WEBUI plugin along with networking and SD card plugins. //#define WEBUI_AUTH_ENABLE 1 // Enable ESP3D-WEBUI authentication.
**#define WIFI_ENABLE 1 //
define WIFI_SOFTAP 1 // Use Soft AP mode for WiFi.**
//#define ETHERNET_ENABLE 1 // Ethernet streaming. Uses networking plugin. //#define BLUETOOTH_ENABLE 1 // Set to 1 for native radio, 2 for HC-05 module. //#define SDCARD_ENABLE 1 // Run gcode programs from SD card. Set to 2 to enable YModem upload. //#define MPG_ENABLE 1 // Enable MPG interface. Requires a serial stream and means to switch between normal and MPG mode. // 1: Mode switching is by handshake pin. // 2: Mode switching is by the CMD_MPG_ENABLE_TOGGLE (0x8B) command character. //#define KEYPAD_ENABLE 1 // 1: uses a I2C keypad for input. // 2: uses a serial stream for input. If MPG_ENABLE is set > 0 the serial stream is shared with the MPG. //#define LASER_COOLANT_ENABLE 1 // Laser coolant plugin. To be completed. //#define LB_CLUSTERS_ENABLE 1 // LaserBurn cluster support. //#define FANS_ENABLE 1 // Enable fan control via M106/M107. Enables fans plugin. //#define EMBROIDERY_ENABLE 1 // Embroidery plugin. To be completed. //#define TRINAMIC_ENABLE 2130 // Trinamic TMC2130 stepper driver support. NOTE: work in progress. //#define TRINAMIC_ENABLE 5160 // Trinamic TMC5160 stepper driver support. NOTE: work in progress. //#define TRINAMIC_I2C 1 // Trinamic I2C - SPI bridge interface. //#define TRINAMIC_DEV 1 // Development mode, adds a few M-codes to aid debugging. Do not enable in production code. //#define EEPROM_ENABLE 16 // I2C EEPROM/FRAM support. Set to 16 for 2K, 32 for 4K, 64 for 8K, 128 for 16K and 256 for 16K capacity. //#define EEPROM_IS_FRAM 1 // Uncomment when EEPROM is enabled and chip is FRAM, this to remove write delay.
define ESTOP_ENABLE 0 // When enabled only real-time report requests will be executed when the reset pin is asserted.
//#define RGB_LED_ENABLE 2 // Set to 1 to enable strip length settings $536 and $537, set to 2 to also enable M150 LED strip control. //#define PWM_SERVO_ENABLE 1 // Enable PWM servo support, requires at least one PWM capable auxillary output. //#define BLTOUCH_ENABLE 1 // Enable BLTouch support. Requires and claims one PWM servo output. //#define EVENTOUT_ENABLE 1 // Enable binding events (triggers) to control auxillary outputs.
// Optional control signals: // These will be assigned to aux input pins. Use the $pins command to check which pins are assigned. // NOTE: If not enough pins are available assignment will silently fail. //#define PROBE_ENABLE 0 // Uncomment to disable probe input. //#define SAFETY_DOOR_ENABLE 1 //#define MOTOR_FAULT_ENABLE 1 //#define MOTOR_WARNING_ENABLE 1 //#define PROBE_DISCONNECT_ENABLE 1 //#define STOP_DISABLE_ENABLE 1 //#define BLOCK_DELETE_ENABLE 1 //#define SINGLE_BLOCK_ENABLE 1 //#define LIMITS_OVERRIDE_ENABLE 1
// If the selected board map supports more than three motors ganging and/or auto-squaring // of axes can be enabled here. //#define X_GANGED 1 //#define X_AUTO_SQUARE 1 //#define Y_GANGED 1 //#define Y_AUTO_SQUARE 1 //#define Z_GANGED 1 //#define Z_AUTO_SQUARE 1 // For ganged axes the limit switch input (if available) can be configured to act as a max travel limit switch. // NOTE: If board map already has max limit inputs defined this configuration will be ignored. //#define X_GANGED_LIM_MAX 1 //#define Y_GANGED_LIM_MAX 1 //#define Z_GANGED_LIM_MAX 1 //
if WIFI_ENABLE || ETHERNET_ENABLE || WEBUI_ENABLE
define TELNET_ENABLE 1 // Telnet daemon - requires WiFi streaming enabled.
//#define WEBSOCKET_ENABLE 1 // Websocket daemon - requires WiFi streaming enabled. //#define MDNS_ENABLE 0 // mDNS daemon. Do NOT enable here, enable in CMakeLists.txt! //#define SSDP_ENABLE 1 // SSDP daemon - requires HTTP enabled. //#define MQTT_ENABLE 1 // MQTT client API, only enable if needed by plugin code.
if SDCARD_ENABLE || WEBUI_ENABLE
define FTP_ENABLE 1 // Ftp daemon - requires SD card enabled.
//#define HTTP_ENABLE 1 // http daemon - requires SD card enabled. //#define WEBDAV_ENABLE 1 // webdav protocol - requires http daemon and SD card enabled.
endif
// The following symbols have the default values as shown, uncomment and change as needed. //#define NETWORK_STA_HOSTNAME "grblHAL" //#define NETWORK_STA_IPMODE 1 // 0 = static, 1 = DHCP, 2 = AutoIP //#define NETWORK_STA_IP "192.168.5.1" //#define NETWORK_STA_GATEWAY "192.168.5.1" //#define NETWORK_STA_MASK "255.255.255.0"
if WIFI_SOFTAP
endif
//#define NETWORK_FTP_PORT 21 #define NETWORK_TELNET_PORT 23 //#define NETWORK_HTTP_PORT 80
if HTTP_ENABLE
//#define NETWORK_WEBSOCKET_PORT 81
else
//#define NETWORK_WEBSOCKET_PORT 80
endif // HTTP_ENABLE
endif // WIFI_ENABLE