enabled wifi, ping

added scripts for easier use of openocd programming and IDF monitor,
disabled creation of myTask
main
Jonas Arnold 4 years ago
parent f7f0b80c56
commit 2c66264e53
  1. 1
      ADIS_ESP32_Eclipse/IDF_monitor.bat
  2. 1
      ADIS_ESP32_Eclipse/OpenOCD_flash-FT2232HL.bat
  3. 2
      ADIS_ESP32_Eclipse/main/main.c
  4. 6
      ADIS_ESP32_Eclipse/main/platform.h

@ -0,0 +1 @@
idf.py -p COM3 -b 115200 monitor

@ -0,0 +1 @@
openocd -f ./FT2232HL.cfg -f ./esp-adis.cfg -c "program_esp build/esp32-adis.bin 0x10000 verify reset exit"

@ -37,7 +37,7 @@ void app_main(void)
printf("Minimum free heap size: %d bytes\n", esp_get_minimum_free_heap_size()); printf("Minimum free heap size: %d bytes\n", esp_get_minimum_free_heap_size());
/* Start task */ /* Start task */
#if 1 #if 0
printf("Starting task..."); printf("Starting task...");
MyTask_Start(); MyTask_Start();
#endif #endif

@ -9,11 +9,11 @@
/* platform configuration macros: turn on to enable functionality */ /* platform configuration macros: turn on to enable functionality */
#define PL_CONFIG_USE_BLINKY (1) /*!< if using blinky LED */ #define PL_CONFIG_USE_BLINKY (1) /*!< if using blinky LED */
#define PL_CONFIG_USE_WIFI (0) /*!< if using WiFi/WLAN */ #define PL_CONFIG_USE_WIFI (1) /*!< 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_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_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_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_SHELL (1) /*!< implements shell between robot and ESP32 */
#define PL_CONFIG_USE_RS485 (0) /*!< ESP32 using RS-485 to split-flaps */ #define PL_CONFIG_USE_RS485 (0) /*!< ESP32 using RS-485 to split-flaps */

Loading…
Cancel
Save