move esptool

master
George Hotz 2017-08-23 18:47:58 -07:00
parent afb5509ad5
commit 5821e28d7d
7 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
from .panda import Panda, PandaWifiStreaming, PandaDFU
from .panda import Panda, PandaWifiStreaming, PandaDFU, ESPROM, CesantaFlasher

View File

@ -14,10 +14,10 @@ else
endif
flashall: user1.bin user2.bin
./tools/esptool.py write_flash 0 $(SDK_BASE)/bin/boot_v1.5.bin 0x01000 user1.bin 0x81000 user2.bin 0x3FE000 $(SDK_BASE)/bin/blank.bin
../panda/esptool.py write_flash 0 $(SDK_BASE)/bin/boot_v1.5.bin 0x01000 user1.bin 0x81000 user2.bin 0x3FE000 $(SDK_BASE)/bin/blank.bin
proxy-0x00000.bin: proxy
./tools/esptool.py elf2image $^
../panda/esptool.py elf2image $^
proxy: proxy.o
@ -42,7 +42,7 @@ obj/rsa.o: ../crypto/rsa.c
$(CC) $(CFLAGS) -c $^ -o $@
oldflash: proxy-0x00000.bin
./tools/esptool.py write_flash 0 proxy-0x00000.bin 0x40000 proxy-0x40000.bin
../panda/esptool.py write_flash 0 proxy-0x00000.bin 0x40000 proxy-0x40000.bin
user1.bin: obj/proxy.o obj/elm327.o obj/webserver.o obj/sha.o obj/rsa.o
$(CC) $(CFLAGS) $^ -o a.out -L$(SDK_BASE)/ld -T$(SDK_BASE)/ld/eagle.app.v6.new.1024.app1.ld $(LDLIBS)

View File

View File

@ -9,6 +9,7 @@ import os
import time
import traceback
from dfu import PandaDFU
from esptool import ESPROM, CesantaFlasher
__version__ = '0.0.3'

View File

@ -30,13 +30,13 @@ import sys
import tempfile
import time
import traceback
from panda import Panda
import usb1
__version__ = "1.2"
import usb1
class FakePort(object):
def __init__(self, serial=None):
from panda import Panda
self.panda = Panda(serial)
# will only work on new st, old ones will stay @ 921600

View File

@ -2,8 +2,7 @@
from __future__ import print_function
import sys
import time
from panda import Panda, PandaDFU
from panda.boardesp.tools.esptool import ESPROM, CesantaFlasher
from panda import Panda, PandaDFU, ESPROM, CesantaFlasher
from zipfile import ZipFile
def status(x):