@@ -55,7 +55,7 @@ template("siwx917_sdk") {
55
55
# Treat these includes as system includes, so warnings in them are not fatal.
56
56
_include_dirs = [
57
57
" ${ chip_root } " ,
58
- " ${ chip_root } /examples/platform/silabs/SiWx917/SiWx917 " ,
58
+ " ${ chip_root } /examples/platform/silabs/" ,
59
59
" ${ efr32_sdk_root } /platform/emdrv/nvm3/config" ,
60
60
" ${ efr32_sdk_root } /platform/emdrv/nvm3/inc" ,
61
61
" ${ efr32_sdk_root } /platform/emdrv/common/inc" ,
@@ -79,7 +79,7 @@ template("siwx917_sdk") {
79
79
" ${ wifi_sdk_root } /components/device/silabs/si91x/wireless/sl_net/inc" ,
80
80
81
81
# siwx917_soc component
82
- " ${ wifi_sdk_root } /components/board/silabs/config/brd4338a " ,
82
+ " ${ wifi_sdk_root } /components/board/silabs/config/${ silabs_board } " ,
83
83
" ${ wifi_sdk_root } /components/board/silabs/inc" ,
84
84
" ${ wifi_sdk_root } /components/common/inc" ,
85
85
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/core/chip/inc" ,
@@ -251,6 +251,8 @@ template("siwx917_sdk") {
251
251
" TIMER_ROMDRIVER_PRESENT=1" ,
252
252
" UDMA_ROMDRIVER_PRESENT=1" ,
253
253
" PLL_ROMDRIVER_PRESENT=1" ,
254
+ " SL_CODE_COMPONENT_FREERTOS_KERNEL=freertos_kernel" ,
255
+ " SLI_CODE_CLASSIFICATION_DISABLE=1" ,
254
256
" SL_MATTER_GN_BUILD=1" ,
255
257
" SILABS_LOG_OUT_UART=${ sl_uart_log_output } " ,
256
258
]
@@ -261,7 +263,10 @@ template("siwx917_sdk") {
261
263
defines += [ " SILABS_LOG_ENABLED=0" ]
262
264
}
263
265
264
- defines += [ " LWIP_NETIF_API=1" ]
266
+ defines += [
267
+ " LWIP_NETIF_API=1" ,
268
+ " SLI_SI91X_LWIP_HOSTED_NETWORK_STACK=1" ,
269
+ ]
265
270
if (chip_enable_wifi_ipv4 ) {
266
271
defines += [
267
272
" LWIP_IPV4=1" ,
@@ -300,6 +305,7 @@ template("siwx917_sdk") {
300
305
301
306
if (! disable_lcd ) {
302
307
defines += [
308
+ " SI917_MEMLCD=1" ,
303
309
" SYSCALLS_WRITE" ,
304
310
" SPI_MULTI_SLAVE" ,
305
311
" SL_ULP_TIMER" ,
@@ -612,7 +618,7 @@ template("siwx917_sdk") {
612
618
" ${ sdk_support_root } /matter/mbedtls/tinycrypt/src/ecc_dsa.c" ,
613
619
" ${ sdk_support_root } /matter/mbedtls/tinycrypt/src/tinycrypt_util.c" ,
614
620
615
- # Sisdk platform/security
621
+ # GECKO SDK
616
622
" ${ efr32_sdk_root } /platform/security/sl_component/sli_psec_osal/src/sli_psec_osal_cmsis_rtos2.c" ,
617
623
]
618
624
@@ -630,9 +636,11 @@ template("siwx917_sdk") {
630
636
# si91x component
631
637
" ${ efr32_sdk_root } /platform/CMSIS/RTOS2/Source/os_systick.c" ,
632
638
" ${ efr32_sdk_root } /platform/common/src/sl_assert.c" ,
639
+ " ${ efr32_sdk_root } /platform/common/src/sl_cmsis_os2_common.c" ,
633
640
" ${ efr32_sdk_root } /platform/common/src/sl_core_cortexm.c" ,
634
641
" ${ efr32_sdk_root } /platform/common/src/sl_slist.c" ,
635
642
" ${ efr32_sdk_root } /platform/common/src/sl_string.c" ,
643
+ " ${ efr32_sdk_root } /platform/common/src/sl_syscalls.c" ,
636
644
" ${ efr32_sdk_root } /platform/common/src/sli_cmsis_os2_ext_task_register.c" ,
637
645
" ${ efr32_sdk_root } /platform/security/sl_component/sl_mbedtls_support/src/sl_mbedtls.c" ,
638
646
" ${ efr32_sdk_root } /util/third_party/freertos/cmsis/Source/cmsis_os2.c" ,
@@ -692,10 +700,12 @@ template("siwx917_sdk") {
692
700
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_udma.c" ,
693
701
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_udma_wrapper.c" ,
694
702
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_usart.c" ,
703
+ " ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/rom_driver/src/rsi_rom_table_si91x.c" ,
695
704
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_bod.c" ,
696
705
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_ipmu.c" ,
697
706
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_pll.c" ,
698
707
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_power_save.c" ,
708
+ " ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_rtc.c" ,
699
709
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_temp_sensor.c" ,
700
710
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_ulpss_clk.c" ,
701
711
" ${ wifi_sdk_root } /components/device/silabs/si91x/mcu/drivers/unified_api/src/sl_si91x_adc.c" ,
@@ -750,6 +760,7 @@ template("siwx917_sdk") {
750
760
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_cpp.cpp" ,
751
761
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_dynamic_reservation.c" ,
752
762
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_pool.c" ,
763
+ " ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_pool_common.c" ,
753
764
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_region.c" ,
754
765
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sl_memory_manager_retarget.c" ,
755
766
" ${ efr32_sdk_root } /platform/service/memory_manager/src/sli_memory_manager_common.c" ,
0 commit comments