wm_include.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /**
  2. * @file wm_include.h
  3. *
  4. * @brief the configuration file of sdk
  5. *
  6. * @author winnermicro
  7. *
  8. * Copyright (c) 2014 Winner Microelectronics Co., Ltd.
  9. */
  10. #ifndef __WM_INCLUDE_H__
  11. #define __WM_INCLUDE_H__
  12. /**
  13. * @mainpage WinnerMicro SDK
  14. *
  15. * Quick Start of WinnerMicro SDK.
  16. *
  17. *
  18. * HOW TO CODE ?
  19. *
  20. * Function UserMain(void) is the entrance function of the application:
  21. * @code
  22. * void UserMain(void)
  23. * {
  24. * printf("\n user task\n");
  25. *
  26. * #if DEMO_CONSOLE
  27. * CreateDemoTask();
  28. * #endif
  29. *
  30. * //user's task
  31. * }
  32. * @endcode
  33. *
  34. *
  35. * \n
  36. * HOW TO COMPILE ?
  37. *
  38. * To build with the SDK you can use the CDS or Make.
  39. * Please refer to the CDS and script compilation documentation for details.
  40. *
  41. *
  42. * \n
  43. * HOW TO DOWNLOAD THE FIRMWARE ?
  44. *
  45. * Download the "xt804.fls" image
  46. *
  47. * This will download image which includes secboot & user application image into flash by ROM using xmodem-protocol for factory burning.
  48. * @code
  49. * Pulling down the bootmode pin(PA0) and reset the device. Then UART0 will output:
  50. * CCC...
  51. * For details,please refer to the sdk manual.
  52. * @endcode
  53. *
  54. * Download the "xt804.img" image
  55. *
  56. * This will download image which only includes user application using xmodem-protocol.
  57. * @code
  58. * Press "ESC" and then reset the device. Then UART0 will output:
  59. * CCC...
  60. * For details,please refer to the sdk manual.
  61. * @endcode
  62. *
  63. * \n
  64. */
  65. #include <stdio.h>
  66. #include <stdlib.h>
  67. #include "wm_type_def.h"
  68. #include "wm_uart.h"
  69. #include "wm_gpio.h"
  70. #include "wm_hostspi.h"
  71. #include "wm_socket.h"
  72. #include "wm_sockets.h"
  73. #include "wm_wifi.h"
  74. #include "wm_hspi.h"
  75. #include "wm_pwm.h"
  76. #include "wm_params.h"
  77. #include "wm_osal.h"
  78. #include "wm_netif.h"
  79. #include "wm_efuse.h"
  80. #include "wm_mem.h"
  81. #include "wm_regs.h"
  82. #endif