mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9743 from Jason2866/notargetalign
Use compiler option no target align for stage
This commit is contained in:
commit
f44ddd64da
|
@ -103,6 +103,7 @@ extra_scripts = pio/strip-floats.py
|
|||
build_unflags = -Wall
|
||||
-Wdeprecated-declarations
|
||||
build_flags = -Wno-deprecated-declarations
|
||||
-mtarget-align
|
||||
-D_IR_ENABLE_DEFAULT_=false
|
||||
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true
|
||||
-DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true
|
||||
|
@ -116,9 +117,8 @@ build_flags = -Wno-deprecated-declarations
|
|||
[esp82xx_defaults]
|
||||
build_flags = ${esp_defaults.build_flags}
|
||||
-Wl,-Map,firmware.map
|
||||
-D CORE_DEBUG_LEVEL=0
|
||||
-D NDEBUG
|
||||
-mtarget-align
|
||||
-DCORE_DEBUG_LEVEL=0
|
||||
-DNDEBUG
|
||||
-DFP_IN_IROM
|
||||
-DBEARSSL_SSL_BASIC
|
||||
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
|
||||
|
@ -139,8 +139,8 @@ build_flags = -DUSE_IR_REMOTE_FULL
|
|||
|
||||
[core]
|
||||
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4
|
||||
platform = espressif8266@2.6.2
|
||||
platform_packages = framework-arduinoespressif8266@https://github.com/tasmota/Arduino/releases/download/2.7.4.5/esp8266-2.7.4.5.zip
|
||||
platform = espressif8266 @ 2.6.2
|
||||
platform_packages = framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.7.4.5/esp8266-2.7.4.5.zip
|
||||
platformio/tool-esptool @ 1.413.0
|
||||
build_unflags = ${esp_defaults.build_unflags}
|
||||
build_flags = ${esp82xx_defaults.build_flags}
|
||||
|
|
|
@ -88,10 +88,12 @@ lib_extra_dirs = ${library.lib_extra_dirs}
|
|||
|
||||
[tasmota_stage]
|
||||
; *** Esp8266 core for Arduino version Tasmota stage (PR7231 and Backport PR7514)
|
||||
platform_packages = framework-arduinoespressif8266@https://github.com/Jason2866/Arduino.git#2.7.4.4
|
||||
platform_packages = framework-arduinoespressif8266 @ https://github.com/Jason2866/Arduino/releases/download/2.7.4.7/esp8266-2.7.4.7.zip
|
||||
platformio/tool-esptool @ 1.413.0
|
||||
build_unflags = ${esp_defaults.build_unflags}
|
||||
-mtarget-align
|
||||
build_flags = ${esp82xx_defaults.build_flags}
|
||||
-mno-target-align
|
||||
|
||||
; *********** Alternative Options, enable only if you know exactly what you do ********
|
||||
; NONOSDK221
|
||||
|
@ -124,15 +126,16 @@ build_flags = ${esp82xx_defaults.build_flags}
|
|||
|
||||
[core_stage]
|
||||
; *** Esp8266 core for Arduino version stage
|
||||
platform_packages = framework-arduinoespressif8266@https://github.com/esp8266/Arduino.git
|
||||
platform_packages = framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
|
||||
; *** Use Xtensa build chain 10.2. GNU13 from https://github.com/earlephilhower/esp-quick-toolchain
|
||||
mcspr/toolchain-xtensa@5.100200.200918
|
||||
mcspr/toolchain-xtensa @ 5.100200.200918
|
||||
platformio/tool-esptool @ 1.413.0
|
||||
build_unflags = ${esp_defaults.build_unflags}
|
||||
-Wswitch-unreachable
|
||||
-mtarget-align
|
||||
build_flags = ${esp82xx_defaults.build_flags}
|
||||
-Wno-switch-unreachable
|
||||
|
||||
-mno-target-align
|
||||
; *********** Alternative Options, enable only if you know exactly what you do ********
|
||||
; NONOSDK221
|
||||
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221
|
||||
|
@ -188,12 +191,14 @@ lib_extra_dirs = ${library.lib_extra_dirs}
|
|||
|
||||
|
||||
[core32_stage]
|
||||
platform = espressif32@2.0.0
|
||||
platform_packages = tool-esptoolpy@1.20800.0
|
||||
platform = espressif32 @ 2.0.0
|
||||
platform_packages = tool-esptoolpy @ 1.20800.0
|
||||
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#f7fb00632e04d74a7890a77fa7dbbb8ae572e866
|
||||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
-mtarget-align
|
||||
build_flags = ${esp32_defaults.build_flags}
|
||||
-D ESP32_STAGE=true
|
||||
-mno-target-align
|
||||
-DESP32_STAGE=true
|
||||
|
||||
[library]
|
||||
lib_ldf_mode = chain+
|
||||
|
|
|
@ -71,21 +71,21 @@ lib_extra_dirs =
|
|||
build_unflags = ${esp_defaults.build_unflags}
|
||||
-Wpointer-arith
|
||||
build_flags = ${esp_defaults.build_flags}
|
||||
-D CORE_DEBUG_LEVEL=0
|
||||
-D BUFFER_LENGTH=128
|
||||
-D MQTT_MAX_PACKET_SIZE=1200
|
||||
-D uint32=uint32_t
|
||||
-D uint16=uint16_t
|
||||
-D uint8=uint8_t
|
||||
-D sint8_t=int8_t
|
||||
-D sint32_t=int32_t
|
||||
-D sint16_t=int16_t
|
||||
-D memcpy_P=memcpy
|
||||
-D memcmp_P=memcmp
|
||||
-DCORE_DEBUG_LEVEL=0
|
||||
-DBUFFER_LENGTH=128
|
||||
-DMQTT_MAX_PACKET_SIZE=1200
|
||||
-Duint32=uint32_t
|
||||
-Duint16=uint16_t
|
||||
-Duint8=uint8_t
|
||||
-Dsint8_t=int8_t
|
||||
-Dsint32_t=int32_t
|
||||
-Dsint16_t=int16_t
|
||||
-Dmemcpy_P=memcpy
|
||||
-Dmemcmp_P=memcmp
|
||||
|
||||
|
||||
[core32]
|
||||
platform = espressif32@2.0.0
|
||||
platform = espressif32 @ 2.0.0
|
||||
platform_packages = tool-esptoolpy@1.20800.0
|
||||
platformio/framework-arduinoespressif32 @ 3.10004.201016
|
||||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
|
|
Loading…
Reference in New Issue