8000 docs/library/esp: Remove para and add further warning about flash. · rch/micropython@36ec5c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 36ec5c8

Browse files
committed
docs/library/esp: Remove para and add further warning about flash.
There is no longer space reserved by default for native code.
1 parent e343bea commit 36ec5c8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/library/esp.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,11 @@ Functions
7171
flash that is not otherwise used, for example by the firmware or the
7272
filesystem.
7373

74-
With the default boot/filesystem configuration there is one sector of flash
75-
reserved for general use and one can use the following call to use it for
76-
native code generation::
77-
78-
esp.set_native_code_location(esp.flash_user_start(), 4096)
79-
8074
When using the flash to store native code `start+length` must be less
8175
than or equal to 1MByte. Note that the flash can be worn out if repeated
8276
erasures (and writes) are made so use this feature sparingly.
77+
In particular, native code needs to be recompiled and rewritten to flash
78+
on each boot (including wake from deepsleep).
8379

8480
In both cases above, using iRAM1 or flash, if there is no more room left
8581
in the specified region then the use of a native decorator on a function

0 commit comments

Comments
 (0)
0