File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ int sys_dealloc(void)
4747// Write data in `buf` to the app's flash area at byte `offset` within
4848// the area.
4949//
50- // At most 4096 bytes can be written at once and `offset` must be a
51- // multiple of 4096 bytes.
50+ // Up to storage area size bytes can be written at once and `offset` must be a
51+ // multiple of 256 bytes.
5252//
5353// Returns 0 on success.
5454int sys_write (uint32_t offset , void * buf , size_t len )
@@ -97,8 +97,8 @@ int sys_preload_delete(void)
9797// `sys_preload_store` many times as you receive the binary from the
9898// client. Returns 0 on success.
9999//
100- // At most 4096 bytes can be written at once and `offset` must be a
101- // multiple of 4096 bytes.
100+ // Up to preloaded app area size bytes can be written at once and `offset` must
101+ // be a multiple of 256 bytes.
102102//
103103// Only available for the verified management app.
104104//
You can’t perform that action at this time.
0 commit comments