File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/jumpstarter-driver-esp32/jumpstarter_driver_esp32 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,21 @@ def erase_flash(self) -> str:
2929 self .logger .info ("Erasing flash... this may take a while" )
3030 return self .call ("erase_flash" )
3131
32- def flash_firmware (self , operator : Operator , path : str , address : int = 0x10000 ) -> str :
32+ def flash_firmware (self , operator : Operator , path : str , address : int = 0x1000 ) -> str :
3333 """Flash firmware to the ESP32
3434
3535 Args:
3636 operator: OpenDAL operator for file access
3737 path: Path to firmware file
38- address: Flash address (default: 0x10000 for app partition)
38+ address: Flash address
3939 """
4040 if address < 0 :
4141 raise ArgumentError ("Flash address must be non-negative" )
4242
4343 with OpendalAdapter (client = self , operator = operator , path = path ) as handle :
4444 return self .call ("flash_firmware" , handle , address )
4545
46- def flash_firmware_file (self , filepath : str , address : int = 0x10000 ) -> str :
46+ def flash_firmware_file (self , filepath : str , address : int = 0x1000 ) -> str :
4747 """Flash a local firmware file to the ESP32"""
4848 absolute = Path (filepath ).resolve ()
4949 if not absolute .exists ():
You can’t perform that action at this time.
0 commit comments