Skip to content

Commit

Permalink
adding main.elf
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Aug 19, 2024
1 parent f17895f commit bdec7ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Binary file added update_scripts/upcoming/main.elf
Binary file not shown.
6 changes: 5 additions & 1 deletion update_scripts/upcoming/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 || :

0 comments on commit bdec7ae

Please sign in to comment.