rtconfig.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  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_DEBUG_SFUD
  133. #define RT_USING_WDT
  134. #define RT_USING_AUDIO
  135. #define RT_AUDIO_REPLAY_MP_BLOCK_SIZE 4096
  136. #define RT_AUDIO_REPLAY_MP_BLOCK_COUNT 2
  137. #define RT_AUDIO_RECORD_PIPE_SIZE 2048
  138. #define RT_USING_SENSOR
  139. #define RT_USING_SENSOR_V2
  140. #define RT_USING_SENSOR_CMD
  141. #define RT_USING_HWCRYPTO
  142. #define RT_HWCRYPTO_DEFAULT_NAME "hwcryto"
  143. #define RT_HWCRYPTO_IV_MAX_SIZE 16
  144. #define RT_HWCRYPTO_KEYBIT_MAX_SIZE 256
  145. #define RT_HWCRYPTO_USING_AES
  146. #define RT_HWCRYPTO_USING_AES_ECB
  147. #define RT_HWCRYPTO_USING_AES_CBC
  148. #define RT_HWCRYPTO_USING_AES_CFB
  149. #define RT_HWCRYPTO_USING_AES_CTR
  150. #define RT_HWCRYPTO_USING_AES_OFB
  151. #define RT_HWCRYPTO_USING_DES
  152. #define RT_HWCRYPTO_USING_DES_ECB
  153. #define RT_HWCRYPTO_USING_DES_CBC
  154. #define RT_HWCRYPTO_USING_3DES
  155. #define RT_HWCRYPTO_USING_3DES_ECB
  156. #define RT_HWCRYPTO_USING_3DES_CBC
  157. #define RT_HWCRYPTO_USING_SHA1
  158. #define RT_HWCRYPTO_USING_SHA2
  159. #define RT_HWCRYPTO_USING_SHA2_224
  160. #define RT_HWCRYPTO_USING_SHA2_256
  161. #define RT_HWCRYPTO_USING_SHA2_384
  162. #define RT_HWCRYPTO_USING_SHA2_512
  163. #define RT_HWCRYPTO_USING_RNG
  164. #define RT_HWCRYPTO_USING_CRC
  165. #define RT_HWCRYPTO_USING_CRC_07
  166. #define RT_HWCRYPTO_USING_CRC_8005
  167. #define RT_HWCRYPTO_USING_CRC_1021
  168. #define RT_HWCRYPTO_USING_CRC_04C11DB7
  169. #define RT_USING_PIN
  170. #define RT_USING_HWTIMER
  171. /* end of Device Drivers */
  172. /* C/C++ and POSIX layer */
  173. /* ISO-ANSI C layer */
  174. /* Timezone and Daylight Saving Time */
  175. #define RT_LIBC_USING_LIGHT_TZ_DST
  176. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  177. #define RT_LIBC_TZ_DEFAULT_MIN 0
  178. #define RT_LIBC_TZ_DEFAULT_SEC 0
  179. /* end of Timezone and Daylight Saving Time */
  180. /* end of ISO-ANSI C layer */
  181. /* POSIX (Portable Operating System Interface) layer */
  182. #define RT_USING_POSIX_FS
  183. #define RT_USING_POSIX_DEVIO
  184. #define RT_USING_POSIX_POLL
  185. #define RT_USING_POSIX_SELECT
  186. #define RT_USING_POSIX_SOCKET
  187. /* Interprocess Communication (IPC) */
  188. /* Socket is in the 'Network' category */
  189. /* end of Interprocess Communication (IPC) */
  190. /* end of POSIX (Portable Operating System Interface) layer */
  191. /* end of C/C++ and POSIX layer */
  192. /* Network */
  193. #define RT_USING_SAL
  194. /* Docking with protocol stacks */
  195. #define SAL_USING_LWIP
  196. /* end of Docking with protocol stacks */
  197. #define SAL_USING_POSIX
  198. #define RT_USING_NETDEV
  199. #define NETDEV_USING_IFCONFIG
  200. #define NETDEV_USING_PING
  201. #define NETDEV_USING_NETSTAT
  202. #define NETDEV_USING_AUTO_DEFAULT
  203. #define NETDEV_IPV4 1
  204. #define NETDEV_IPV6 0
  205. #define RT_USING_LWIP
  206. #define RT_USING_LWIP212
  207. #define RT_USING_LWIP_VER_NUM 0x20102
  208. #define RT_LWIP_MEM_ALIGNMENT 4
  209. #define RT_LWIP_IGMP
  210. #define RT_LWIP_ICMP
  211. #define RT_LWIP_DNS
  212. #define RT_LWIP_DHCP
  213. #define IP_SOF_BROADCAST 1
  214. #define IP_SOF_BROADCAST_RECV 1
  215. /* Static IPv4 Address */
  216. #define RT_LWIP_IPADDR "192.168.31.55"
  217. #define RT_LWIP_GWADDR "192.168.31.1"
  218. #define RT_LWIP_MSKADDR "255.255.255.0"
  219. /* end of Static IPv4 Address */
  220. #define RT_LWIP_UDP
  221. #define RT_LWIP_TCP
  222. #define RT_LWIP_RAW
  223. #define RT_MEMP_NUM_NETCONN 8
  224. #define RT_LWIP_PBUF_NUM 64
  225. #define RT_LWIP_RAW_PCB_NUM 4
  226. #define RT_LWIP_UDP_PCB_NUM 4
  227. #define RT_LWIP_TCP_PCB_NUM 4
  228. #define RT_LWIP_TCP_SEG_NUM 64
  229. #define RT_LWIP_TCP_SND_BUF 8192
  230. #define RT_LWIP_TCP_WND 10240
  231. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  232. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 64
  233. #define RT_LWIP_TCPTHREAD_STACKSIZE 2048
  234. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  235. #define RT_LWIP_ETHTHREAD_STACKSIZE 2048
  236. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 64
  237. #define RT_LWIP_REASSEMBLY_FRAG
  238. #define LWIP_NETIF_STATUS_CALLBACK 1
  239. #define LWIP_NETIF_LINK_CALLBACK 1
  240. #define RT_LWIP_NETIF_NAMESIZE 6
  241. #define SO_REUSE 1
  242. #define LWIP_SO_RCVTIMEO 1
  243. #define LWIP_SO_SNDTIMEO 1
  244. #define LWIP_SO_RCVBUF 1
  245. #define LWIP_SO_LINGER 0
  246. #define RT_LWIP_NETIF_LOOPBACK
  247. #define LWIP_NETIF_LOOPBACK 1
  248. #define RT_LWIP_STATS
  249. #define RT_LWIP_USING_PING
  250. /* end of Network */
  251. /* Memory protection */
  252. /* end of Memory protection */
  253. /* Utilities */
  254. #define RT_USING_ULOG
  255. #define ULOG_OUTPUT_LVL_D
  256. #define ULOG_OUTPUT_LVL 7
  257. #define ULOG_ASSERT_ENABLE
  258. #define ULOG_LINE_BUF_SIZE 128
  259. /* log format */
  260. #define ULOG_USING_COLOR
  261. #define ULOG_OUTPUT_TIME
  262. #define ULOG_OUTPUT_LEVEL
  263. #define ULOG_OUTPUT_TAG
  264. /* end of log format */
  265. #define ULOG_BACKEND_USING_CONSOLE
  266. #define RT_USING_UTEST
  267. #define UTEST_THR_STACK_SIZE 4096
  268. #define UTEST_THR_PRIORITY 20
  269. /* end of Utilities */
  270. /* Using USB legacy version */
  271. #define RT_USING_USB
  272. #define RT_USING_USB_HOST
  273. #define RT_USBH_MSTORAGE
  274. #define UDISK_MOUNTPOINT "/mnt/udisk"
  275. #define RT_USING_USB_DEVICE
  276. #define RT_USBD_THREAD_STACK_SZ 4096
  277. #define USB_VENDOR_ID 0x0FFE
  278. #define USB_PRODUCT_ID 0x0001
  279. #define _RT_USB_DEVICE_MSTORAGE
  280. #define RT_USB_DEVICE_MSTORAGE
  281. #define RT_USB_MSTORAGE_DISK_NAME "ramdisk1"
  282. /* end of Using USB legacy version */
  283. /* end of RT-Thread Components */
  284. /* RT-Thread Utestcases */
  285. /* end of RT-Thread Utestcases */
  286. /* RT-Thread online packages */
  287. /* IoT - internet of things */
  288. /* Wi-Fi */
  289. /* Marvell WiFi */
  290. /* end of Marvell WiFi */
  291. /* Wiced WiFi */
  292. /* end of Wiced WiFi */
  293. /* CYW43012 WiFi */
  294. /* end of CYW43012 WiFi */
  295. /* BL808 WiFi */
  296. /* end of BL808 WiFi */
  297. /* CYW43439 WiFi */
  298. /* end of CYW43439 WiFi */
  299. /* end of Wi-Fi */
  300. /* IoT Cloud */
  301. /* end of IoT Cloud */
  302. /* end of IoT - internet of things */
  303. /* security packages */
  304. /* end of security packages */
  305. /* language packages */
  306. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  307. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  308. /* XML: Extensible Markup Language */
  309. /* end of XML: Extensible Markup Language */
  310. /* end of language packages */
  311. /* multimedia packages */
  312. /* LVGL: powerful and easy-to-use embedded GUI library */
  313. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  314. /* u8g2: a monochrome graphic library */
  315. /* end of u8g2: a monochrome graphic library */
  316. /* end of multimedia packages */
  317. /* tools packages */
  318. /* end of tools packages */
  319. /* system packages */
  320. /* enhanced kernel services */
  321. #define PKG_USING_RT_VSNPRINTF_FULL
  322. #define PKG_VSNPRINTF_SUPPORT_DECIMAL_SPECIFIERS
  323. #define PKG_VSNPRINTF_SUPPORT_EXPONENTIAL_SPECIFIERS
  324. #define PKG_VSNPRINTF_SUPPORT_WRITEBACK_SPECIFIER
  325. #define PKG_VSNPRINTF_SUPPORT_LONG_LONG
  326. #define PKG_VSNPRINTF_CHECK_FOR_NUL_IN_FORMAT_SPECIFIER
  327. #define PKG_VSNPRINTF_INTEGER_BUFFER_SIZE 32
  328. #define PKG_VSNPRINTF_DECIMAL_BUFFER_SIZE 32
  329. #define PKG_VSNPRINTF_DEFAULT_FLOAT_PRECISION 6
  330. #define PKG_VSNPRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL 9
  331. #define PKG_VSNPRINTF_LOG10_TAYLOR_TERMS 4
  332. #define PKG_USING_RT_VSNPRINTF_FULL_LATEST_VERSION
  333. /* end of enhanced kernel services */
  334. /* acceleration: Assembly language or algorithmic acceleration packages */
  335. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  336. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  337. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  338. /* Micrium: Micrium software products porting for RT-Thread */
  339. /* end of Micrium: Micrium software products porting for RT-Thread */
  340. /* end of system packages */
  341. /* peripheral libraries and drivers */
  342. /* HAL & SDK Drivers */
  343. /* STM32 HAL & SDK Drivers */
  344. /* end of STM32 HAL & SDK Drivers */
  345. /* Infineon HAL Packages */
  346. /* end of Infineon HAL Packages */
  347. /* Kendryte SDK */
  348. /* end of Kendryte SDK */
  349. /* end of HAL & SDK Drivers */
  350. /* sensors drivers */
  351. /* end of sensors drivers */
  352. /* touch drivers */
  353. /* end of touch drivers */
  354. /* end of peripheral libraries and drivers */
  355. /* AI packages */
  356. /* end of AI packages */
  357. /* Signal Processing and Control Algorithm Packages */
  358. /* end of Signal Processing and Control Algorithm Packages */
  359. /* miscellaneous packages */
  360. /* project laboratory */
  361. /* end of project laboratory */
  362. /* samples: kernel and components samples */
  363. /* end of samples: kernel and components samples */
  364. /* entertainment: terminal games and other interesting software packages */
  365. /* end of entertainment: terminal games and other interesting software packages */
  366. /* end of miscellaneous packages */
  367. /* Arduino libraries */
  368. /* Projects and Demos */
  369. /* end of Projects and Demos */
  370. /* Sensors */
  371. /* end of Sensors */
  372. /* Display */
  373. /* end of Display */
  374. /* Timing */
  375. /* end of Timing */
  376. /* Data Processing */
  377. /* end of Data Processing */
  378. /* Data Storage */
  379. /* Communication */
  380. /* end of Communication */
  381. /* Device Control */
  382. /* end of Device Control */
  383. /* Other */
  384. /* end of Other */
  385. /* Signal IO */
  386. /* end of Signal IO */
  387. /* Uncategorized */
  388. /* end of Arduino libraries */
  389. /* end of RT-Thread online packages */
  390. /* Hardware Drivers Config */
  391. /* On-chip Peripheral Drivers */
  392. #define SOC_SERIES_M460
  393. #define BSP_USE_STDDRIVER_SOURCE
  394. #define BSP_USING_PDMA
  395. #define NU_PDMA_MEMFUN_ACTOR_MAX 2
  396. #define NU_PDMA_SGTBL_POOL_SIZE 32
  397. #define BSP_USING_FMC
  398. #define BSP_USING_GPIO
  399. #define BSP_USING_EMAC
  400. #define BSP_USING_RTC
  401. #define NU_RTC_SUPPORT_MSH_CMD
  402. #define BSP_USING_TMR
  403. #define BSP_USING_TIMER
  404. #define BSP_USING_TPWM
  405. #define BSP_USING_TIMER_CAPTURE
  406. #define BSP_USING_TMR0
  407. #define BSP_USING_TIMER0
  408. #define BSP_USING_TMR1
  409. #define BSP_USING_TPWM1
  410. #define BSP_USING_TMR2
  411. #define BSP_USING_TIMER2_CAPTURE
  412. #define BSP_USING_TMR3
  413. #define BSP_USING_TIMER3
  414. #define BSP_USING_UART
  415. #define BSP_USING_UART0
  416. #define BSP_USING_UART1
  417. #define BSP_USING_UART1_TX_DMA
  418. #define BSP_USING_UART1_RX_DMA
  419. #define BSP_USING_I2C
  420. #define BSP_USING_I2C2
  421. #define BSP_USING_SDH
  422. #define BSP_USING_SDH0
  423. #define BSP_USING_CANFD
  424. #define BSP_USING_CANFD0
  425. #define BSP_USING_SPI
  426. #define BSP_USING_SPI_PDMA
  427. #define BSP_USING_SPI0_NONE
  428. #define BSP_USING_SPI1_NONE
  429. #define BSP_USING_SPI2
  430. #define BSP_USING_SPI2_PDMA
  431. #define BSP_USING_SPI3_NONE
  432. #define BSP_USING_SPI4_NONE
  433. #define BSP_USING_SPI5_NONE
  434. #define BSP_USING_SPI6_NONE
  435. #define BSP_USING_SPI7_NONE
  436. #define BSP_USING_SPI8_NONE
  437. #define BSP_USING_SPI9_NONE
  438. #define BSP_USING_SPI10_NONE
  439. #define BSP_USING_I2S
  440. #define BSP_USING_I2S0
  441. #define NU_I2S_DMA_FIFO_SIZE 2048
  442. #define BSP_USING_QSPI
  443. #define BSP_USING_QSPI0
  444. #define BSP_USING_CRYPTO
  445. #define BSP_USING_TRNG
  446. #define BSP_USING_CRC
  447. #define NU_CRC_USE_PDMA
  448. #define BSP_USING_WDT
  449. #define BSP_USING_EBI
  450. #define BSP_USING_HBI
  451. #define BSP_USING_USBD
  452. #define BSP_USING_HSUSBH
  453. #define NU_USBHOST_HUB_POLLING_INTERVAL 100
  454. /* end of On-chip Peripheral Drivers */
  455. /* On-board Peripheral Drivers */
  456. #define BSP_USING_NULINKME
  457. #define BOARD_USING_RTL8201FI
  458. #define BOARD_USING_NAU8822
  459. #define BOARD_USING_STORAGE_SDCARD
  460. #define BOARD_USING_CANFD0
  461. #define BOARD_USING_EXTERNAL_HYPERRAM
  462. #define BOARD_USING_HYPERRAM_SIZE 8388608
  463. #define BOARD_USING_NCT7717U
  464. #define BOARD_USING_USB_D_H
  465. #define BOARD_USING_HSUSBH_USBD
  466. /* end of On-board Peripheral Drivers */
  467. /* Board extended module drivers */
  468. #define BOARD_USING_SENSON0_ID
  469. /* end of Board extended module drivers */
  470. /* Nuvoton Packages Config */
  471. #define NU_PKG_USING_UTILS
  472. #define NU_PKG_USING_NCT7717U
  473. #define NU_PKG_USING_NAU8822
  474. /* end of Nuvoton Packages Config */
  475. /* end of Hardware Drivers Config */
  476. #endif