forked from xiaozhi/xiaozhi-esp32
add scripts folder
This commit is contained in:
2
flash.sh
2
flash.sh
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
esptool.py -p /dev/ttyACM0 -b 2000000 write_flash 0 releases/v0.9.9_bread-compact-wifi/merged-binary.bin
|
||||
2
scripts/flash.sh
Executable file
2
scripts/flash.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
esptool.py -p /dev/ttyACM0 -b 2000000 write_flash 0 ../releases/v0.9.9_bread-compact-wifi/merged-binary.bin
|
||||
@@ -2,6 +2,8 @@ import sys
|
||||
import os
|
||||
import json
|
||||
|
||||
# 切换到项目根目录
|
||||
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
def get_board_type():
|
||||
with open("build/compile_commands.json") as f:
|
||||
@@ -8,6 +8,9 @@ import zipfile
|
||||
import oss2
|
||||
import json
|
||||
|
||||
# 切换到项目根目录
|
||||
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
def get_chip_id_string(chip_id):
|
||||
return {
|
||||
0x0000: "esp32",
|
||||
Reference in New Issue
Block a user