Skip to content

Commit

Permalink
v20.1C.2 update 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emmebrusa committed Apr 3, 2024
1 parent 6be8a7b commit cb8b032
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
TSDZ2 Open Source Firmware
for stock displays XH18 - VLCD5 - VLCD6

List of changes v20.1C.2 update 3
1 - Fix Makefile clear_eeprom with -s eeprom (by @apolselli)
2 - Fix compiler warning for missing void in function prototypes (by @chgpalmer)
3 - Improved building (by @dzid26)
4 - Irq uart priority level set

List of changes v20.1C.2 update 2
1 - Improved Walk assist speed adjustment.
2 - Added legal throttle, only works when pedaling, in street mode.
Expand All @@ -11,6 +17,8 @@ List of changes v20.1C.2 update 2
7 - Fixed comms error detection (by lcha78).
8 - Added manuals in Spanish (by ashrambo).
9 - Building script improvements (by dzid26)
10 - Compile and flash automatically from Linux and Mac OS (by IArchi)
11 - VLCD6, fixed SOC display at power on

List of changes v20.1C.2 update 1
1 - Fixed "Startup assist" feature.
Expand Down
1 change: 1 addition & 0 deletions commits.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
40 - 2024/02/29 - v20.1C.2 update 3
39 - 2022/09/25 - v20.1C.2 update 2
38 - 2022/09/25 - v20.1C.2 alpha 2
37 - 2022/05/25 - v20.1C.2 update 1
Expand Down
10 changes: 5 additions & 5 deletions compile_and_flash_20.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ECHO OFF

SET version=20.1C.2-2
SET version=20.1C.2-3
SET settings_date=%1

SET release_folder=%~dp0releases
Expand All @@ -12,10 +12,10 @@ CALL compile.bat || GOTO :EXIT

ECHO Copying firmware to release folder.
ECHO %release_folder%\TSDZ2-%version%-PROGRAM.hex
MKDIR %release_folder% >NUL 2>NUL
COPY ..\..\bin\main.ihx %release_folder%\TSDZ2-%version%.hex
MKDIR %backup_folder% >NUL 2>NUL
COPY ..\..\bin\main.ihx %backup_folder%\TSDZ2-%settings_date%.ihx >NUL 2>NUL
MKDIR "%release_folder%" >NUL 2>NUL
COPY ..\..\bin\main.ihx "%release_folder%\TSDZ2-%version%.hex"
MKDIR "%backup_folder%" >NUL 2>NUL
COPY ..\..\bin\main.ihx "%backup_folder%\TSDZ2-%settings_date%.ihx" >NUL 2>NUL

echo Press any key to flash... (Ctl+C to stop)
pause > nul
Expand Down
6 changes: 3 additions & 3 deletions compile_and_flash_20.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

version="20.1C.2-2"
version="20.1C.2-3"
settings_date=$1

release_folder=$(pwd)/releases
Expand All @@ -20,8 +20,8 @@ make all
# Save new firmware
echo Copying firmware to release folder.
echo $release_folder/TSDZ2-$version-$settings_date.hex
mkdir -p $release_folder
yes | cp -rf ../../bin/main.ihx $release_folder/TSDZ2-$version-$settings_date.hex
mkdir -p "$release_folder"
yes | cp -rf ../../bin/main.ihx "$release_folder/TSDZ2-$version-$settings_date.hex"

backup=no
while true; do
Expand Down

0 comments on commit cb8b032

Please sign in to comment.