Skip to content

Commit

Permalink
ESP8266: Enable unaligned reads for ESP8266_4MB (fix #1240,#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaBecker committed Sep 14, 2017
1 parent c951f27 commit 0211008
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -12,6 +12,7 @@
Add `E.errorFlag` event to allow JS to respond to internal errors
Use Esc[J VT100 code when cycling through command history (much faster REPL on low bandwidth connections)
ESP8266: Remove debugger again as it will never work on 8266
ESP8266: Enable unaligned reads for ESP8266_4MB (fix #1240,#837)

1v94 : Allow Espruino boards to reset straight out of the DFU Bootloader
Improvements in handling errors in code running in IRQs
Expand Down
8 changes: 8 additions & 0 deletions make/family/ESP8266.make
Expand Up @@ -66,6 +66,14 @@ CFLAGS+= -fno-builtin \
-Wno-parentheses -Wno-type-limits -Wno-unused-function -Wno-unused-value \
-Wl,EL -Wl,--gc-sections -nostdlib -mlongcalls -mtext-section-literals

# only use mfore-l32 if 4MB board for now
ifdef FLASH_4MB
MFORCE32 = `xtensa-lx106-elf-gcc --help=target | grep mforce-l32`
ifneq ($(MFORCE32),)
CFLAGS += -mforce-l32
endif
endif

#
# The Root of the ESP8266_SDK distributed by Espressif
# This must be supplied as a Make environment variable.
Expand Down

0 comments on commit 0211008

Please sign in to comment.