Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ca0eb68
Starting development on 4.3B UII using EEZ Studio
May 8, 2025
a9d6f36
Merge pull request #283 from Builty/main
Builty Sep 27, 2025
22641e3
Working on EEZ Studio port of UI
Sep 27, 2025
0285436
more work on EEZ port
Sep 28, 2025
a5f9d76
More work on EEZ port
Sep 28, 2025
12f7c44
More work on EEZ studio port. Somewhat working, but with bugs.
Sep 28, 2025
524f74c
Fixing bugs in EEZ port. Mostly working now (4.3B only)
Sep 28, 2025
cb91489
More work on EEZ UI and moving skin images to VFS partition.
Oct 1, 2025
2740d30
More work on EEZ and skin storage
Oct 4, 2025
1bba5bf
Dev checkpoint. More experimenting with different schemes for skin st…
Oct 5, 2025
5b8a8de
Lowered 4.3B pixel clock to avoid DMA stalls/flicker. Finalised skin …
Oct 5, 2025
abc743a
Fixed styling issues in EEZ on dropdowns and tabs.
Oct 6, 2025
05adf58
Added values next to sliders on 4.3 UI. Fixes some EEZ bugs.
Oct 6, 2025
fd584a2
Fixed issues with skins. Added LVGL logging support.
Oct 6, 2025
c4a0db7
Porting 3.5" interface to EEZ Studio. Incomplete.
Oct 7, 2025
3900fec
Migrated 3.5" UI to EEZ Studio. Removed builds for pedal/amp skins an…
Oct 7, 2025
62b1ab3
Added skin bin files with 16 bit swapped colours, to suit the 3.5" pl…
Oct 9, 2025
017233e
- Changed to use 16bit swapped skins for relevant platforms, and a re…
Oct 9, 2025
8993d29
Migrated 1.9" UI to EEZ Studio
Oct 9, 2025
9487151
Ported remaining UIs to EEZ studio.
Oct 9, 2025
b5a55b8
More tweeks and fixed on EEZ port.
Oct 9, 2025
41c15dd
Merge branch 'GP5' into EEZ_UI
Builty Oct 10, 2025
6daaa73
Manual merge of SDK config changes from Main branch
Oct 20, 2025
db88e4e
Merge branch 'EEZ_UI' of https://github.com/Builty/TonexOneController…
Oct 20, 2025
21e8fe9
Finalising EEZ UI port:
Oct 27, 2025
4885b41
Temporarily adding a few deleted files to help Git merging
Oct 27, 2025
34b7971
Merge branch 'main' into EEZ_UI
Builty Oct 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 24 additions & 27 deletions build_distrib/build_distrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
dirname = Path.cwd()

# set version
version = '2.0.1.2'
version = '2.0.2.2'

def delete_files_in_folder(directory):
for filename in os.listdir(directory):
Expand All @@ -22,7 +22,7 @@ def delete_files_in_folder(directory):
except Exception as e:
print('Failed to delete %s. Reason: %s' % (file_path, e))

def build_distribution(template, target_folder, include_ota, out_filename):
def build_distribution(template, target_folder, include_ota, out_filename, skins_path=None):
print('BuildDistrib working in folder: ', target_folder)

# copy default flash updater
Expand All @@ -31,7 +31,9 @@ def build_distribution(template, target_folder, include_ota, out_filename):

print('Delete files in ' + dest)
delete_files_in_folder(dest)


os.mkdir(os.path.join(dest, 'bin'))

# copy new files
print('copy template files from ' + template)
#copy_tree(src, dest)
Expand Down Expand Up @@ -66,6 +68,13 @@ def build_distribution(template, target_folder, include_ota, out_filename):
print('copying: ' + src + ' to ' + dest)
shutil.copy(src, dest)

if skins_path is not None:
# copy skins bin
print('copy skins bin...')
src = os.path.join(dirname, '..', 'source', 'skin_images', skins_path, 'skins.bin')
dest = os.path.join(dirname, 'temp', 'bin')
print('copying: ' + src + ' to ' + dest)
shutil.copy(src, dest)

# create zip file
print('zip files...')
Expand All @@ -90,13 +99,9 @@ def build_distribution(template, target_folder, include_ota, out_filename):
zip_name = 'TonexController_V' + version + '_Waveshare_1_69_Touch_land'
build_distribution('template_cust_partition', 'build_ws169tland', True, zip_name)

# Build Waveshare 4.3B with Amp skins
zip_name = 'TonexController_V' + version + '_Waveshare_4_3B_Display_Amp_Skins'
build_distribution('template_cust_partition', 'build_ws43b_as', True, zip_name)

# Build Waveshare 4.3B with Pedal skins
zip_name = 'TonexController_V' + version + '_Waveshare_4_3B_Display_Pedal_Skins'
build_distribution('template_cust_partition', 'build_ws43b_ps', True, zip_name)
# Build Waveshare 4.3B
zip_name = 'TonexController_V' + version + '_Waveshare_4_3B'
build_distribution('template_cust_partition_16MB', 'build_ws43b', True, zip_name, '16bit')

# Build Waveshare Zero
zip_name = 'TonexController_V' + version + '_Waveshare_Zero'
Expand All @@ -118,21 +123,13 @@ def build_distribution(template, target_folder, include_ota, out_filename):
zip_name = 'TonexController_V' + version + '_Lilygo_TDisplay_S3'
build_distribution('template_cust_partition', 'build_lgtdisps3', True, zip_name)

# Build Waveshare 3.5B with Amp skins
zip_name = 'TonexController_V' + version + '_Waveshare_3_5B_Display_Amp_Skins'
build_distribution('template_cust_partition', 'build_ws35b_as', True, zip_name)

# Build Waveshare 3.5B with Pedal skins
zip_name = 'TonexController_V' + version + '_Waveshare_3_5B_Display_Pedal_Skins'
build_distribution('template_cust_partition', 'build_ws35b_ps', True, zip_name)

# Build JC3248W with Amp skins
zip_name = 'TonexController_V' + version + '_JC3248W_Display_Amp_Skins'
build_distribution('template_cust_partition', 'build_jc3248w_as', True, zip_name)
# Build Waveshare 3.5B
zip_name = 'TonexController_V' + version + '_Waveshare_3_5B'
build_distribution('template_cust_partition_16MB', 'build_ws35b', True, zip_name, '16bitswapped')

# Build JC3248W with Pedal skins
zip_name = 'TonexController_V' + version + '_JC3248W_Display_Pedal_Skins'
build_distribution('template_cust_partition', 'build_jc3248w_ps', True, zip_name)
# Build JC3248W
zip_name = 'TonexController_V' + version + '_JC3248W'
build_distribution('template_cust_partition_16MB', 'build_jc3248w', True, zip_name, '16bitswapped')

# Build Waveshare 1.9
zip_name = 'TonexController_V' + version + '_Waveshare_1_9'
Expand All @@ -150,8 +147,8 @@ def build_distribution(template, target_folder, include_ota, out_filename):
zip_name = 'TonexController_V' + version + '_PirateMidi_PolarPlus'
build_distribution('template_cust_partition', 'build_pirate169land', True, zip_name)

# Build Pirate Midi Polar Max (4.3B) amp skins
zip_name = 'TonexController_V' + version + '_PirateMidi_PolarMax_Amp_Skins'
build_distribution('template_cust_partition', 'build_pirate43B_as', True, zip_name)
# Build Pirate Midi Polar Max (4.3B)
zip_name = 'TonexController_V' + version + '_PirateMidi_PolarMax'
build_distribution('template_cust_partition_16MB', 'build_pirate43B', True, zip_name, '16bit')

print('All done')
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1

[DOWNLOAD PATH]
file_sel0 = 1
file_path0 = bin\bootloader.bin
file_offset0 = 0x0
file_sel1 = 1
file_path1 = bin\partition-table.bin
file_offset1 = 0x8000
file_sel2 = 1
file_path2 = bin\TonexController.bin
file_offset2 = 0x10000
file_sel3 = 1
file_path3 = bin\ota_data_initial.bin
file_offset3 = 0xd000
file_sel4 = 1
file_path4 = bin\skins.bin
file_offset4 = 0x4f2000
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
default_path = ./bin/

[LOCK]
lock_setting_password =

[FLASH_CRYSTAL]
spicfgdis = 1
spispeed = 3
spimode = 2

[DOWNLOAD]
erase_button_en = True
autostart1 = 0
com_port1 = COM10
baudrate1 = 2
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 2
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 2
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 2
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 2
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 2
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 2
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 2
checkmac8 = 1

[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False

[MAC_SAVE]
mac_save_enable = False

[ESPTOOL_PARAM]
after = no_reset
before = default_reset
compress = True
flash_size = keep
no_stub = False
verify = True
flash_freq = keep
flash_mode = keep

[STATISTICS]
pass1 = 3
fail1 = 0
pass2 = 0
fail2 = 0
pass3 = 0
fail3 = 0
pass4 = 0
fail4 = 0
pass5 = 0
fail5 = 0
pass6 = 0
fail6 = 0
pass7 = 0
fail7 = 0
pass8 = 0
fail8 = 0

Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1

[DOWNLOAD PATH]
file_sel0 = 1
file_path0 = bin\bootloader.bin
file_offset0 = 0x0
file_sel1 = 1
file_path1 = bin\partition-table.bin
file_offset1 = 0x8000
file_sel2 = 1
file_path2 = bin\TonexController.bin
file_offset2 = 0x10000
file_sel3 = 1
file_path3 = bin\ota_data_initial.bin
file_offset3 = 0xd000
file_sel4 = 1
file_path4 = bin\skins.bin
file_offset4 = 0x4f2000
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
default_path = ./bin/

[LOCK]
lock_setting_password =

[FLASH_CRYSTAL]
spicfgdis = 1
spispeed = 3
spimode = 2

[DOWNLOAD]
erase_button_en = True
autostart1 = 0
com_port1 = COM10
baudrate1 = 2
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 2
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 2
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 2
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 2
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 2
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 2
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 2
checkmac8 = 1

[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False

[MAC_SAVE]
mac_save_enable = False

[ESPTOOL_PARAM]
after = no_reset
before = default_reset
compress = True
flash_size = keep
no_stub = False
verify = True
flash_freq = keep
flash_mode = keep

[STATISTICS]
pass1 = 3
fail1 = 0
pass2 = 0
fail2 = 0
pass3 = 0
fail3 = 0
pass4 = 0
fail4 = 0
pass5 = 0
fail5 = 0
pass6 = 0
fail6 = 0
pass7 = 0
fail7 = 0
pass8 = 0
fail8 = 0

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[SECURE BOOT]
secure_boot_en = False

[FLASH ENCRYPTION]
flash_encryption_en = False
flash_encryption_use_customer_key_enable = False
flash_encryption_use_customer_key_path = .\secure\flash_encrypt_key.bin
reserved_burn_times = 0
flash_encrypt_key_block_index = 0

[ENCRYPTION KEYS SAVE]
keys_save_enable = False
encrypt_keys_enable = False
encrypt_keys_aeskey_path =

[OTHER PARAMS]
flash_force_write_enable = False

[ESP32S3 DISABLE FUNC]
dis_usb_jtag = False
hard_dis_jtag = False
soft_dis_jtag = 7
dis_usb_otg_download_mode = False
dis_direct_boot = False
dis_download_icache = False
dis_download_dcache = False

Loading