[ci][stm32f407-spark] add attach config CI check (#8431)
This commit is contained in:
parent
48c78ba4e0
commit
975af5fd54
|
@ -125,6 +125,7 @@ jobs:
|
|||
- "stm32/stm32f407-atk-explorer"
|
||||
- "stm32/stm32f407-robomaster-c"
|
||||
- "stm32/stm32f407-st-discovery"
|
||||
- "stm32/stm32f407-rt-spark"
|
||||
- "stm32/stm32f410-st-nucleo"
|
||||
- "stm32/stm32f411-atk-nano"
|
||||
- "stm32/stm32f411-st-nucleo"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_AHT21=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_AP3216C=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_ENC28j60=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_EASYFLASH=y
|
|
@ -0,0 +1,2 @@
|
|||
CONFIG_BSP_USING_FS=y
|
||||
CONFIG_BSP_USING_FLASH_FATFS=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_ICM20608=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_ONBOARD_LCD=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_ONBOARD_LED_MATRIX=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_LVGL=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_RS485=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_RW007_WLAN=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_SPI_FLASH=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_SRAM=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_BSP_USING_USB_MOUSE=y
|
|
@ -91,6 +91,7 @@ menu "Onboard Peripheral Drivers"
|
|||
if BSP_USING_LVGL
|
||||
config BSP_USING_LVGL_DEMO
|
||||
bool "Enable LVGL demo"
|
||||
select PKG_LVGL_USING_DEMOS
|
||||
default y
|
||||
endif
|
||||
|
||||
|
@ -150,6 +151,7 @@ menu "Onboard Peripheral Drivers"
|
|||
select FAL_DEBUG_CONFIG
|
||||
select FAL_PART_HAS_TABLE_CFG
|
||||
select FAL_USING_SFUD_PORT
|
||||
select BSP_USING_ON_CHIP_FLASH
|
||||
|
||||
if BSP_USING_FAL
|
||||
menuconfig BSP_USING_BOOTLOADER
|
||||
|
@ -222,12 +224,6 @@ menu "Onboard Peripheral Drivers"
|
|||
select RT_USB_DEVICE_HID_MOUSE
|
||||
select BSP_USING_ICM20608
|
||||
|
||||
config BSP_USING_EASYFLASH
|
||||
bool "Enable Easy Flash base on FAL"
|
||||
select BSP_USING_FAL
|
||||
select PKG_USING_EASYFLASH
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_CAN
|
||||
bool "Enable On Board CAN"
|
||||
select RT_USING_CAN
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
#include "board.h"
|
||||
|
||||
#define PIN_NRF_IRQ GET_PIN(E,2)
|
||||
|
||||
#define PIN_SPI_CS GET_PIN(A,4)
|
||||
|
||||
int enc28j60_init(void)
|
||||
{
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
rt_hw_spi_device_attach("spi1", "spi11", GPIOA, GPIO_PIN_4);
|
||||
rt_hw_spi_device_attach("spi1", "spi11", PIN_SPI_CS);
|
||||
|
||||
/* attach enc28j60 to spi. spi11 cs - PA4 */
|
||||
enc28j60_attach("spi11");
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
TIM_HandleTypeDef htim3;
|
||||
DMA_HandleTypeDef hdma_tim3_ch2;
|
||||
|
||||
ALIGN(4)
|
||||
rt_align(4)
|
||||
uint8_t led_buffer[LED_NUM * 24 * 2];
|
||||
|
||||
extern void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
|
||||
|
|
Loading…
Reference in New Issue