diff --git a/ADIS_ESP32_Eclipse/IDF_monitor.bat b/ADIS_ESP32_Eclipse/IDF_monitor.bat new file mode 100644 index 0000000..b00ccc9 --- /dev/null +++ b/ADIS_ESP32_Eclipse/IDF_monitor.bat @@ -0,0 +1 @@ +idf.py -p COM3 -b 115200 monitor \ No newline at end of file diff --git a/ADIS_ESP32_Eclipse/OpenOCD_flash-FT2232HL.bat b/ADIS_ESP32_Eclipse/OpenOCD_flash-FT2232HL.bat new file mode 100644 index 0000000..cdbeb17 --- /dev/null +++ b/ADIS_ESP32_Eclipse/OpenOCD_flash-FT2232HL.bat @@ -0,0 +1 @@ +openocd -f ./FT2232HL.cfg -f ./esp-adis.cfg -c "program_esp build/esp32-adis.bin 0x10000 verify reset exit" diff --git a/ADIS_ESP32_Eclipse/main/main.c b/ADIS_ESP32_Eclipse/main/main.c index 0690882..61eb276 100644 --- a/ADIS_ESP32_Eclipse/main/main.c +++ b/ADIS_ESP32_Eclipse/main/main.c @@ -37,7 +37,7 @@ void app_main(void) printf("Minimum free heap size: %d bytes\n", esp_get_minimum_free_heap_size()); /* Start task */ -#if 1 +#if 0 printf("Starting task..."); MyTask_Start(); #endif diff --git a/ADIS_ESP32_Eclipse/main/platform.h b/ADIS_ESP32_Eclipse/main/platform.h index 3f8e218..93e59cc 100644 --- a/ADIS_ESP32_Eclipse/main/platform.h +++ b/ADIS_ESP32_Eclipse/main/platform.h @@ -9,11 +9,11 @@ /* platform configuration macros: turn on to enable functionality */ #define PL_CONFIG_USE_BLINKY (1) /*!< if using blinky LED */ -#define PL_CONFIG_USE_WIFI (0) /*!< if using WiFi/WLAN */ -#define PL_CONFIG_USE_IDENTIFY (0 && PL_CONFIG_USE_WIFI) /*!< used to identify ESP32 and robot, needed for EEE network */ +#define PL_CONFIG_USE_WIFI (1) /*!< if using WiFi/WLAN */ +#define PL_CONFIG_USE_IDENTIFY (1 && PL_CONFIG_USE_WIFI) /*!< used to identify ESP32 and robot, needed for EEE network */ #define PL_CONFIG_USE_UDP_SERVER (0 && PL_CONFIG_USE_WIFI) /*!< UDP server, used for communication to robot */ #define PL_CONFIG_USE_UDP_CLIENT (0 && PL_CONFIG_USE_WIFI) /*!< UDP client, optionally available for tests */ -#define PL_CONFIG_USE_PING (0 && PL_CONFIG_USE_WIFI) /*!< shell command with ping, to test network connection */ +#define PL_CONFIG_USE_PING (1 && PL_CONFIG_USE_WIFI) /*!< shell command with ping, to test network connection */ #define PL_CONFIG_USE_SHELL (1) /*!< implements shell between robot and ESP32 */ #define PL_CONFIG_USE_RS485 (0) /*!< ESP32 using RS-485 to split-flaps */