fixes from comments on esptool usage

This commit is contained in:
Peter Magnusson 2015-01-10 22:37:12 +01:00
parent 32ea83c224
commit ae6ff1a0f4
1 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,7 @@ ifeq ($(OS),Windows_NT)
CPP = xtensa-lx106-elf-cpp
OBJCOPY = xtensa-lx106-elf-objcopy
endif
FIRMWAREDIR = ..\\bin\\
ESPPORT = com1
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
# ->AMD64
@ -46,6 +47,7 @@ else
NM = xtensa-lx106-elf-nm
CPP = xtensa-lx106-elf-cpp
OBJCOPY = xtensa-lx106-elf-objcopy
FIRMWAREDIR = ../bin/
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
# LINUX
@ -65,8 +67,8 @@ else
endif
endif
#############################################################
ESPTOOL = python ../tools/esptool.py
FIRMWAREDIR = ../bin/
ESPTOOL = ../tools/esptool.py
CSRCS ?= $(wildcard *.c)
ASRCs ?= $(wildcard *.s)