@@ -37,6 +37,42 @@ struct LibraryArtifact {
3737}
3838
3939const BINDING_SPECS : & [ BindingSpec ] = & [
40+ BindingSpec {
41+ module : "wba_link_layer" ,
42+ feature : Some ( "wba_wpan" ) ,
43+ header : "stm32-bindings-gen/inc/link_layer.h" ,
44+ include_dirs : & [
45+ "Middlewares/ST/STM32_WPAN" ,
46+ "Middlewares/ST/STM32_WPAN/mac_802_15_4/core/inc" ,
47+ "Middlewares/ST/STM32_WPAN/mac_802_15_4/mac_utilities/inc" ,
48+ "Middlewares/ST/STM32_WPAN/link_layer/ll_sys/inc" ,
49+ "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc" ,
50+ "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/_40nm_reg_files" ,
51+ "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/ot_inc" ,
52+ "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config" ,
53+ "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/ieee_15_4_basic" ,
54+ "Drivers/CMSIS/Core/Include" ,
55+ ] ,
56+ clang_args : & [
57+ "-DSUPPORT_MAC=1" ,
58+ "-DSUPPORT_BLE=1" ,
59+ "-DMAC=1" ,
60+ "-DBLE=1" ,
61+ "-DBLE_LL=1" ,
62+ "-DMAC_LAYER=1" ,
63+ "-DSUPPORT_MAC=1" ,
64+ "-DSUPPORT_CONFIG_LIB=1" ,
65+ "-DSUPPORT_OPENTHREAD_1_2=1" ,
66+ "-DSUPPORT_ANT_DIV=1" ,
67+ "-DEXT_ADDRESS_LENGTH=8" ,
68+ ] ,
69+ allowlist : & [ ] ,
70+ aliases : & [ ] ,
71+ library_artifacts : & [ LibraryArtifact {
72+ source : "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/lib" ,
73+ destination : "src/lib/link_layer" ,
74+ } ] ,
75+ } ,
4076 BindingSpec {
4177 module : "wba_wpan_mac" ,
4278 feature : Some ( "wba_wpan_mac" ) ,
@@ -45,6 +81,7 @@ const BINDING_SPECS: &[BindingSpec] = &[
4581 "Middlewares/ST/STM32_WPAN" ,
4682 "Middlewares/ST/STM32_WPAN/mac_802_15_4/core/inc" ,
4783 "Middlewares/ST/STM32_WPAN/mac_802_15_4/mac_utilities/inc" ,
84+ "Middlewares/ST/STM32_WPAN/link_layer/ll_sys/inc" ,
4885 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc" ,
4986 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/_40nm_reg_files" ,
5087 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/ot_inc" ,
@@ -64,20 +101,17 @@ const BINDING_SPECS: &[BindingSpec] = &[
64101 source : "Middlewares/ST/STM32_WPAN/mac_802_15_4/lib/wba_mac_lib.a" ,
65102 destination : "src/lib/wba_mac_lib.a" ,
66103 } ,
67- LibraryArtifact {
68- source : "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/lib" ,
69- destination : "src/lib/link_layer" ,
70- } ,
71104 ] ,
72105 } ,
73106 BindingSpec {
74- module : "ble_stack " ,
107+ module : "wba_ble_stack " ,
75108 feature : Some ( "wba_wpan_ble" ) ,
76- header : "stm32-bindings-gen/inc/ble-wba .h" ,
109+ header : "stm32-bindings-gen/inc/wba_ble .h" ,
77110 include_dirs : & [
78111 "Middlewares/ST/STM32_WPAN" ,
79112 "Middlewares/ST/STM32_WPAN/ble/stack/include" ,
80113 "Middlewares/ST/STM32_WPAN/ble/stack/include/auto" ,
114+ "Middlewares/ST/STM32_WPAN/link_layer/ll_sys/inc" ,
81115 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc" ,
82116 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/_40nm_reg_files" ,
83117 "Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/inc/ot_inc" ,
0 commit comments