• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 Winner Microelectronics Co., Ltd. All rights reserved.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /**
17  * @file    wm_include.h
18  *
19  * @brief   the configuration file of sdk
20  *
21  * @author  winnermicro
22  *
23  * Copyright (c) 2014 Winner Microelectronics Co., Ltd.
24  */
25 #ifndef __WM_INCLUDE_H__
26 #define __WM_INCLUDE_H__
27 
28 /**
29  * @mainpage WinnerMicro SDK
30  *
31  * Quick Start of WinnerMicro SDK.
32  *
33  *
34  * HOW TO CODE ?
35  *
36  * Function UserMain(void) is the entrance function of the application:
37  * @code
38  * void UserMain(void)
39  * {
40  *     printf("\n user task\n");
41  *
42  * #if DEMO_CONSOLE
43  *       CreateDemoTask();
44  * #endif
45  *
46  *     // user's task
47  * }
48  * @endcode
49  *
50  *
51  * \n
52  * HOW TO COMPILE ?
53  *
54  * To build with the SDK you can use the CDS or Make.
55  * Please refer to the CDS and script compilation documentation for details.
56  *
57  *
58  * \n
59  * HOW TO DOWNLOAD THE FIRMWARE ?
60  *
61  * Download the "w800.fls" image
62  *
63  * This will download image which includes secboot
64  * & user application image into flash by ROM using xmodem-protocol for factory burning.
65  * @code
66  * Pulling down the bootmode pin(PA0) and reset the device. Then UART0 will output:
67  * CCC...
68  * For details,please refer to the sdk manual.
69  * @endcode
70  *
71  * Download the "w800.img" image
72  *
73  * This will download image which only includes user application using xmodem-protocol.
74  * @code
75  * Press "ESC" and then reset the device. Then UART0 will output:
76  * CCC...
77  * For details,please refer to the sdk manual.
78  * @endcode
79  *
80  * \n
81  */
82 
83 #include <stdio.h>
84 #include <stdlib.h>
85 #include "wm_type_def.h"
86 #include "wm_uart.h"
87 #include "wm_gpio.h"
88 #include "wm_hostspi.h"
89 #include "wm_wifi.h"
90 #include "wm_hspi.h"
91 #include "wm_pwm.h"
92 #include "wm_params.h"
93 #include "wm_osal.h"
94 #include "wm_efuse.h"
95 #include "wm_mem.h"
96 #include "wm_regs.h"
97 
98 #endif
99