@@ -31,6 +31,7 @@ def generate_build_dir(sketch_path):
31
31
"https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" ,
32
32
"https://dl.espressif.com/dl/package_esp32_index.json" ,
33
33
"http://arduino.esp8266.com/stable/package_esp8266com_index.json" ,
34
+ "https://github.com/sonydevworld/spresense-arduino-compatible/releases/download/generic/package_spresense_index.json" ,
34
35
]
35
36
36
37
cores_to_install = [
@@ -39,6 +40,7 @@ def generate_build_dir(sketch_path):
39
40
40
41
41
42
43
+
42
44
]
43
45
44
46
testdata = [
@@ -1149,6 +1151,19 @@ def generate_build_dir(sketch_path):
1149
1151
"no_reset_no_sync --after soft_reset write_flash 0x0 "
1150
1152
'"{build_dir}/{sketch_name}.ino.bin"\n ' ,
1151
1153
),
1154
+ (
1155
+ "SPRESENSE:spresense:spresense" ,
1156
+ "/dev/ttyACM0" ,
1157
+ "" ,
1158
+ {
1159
+ "darwin" : '"{data_dir}/packages/SPRESENSE/tools/spresense-tools/2.0.2/flash_writer/macosx/flash_writer" '
1160
+ '-s -c "/dev/ttyACM0" -d -n "{build_dir}/{sketch_name}.ino.spk"' ,
1161
+ "linux" : '"{data_dir}/packages/SPRESENSE/tools/spresense-tools/2.0.2/flash_writer/linux/flash_writer" '
1162
+ '-s -c "/dev/ttyACM0" -d -n "{build_dir}/{sketch_name}.ino.spk"' ,
1163
+ "win32" : '"{data_dir}/packages/SPRESENSE/tools/spresense-tools/2.0.2/flash_writer/windows/flash_writer.exe" '
1164
+ '-s -c "/dev/ttyACM0" -d -n "{build_dir}/{sketch_name}.ino.spk"' ,
1165
+ },
1166
+ ),
1152
1167
]
1153
1168
1154
1169
0 commit comments