forked from verybadsoldier/esp_rgbww_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile-user.mk
68 lines (49 loc) · 1.53 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## Local build configuration
## Parameters configured here will override default and ENV values.
## Uncomment and change examples:
## 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 = 115200
## Configure flash parameters (for ESP12-E and other new boards):
# SPI_MODE = dio
# SPI EEPROM SIZE
SPI_SIZE = 4M
#### SPIFFS options ####
# folder with files to include
SPIFF_FILES = webapp
# size of filesystem
SPIFF_SIZE ?= 786432 #~768KB spiffs size
#SPIFF_SIZE = 284288 #~512KB spiffs size
#### rBoot options ####
# use rboot build mode
RBOOT_ENABLED = 1
# enable tmp rom switching
RBOOT_RTC_ENABLED = 1
# enable big flash support (for multiple roms, each in separate 1mb block of flash)
RBOOT_BIG_FLASH = 1
# two rom mode (where two roms sit in the same 1mb block of flash)
RBOOT_TWO_ROMS = 0
# where does the filesystem reside
RBOOT_SPIFFS_0 = 0x100000
RBOOT_SPIFFS_1 = 0x300000
## output file for first rom (.bin will be appended)
#RBOOT_ROM_0 ?= rom0
## input linker file for first rom
#RBOOT_LD_0 ?= rom0.ld