rtconfig.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* RT-Thread Kernel */
  4. #define RT_NAME_MAX 8
  5. #define RT_CPUS_NR 1
  6. #define RT_ALIGN_SIZE 8
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 1000
  10. #define RT_USING_HOOK
  11. #define RT_HOOK_USING_FUNC_PTR
  12. #define RT_USING_IDLE_HOOK
  13. #define RT_IDLE_HOOK_LIST_SIZE 4
  14. #define IDLE_THREAD_STACK_SIZE 1024
  15. /* kservice optimization */
  16. /* end of kservice optimization */
  17. /* klibc optimization */
  18. /* end of klibc optimization */
  19. #define RT_USING_DEBUG
  20. #define RT_DEBUGING_ASSERT
  21. #define RT_DEBUGING_COLOR
  22. #define RT_DEBUGING_CONTEXT
  23. #define RT_USING_OVERFLOW_CHECK
  24. /* Inter-Thread communication */
  25. #define RT_USING_SEMAPHORE
  26. #define RT_USING_MUTEX
  27. #define RT_USING_EVENT
  28. #define RT_USING_MAILBOX
  29. #define RT_USING_MESSAGEQUEUE
  30. #define RT_USING_SIGNALS
  31. /* end of Inter-Thread communication */
  32. /* Memory Management */
  33. #define RT_USING_MEMPOOL
  34. #define RT_USING_SMALL_MEM
  35. #define RT_USING_SMALL_MEM_AS_HEAP
  36. #define RT_USING_HEAP
  37. /* end of Memory Management */
  38. #define RT_USING_DEVICE
  39. #define RT_USING_CONSOLE
  40. #define RT_CONSOLEBUF_SIZE 256
  41. #define RT_CONSOLE_DEVICE_NAME "uart0"
  42. #define RT_VER_NUM 0x50200
  43. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  44. /* end of RT-Thread Kernel */
  45. #define RT_USING_HW_ATOMIC
  46. #define RT_USING_CPU_FFS
  47. #define ARCH_ARM
  48. #define ARCH_ARM_CORTEX_M
  49. #define ARCH_ARM_CORTEX_M4
  50. /* RT-Thread Components */
  51. #define RT_USING_COMPONENTS_INIT
  52. #define RT_USING_USER_MAIN
  53. #define RT_MAIN_THREAD_STACK_SIZE 2048
  54. #define RT_MAIN_THREAD_PRIORITY 10
  55. #define RT_USING_LEGACY
  56. #define RT_USING_MSH
  57. #define RT_USING_FINSH
  58. #define FINSH_USING_MSH
  59. #define FINSH_THREAD_NAME "tshell"
  60. #define FINSH_THREAD_PRIORITY 20
  61. #define FINSH_THREAD_STACK_SIZE 2048
  62. #define FINSH_USING_HISTORY
  63. #define FINSH_HISTORY_LINES 5
  64. #define FINSH_USING_SYMTAB
  65. #define FINSH_CMD_SIZE 80
  66. #define MSH_USING_BUILT_IN_COMMANDS
  67. #define FINSH_USING_DESCRIPTION
  68. #define FINSH_ARG_MAX 10
  69. #define FINSH_USING_OPTION_COMPLETION
  70. /* DFS: device virtual file system */
  71. #define RT_USING_DFS
  72. #define DFS_USING_POSIX
  73. #define DFS_USING_WORKDIR
  74. #define RT_USING_DFS_MNTTABLE
  75. #define DFS_FD_MAX 32
  76. #define RT_USING_DFS_V1
  77. #define DFS_FILESYSTEMS_MAX 8
  78. #define DFS_FILESYSTEM_TYPES_MAX 8
  79. #define RT_USING_DFS_ELMFAT
  80. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  81. #define RT_DFS_ELM_CODE_PAGE 437
  82. #define RT_DFS_ELM_WORD_ACCESS
  83. #define RT_DFS_ELM_USE_LFN_3
  84. #define RT_DFS_ELM_USE_LFN 3
  85. #define RT_DFS_ELM_LFN_UNICODE_0
  86. #define RT_DFS_ELM_LFN_UNICODE 0
  87. #define RT_DFS_ELM_MAX_LFN 255
  88. #define RT_DFS_ELM_DRIVES 8
  89. #define RT_DFS_ELM_MAX_SECTOR_SIZE 4096
  90. #define RT_DFS_ELM_REENTRANT
  91. #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
  92. /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
  93. #define RT_USING_DFS_DEVFS
  94. /* end of DFS: device virtual file system */
  95. #define RT_USING_FAL
  96. #define FAL_DEBUG_CONFIG
  97. #define FAL_DEBUG 1
  98. #define FAL_PART_HAS_TABLE_CFG
  99. #define FAL_USING_SFUD_PORT
  100. #define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
  101. /* Device Drivers */
  102. #define RT_USING_DEVICE_IPC
  103. #define RT_UNAMED_PIPE_NUMBER 64
  104. #define RT_USING_SYSTEM_WORKQUEUE
  105. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
  106. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  107. #define RT_USING_SERIAL
  108. #define RT_USING_SERIAL_V1
  109. #define RT_SERIAL_USING_DMA
  110. #define RT_SERIAL_RB_BUFSZ 512
  111. #define RT_USING_CAN
  112. #define RT_USING_I2C
  113. #define RT_USING_I2C_BITOPS
  114. #define RT_USING_PWM
  115. #define RT_USING_INPUT_CAPTURE
  116. #define RT_INPUT_CAPTURE_RB_SIZE 100
  117. #define RT_USING_RTC
  118. #define RT_USING_SDIO
  119. #define RT_SDIO_STACK_SIZE 2048
  120. #define RT_SDIO_THREAD_PRIORITY 15
  121. #define RT_MMCSD_STACK_SIZE 2048
  122. #define RT_MMCSD_THREAD_PRIORITY 22
  123. #define RT_MMCSD_MAX_PARTITION 16
  124. #define RT_SDIO_DEBUG
  125. #define RT_USING_SPI
  126. #define RT_USING_QSPI
  127. #define RT_USING_SFUD
  128. #define RT_SFUD_USING_SFDP
  129. #define RT_SFUD_USING_FLASH_INFO_TABLE
  130. #define RT_SFUD_USING_QSPI
  131. #define RT_SFUD_SPI_MAX_HZ 50000000
  132. #define RT_USING_WDT
  133. #define RT_USING_AUDIO
  134. #define RT_AUDIO_REPLAY_MP_BLOCK_SIZE 4096
  135. #define RT_AUDIO_REPLAY_MP_BLOCK_COUNT 2
  136. #define RT_AUDIO_RECORD_PIPE_SIZE 2048
  137. #define RT_USING_SENSOR
  138. #define RT_USING_SENSOR_V2
  139. #define RT_USING_SENSOR_CMD
  140. #define RT_USING_HWCRYPTO
  141. #define RT_HWCRYPTO_DEFAULT_NAME "hwcryto"
  142. #define RT_HWCRYPTO_IV_MAX_SIZE 16
  143. #define RT_HWCRYPTO_KEYBIT_MAX_SIZE 256
  144. #define RT_HWCRYPTO_USING_AES
  145. #define RT_HWCRYPTO_USING_AES_ECB
  146. #define RT_HWCRYPTO_USING_AES_CBC
  147. #define RT_HWCRYPTO_USING_AES_CFB
  148. #define RT_HWCRYPTO_USING_AES_CTR
  149. #define RT_HWCRYPTO_USING_AES_OFB
  150. #define RT_HWCRYPTO_USING_DES
  151. #define RT_HWCRYPTO_USING_DES_ECB
  152. #define RT_HWCRYPTO_USING_DES_CBC
  153. #define RT_HWCRYPTO_USING_3DES
  154. #define RT_HWCRYPTO_USING_3DES_ECB
  155. #define RT_HWCRYPTO_USING_3DES_CBC
  156. #define RT_HWCRYPTO_USING_SHA1
  157. #define RT_HWCRYPTO_USING_SHA2
  158. #define RT_HWCRYPTO_USING_SHA2_224
  159. #define RT_HWCRYPTO_USING_SHA2_256
  160. #define RT_HWCRYPTO_USING_SHA2_384
  161. #define RT_HWCRYPTO_USING_SHA2_512
  162. #define RT_HWCRYPTO_USING_RNG
  163. #define RT_HWCRYPTO_USING_CRC
  164. #define RT_HWCRYPTO_USING_CRC_07
  165. #define RT_HWCRYPTO_USING_CRC_8005
  166. #define RT_HWCRYPTO_USING_CRC_1021
  167. #define RT_HWCRYPTO_USING_CRC_04C11DB7
  168. #define RT_USING_PIN
  169. #define RT_USING_HWTIMER
  170. /* end of Device Drivers */
  171. /* C/C++ and POSIX layer */
  172. /* ISO-ANSI C layer */
  173. /* Timezone and Daylight Saving Time */
  174. #define RT_LIBC_USING_LIGHT_TZ_DST
  175. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  176. #define RT_LIBC_TZ_DEFAULT_MIN 0
  177. #define RT_LIBC_TZ_DEFAULT_SEC 0
  178. /* end of Timezone and Daylight Saving Time */
  179. /* end of ISO-ANSI C layer */
  180. /* POSIX (Portable Operating System Interface) layer */
  181. #define RT_USING_POSIX_FS
  182. #define RT_USING_POSIX_DEVIO
  183. #define RT_USING_POSIX_POLL
  184. #define RT_USING_POSIX_SELECT
  185. #define RT_USING_POSIX_SOCKET
  186. /* Interprocess Communication (IPC) */
  187. /* Socket is in the 'Network' category */
  188. /* end of Interprocess Communication (IPC) */
  189. /* end of POSIX (Portable Operating System Interface) layer */
  190. /* end of C/C++ and POSIX layer */
  191. /* Network */
  192. #define RT_USING_SAL
  193. #define SAL_INTERNET_CHECK
  194. /* Docking with protocol stacks */
  195. #define SAL_USING_LWIP
  196. #define SAL_USING_AT
  197. /* end of Docking with protocol stacks */
  198. #define SAL_USING_POSIX
  199. #define RT_USING_NETDEV
  200. #define NETDEV_USING_IFCONFIG
  201. #define NETDEV_USING_PING
  202. #define NETDEV_USING_NETSTAT
  203. #define NETDEV_USING_AUTO_DEFAULT
  204. #define NETDEV_IPV4 1
  205. #define NETDEV_IPV6 0
  206. #define RT_USING_LWIP
  207. #define RT_USING_LWIP_LOCAL_VERSION
  208. #define RT_USING_LWIP212
  209. #define RT_USING_LWIP_VER_NUM 0x20102
  210. #define RT_LWIP_MEM_ALIGNMENT 4
  211. #define RT_LWIP_IGMP
  212. #define RT_LWIP_ICMP
  213. #define RT_LWIP_DNS
  214. #define RT_LWIP_DHCP
  215. #define IP_SOF_BROADCAST 1
  216. #define IP_SOF_BROADCAST_RECV 1
  217. /* Static IPv4 Address */
  218. #define RT_LWIP_IPADDR "192.168.31.55"
  219. #define RT_LWIP_GWADDR "192.168.31.1"
  220. #define RT_LWIP_MSKADDR "255.255.255.0"
  221. /* end of Static IPv4 Address */
  222. #define RT_LWIP_UDP
  223. #define RT_LWIP_TCP
  224. #define RT_LWIP_RAW
  225. #define RT_MEMP_NUM_NETCONN 8
  226. #define RT_LWIP_PBUF_NUM 64
  227. #define RT_LWIP_RAW_PCB_NUM 4
  228. #define RT_LWIP_UDP_PCB_NUM 4
  229. #define RT_LWIP_TCP_PCB_NUM 4
  230. #define RT_LWIP_TCP_SEG_NUM 64
  231. #define RT_LWIP_TCP_SND_BUF 8192
  232. #define RT_LWIP_TCP_WND 10240
  233. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  234. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 64
  235. #define RT_LWIP_TCPTHREAD_STACKSIZE 2048
  236. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  237. #define RT_LWIP_ETHTHREAD_STACKSIZE 2048
  238. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 64
  239. #define RT_LWIP_REASSEMBLY_FRAG
  240. #define LWIP_NETIF_STATUS_CALLBACK 1
  241. #define LWIP_NETIF_LINK_CALLBACK 1
  242. #define RT_LWIP_NETIF_NAMESIZE 6
  243. #define SO_REUSE 1
  244. #define LWIP_SO_RCVTIMEO 1
  245. #define LWIP_SO_SNDTIMEO 1
  246. #define LWIP_SO_RCVBUF 1
  247. #define LWIP_SO_LINGER 0
  248. #define RT_LWIP_NETIF_LOOPBACK
  249. #define LWIP_NETIF_LOOPBACK 1
  250. #define RT_LWIP_STATS
  251. #define RT_LWIP_USING_PING
  252. #define RT_USING_AT
  253. #define AT_USING_CLIENT
  254. #define AT_CLIENT_NUM_MAX 1
  255. #define AT_USING_SOCKET
  256. #define AT_USING_CLI
  257. #define AT_SW_VERSION_NUM 0x10301
  258. /* end of Network */
  259. /* Memory protection */
  260. /* end of Memory protection */
  261. /* Utilities */
  262. #define RT_USING_ULOG
  263. #define ULOG_OUTPUT_LVL_D
  264. #define ULOG_OUTPUT_LVL 7
  265. #define ULOG_ASSERT_ENABLE
  266. #define ULOG_LINE_BUF_SIZE 128
  267. /* log format */
  268. #define ULOG_USING_COLOR
  269. #define ULOG_OUTPUT_TIME
  270. #define ULOG_OUTPUT_LEVEL
  271. #define ULOG_OUTPUT_TAG
  272. /* end of log format */
  273. #define ULOG_BACKEND_USING_CONSOLE
  274. #define RT_USING_UTEST
  275. #define UTEST_THR_STACK_SIZE 4096
  276. #define UTEST_THR_PRIORITY 20
  277. /* end of Utilities */
  278. /* Using USB legacy version */
  279. #define RT_USING_USB
  280. #define RT_USING_USB_HOST
  281. #define RT_USBH_MSTORAGE
  282. #define UDISK_MOUNTPOINT "/mnt/udisk"
  283. #define RT_USING_USB_DEVICE
  284. #define RT_USBD_THREAD_STACK_SZ 4096
  285. #define USB_VENDOR_ID 0x0FFE
  286. #define USB_PRODUCT_ID 0x0001
  287. #define _RT_USB_DEVICE_MSTORAGE
  288. #define RT_USB_DEVICE_MSTORAGE
  289. #define RT_USB_MSTORAGE_DISK_NAME "sd0"
  290. /* end of Using USB legacy version */
  291. /* end of RT-Thread Components */
  292. /* RT-Thread Utestcases */
  293. /* end of RT-Thread Utestcases */
  294. /* RT-Thread online packages */
  295. /* IoT - internet of things */
  296. /* Wi-Fi */
  297. /* Marvell WiFi */
  298. /* end of Marvell WiFi */
  299. /* Wiced WiFi */
  300. /* end of Wiced WiFi */
  301. /* CYW43012 WiFi */
  302. /* end of CYW43012 WiFi */
  303. /* BL808 WiFi */
  304. /* end of BL808 WiFi */
  305. /* CYW43439 WiFi */
  306. /* end of CYW43439 WiFi */
  307. /* end of Wi-Fi */
  308. #define PKG_USING_AT_DEVICE
  309. #define AT_DEVICE_USING_ESP8266
  310. #define AT_DEVICE_ESP8266_INIT_ASYN
  311. #define AT_DEVICE_ESP8266_SOCKET
  312. #define AT_DEVICE_ESP8266_SAMPLE
  313. #define ESP8266_SAMPLE_WIFI_SSID "NT_ZY_BUFFALO"
  314. #define ESP8266_SAMPLE_WIFI_PASSWORD "12345678"
  315. #define ESP8266_SAMPLE_CLIENT_NAME "uart2"
  316. #define ESP8266_SAMPLE_RECV_BUFF_LEN 2048
  317. #define PKG_USING_AT_DEVICE_LATEST_VERSION
  318. #define PKG_AT_DEVICE_VER_NUM 0x99999
  319. /* IoT Cloud */
  320. /* end of IoT Cloud */
  321. /* end of IoT - internet of things */
  322. /* security packages */
  323. /* end of security packages */
  324. /* language packages */
  325. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  326. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  327. /* XML: Extensible Markup Language */
  328. /* end of XML: Extensible Markup Language */
  329. /* end of language packages */
  330. /* multimedia packages */
  331. /* LVGL: powerful and easy-to-use embedded GUI library */
  332. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  333. /* u8g2: a monochrome graphic library */
  334. /* end of u8g2: a monochrome graphic library */
  335. /* end of multimedia packages */
  336. /* tools packages */
  337. /* end of tools packages */
  338. /* system packages */
  339. /* enhanced kernel services */
  340. #define PKG_USING_RT_VSNPRINTF_FULL
  341. #define PKG_VSNPRINTF_SUPPORT_DECIMAL_SPECIFIERS
  342. #define PKG_VSNPRINTF_SUPPORT_EXPONENTIAL_SPECIFIERS
  343. #define PKG_VSNPRINTF_SUPPORT_WRITEBACK_SPECIFIER
  344. #define PKG_VSNPRINTF_SUPPORT_LONG_LONG
  345. #define PKG_VSNPRINTF_CHECK_FOR_NUL_IN_FORMAT_SPECIFIER
  346. #define PKG_VSNPRINTF_INTEGER_BUFFER_SIZE 32
  347. #define PKG_VSNPRINTF_DECIMAL_BUFFER_SIZE 32
  348. #define PKG_VSNPRINTF_DEFAULT_FLOAT_PRECISION 6
  349. #define PKG_VSNPRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL 9
  350. #define PKG_VSNPRINTF_LOG10_TAYLOR_TERMS 4
  351. #define PKG_USING_RT_VSNPRINTF_FULL_LATEST_VERSION
  352. /* end of enhanced kernel services */
  353. /* acceleration: Assembly language or algorithmic acceleration packages */
  354. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  355. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  356. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  357. /* Micrium: Micrium software products porting for RT-Thread */
  358. /* end of Micrium: Micrium software products porting for RT-Thread */
  359. /* end of system packages */
  360. /* peripheral libraries and drivers */
  361. /* HAL & SDK Drivers */
  362. /* STM32 HAL & SDK Drivers */
  363. /* end of STM32 HAL & SDK Drivers */
  364. /* Infineon HAL Packages */
  365. /* end of Infineon HAL Packages */
  366. /* Kendryte SDK */
  367. /* end of Kendryte SDK */
  368. /* end of HAL & SDK Drivers */
  369. /* sensors drivers */
  370. /* end of sensors drivers */
  371. /* touch drivers */
  372. /* end of touch drivers */
  373. /* end of peripheral libraries and drivers */
  374. /* AI packages */
  375. /* end of AI packages */
  376. /* Signal Processing and Control Algorithm Packages */
  377. /* end of Signal Processing and Control Algorithm Packages */
  378. /* miscellaneous packages */
  379. /* project laboratory */
  380. /* end of project laboratory */
  381. /* samples: kernel and components samples */
  382. /* end of samples: kernel and components samples */
  383. /* entertainment: terminal games and other interesting software packages */
  384. /* end of entertainment: terminal games and other interesting software packages */
  385. /* end of miscellaneous packages */
  386. /* Arduino libraries */
  387. /* Projects and Demos */
  388. /* end of Projects and Demos */
  389. /* Sensors */
  390. /* end of Sensors */
  391. /* Display */
  392. /* end of Display */
  393. /* Timing */
  394. /* end of Timing */
  395. /* Data Processing */
  396. /* end of Data Processing */
  397. /* Data Storage */
  398. /* Communication */
  399. /* end of Communication */
  400. /* Device Control */
  401. /* end of Device Control */
  402. /* Other */
  403. /* end of Other */
  404. /* Signal IO */
  405. /* end of Signal IO */
  406. /* Uncategorized */
  407. /* end of Arduino libraries */
  408. /* end of RT-Thread online packages */
  409. /* Hardware Drivers Config */
  410. /* On-chip Peripheral Drivers */
  411. #define SOC_SERIES_M460
  412. #define BSP_USE_STDDRIVER_SOURCE
  413. #define BSP_USING_PDMA
  414. #define NU_PDMA_MEMFUN_ACTOR_MAX 2
  415. #define NU_PDMA_SGTBL_POOL_SIZE 32
  416. #define BSP_USING_FMC
  417. #define BSP_USING_GPIO
  418. #define BSP_USING_EMAC
  419. #define BSP_USING_RTC
  420. #define NU_RTC_SUPPORT_MSH_CMD
  421. #define BSP_USING_TMR
  422. #define BSP_USING_TIMER
  423. #define BSP_USING_TPWM
  424. #define BSP_USING_TIMER_CAPTURE
  425. #define BSP_USING_TMR0
  426. #define BSP_USING_TIMER0
  427. #define BSP_USING_TMR1
  428. #define BSP_USING_TPWM1
  429. #define BSP_USING_TMR2
  430. #define BSP_USING_TIMER2_CAPTURE
  431. #define BSP_USING_TMR3
  432. #define BSP_USING_TIMER3
  433. #define BSP_USING_UART
  434. #define BSP_USING_UART0
  435. #define BSP_USING_UART1
  436. #define BSP_USING_UART1_TX_DMA
  437. #define BSP_USING_UART1_RX_DMA
  438. #define BSP_USING_UART2
  439. #define BSP_USING_UART2_TX_DMA
  440. #define BSP_USING_UART2_RX_DMA
  441. #define BSP_USING_I2C
  442. #define BSP_USING_I2C2
  443. #define BSP_USING_SDH
  444. #define BSP_USING_SDH0
  445. #define BSP_USING_CANFD
  446. #define BSP_USING_CANFD0
  447. #define BSP_USING_SPI
  448. #define BSP_USING_SPI_PDMA
  449. #define BSP_USING_SPI0_NONE
  450. #define BSP_USING_SPI1_NONE
  451. #define BSP_USING_SPI2
  452. #define BSP_USING_SPI2_PDMA
  453. #define BSP_USING_SPI3_NONE
  454. #define BSP_USING_SPI4_NONE
  455. #define BSP_USING_SPI5_NONE
  456. #define BSP_USING_SPI6_NONE
  457. #define BSP_USING_SPI7_NONE
  458. #define BSP_USING_SPI8_NONE
  459. #define BSP_USING_SPI9_NONE
  460. #define BSP_USING_SPI10_NONE
  461. #define BSP_USING_QSPI
  462. #define BSP_USING_QSPI0
  463. #define BSP_USING_CRYPTO
  464. #define BSP_USING_TRNG
  465. #define BSP_USING_CRC
  466. #define NU_CRC_USE_PDMA
  467. #define BSP_USING_WDT
  468. #define BSP_USING_USBD
  469. #define BSP_USING_HSUSBH
  470. #define NU_USBHOST_HUB_POLLING_INTERVAL 100
  471. /* end of On-chip Peripheral Drivers */
  472. /* On-board Peripheral Drivers */
  473. #define BSP_USING_NULINKME
  474. #define BOARD_USING_RTL8201FI
  475. #define BOARD_USING_ESP8266
  476. #define BOARD_USING_STORAGE_SDCARD
  477. #define BOARD_USING_STORAGE_SPIFLASH
  478. #define BOARD_USING_CANFD0
  479. #define BOARD_USING_NCT7717U
  480. #define BOARD_USING_USB_D_H
  481. #define BOARD_USING_HSUSBH_USBD
  482. /* end of On-board Peripheral Drivers */
  483. /* Board extended module drivers */
  484. /* end of Board extended module drivers */
  485. /* Nuvoton Packages Config */
  486. #define NU_PKG_USING_UTILS
  487. #define NU_PKG_USING_DEMO
  488. #define NU_PKG_USING_NCT7717U
  489. /* end of Nuvoton Packages Config */
  490. /* end of Hardware Drivers Config */
  491. #endif