Merge branch 'main' of http://thinkcentre.local:3000/ChK/appUploadESP32
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# appUpload
|
||||
|
||||
Here the Uploader for the installation of FluidNC on the ESP32 boards
|
||||
Here the Uploader for the installation of FluidNC on the ESP32 boards. The programs are from https://github.com/bdring/FluidNC
|
||||
|
||||
## Installation
|
||||
Installation:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import serial
|
||||
ser = serial.Serial("/dev/ttyS0", 115200, timeout=1)
|
||||
ser = serial.Serial("/dev/ttyUSB0", 115200, timeout=1)
|
||||
#ser.write(open("Config_DollarDollar.txt","rb").read())
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ ser.write(serialcmd.encode())
|
||||
print(serialcmd)
|
||||
|
||||
f = open("Config_DollarDollar.txt","rb")
|
||||
#for l in f:
|
||||
#print(l)
|
||||
#ser.write(l)
|
||||
for l in f:
|
||||
print(l)
|
||||
ser.write(l)
|
||||
|
||||
print("test")
|
||||
|
||||
@@ -20,4 +20,4 @@ while ser.in_waiting > 0:
|
||||
line = ser.readline().decode('utf-8').rstrip()
|
||||
print(line)
|
||||
|
||||
ser.close()
|
||||
ser.close()
|
||||
|
||||
1
uploadScript/elf_to_bin.sh
Normal file
1
uploadScript/elf_to_bin.sh
Normal file
@@ -0,0 +1 @@
|
||||
esptool.py --chip esp32 elf2image -o firmware.bin firmware.elf
|
||||
BIN
uploadScript/firmware400.bin
Normal file
BIN
uploadScript/firmware400.bin
Normal file
Binary file not shown.
BIN
uploadScript/firmware400.elf
Normal file
BIN
uploadScript/firmware400.elf
Normal file
Binary file not shown.
Reference in New Issue
Block a user