forked from esptiny86/espsynth86
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·37 lines (35 loc) · 1.68 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Parameters for compiling
#some things that you could use
# SKETCH Main source file
# If not specified the first sketch in current
# directory will be used. If none is found there,
# a demo example will be used instead.
# LIBS Includes in the sketch file of libraries from within
# the ESP Arduino directories are automatically
# detected. If this is not enough, define this
# variable with all libraries or directories needed.
# CHIP Set to esp8266 or esp32.
# BOARD Name of the target board.
# FLASH_DEF Flash partitioning info.
# BUILD_DIR Directory for intermediate build files.
# BUILD_EXTRA_FLAGS Additional parameters for the compilation commands
# FS_DIR File system root directory
# UPLOAD_PORT Serial flashing port name.
# UPLOAD_SPEED Serial flashing baud rate.
# FLASH_FILE File name for dump and restore flash operations
# VERBOSE Set to 1 to get full printout of the build
# SINGLE_THREAD Use only one build thread
EXCLUDE_DIRS = $(SKETCH_DIR)/excluded $(SKETCH_DIR)/experimental $(SKETCH_DIR)/notported $(SKETCH_DIR)/library $(SKETCH_DIR)/examples $(SKETCH_DIR)/old $(SKETCH_DIR)/sample $(SKETCH_DIR)/build
BUILD_DIR = build
#this is all I need at the moment
CHIP = esp8266
BOARD = d1_mini
#UPLOAD_SPEED = 921600
UPLOAD_PORT = /dev/cu.wchusbserial1a1240
VERBOSE = 1
ESP_ADDR = 192.168.1.102
FLASH_FILE = test.bin
#ESP_PORT = 8266
#ESP_PWD = 123
# makeEspArduino makefile
include makeEspArduino.mk