File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ def generate_build_dir(sketch_path):
3131 "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" ,
3232 "https://dl.espressif.com/dl/package_esp32_index.json" ,
3333 "http://arduino.esp8266.com/stable/package_esp8266com_index.json" ,
34+ "https://github.com/sonydevworld/spresense-arduino-compatible/releases/download/generic/package_spresense_index.json" ,
3435]
3536
3637cores_to_install = [
@@ -39,6 +40,7 @@ def generate_build_dir(sketch_path):
3940 "arduino:samd@1.8.11" ,
4041 "esp32:esp32@1.0.6" ,
4142 "esp8266:esp8266@3.0.2" ,
43+ "SPRESENSE:spresense@2.0.2" ,
4244]
4345
4446testdata = [
@@ -1149,6 +1151,19 @@ def generate_build_dir(sketch_path):
11491151 "no_reset_no_sync --after soft_reset write_flash 0x0 "
11501152 '"{build_dir}/{sketch_name}.ino.bin"\n ' ,
11511153 ),
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+ ),
11521167]
11531168
11541169
You can’t perform that action at this time.
0 commit comments