mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2026-03-23 02:54:52 +00:00
add example
This commit is contained in:
parent
0cd01e4dc1
commit
5cd34b0c9f
75 changed files with 6023 additions and 217 deletions
23
RTL00_SDKV35a/component/common/example/ota_http/readme.txt
Normal file
23
RTL00_SDKV35a/component/common/example/ota_http/readme.txt
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
OTA HTTP UPDATING EXAMPLE
|
||||
|
||||
Description:
|
||||
Download ota.bin from http download server(in tools\DownloadServer(HTTP))
|
||||
|
||||
Configuration:
|
||||
[example_ota_http.c]
|
||||
Modify PORT, HOST and RESOURCE based on your HTTP download server.
|
||||
eg: SERVER: http://m-apps.oss-cn-shenzhen.aliyuncs.com/051103061600.bin
|
||||
set: #define PORT 80
|
||||
#define HOST "m-apps.oss-cn-shenzhen.aliyuncs.com"
|
||||
#define RESOURCE "051103061600.bin"
|
||||
|
||||
[platform_opts.h]
|
||||
#define CONFIG_EXAMPLE_OTA_HTTP 1
|
||||
[ota_8195a.h]
|
||||
#define HTTP_OTA_UPDATE
|
||||
|
||||
Execution:
|
||||
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
|
||||
A http download example thread will be started automatically when booting.
|
||||
Using the example with the tool in tools\DownloadServer(HTTP)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue