Files
ninlight-w600/sdk/Src/App/OTA/wm_http_fwup.h
T
Michael Sauer 1b0501179d build: W600-SDK importiert, Firmware-Build und Hello am EVK
Docker-Build mit gcc-arm-none-eabi 4.9-2014q4 (statt Homebrew-Cask) verwendet,
Dockerfile/tools/docker.sh dafür aus Task 13 vorgezogen. cmake/sdk.cmake schont
gcc 4.9 (kennt -fcommon/-Wno-error=... nicht). Zwei zusätzliche SDK-Stubs
(EarlyInit, pre_gpio_config) in src/sys/sdk_stubs.c ergänzt, siehe sdk/PATCHES.md.
2026-09-11 12:52:26 +02:00

36 lines
985 B
C

/*****************************************************************************
*
* File Name : wm_http_fwup.h
*
* Description: Http firmware update header file.
*
* Copyright (c) 2014 Winner Microelectronics Co., Ltd.
* All rights reserved.
*
* Author : wanghf
*
* Date : 2014-6-5
*****************************************************************************/
#ifndef WM_HTTP_FWUP_H
#define WM_HTTP_FWUP_H
#include "wm_type_def.h"
#include "wm_http_client.h"
/***************************************************************************
* Function: http_fwup
* Description: Download the firmware from internet by http and upgrade it.
*
* Input: ClientParams: The parameters of connecting http server.
*
* Output: None
*
* Return: 0-success, other- failed
*
* Date : 2014-6-5
****************************************************************************/
int http_fwup(HTTPParameters ClientParams);
#endif //WM_HTTP_FWUP_H