-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile-user.mk
50 lines (39 loc) · 1.12 KB
/
Makefile-user.mk
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
38
39
40
41
42
43
44
45
46
47
48
49
50
## Local build configuration
## Parameters configured here will override default and ENV values.
## Uncomment and change examples:
## memory mapping customize
IMAGE_MAIN = 0x00000.bin
IMAGE_SDK ?= 0x80000.bin
SPI_SIZE = 4M
LD_SCRIPT = rom.ld
## Add your source directories here separated by space
# MODULES = app
# EXTRA_INCDIR = include
## ESP_HOME sets the path where ESP tools and SDK are located.
## Windows:
# ESP_HOME = c:/Espressif
## MacOS / Linux:
# ESP_HOME = /opt/esp-open-sdk
## SMING_HOME sets the path where Sming framework is located.
## Windows:
# SMING_HOME = c:/tools/sming/Sming
## MacOS / Linux
# SMING_HOME = /opt/sming/Sming
## COM port parameter is reqruied to flash firmware correctly.
## Windows:
# COM_PORT = COM3
## MacOS / Linux:
# COM_PORT = /dev/tty.usbserial
## Com port speed
# com speed for download tool
COM_SPEED_ESPTOOL = 921600
# com speed for code
COM_SPEED_SERIAL = 115200
## Configure flash parameters (for ESP12-E and other new boards):
SPI_MODE = dio
## SPIFFS options
#DISABLE_SPIFFS = 1
SPIFF_FILES = web/build
SPIFF_START_OFFSET = 0x100000
# 1MB for spiff file system
SPIFF_SIZE = 1048576