diff --git a/CHANGELOG.md b/CHANGELOG.md index d8871bf7..b9126a14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ #### Breaking changes - - the RP2040 firmware is now on i2c channel 0x2C (previously 0x30). This is to solve an annoying `i2cdetect` issue were it would lock up. + - the RP2040 firmware is now on i2c channel 0x2C (previously 0x30). This is to solve an annoying `i2cdetect` issue where the i2c channel would lock up. - the web server now writes its logs to the same location as the app: `/var/log/pioreactor.log`. Those wishing to keep the old location can use a new configuration parameter `ui_log_file` to `[logging]` section and set it to `/var/log/pioreactorui.log`. - removed `psutil` and `zeroconf` Python packages from new images. We replaced their functionality with built-in routines. - in config.ini, the section `od_config` renamed to `od_reading.config`, and `stirring` is `stirring.config`. When you update, a script will run to automatically update these names in your config.inis. diff --git a/update_scripts/upcoming/main.elf b/update_scripts/upcoming/main.elf new file mode 100644 index 00000000..e08d9dd6 Binary files /dev/null and b/update_scripts/upcoming/main.elf differ diff --git a/update_scripts/upcoming/update.sh b/update_scripts/upcoming/update.sh index ca6cc585..af4523b4 100644 --- a/update_scripts/upcoming/update.sh +++ b/update_scripts/upcoming/update.sh @@ -86,6 +86,10 @@ fi # change the permissions in the log file, and logrotate file - sudo chmod 666 /var/log/pioreactor.log sudo sed -i 's/create 0660 pioreactor pioreactor/create 0666 pioreactor pioreactor/' /etc/logrotate.d/pioreactor + + +# update firmware to 0.3 +sudo mv ./main.elf /usr/local/bin/main.elf +sudo systemctl restart load_rp2040.service || :