STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
ota_upload.py File Reference

Go to the source code of this file.

Namespaces

namespace  ota_upload

Functions

 ota_upload.print_banner ()
str ota_upload.find_pio_command ()
str ota_upload.compile_firmware (str message)
 ota_upload.upload_firmware (str bin_path, str ip, int port)
 ota_upload.main ()

Variables

str ota_upload.DEFAULT_IP = "192.168.2.5"
int ota_upload.DEFAULT_PORT = 3232
int ota_upload.CHUNK_SIZE = 4096
int ota_upload.CONNECT_TIMEOUT = 5
int ota_upload.TRANSFER_TIMEOUT = 30
 ota_upload.SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
 ota_upload.PROJECT_DIR = os.path.join(SCRIPT_DIR, "OTA_Test_Firmware")
 ota_upload.PIO_BUILD_DIR = os.path.join(PROJECT_DIR, ".pio", "build", "adafruit_feather_esp32s3")
 ota_upload.FIRMWARE_BIN = os.path.join(PIO_BUILD_DIR, "firmware.bin")