nodemcu-firmware/app
Johny Mattsson c4e8b04fbf Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS.
There was only one genuine use of this macro, all other places were
using it only as a necessary compensation. While this was fine as long as
it was the first meg of flash which was mapped, it became incorrect and
quite dangerous whenever this assumption did not hold (such as when
running from the second slot in an OTA scenario).

The flash API now uses actual addresses, not translated/mapped
addresses, and the users of this API have been adjusted accordingly.
This makes the flash API work correctly regardless of what flash mapping
is in use.

The old macro is still available under the new name
INTERNAL_FLASH_MAPPED_ADDRESS, and this is used to detect flash writes
where the source is mapped flash (and thus has to be bounced), and to
adjust the _flash_used_end linker symbol when used with
flassh_find_sector() by the filesystem code. The latter usage is not
OTA-proof, but in an OTA scenario the filesystem needs a fixed location
anyway and thus would not use this code path.
2015-12-12 13:20:22 +11:00
..
cjson Fixed broken linear growth allocation in cjson. 2015-07-31 13:17:05 +10:00
coap Allow to set content type in COAP (fix #658) 2015-11-11 12:52:13 +01:00
crypto Fixed includes after LWIP 1.4.0 upgrade. 2015-10-12 14:31:52 +11:00
dhtlib Changed os_intr_xxx to ets_intr_xxx. 2015-10-12 13:26:04 +11:00
driver Added uart.alt(n) to swap to use alternate rx/tx lines. 2015-11-28 22:51:01 +00:00
include Merge pull request #746 from DiUS/vdd33 2015-12-01 23:37:53 +00:00
json source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
libc Minor tweaks to luac.cross for SDK 1.4 support 2015-11-03 22:45:43 +00:00
lua Remove the lobject.c:88 assertion failures 2015-12-06 01:42:29 +11:00
lwip Fix to do TCP port number randomization at boot. 2015-11-05 14:40:57 +11:00
modules Merge pull request #746 from DiUS/vdd33 2015-12-01 23:37:53 +00:00
mqtt polish mqtt module 2015-03-31 23:38:28 +08:00
platform Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. 2015-12-12 13:20:22 +11:00
smart minor fix 2015-03-20 19:42:10 +08:00
spiffs Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. 2015-12-12 13:20:22 +11:00
tsl2561 Switch to SDK LWIP until issues with the open one can be resolved. 2015-10-12 13:26:05 +11:00
u8glib update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
ucglib prefix local routines in ucg_polygon 2015-09-17 21:53:49 +02:00
upgrade Fix UPGRADE_DBG when in DEVELOP_VERSION. 2015-01-27 13:48:10 +08:00
user Merge pull request #746 from DiUS/vdd33 2015-12-01 23:37:53 +00:00
wofs Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. 2015-12-12 13:20:22 +11:00
.gitignore seperate user_config.h to speed-up compile when modules disabled/enabled 2015-03-06 11:59:04 +08:00
Makefile Re-enabled open source LWIP. 2015-10-12 13:26:05 +11:00