mirror of
https://github.com/xushoucai/RTL8710_SDK_GCC_VERSION.git
synced 2024-12-01 02:30:30 +00:00
1d3357d3b0
including cross compilation of the installation, compile, link, run, debug, and so on. SDK implementation of the function: 1, WiFi connection settings (including AP mode and STA mode). 2, peripheral resource control (including GPIO, SPI, UART, IIC, etc.). 3, the user uses the sample method.
11 lines
379 B
C
11 lines
379 B
C
#ifndef UPDATE_H
|
|
#define UPDATE_H
|
|
|
|
//--------------------------------------------------------------------------
|
|
int update_ota_local(char *ip, int port);
|
|
int update_ota_cloud(char *repository, char *file_path);
|
|
void cmd_update(int argc, char **argv);
|
|
void cmd_ota_image(bool cmd);
|
|
|
|
//----------------------------------------------------------------------------
|
|
#endif
|