File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ echo "lib_path: $lib_path"
19
19
set -e
20
20
21
21
mkdir -p bin
22
- javac -target 1.8 -cp " $pde_path :$core_path :$lib_path " \
22
+ javac -source 1.8 - target 1.8 -cp " $pde_path :$core_path :$lib_path " \
23
23
-d bin src/ESP32FS.java
24
24
25
25
pushd bin
Original file line number Diff line number Diff line change @@ -219,7 +219,14 @@ private void createAndUpload(){
219
219
return ;
220
220
}
221
221
222
+ String boardId = BaseNoGui .getTargetBoard ().getId ();
223
+ String customPartitionScheme = PreferencesData .get ("custom_PartitionScheme" );
224
+ if (customPartitionScheme != null && customPartitionScheme .startsWith (boardId )) {
225
+ partitions = customPartitionScheme .substring (boardId .length () + 1 );
226
+ }
227
+
222
228
File partitionsFile = new File (platform .getFolder () + "/tools/partitions" , partitions + ".csv" );
229
+ System .out .println ("Using partition file : " + partitionsFile );
223
230
if (!partitionsFile .exists () || !partitionsFile .isFile ()) {
224
231
System .err .println ();
225
232
editor .statusError ("SPIFFS Error: partitions file " + partitions + ".csv not found!" );
You can’t perform that action at this time.
0 commit comments