Other Parts Discussed in Thread: SYSCONFIG
Hi Expert,
Setup:
SDK: simplelink_cc13x2_26x2_sdk_5_10_00_48
Devices: custom CC1352R
We are thinking of designing a custom CC1352R board with an antenna switch.
Apparently SysConfig generates the appropriate RFCC26XX_hwAttrs variable with the required globalCallback only if the <board> defined in the *.syscfg header (--board) contains a RF component:
dmm_wsnnode_ble_sp.syscfg /* ======== RF ======== */ var RF = scripting.addModule("/ti/drivers/RF"); /* if an antenna component exists, assign it to the rf instance */ if (system.deviceData.board && system.deviceData.board.components.RF) { RF.$hardware = system.deviceData.board.components.RF; }
So I patched the SDK in order to create a custom LAUNCHXL_CC1352R_myboard exposing an antenna switch.
I also need to modify one *.js file in order to fix an issue while loading my *syscfg.
It works but now I am wondering how could I get the same result without modifying the SDK?
For instance, does SysConfig support overlays specifying only the difference from a T.I Hardware Reference?
- If yes, please help
- If no, how to add an antenna switch (or any other component/module) with SysConfig? (By the way, this user guide does not help at all)
Thanks