Commit Graph

147 Commits

Author SHA1 Message Date
Robert McMahon 0e514cbbda Fix documentation links: convert inline doc references to proper markdown links 2025-12-28 18:04:11 -08:00
Robert McMahon 2118556fbd Add note that get_idf must be run before all idf.py commands 2025-12-28 18:00:13 -08:00
Robert McMahon e0c9dc5f2a Add ESP-IDF v6 setup instructions with get_idf() function 2025-12-28 17:58:12 -08:00
Robert McMahon 2275dced88 Add USB port mapping instructions to README.md
- Introduced a new section detailing the `gen_udev_rules.py` script for stable USB port mapping.
- Explained features, usage, and installation steps for generated udev rules to ensure consistent device identification across reboots.
2025-12-28 17:54:00 -08:00
Robert McMahon bed4c3f5f5 Fix README: use --start-ip instead of --target-ip in deployment example 2025-12-28 17:50:54 -08:00
Robert McMahon 78bc0effc4 Move README.md to root and update with comprehensive project documentation 2025-12-27 19:47:20 -08:00
Robert McMahon c58e70a658 Fix strncpy warnings and remove duplicate license headers
- Fix stringop-truncation warnings in wifi_cfg.c and cmd_wifi.c
- Remove duplicate license headers from multiple source files
- Update dependencies.lock
2025-12-27 19:38:23 -08:00
Robert McMahon a303b7171a Enhance error handling and logging in WiFi connection process
- Added error checks in wifi_do_connect to handle potential failures during connection attempts.
- Improved logging to provide clearer insights into connection status and errors for better debugging.
2025-12-27 19:35:25 -08:00
Robert McMahon 1eddb8e84f Refactor file headers and clean up comments in multiple source files
- Updated file headers in iperf.c to include trip-time support in the brief description.
- Removed unnecessary comment blocks in cmd_ip.c, cmd_nvs.c, app_console.c, and wifi_cfg.c to streamline the codebase.
2025-12-27 19:34:21 -08:00
Robert McMahon 56ea987f75 Improve WiFi configuration handling by ensuring proper string termination
- Updated strncpy calls in wifi_cfg_apply_from_nvs and wifi_do_connect to prevent buffer overflows by reserving space for null termination.
- Added explicit null termination for SSID and password fields in the wifi_config_t structure.
2025-12-27 18:00:19 -08:00
Robert McMahon 128596bd67 Clean up repository and improve console initialization
- Remove Emacs backup files (cmd_ip.c~, cmd_wifi.c~)
- Add new_rules.part to .gitignore (temp file used by gen_udev_rules.py)
- Update version to 2.1.0-CONSOLE-DEBUG for debugging
- Add debug logging around console REPL initialization
- Improve error handling for console initialization failures
- Remove unreachable code after esp_console_start_repl()
2025-12-27 17:56:46 -08:00
Robert McMahon d4cd861b80 Add error handling for UART and GPIO configurations in gps_sync_init
- Implemented error checks for uart_driver_install, uart_set_pin, gpio_config, gpio_install_isr_service, and gpio_isr_handler_add to ensure robust initialization of GPS synchronization components.
- Enhanced logging to provide detailed error messages for easier debugging.
2025-12-27 17:07:45 -08:00
Robert McMahon feb0d4d142 Remove deprecated Python scripts and clean up repository
- Removed 13 deprecated deployment/configuration scripts superseded by esp32_deploy.py:
  * flash_all.py, flash_all_parallel.py, flash_all_serial_config.py
  * flash_and_config.py, mass_deploy.py, async_mass_deploy.py
  * async_batch_config.py, batch_config.py, config_device.py
  * esp32_reconfig.py, reconfig_simple.py, reconfig_simple_nextip.py
  * map_usb_to_ip.py

- Updated .gitignore to exclude:
  * Emacs backup files (#filename#)
  * firmware/ directory and flash_args_* build artifacts

- Repository now contains only active scripts:
  * esp32_deploy.py (main unified deployment tool)
  * detect_esp32.py, control_iperf.py, parse_csi.py
  * add_license.py, gen_udev_rules.py, identiy_port.py
  * async_find_failed.py (diagnostic utility)
2025-12-27 16:42:09 -08:00
Robert McMahon 4ed4391068 final fixes for commands 2025-12-22 16:57:51 -08:00
Robert McMahon 2590a96b15 fix led so it works now 2025-12-22 15:52:02 -08:00
Robert McMahon 98b013569d some led work 2025-12-22 15:19:10 -08:00
Robert McMahon 64446be628 more cmd stuff 2025-12-22 15:00:54 -08:00
Robert McMahon b769dbc356 more on gps time 2025-12-22 13:06:05 -08:00
Robert McMahon 9974174d5b use sub commands for iperf major command 2025-12-22 12:27:12 -08:00
Robert McMahon b4b40de64d wifi connect without requiring reboot 2025-12-22 11:55:20 -08:00
Robert McMahon 099c28f9c7 wifi scan 2025-12-21 18:54:18 -08:00
Robert McMahon 42905200ea more on commands 2025-12-21 15:54:30 -08:00
Robert McMahon 6c214e8e92 udp with trip-times 2025-12-20 18:35:06 -08:00
Robert McMahon 969abb5ae4 update license 2025-12-19 18:13:49 -08:00
Robert McMahon 2a41edf491 add bssid to scan output 2025-12-19 18:10:02 -08:00
Robert McMahon 46f0cdb07b add ping support 2025-12-19 17:46:31 -08:00
Robert McMahon e8f7e2f75c more on gps 2025-12-19 14:50:06 -08:00
Robert McMahon 1b78440309 gps --status command 2025-12-19 14:46:24 -08:00
Robert McMahon 88a585408a add gps to nvs 2025-12-19 14:30:29 -08:00
Robert McMahon e5baa7cec5 fix gps sync 2025-12-19 12:10:35 -08:00
Robert McMahon 3969c5780d nvs saves 2025-12-19 10:36:10 -08:00
Robert McMahon ca8b382a40 more on console 2025-12-19 10:21:08 -08:00
Robert McMahon 0f1c5b3079 more on console 2025-12-19 10:12:32 -08:00
Robert McMahon 796ef43497 more command & console work, including save and reload 2025-12-18 21:43:18 -08:00
Robert McMahon 87744e2883 Merge branch 'feature/generic-shell' of https://git.umbernetworks.com/Umber/ESP32 into feature/generic-shell 2025-12-18 17:55:08 -08:00
Robert McMahon c640bc4df7 fixes to deploy to update udev rules 2025-12-18 17:53:11 -08:00
Robert McMahon a56832c01c build.txt file 2025-12-16 18:14:40 -08:00
Robert McMahon 538d203185 serial console 2025-12-16 15:01:27 -08:00
Robert McMahon fa3e8509fb up to build for console work 2025-12-16 11:56:31 -08:00
Bob 954075ea6e more on robustness, also mitigate thundering herd 2025-12-15 19:25:30 -08:00
Bob 090c66f649 more on scaling 2025-12-15 16:56:14 -08:00
Bob 40f77d324d better output 2025-12-15 11:30:45 -08:00
Bob 1b6e61bdb4 more control 2025-12-15 11:25:37 -08:00
Bob cf33a8b19a more on synchronis start/stop 2025-12-15 09:42:05 -08:00
Bob 08d75fc645 dyanmic update interval for pps stats 2025-12-15 08:57:14 -08:00
Bob d290589888 fixes for better stats 2025-12-15 08:18:24 -08:00
Bob b86bb81110 iperf stats after stop 2025-12-14 21:59:13 -08:00
Bob d1be832790 fix stop/start early 2025-12-14 15:27:55 -08:00
Bob beae917a36 status works 2025-12-14 15:20:53 -08:00
Bob 0d7674052b more on control_iperf.py support 2025-12-14 14:48:56 -08:00