1 2 3 #include <rtthread.h> 4 #include <rtdevice.h> 5 #include "rtconfig.h" 6 7 #if defined BSP_USING_CAN 8 rt_err_t can_loopback_sample(); 9 #endif 10 #if defined BSP_USING_GPIO 11 rt_err_t gpio_toggle_sample(); 12 #endif 13 #if defined BSP_USING_I2C 14 rt_err_t i2c_sample(); 15 #endif 16 #if defined BSP_USING_SPI 17 rt_err_t fspim_test_sample(); 18 #endif 19 #if defined BSP_USING_QSPI 20 rt_err_t qspi_sample(); 21 #endif 22 23