Skip to content

Commit

Permalink
[action][nrf5x] add ci config
Browse files Browse the repository at this point in the history
Update .github/workflows/bsp_buildings.yml

Co-authored-by: Supper Thomas <[email protected]>
  • Loading branch information
hydevcode and supperthomas committed Nov 5, 2024
1 parent bdf5a1f commit 977f382
Show file tree
Hide file tree
Showing 7 changed files with 144 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/bsp_buildings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,9 @@ jobs:
- "apm32/apm32e103ze-evalboard"
- "apm32/apm32e103ze-tinyboard"
- "apm32/apm32s103vb-miniboard"
- RTT_BSP: "nordic_Infineon_TI_microchip"
- RTT_BSP: "Infineon_TI_microchip"
RTT_TOOL_CHAIN: "sourcery-arm"
SUB_RTT_BSP:
- "nrf5x/nrf51822"
- "nrf5x/nrf52832"
- "nrf5x/nrf52833"
- "nrf5x/nrf52840"
- "nrf5x/nrf5340"
- "Infineon/psoc6-cy8ckit-062S2-43012"
- "Infineon/psoc6-cy8ckit-062-BLE"
- "Infineon/psoc6-cy8ckit-062s4"
Expand Down Expand Up @@ -387,6 +382,14 @@ jobs:
RTT_TOOL_CHAIN: "sourcery-i386-unknown-elf"
SUB_RTT_BSP:
- "x86"
- RTT_BSP: "nordic(yml)"
RTT_TOOL_CHAIN: "sourcery-arm"
SUB_RTT_BSP:
- "nrf5x/nrf51822"
- "nrf5x/nrf52832"
- "nrf5x/nrf52833"
- "nrf5x/nrf52840"
- "nrf5x/nrf5340"
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
37 changes: 37 additions & 0 deletions bsp/nrf5x/nrf52832/.ci/attachconfig/devices.attachconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
devices.gpio:
kconfig:
- CONFIG_BSP_USING_GPIO=y
scons_arg:
- '--strict'
devices.adc:
kconfig:
- CONFIG_BSP_USING_SAADC=y
devices.flash:
kconfig:
- CONFIG_BSP_USING_ON_CHIP_FLASH=y
devices.i2c:
kconfig:
- CONFIG_BSP_USING_I2C=y
devices.spi:
kconfig:
- CONFIG_RT_USING_SPI=y
- CONFIG_BSP_USING_SPI=y
devices.uart:
kconfig:
- CONFIG_BSP_USING_UART=y
devices.watchdog:
kconfig:
- CONFIG_BSP_USING_WDT=y
devices.qspi_flash:
kconfig:
- CONFIG_BSP_USING_QSPI_FLASH=y
devices.pwm:
kconfig:
- CONFIG_BSP_USING_PWM=y
devices.rtc:
kconfig:
- CONFIG_BSP_USING_ONCHIP_RTC=y
devices.hwtimer:
kconfig:
- CONFIG_BSP_USING_TIM=y
- CONFIG_BSP_USING_TIM0=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
nimble:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
# ------ NimBLE Sample CI ------
nimble.advertiser:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_ADVERTISER=y
nimble.beacon:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BEACON=y
nimble.blecsc:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLECSC=y
nimble.central:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_CENTRAL=y
nimble.ext.advertiser:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_EXT_ADVERTISER=y
- CONFIG_PKG_NIMBLE_EXT_ADV=y
nimble.mesh:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLEMESH=y
nimble.per.hr:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_PER_HR=y
nimble.peripheral:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_PERIPHERAL=y
nimble.btshell:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BTSHELL=y
nimble.uart:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLEUART=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
segger:
kconfig:
- CONFIG_PKG_USING_SEGGER_RTT=y
- CONFIG_RT_USING_SERIAL_V2=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
nimble:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
# ------ NimBLE Sample CI ------
nimble.advertiser:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_ADVERTISER=y
nimble.beacon:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BEACON=y
nimble.blecsc:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLECSC=y
nimble.central:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_CENTRAL=y
nimble.ext.advertiser:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_EXT_ADVERTISER=y
- CONFIG_PKG_NIMBLE_EXT_ADV=y
nimble.mesh:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLEMESH=y
nimble.per.hr:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_PER_HR=y
nimble.peripheral:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_PERIPHERAL=y
nimble.btshell:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BTSHELL=y
nimble.uart:
kconfig:
- CONFIG_BSP_USING_NIMBLE=y
- CONFIG_PKG_NIMBLE_SAMPLE_BLEUART=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
segger:
kconfig:
- CONFIG_PKG_USING_SEGGER_RTT=y
- CONFIG_RT_USING_SERIAL_V2=y

0 comments on commit 977f382

Please sign in to comment.