Commit 36ec5c8f authored by Damien George's avatar Damien George
Browse files

docs/library/esp: Remove para and add further warning about flash.

There is no longer space reserved by default for native code.
parent e343bea6
......@@ -71,15 +71,11 @@ Functions
flash that is not otherwise used, for example by the firmware or the
With the default boot/filesystem configuration there is one sector of flash
reserved for general use and one can use the following call to use it for
native code generation::
esp.set_native_code_location(esp.flash_user_start(), 4096)
When using the flash to store native code `start+length` must be less
than or equal to 1MByte. Note that the flash can be worn out if repeated
erasures (and writes) are made so use this feature sparingly.
In particular, native code needs to be recompiled and rewritten to flash
on each boot (including wake from deepsleep).
In both cases above, using iRAM1 or flash, if there is no more room left
in the specified region then the use of a native decorator on a function
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment