rtconfig.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. #define USE_MA35D1_AARCH32
  4. /* RT-Thread Kernel */
  5. /* klibc options */
  6. /* rt_vsnprintf options */
  7. /* end of rt_vsnprintf options */
  8. /* rt_vsscanf options */
  9. /* end of rt_vsscanf options */
  10. /* rt_memset options */
  11. /* end of rt_memset options */
  12. /* rt_memcpy options */
  13. /* end of rt_memcpy options */
  14. /* rt_memmove options */
  15. /* end of rt_memmove options */
  16. /* rt_memcmp options */
  17. /* end of rt_memcmp options */
  18. /* rt_strstr options */
  19. /* end of rt_strstr options */
  20. /* rt_strcasecmp options */
  21. /* end of rt_strcasecmp options */
  22. /* rt_strncpy options */
  23. /* end of rt_strncpy options */
  24. /* rt_strcpy options */
  25. /* end of rt_strcpy options */
  26. /* rt_strncmp options */
  27. /* end of rt_strncmp options */
  28. /* rt_strcmp options */
  29. /* end of rt_strcmp options */
  30. /* rt_strlen options */
  31. /* end of rt_strlen options */
  32. /* rt_strnlen options */
  33. /* end of rt_strnlen options */
  34. /* end of klibc options */
  35. #define RT_NAME_MAX 12
  36. #define RT_CPUS_NR 1
  37. #define RT_ALIGN_SIZE 8
  38. #define RT_THREAD_PRIORITY_32
  39. #define RT_THREAD_PRIORITY_MAX 32
  40. #define RT_TICK_PER_SECOND 1000
  41. #define RT_USING_OVERFLOW_CHECK
  42. #define RT_USING_HOOK
  43. #define RT_HOOK_USING_FUNC_PTR
  44. #define RT_USING_IDLE_HOOK
  45. #define RT_IDLE_HOOK_LIST_SIZE 4
  46. #define IDLE_THREAD_STACK_SIZE 4096
  47. #define RT_USING_TIMER_SOFT
  48. #define RT_TIMER_THREAD_PRIO 4
  49. #define RT_TIMER_THREAD_STACK_SIZE 4096
  50. /* kservice options */
  51. /* end of kservice options */
  52. #define RT_USING_DEBUG
  53. #define RT_DEBUGING_ASSERT
  54. #define RT_DEBUGING_COLOR
  55. #define RT_DEBUGING_CONTEXT
  56. /* Inter-Thread communication */
  57. #define RT_USING_SEMAPHORE
  58. #define RT_USING_MUTEX
  59. #define RT_USING_EVENT
  60. #define RT_USING_MAILBOX
  61. #define RT_USING_MESSAGEQUEUE
  62. /* end of Inter-Thread communication */
  63. /* Memory Management */
  64. #define RT_USING_MEMPOOL
  65. #define RT_USING_SMALL_MEM
  66. #define RT_USING_MEMHEAP
  67. #define RT_MEMHEAP_FAST_MODE
  68. #define RT_USING_SMALL_MEM_AS_HEAP
  69. #define RT_USING_HEAP
  70. /* end of Memory Management */
  71. #define RT_USING_DEVICE
  72. #define RT_USING_INTERRUPT_INFO
  73. #define RT_USING_CONSOLE
  74. #define RT_CONSOLEBUF_SIZE 4096
  75. #define RT_CONSOLE_DEVICE_NAME "uart0"
  76. #define RT_VER_NUM 0x50201
  77. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  78. /* end of RT-Thread Kernel */
  79. #define RT_USING_CACHE
  80. #define RT_USING_HW_ATOMIC
  81. #define RT_USING_CPU_FFS
  82. #define ARCH_MM_MMU
  83. #define ARCH_ARM
  84. #define ARCH_ARM_MMU
  85. #define ARCH_ARM_CORTEX_A
  86. #define RT_SMP_AUTO_BOOT
  87. #define RT_USING_GIC_V2
  88. #define ARCH_ARM_SECURE_MODE
  89. #define ARCH_ARMV8
  90. #define ARCH_USING_ASID
  91. #define ARCH_USING_IRQ_CTX_LIST
  92. /* RT-Thread Components */
  93. #define RT_USING_COMPONENTS_INIT
  94. #define RT_USING_USER_MAIN
  95. #define RT_MAIN_THREAD_STACK_SIZE 4096
  96. #define RT_MAIN_THREAD_PRIORITY 10
  97. #define RT_USING_LEGACY
  98. #define RT_USING_MSH
  99. #define RT_USING_FINSH
  100. #define FINSH_USING_MSH
  101. #define FINSH_THREAD_NAME "tshell"
  102. #define FINSH_THREAD_PRIORITY 20
  103. #define FINSH_THREAD_STACK_SIZE 4096
  104. #define FINSH_USING_HISTORY
  105. #define FINSH_HISTORY_LINES 5
  106. #define FINSH_USING_SYMTAB
  107. #define FINSH_CMD_SIZE 128
  108. #define MSH_USING_BUILT_IN_COMMANDS
  109. #define FINSH_USING_DESCRIPTION
  110. #define FINSH_ARG_MAX 10
  111. #define FINSH_USING_OPTION_COMPLETION
  112. /* DFS: device virtual file system */
  113. #define RT_USING_DFS
  114. #define DFS_USING_POSIX
  115. #define DFS_USING_WORKDIR
  116. #define RT_USING_DFS_MNTTABLE
  117. #define DFS_FD_MAX 128
  118. #define RT_USING_DFS_V1
  119. #define DFS_FILESYSTEMS_MAX 32
  120. #define DFS_FILESYSTEM_TYPES_MAX 32
  121. #define RT_USING_DFS_ELMFAT
  122. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  123. #define RT_DFS_ELM_CODE_PAGE 437
  124. #define RT_DFS_ELM_WORD_ACCESS
  125. #define RT_DFS_ELM_USE_LFN_3
  126. #define RT_DFS_ELM_USE_LFN 3
  127. #define RT_DFS_ELM_LFN_UNICODE_0
  128. #define RT_DFS_ELM_LFN_UNICODE 0
  129. #define RT_DFS_ELM_MAX_LFN 255
  130. #define RT_DFS_ELM_DRIVES 8
  131. #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
  132. #define RT_DFS_ELM_REENTRANT
  133. #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
  134. /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
  135. #define RT_USING_DFS_DEVFS
  136. /* end of DFS: device virtual file system */
  137. /* Device Drivers */
  138. #define RT_USING_DEVICE_IPC
  139. #define RT_UNAMED_PIPE_NUMBER 64
  140. #define RT_USING_SYSTEM_WORKQUEUE
  141. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
  142. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  143. #define RT_USING_SERIAL
  144. #define RT_USING_SERIAL_V1
  145. #define RT_SERIAL_USING_DMA
  146. #define RT_SERIAL_RB_BUFSZ 256
  147. #define RT_USING_I2C
  148. #define RT_USING_I2C_BITOPS
  149. #define RT_USING_ADC
  150. #define RT_USING_PWM
  151. #define RT_USING_MTD_NAND
  152. #define RT_MTD_NAND_DEBUG
  153. #define RT_USING_RTC
  154. #define RT_USING_SDIO
  155. #define RT_SDIO_STACK_SIZE 4096
  156. #define RT_SDIO_THREAD_PRIORITY 15
  157. #define RT_MMCSD_STACK_SIZE 4096
  158. #define RT_MMCSD_THREAD_PRIORITY 22
  159. #define RT_MMCSD_MAX_PARTITION 8
  160. #define RT_USING_SPI
  161. #define RT_USING_QSPI
  162. #define RT_USING_AUDIO
  163. #define RT_AUDIO_REPLAY_MP_BLOCK_SIZE 4096
  164. #define RT_AUDIO_REPLAY_MP_BLOCK_COUNT 2
  165. #define RT_AUDIO_RECORD_PIPE_SIZE 2048
  166. #define RT_USING_TOUCH
  167. #define RT_USING_BLK
  168. /* Partition Types */
  169. #define RT_BLK_PARTITION_DFS
  170. #define RT_BLK_PARTITION_EFI
  171. /* end of Partition Types */
  172. #define RT_USING_PIN
  173. #define RT_USING_KTIME
  174. /* end of Device Drivers */
  175. /* C/C++ and POSIX layer */
  176. /* ISO-ANSI C layer */
  177. /* Timezone and Daylight Saving Time */
  178. #define RT_LIBC_USING_LIGHT_TZ_DST
  179. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  180. #define RT_LIBC_TZ_DEFAULT_MIN 0
  181. #define RT_LIBC_TZ_DEFAULT_SEC 0
  182. /* end of Timezone and Daylight Saving Time */
  183. /* end of ISO-ANSI C layer */
  184. /* POSIX (Portable Operating System Interface) layer */
  185. #define RT_USING_POSIX_FS
  186. #define RT_USING_POSIX_POLL
  187. #define RT_USING_POSIX_SELECT
  188. #define RT_USING_POSIX_SOCKET
  189. #define RT_USING_POSIX_DELAY
  190. #define RT_USING_POSIX_CLOCK
  191. #define RT_USING_PTHREADS
  192. #define PTHREAD_NUM_MAX 8
  193. #define RT_USING_MODULE
  194. #define RT_USING_CUSTOM_DLMODULE
  195. /* Interprocess Communication (IPC) */
  196. /* Socket is in the 'Network' category */
  197. /* end of Interprocess Communication (IPC) */
  198. /* end of POSIX (Portable Operating System Interface) layer */
  199. /* end of C/C++ and POSIX layer */
  200. /* Network */
  201. #define RT_USING_SAL
  202. #define SOCKET_TABLE_STEP_LEN 4
  203. /* Docking with protocol stacks */
  204. #define SAL_USING_LWIP
  205. /* end of Docking with protocol stacks */
  206. #define SAL_USING_POSIX
  207. #define RT_USING_NETDEV
  208. #define NETDEV_USING_IFCONFIG
  209. #define NETDEV_USING_PING
  210. #define NETDEV_USING_NETSTAT
  211. #define NETDEV_USING_AUTO_DEFAULT
  212. #define NETDEV_IPV4 1
  213. #define NETDEV_IPV6 0
  214. #define RT_USING_LWIP
  215. #define RT_USING_LWIP212
  216. #define RT_USING_LWIP_VER_NUM 0x20102
  217. #define RT_LWIP_MEM_ALIGNMENT 32
  218. #define RT_LWIP_IGMP
  219. #define RT_LWIP_ICMP
  220. #define RT_LWIP_DNS
  221. #define RT_LWIP_DHCP
  222. #define IP_SOF_BROADCAST 1
  223. #define IP_SOF_BROADCAST_RECV 1
  224. /* Static IPv4 Address */
  225. #define RT_LWIP_IPADDR "192.168.31.55"
  226. #define RT_LWIP_GWADDR "192.168.31.1"
  227. #define RT_LWIP_MSKADDR "255.255.255.0"
  228. /* end of Static IPv4 Address */
  229. #define RT_LWIP_UDP
  230. #define RT_LWIP_TCP
  231. #define RT_LWIP_RAW
  232. #define RT_MEMP_NUM_NETCONN 32
  233. #define RT_LWIP_PBUF_NUM 8192
  234. #define RT_LWIP_RAW_PCB_NUM 32
  235. #define RT_LWIP_UDP_PCB_NUM 32
  236. #define RT_LWIP_TCP_PCB_NUM 32
  237. #define RT_LWIP_TCP_SEG_NUM 1024
  238. #define RT_LWIP_TCP_SND_BUF 8192
  239. #define RT_LWIP_TCP_WND 10240
  240. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  241. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8192
  242. #define RT_LWIP_TCPTHREAD_STACKSIZE 4096
  243. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  244. #define RT_LWIP_ETHTHREAD_STACKSIZE 4096
  245. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8192
  246. #define RT_LWIP_REASSEMBLY_FRAG
  247. #define LWIP_NETIF_STATUS_CALLBACK 1
  248. #define LWIP_NETIF_LINK_CALLBACK 1
  249. #define RT_LWIP_NETIF_NAMESIZE 6
  250. #define SO_REUSE 1
  251. #define LWIP_SO_RCVTIMEO 1
  252. #define LWIP_SO_SNDTIMEO 1
  253. #define LWIP_SO_RCVBUF 1
  254. #define LWIP_SO_LINGER 0
  255. #define RT_LWIP_NETIF_LOOPBACK
  256. #define LWIP_NETIF_LOOPBACK 1
  257. #define RT_LWIP_STATS
  258. #define RT_LWIP_USING_HW_CHECKSUM
  259. #define RT_LWIP_USING_PING
  260. /* end of Network */
  261. /* Memory protection */
  262. /* end of Memory protection */
  263. /* Utilities */
  264. #define RT_USING_ULOG
  265. #define ULOG_OUTPUT_LVL_D
  266. #define ULOG_OUTPUT_LVL 7
  267. #define ULOG_USING_ISR_LOG
  268. #define ULOG_ASSERT_ENABLE
  269. #define ULOG_LINE_BUF_SIZE 128
  270. /* log format */
  271. #define ULOG_USING_COLOR
  272. #define ULOG_OUTPUT_TIME
  273. #define ULOG_OUTPUT_LEVEL
  274. #define ULOG_OUTPUT_TAG
  275. /* end of log format */
  276. #define ULOG_BACKEND_USING_CONSOLE
  277. #define RT_USING_UTEST
  278. #define UTEST_THR_STACK_SIZE 4096
  279. #define UTEST_THR_PRIORITY 20
  280. #define RT_UTEST_MAX_OPTIONS 64
  281. #define RT_USING_ADT
  282. #define RT_USING_ADT_AVL
  283. #define RT_USING_ADT_BITMAP
  284. #define RT_USING_ADT_HASHMAP
  285. #define RT_USING_ADT_REF
  286. /* end of Utilities */
  287. /* Memory management */
  288. #define RT_PAGE_AFFINITY_BLOCK_SIZE 0x1000
  289. #define RT_PAGE_MAX_ORDER 11
  290. /* Debugging */
  291. /* end of Debugging */
  292. /* end of Memory management */
  293. /* Using USB legacy version */
  294. #define RT_USING_USB
  295. #define RT_USING_USB_HOST
  296. #define RT_USBH_MSTORAGE
  297. #define UDISK_MOUNTPOINT "/mnt/udisk"
  298. #define RT_USBD_THREAD_STACK_SZ 4096
  299. /* end of Using USB legacy version */
  300. /* end of RT-Thread Components */
  301. /* RT-Thread Utestcases */
  302. #define RT_USING_UTESTCASES
  303. /* Kernel Core */
  304. #define RT_UTEST_MEMHEAP
  305. #define RT_UTEST_SMALL_MEM
  306. /* end of Kernel Core */
  307. /* Kernel Components */
  308. /* Drivers */
  309. /* IPC Test */
  310. /* end of IPC Test */
  311. /* Serial Test */
  312. /* end of Serial Test */
  313. /* SMP-Call Test */
  314. /* end of SMP-Call Test */
  315. /* end of Drivers */
  316. /* File System */
  317. /* end of File System */
  318. /* CPP11 */
  319. /* end of CPP11 */
  320. /* LwIP */
  321. /* end of LwIP */
  322. /* Netdev */
  323. /* end of Netdev */
  324. /* Utest Framework */
  325. #define RT_UTEST_SELF_PASS
  326. /* end of Utest Framework */
  327. /* end of Kernel Components */
  328. /* Memory Management Subsytem Testcase */
  329. /* end of Memory Management Subsytem Testcase */
  330. /* Tmpfs Testcase */
  331. /* end of Tmpfs Testcase */
  332. /* end of RT-Thread Utestcases */
  333. /* RT-Thread online packages */
  334. /* IoT - internet of things */
  335. /* Wi-Fi */
  336. /* Marvell WiFi */
  337. /* end of Marvell WiFi */
  338. /* Wiced WiFi */
  339. /* end of Wiced WiFi */
  340. /* CYW43012 WiFi */
  341. /* end of CYW43012 WiFi */
  342. /* BL808 WiFi */
  343. /* end of BL808 WiFi */
  344. /* CYW43439 WiFi */
  345. /* end of CYW43439 WiFi */
  346. /* end of Wi-Fi */
  347. /* IoT Cloud */
  348. /* end of IoT Cloud */
  349. /* end of IoT - internet of things */
  350. /* security packages */
  351. /* end of security packages */
  352. /* language packages */
  353. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  354. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  355. /* XML: Extensible Markup Language */
  356. /* end of XML: Extensible Markup Language */
  357. /* end of language packages */
  358. /* multimedia packages */
  359. /* LVGL: powerful and easy-to-use embedded GUI library */
  360. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  361. /* u8g2: a monochrome graphic library */
  362. /* end of u8g2: a monochrome graphic library */
  363. /* end of multimedia packages */
  364. /* tools packages */
  365. /* end of tools packages */
  366. /* system packages */
  367. /* enhanced kernel services */
  368. /* end of enhanced kernel services */
  369. /* acceleration: Assembly language or algorithmic acceleration packages */
  370. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  371. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  372. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  373. /* Micrium: Micrium software products porting for RT-Thread */
  374. /* end of Micrium: Micrium software products porting for RT-Thread */
  375. /* end of system packages */
  376. /* peripheral libraries and drivers */
  377. /* HAL & SDK Drivers */
  378. /* STM32 HAL & SDK Drivers */
  379. /* end of STM32 HAL & SDK Drivers */
  380. /* Infineon HAL Packages */
  381. /* end of Infineon HAL Packages */
  382. /* Kendryte SDK */
  383. /* end of Kendryte SDK */
  384. /* WCH HAL & SDK Drivers */
  385. /* end of WCH HAL & SDK Drivers */
  386. /* AT32 HAL & SDK Drivers */
  387. /* end of AT32 HAL & SDK Drivers */
  388. /* HC32 DDL Drivers */
  389. /* end of HC32 DDL Drivers */
  390. /* NXP HAL & SDK Drivers */
  391. /* end of NXP HAL & SDK Drivers */
  392. /* NUVOTON Drivers */
  393. #define PKG_USING_NUVOTON_CMSIS_DRIVER
  394. #define PKG_USING_NUVOTON_CMSIS_DRIVER_LATEST_VERSION
  395. #define PKG_USING_NUVOTON_SERIES_DRIVER
  396. #define PKG_USING_NUVOTON_SERIES_DRIVER_LATEST_VERSION
  397. /* end of NUVOTON Drivers */
  398. /* GD32 Drivers */
  399. /* end of GD32 Drivers */
  400. /* end of HAL & SDK Drivers */
  401. /* sensors drivers */
  402. /* end of sensors drivers */
  403. /* touch drivers */
  404. /* end of touch drivers */
  405. /* end of peripheral libraries and drivers */
  406. /* AI packages */
  407. /* end of AI packages */
  408. /* Signal Processing and Control Algorithm Packages */
  409. /* end of Signal Processing and Control Algorithm Packages */
  410. /* miscellaneous packages */
  411. /* project laboratory */
  412. /* end of project laboratory */
  413. /* samples: kernel and components samples */
  414. /* end of samples: kernel and components samples */
  415. /* entertainment: terminal games and other interesting software packages */
  416. /* end of entertainment: terminal games and other interesting software packages */
  417. /* end of miscellaneous packages */
  418. /* Arduino libraries */
  419. /* Projects and Demos */
  420. /* end of Projects and Demos */
  421. /* Sensors */
  422. /* end of Sensors */
  423. /* Display */
  424. /* end of Display */
  425. /* Timing */
  426. /* end of Timing */
  427. /* Data Processing */
  428. /* end of Data Processing */
  429. /* Data Storage */
  430. /* Communication */
  431. /* end of Communication */
  432. /* Device Control */
  433. /* end of Device Control */
  434. /* Other */
  435. /* end of Other */
  436. /* Signal IO */
  437. /* end of Signal IO */
  438. /* Uncategorized */
  439. /* end of Arduino libraries */
  440. /* end of RT-Thread online packages */
  441. /* Hardware Drivers Config */
  442. /* On-chip Peripheral Drivers */
  443. #define SOC_SERIES_MA35D1
  444. #define BSP_USING_SSPCC
  445. #define BSP_USING_SSMCC
  446. #define BSP_USING_UMCTL2
  447. #define BSP_USING_RTP
  448. #define RTP_USING_AT_STARTUP
  449. #define RT_USING_FPU
  450. #define BSP_USING_PDMA
  451. #define BSP_USING_PDMA0
  452. #define BSP_USING_PDMA1
  453. #define NU_PDMA_MEMFUN_ACTOR_MAX 4
  454. #define BSP_USING_GPIO
  455. #define BSP_USING_GMAC
  456. #define BSP_USING_GMAC0
  457. #define BSP_USING_GMAC1
  458. #define BSP_USING_RTC
  459. #define BSP_USING_ADC
  460. #define BSP_USING_ADC_TOUCH
  461. #define BSP_USING_CCAP
  462. #define BSP_USING_CCAP0
  463. #define BSP_USING_UART
  464. #define BSP_USING_UART0
  465. #define BSP_USING_UART11
  466. #define BSP_USING_UART11_TX_DMA
  467. #define BSP_USING_UART11_RX_DMA
  468. #define BSP_USING_UART12
  469. #define BSP_USING_UART14
  470. #define BSP_USING_UART16
  471. #define BSP_USING_UART16_TX_DMA
  472. #define BSP_USING_UART16_RX_DMA
  473. #define BSP_USING_I2C
  474. #define BSP_USING_I2C0
  475. #define BSP_USING_I2C1
  476. #define BSP_USING_I2C2
  477. #define BSP_USING_I2C3
  478. #define BSP_USING_I2C4
  479. #define BSP_USING_I2C5
  480. #define BSP_USING_SDH
  481. #define BSP_USING_SDH0
  482. #define BSP_USING_SDH1
  483. #define BSP_USING_SPI
  484. #define BSP_USING_SPI0_NONE
  485. #define BSP_USING_SPI1_NONE
  486. #define BSP_USING_SPI2_NONE
  487. #define BSP_USING_SPI3_NONE
  488. #define BSP_USING_I2S
  489. #define BSP_USING_I2S0
  490. #define NU_I2S_DMA_FIFO_SIZE 2048
  491. #define BSP_USING_QSPI
  492. #define BSP_USING_QSPI0
  493. #define BSP_USING_DISP
  494. #define LCM_USING_FW070TFT_WSVGA
  495. #define DISP_USING_LCD_IDX 0
  496. #define BSP_LCD_BPP 32
  497. #define BSP_LCD_WIDTH 1024
  498. #define BSP_LCD_HEIGHT 600
  499. #define DISP_USING_OVERLAY
  500. #define BSP_USING_HWSEM
  501. #define BSP_USING_HWSEM0
  502. #define BSP_USING_WHC
  503. #define BSP_USING_WHC0
  504. #define BSP_USING_NFI
  505. #define BSP_USING_USBH
  506. #define BSP_USING_HSUSBH0
  507. #define BSP_USING_HSUSBH1
  508. /* end of On-chip Peripheral Drivers */
  509. /* On-board Peripheral Drivers */
  510. #define BSP_USING_CONSOLE
  511. #define BOARD_USING_NAU8822
  512. #define BOARD_USING_STORAGE_SDCARD
  513. #define BOARD_USING_STORAGE_EMMC
  514. #define BOARD_USING_STORAGE_RAWNAND
  515. #define BOARD_USING_STORAGE_SPINAND
  516. #define BOARD_USING_USBHOST
  517. /* end of On-board Peripheral Drivers */
  518. /* Board extended module drivers */
  519. #define BOARD_USING_LCM
  520. #define BOARD_USING_LCM_FW070TFT_WSVGA
  521. #define BOARD_USING_ADCTOUCH
  522. /* end of Board extended module drivers */
  523. /* Nuvoton Packages Config */
  524. #define NU_PKG_USING_UTILS
  525. #define NU_PKG_USING_DEMO
  526. #define NU_PKG_USING_NAU8822
  527. #define NU_PKG_USING_ADC_TOUCH
  528. #define NU_PKG_USING_SPINAND
  529. /* end of Nuvoton Packages Config */
  530. /* end of Hardware Drivers Config */
  531. #endif