Skip to content

Commit

Permalink
Fishing touches for creating update.factory.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetlilmre committed Dec 8, 2022
1 parent 8676ebb commit 8f04a15
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ As newer firmware can self update, all you need to do is drop the *update.bin* f

For a first time build:

There is now an alternative to building the code and flashing.
- Download the latest `update.factory.bin` from the [TapuinoNext Releases Page ](https://github.com/sweetlilmre/TapuinoNext/releases)
- Using Google Chrome, go to the [Adafruit ESP Tool](https://adafruit.github.io/Adafruit_WebSerial_ESPTool/) page.
- Connect your ESP32 to your machine and make sure the drivers are installed
- Click "Connect" on the Adafruit page and select the COM port of your ESP32
- If the connect succeeds, you should see several `Choose a file...` buttons
- Click the first one, navigate to and select the `update.factory.bin` file you downloaded
- Click `Program`
- A progress bar will appear, once this is complete you should be good to go

Probably the easiest way to handle this at the moment is to:
- install VS Code
- install Platformio on top of that
Expand Down
10 changes: 10 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
** sweetlilmre <[email protected]> **
*****************************************

## v0.0.3-alpha+267 - 08 December 2022

### Feature
- Added `update.factory.bin` to the build and release artifacts
- Updated documentation to show how to flash the firmware from a browser, using `update.factory.bin`
- Internal changes to support the above

### Fix
- Fixed printing of the TapuinoNext version to the serial port

## v0.0.3-alpha+240 - 22 June 2022

### Feature
Expand Down
6 changes: 3 additions & 3 deletions include/Version.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

#ifndef FW_BUILD_NUMBER
#define FW_BUILD_NUMBER "264"
#define FW_BUILD_NUMBER "268"
#endif
#ifndef FW_VERSION
#define FW_VERSION "v0.0.3-alpha+264"
#define FW_VERSION "v0.0.3-alpha+268"
#endif
#ifndef FW_BUILD_TIME
#define FW_BUILD_TIME "2022-12-07 22:44:56.933021"
#define FW_BUILD_TIME "2022-12-08 11:33:27.510218"
#endif

2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ bool initTapuino()

char version[I2C_DISP_COLS + 1];
memset(version, 0, I2C_DISP_COLS + 1);
snprintf(version, I2C_DISP_COLS, "%s", FW_VERSION);
snprintf(version, I2C_DISP_COLS + 1, "%s", FW_VERSION);
lcdUtils.Status(version);
Serial.println(version);
delay(2000);
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.3-alpha+264
v0.0.3-alpha+268

0 comments on commit 8f04a15

Please sign in to comment.