cnlohr / channel3

ESP8266 Analog Broadcast Television Interface
Other
1.49k stars 159 forks source link

how to upload this code to my wemos D1?? #12

Open panikinator opened 6 years ago

panikinator commented 6 years ago

I cannot upload this code with Arduino ide.please help

cnlohr commented 6 years ago

You can use any of the firmware flashers other than arduino.

UncleRus commented 6 years ago

https://github.com/espressif/esptool

$ sudo pip install esptool
$ esptool.py --port /dev/ttyUSB0 write_flash 0x00000 image.elf-0x00000.bin 0x40000 image.elf-0x40000.bin
cnlohr commented 6 years ago

@UncleRus you also need to upload the mpfs file. I'm not sure what the syntax for that is, though.

Maybe...

$ sudo pip install esptool
$ esptool.py --port /dev/ttyUSB0 write_flash 0x00000 image.elf-0x00000.bin 0x40000 image.elf-0x40000.bin 0x10000 web/page.mpfs
ryuk171 commented 4 years ago

should try w/ conn. d1 to gnd