[ci][stm32f407-spark] add attach config CI check (#8431)

This commit is contained in:
Yuqiang Wang 2023-12-27 23:06:46 +08:00 committed by GitHub
parent 48c78ba4e0
commit 975af5fd54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 21 additions and 9 deletions

View File

@ -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"

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_AHT21=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_AP3216C=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_ENC28j60=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_EASYFLASH=y

View File

@ -0,0 +1,2 @@
CONFIG_BSP_USING_FS=y
CONFIG_BSP_USING_FLASH_FATFS=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_ICM20608=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_ONBOARD_LCD=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_ONBOARD_LED_MATRIX=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_LVGL=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_RS485=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_RW007_WLAN=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_SPI_FLASH=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_SRAM=y

View File

@ -0,0 +1 @@
CONFIG_BSP_USING_USB_MOUSE=y

View File

@ -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

View File

@ -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");

View File

@ -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);