@@ -465,10 +465,11 @@ template("efr32_sdk") {
465
465
_include_dirs += [
466
466
" ${ efr32_sdk_root } /platform/Device/SiliconLabs/EFR32MG12P/Include" ,
467
467
" ${ efr32_sdk_root } /platform/radio/rail_lib/chip/efr32/efr32xg1x" ,
468
- " ${ efr32_sdk_root } /util/third_party/freertos/kernel/portable/GCC/ARM_CM4F" ,
469
468
" ${ efr32_sdk_root } /platform/radio/rail_lib/plugin/pa-conversions/efr32xg1x/config" ,
470
469
" ${ efr32_sdk_root } /platform/service/device_init/config/s1/" ,
471
470
" ${ efr32_sdk_root } /platform/emdrv/spidrv/inc" ,
471
+ " ${ efr32_sdk_root } /protocol/bluetooth/bgcommon/inc" ,
472
+ " ${ efr32_sdk_root } /util/third_party/freertos/kernel/portable/GCC/ARM_CM4F" ,
472
473
]
473
474
474
475
if (silabs_board == " BRD4304A" ) {
@@ -483,7 +484,11 @@ template("efr32_sdk") {
483
484
]
484
485
485
486
if (! chip_enable_ble_rs911x ) {
486
- libs += [ " ${ sdk_support_root } /protocol/bluetooth/lib/EFR32XG12/GCC/libbluetooth.a" ]
487
+ libs += [
488
+ " ${ sdk_support_root } /protocol/bluetooth/bgcommon/lib/libbgcommon_efr32xg12_gcc_release.a" ,
489
+ " ${ sdk_support_root } /protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg12_gcc_release.a" ,
490
+ " ${ sdk_support_root } /protocol/bluetooth/lib/libbluetooth_host_efr32xg12_gcc_release.a" ,
491
+ ]
487
492
}
488
493
489
494
defines += [ " EFR32MG12" ]
@@ -505,7 +510,11 @@ template("efr32_sdk") {
505
510
]
506
511
507
512
if (! chip_enable_ble_rs911x ) {
508
- libs += [ " ${ sdk_support_root } /protocol/bluetooth/lib/EFR32XG24/GCC/libbluetooth.a" ]
513
+ libs += [
514
+ " ${ sdk_support_root } /protocol/bluetooth/bgcommon/lib/libbgcommon_efr32xg24_gcc_release.a" ,
515
+ " ${ sdk_support_root } /protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg24_gcc_release.a" ,
516
+ " ${ sdk_support_root } /protocol/bluetooth/lib/libbluetooth_host_efr32xg24_gcc_release.a" ,
517
+ ]
509
518
}
510
519
511
520
defines += [
@@ -526,7 +535,9 @@ template("efr32_sdk") {
526
535
]
527
536
528
537
libs += [
529
- " ${ sdk_support_root } /protocol/bluetooth/lib/EFR32XG24/GCC/libbluetooth.a" ,
538
+ " ${ sdk_support_root } /protocol/bluetooth/bgcommon/lib/libbgcommon_efr32xg24_gcc_release.a" ,
539
+ " ${ sdk_support_root } /protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg24_gcc_release.a" ,
540
+ " ${ sdk_support_root } /protocol/bluetooth/lib/libbluetooth_host_efr32xg24_gcc_release.a" ,
530
541
" ${ sdk_support_root } /platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_module_efr32xg24_gcc_release.a" ,
531
542
" ${ sdk_support_root } /platform/emdrv/nvm3/lib/libnvm3_CM33_gcc.a" ,
532
543
" ${ sdk_support_root } /protocol/openthread/libs/libsl_openthread_efr32mg2x_gcc.a" ,
@@ -650,7 +661,6 @@ template("efr32_sdk") {
650
661
" ${ efr32_sdk_root } /platform/service/power_manager/src/sl_power_manager_hal_s2.c" ,
651
662
" ${ efr32_sdk_root } /platform/service/sleeptimer/src/sl_sleeptimer.c" ,
652
663
" ${ efr32_sdk_root } /platform/service/sleeptimer/src/sl_sleeptimer_hal_rtcc.c" ,
653
- " ${ efr32_sdk_root } /platform/service/sleeptimer/src/sl_sleeptimer_hal_sysrtc.c" ,
654
664
" ${ efr32_sdk_root } /platform/service/system/src/sl_system_init.c" ,
655
665
" ${ efr32_sdk_root } /platform/service/system/src/sl_system_kernel.c" ,
656
666
" ${ efr32_sdk_root } /platform/service/udelay/src/sl_udelay.c" ,
@@ -672,6 +682,7 @@ template("efr32_sdk") {
672
682
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/asn1write.c" ,
673
683
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/base64.c" ,
674
684
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/bignum.c" ,
685
+ " ${ efr32_sdk_root } /util/third_party/mbedtls/library/bignum_core.c" ,
675
686
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/ccm.c" ,
676
687
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/cipher.c" ,
677
688
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/cipher_wrap.c" ,
@@ -697,14 +708,15 @@ template("efr32_sdk") {
697
708
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_aead.c" ,
698
709
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_cipher.c" ,
699
710
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_client.c" ,
700
- " ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_driver_wrappers .c" ,
711
+ " ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_driver_wrappers_no_static .c" ,
701
712
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_ecp.c" ,
702
713
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_hash.c" ,
703
714
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_mac.c" ,
704
715
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_rsa.c" ,
705
716
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_se.c" ,
706
717
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_slot_management.c" ,
707
718
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_crypto_storage.c" ,
719
+ " ${ efr32_sdk_root } /util/third_party/mbedtls/library/psa_util.c" ,
708
720
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/sha256.c" ,
709
721
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/ssl_cache.c" ,
710
722
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/ssl_ciphersuites.c" ,
@@ -775,7 +787,6 @@ template("efr32_sdk") {
775
787
}
776
788
} else {
777
789
sources += [
778
- " ${ efr32_sdk_root } /protocol/bluetooth/src/sl_bt_mbedtls_context.c" ,
779
790
" ${ efr32_sdk_root } /protocol/bluetooth/src/sl_bt_rtos_adaptation.c" ,
780
791
" ${ efr32_sdk_root } /protocol/bluetooth/src/sl_bt_stack_init.c" ,
781
792
" ${ efr32_sdk_root } /protocol/bluetooth/src/sli_bt_advertiser_config.c" ,
@@ -886,6 +897,7 @@ template("efr32_sdk") {
886
897
" ${ efr32_sdk_root } /platform/service/device_init/src/sl_device_init_emu_s1.c" ,
887
898
" ${ efr32_sdk_root } /platform/service/device_init/src/sl_device_init_hfxo_s1.c" ,
888
899
" ${ efr32_sdk_root } /platform/service/device_init/src/sl_device_init_lfxo_s1.c" ,
900
+ " ${ efr32_sdk_root } /protocol/bluetooth/bgcommon/src/sl_bt_mbedtls_context.c" ,
889
901
" ${ efr32_sdk_root } /util/third_party/freertos/kernel/portable/GCC/ARM_CM4F/port.c" ,
890
902
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/ctr_drbg.c" ,
891
903
" ${ efr32_sdk_root } /util/third_party/mbedtls/library/entropy.c" ,
@@ -948,6 +960,7 @@ template("efr32_sdk") {
948
960
" ${ efr32_sdk_root } /platform/service/device_init/src/sl_device_init_emu_s2.c" ,
949
961
" ${ efr32_sdk_root } /platform/service/device_init/src/sl_device_init_lfxo_s2.c" ,
950
962
" ${ efr32_sdk_root } /platform/service/hfxo_manager/src/sl_hfxo_manager_hal_s2.c" ,
963
+ " ${ efr32_sdk_root } /platform/service/sleeptimer/src/sl_sleeptimer_hal_sysrtc.c" ,
951
964
" ${ efr32_sdk_root } /util/third_party/freertos/kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.c" ,
952
965
" ${ efr32_sdk_root } /util/third_party/freertos/kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c" ,
953
966
]
0 commit comments