Open DrEVILish opened 1 week ago
Hi Ryan
Thanks for the info. Unfortunately, I have no experience with macOS, so I rely on people who have.
So, the question is: Have you been able to run the update batch after changing the new line from \r to \n? Please confirm so I can change the batch file accordingly.
Thanks
Hans
From: Ryan Freeman @.> Sent: Sunday, June 16, 2024 7:51 PM To: tanner87661/IoTTStick @.> Cc: Subscribed @.***> Subject: [tanner87661/IoTTStick] macOS update (Issue #64)
unable to update IoTT Stick via macOS
update.mac has the wrong (new line) character.
Giving the below error.
usage: esptool write_flash [-h] [--erase-all] [--flash_freq {keep,40m,26m,20m,80m}] [--flash_mode {keep,qio,qout,dio,dout}] [--flash_size FLASH_SIZE] [--spi-connection SPI_CONNECTION] [--no-progress] [--verify] [--encrypt] [--ignore-flash-encryption-efuse-setting] [--compress | --no-compress]
Yes, IoTT stick connected via USB
Python and it's required dependencies installed and updated to latest versions.
Edited the file with macOS native editor.
Then ran the update script ./update.mac
I'm now running the latest version of IoTT
unable to update IoTT Stick via macOS
update.mac has the wrong (new line) character.
Giving the below error.
new macOS installations use
\n
as the newline character not the\r
this causes, python to look at the wrong file names.https://stackoverflow.com/questions/3821784/whats-the-difference-between-n-and-r-n
There was also something else with PySerial not being installed and Python bugging out during the install but I do not feel it's in the realm of your project to fix nor care.
Ryan