/* * Copyright (c) 2022 Winner Microelectronics Co., Ltd. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @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 CDS or Make. * Please refer to the CDS and script compilation documentation for details. * * * \n * HOW TO DOWNLOAD THE FIRMWARE ? * * Download the "w800.fls" image * * This will download image which includes secboot * & user application image into flash by ROM using xmodem-protocol for factory burning. * @code * Pulling down the bootmode pin(PA0) and reset the device. Then UART0 will output: * CCC... * For details,please refer to the sdk manual. * @endcode * * Download the "w800.img" image * * This will download image which only includes user application using xmodem-protocol. * @code * Press "ESC" and then reset the device. Then UART0 will output: * CCC... * For details,please refer to the sdk manual. * @endcode * * \n */ #include #include #include "wm_type_def.h" #include "wm_uart.h" #include "wm_gpio.h" #include "wm_hostspi.h" #include "wm_wifi.h" #include "wm_hspi.h" #include "wm_pwm.h" #include "wm_params.h" #include "wm_osal.h" #include "wm_efuse.h" #include "wm_mem.h" #include "wm_regs.h" #endif