Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luatos_bot committed Jun 11, 2024
1 parent f51a8b5 commit f645924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _static/luatos-emulator/vs/snippet.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/fota.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ end)
```lua
-- 初始化fota流程
local result = fota.init(0, 0x00300000, spi_device) --由于105的flash从0x01000000开始,所以0就是外部spiflash
local result = fota.init() --ec618系列/EC718系列使用固定内部地址,所以不需要参数了
local result = fota.init(nil, 0xe0000000, spi_device, 27) --EC718系列允许使用外部flash更新,但是地址必须加上0xe0000000的偏移
local result = fota.init() --ec618系列/EC7XX系列使用固定内部地址,所以不需要参数了
local result = fota.init(0xe0000000, 0, spi_device, 27) --EC7XX系列允许使用外部flash更新,但是地址必须加上0xe0000000的偏移

```

Expand Down

0 comments on commit f645924

Please sign in to comment.