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.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/*****************************************************************************
|
||||
*
|
||||
* 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
|
||||
Reference in New Issue
Block a user