Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
This release is increases the stability and performance of the firmware, as well as fixes some minor bugs.

## Highlight

- Enabled release builds for improved firmware size, performance, and stability.

## Minor Updates

- Improved RFTransmitter delay logic to wait patiently for commands if it has no transmissions to send.
- Increased RFTransmitter performance margins to avoid command stacking and delays.
- Updated build script to properly identify git-tag triggered github action runs.

## Bug Fixes

- Fixed a bug where the RFTransmitter loop would never delay, causing other tasks running on the same core to completely halt.
- Removed null check on credentials password received in frontend, as null is expected due to sensitive data removal.
  • Loading branch information
hhvrc authored Jan 31, 2024
2 parents f60d624 + 2008592 commit 3c2b764
Show file tree
Hide file tree
Showing 19 changed files with 489 additions and 387 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
name: ci-build

env:
NODE_VERSION: 18
NODE_VERSION: 20
PYTHON_VERSION: 3.12

jobs:
Expand Down
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
# Version 1.1.1 Release Notes

This release is increases the stability and performance of the firmware, as well as fixes some minor bugs.

## Highlight

- Enabled release builds for improved firmware size, performance, and stability.

## Minor Updates

- Improved RFTransmitter delay logic to wait patiently for commands if it has no transmissions to send.
- Increased RFTransmitter performance margins to avoid command stacking and delays.
- Updated build script to properly identify git-tag triggered github action runs.

## Bug Fixes

- Fixed a bug where the RFTransmitter loop would never delay, causing other tasks running on the same core to completely halt.
- Removed null check on credentials password received in frontend, as null is expected due to sensitive data removal.

# Version 1.1.1-rc.6 Release Notes

Inlined the wait time check in RFTransmitter to re-check if we added any commands on receiving a event.

# Version 1.1.1-rc.5 Release Notes

Fixed a bug where the RFTransmitter loop would never delay, causing other tasks running on the same core to completely halt.

# Version 1.1.1-rc.4 Release Notes

Fix tag check again, this time for real.

# Version 1.1.1-rc.3 Release Notes

Increased performance margins for RFTransmitter to prevent commands from stacking up and getting delayed.

Fixed python build script git-tag check to check `GIT_REF_NAME` instead of incorrect `GIT_BASE_REF` which caused it to build in debug mode.

# Version 1.1.1-rc.2 Release Notes

Removed null check on credentials password received in frontend, as null is expected due to sensitive data removal.

# Version 1.1.1-rc.1 Release Notes

In this release we enabled release builds, resulting in smaller, faster, and more stable firmware.

# Version 1.1.0 Release Notes

It's finally here! The 1.1.0 release of OpenShock is now available for download.
Expand Down
16 changes: 16 additions & 0 deletions chips/ESP32-C3/4MB/merge-image.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/python3

import esptool

# fmt: off
# Note: Bootloader for esp32-s3 starts at 0x0000, unlike several other ESP32 variants that start at 0x1000.
esptool.main([
'--chip', 'esp32s3',
'merge_bin', '-o', 'merged.bin',
'--flash_size', '4MB',
'0x0', './bootloader.bin',
'0x8000', './partitions.bin',
'0x10000', './app.bin',
'0x353000', './staticfs.bin' # This is littlefs.bin, the github CI/CD pipeline renames it to staticfs.bin
])
# fmt: on
Loading

0 comments on commit 3c2b764

Please sign in to comment.