Files
ninlight-w600/sdk/Include/wm_include.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

88 lines
1.8 KiB
C

/**
* @file wm_include.h
*
* @brief the configuration file of sdk
*
* @author winnermicro
*
* Copyright (c) 2014 Winner Microelectronics Co., Ltd.
*/
#ifndef __WM_INCLUDE_H__
#define __WM_INCLUDE_H__
/**
* @mainpage WinnerMicro SDK
*
* Quick Start of WinnerMicro SDK.
*
*
* HOW TO CODE ?
*
* Function UserMain(void) is the entrance function of the application:
* @code
* void UserMain(void)
* {
* printf("\n user task\n");
*
* #if DEMO_CONSOLE
* CreateDemoTask();
* #endif
*
* //user's task
* }
* @endcode
*
*
* \n
* HOW TO COMPILE ?
*
* To build with the SDK you can use the keil tools.
* Opening "Tools\Keil\Project\WM_SDK.uvproj" to compile.
*
*
* \n
* HOW TO DOWNLOAD THE FIRMWARE ?
*
* Download the "WM_W600.FLS" image
*
* This will download image which includes secboot & sdk into flash by ROM using xModem-protocol.
* @code
* Pulling down the bootmode pin and reset the device. Then UART0 will output:
* CCC...
* For details,please refer to the sdk manual.
* @endcode
*
* Download the "WM_W600_SEC.IMG" image
*
* This will download image which includes sdk by secboot using xmodem-protocol.
* @code
* Press "ESC" and then reset the device. Then UART0 will output:
* secboot running...
* CCC...
* For details,please refer to the sdk manual.
* @endcode
*
* \n
*/
#include <stdio.h>
#include <stdlib.h>
#include "wm_type_def.h"
#include "wm_uart.h"
#include "wm_gpio.h"
#include "wm_hostspi.h"
#include "wm_socket.h"
#include "wm_sockets.h"
#include "wm_wifi.h"
#include "wm_hspi.h"
#include "wm_pwm.h"
#include "wm_params.h"
#include "wm_osal.h"
#include "wm_netif.h"
#include "wm_efuse.h"
#include "wm_mem.h"
#include "wm_regs.h"
#include "FreeRTOS.h"
#endif