Skip to content

Commit 8f6521d

Browse files
author
Greg Smith
committed
Added build for JC3248W with pedal skins.
1 parent 032b75e commit 8f6521d

File tree

5 files changed

+56
-1
lines changed

5 files changed

+56
-1
lines changed
Binary file not shown.

build_distrib/build_distrib.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,14 @@ def build_distribution(template, target_folder, include_ota, out_filename):
126126
zip_name = 'TonexOneController_V' + version + '_Waveshare_3_5B_Display_Pedal_Skins'
127127
build_distribution('template_cust_partition', 'build_ws35b_ps', True, zip_name)
128128

129-
# Build JC3248W ith Amp skins
129+
# Build JC3248W with Amp skins
130130
zip_name = 'TonexOneController_V' + version + '_JC3248W_Display_Amp_Skins'
131131
build_distribution('template_cust_partition', 'build_jc3248w_as', True, zip_name)
132132

133+
# Build JC3248W with Pedal skins
134+
zip_name = 'TonexOneController_V' + version + '_JC3248W_Display_Pedal_Skins'
135+
build_distribution('template_cust_partition', 'build_jc3248w_ps', True, zip_name)
136+
133137
# Build Waveshare 1.9
134138
zip_name = 'TonexOneController_V' + version + '_Waveshare_1_9'
135139
build_distribution('template_cust_partition', 'build_ws19t', True, zip_name)

source/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ build_ws19t/
2020
build_ws35b_as/
2121
build_ws35b_ps/
2222
build_jc3248w_as/
23+
build_jc3248w_ps/
2324

2425
# ignore everything in managed components directory. Will be generated by the build system
2526
managed_components/

source/esp_idf_project_configuration.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,32 @@
233233
"postFlash": ""
234234
}
235235
},
236+
"JC3248W_PS": {
237+
"build": {
238+
"compileArgs": [],
239+
"ninjaArgs": [],
240+
"buildDirectoryPath": "${workspaceFolder}/build_jc3248w_ps",
241+
"sdkconfigDefaults": [
242+
"sdkconfig.defaults",
243+
"sdkconfig.jc3248w_ps"
244+
],
245+
"sdkconfigFilePath": "${workspaceFolder}/build_jc3248w_ps"
246+
},
247+
"env": {},
248+
"flashBaudRate": "",
249+
"monitorBaudRate": "",
250+
"openOCD": {
251+
"debugLevel": 0,
252+
"configs": [],
253+
"args": []
254+
},
255+
"tasks": {
256+
"preBuild": "",
257+
"preFlash": "",
258+
"postBuild": "",
259+
"postFlash": ""
260+
}
261+
},
236262
"WSZERO": {
237263
"build": {
238264
"compileArgs": [],

source/sdkconfig.jc3248w_ps

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Settings for JC3248W535 3.5"
2+
CONFIG_PARTITION_TABLE_CUSTOM=y
3+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
4+
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
5+
CONFIG_PARTITION_TABLE_OFFSET=0x8000
6+
CONFIG_PARTITION_TABLE_MD5=y
7+
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
8+
CONFIG_ESPTOOLPY_FLASHMODE="qio"
9+
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
10+
CONFIG_ESPTOOLPY_FLASHSIZE="8MB"
11+
CONFIG_SPIRAM_MODE_OCT=y
12+
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
13+
CONFIG_TONEX_CONTROLLER_HARDWARE_PLATFORM_JC3248W535=y
14+
CONFIG_TONEX_CONTROLLER_SKINS_PEDAL=y
15+
CONFIG_TONEX_CONTROLLER_HAS_DISPLAY=y
16+
CONFIG_TONEX_CONTROLLER_DISPLAY_SMALL=n
17+
CONFIG_TONEX_CONTROLLER_GPIO_FOOTSWITCHES=y
18+
CONFIG_TONEX_CONTROLLER_HAS_TOUCH=y
19+
CONFIG_TONEX_CONTROLLER_DISPLAY_FULL_UI=y
20+
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
21+
CONFIG_LV_COLOR_16_SWAP=y
22+
CONFIG_LV_FONT_MONTSERRAT_18=y
23+
CONFIG_LV_FONT_MONTSERRAT_22=y
24+
CONFIG_LV_FONT_MONTSERRAT_32=y

0 commit comments

Comments
 (0)