This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI!
I need to customize the zc_generic project. This project is closed for Launch Pad.
To customize the project I select the "Show Board View" option in SysConfig and choose "Use Custom Board". But then when I try to compile I get 2 build errors.
I show them in the attached image.
I am using sdk 6_30 and CCs12.1.0
The error seems to be with the output .out file.
How can I solve these errors?
Thank you very much.
Hi albgarc,
As the error message shows, and as you use a custom board, you indeed have to implement your own rfDriverCallbackAntennaSwitching.
However, you can use the one generated by Sysconfig BEFORE you switched to a custom board, as seen here: https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1162018/launchxl-cc1352p-how-to-enable-disable-high-pa-in-sysconfig/4379195?tisearch=e2e-sitesearch&keymatch=rfDriverCallbackAntennaSwitching#4379195
Regards,
Arthur
Hi Arthur
Sincerely, thank you very much.
I have the same error, I did the following:
1-) I built the original project without error.
2-) I saved the files ti_drivers_config.c and ti_drivers_config.h
3-) I selected custom board
4-) I built the project and I got the error
5-) I replaced the files ti_drivers_config.c and ti_drivers_config.h by the original ones.
6-) I rebuilt the project
Same error
Where should I define rfDriverCallbackAntennaSwitching?
I have tried in main.c, zcl_genericapp.c and always the same error.
Best Regards.
Hi albgarc,
The original rfDriverCallbackAntennaSwitching is defined in ti_drivers_config.c, line 459.
Regards,
Arthur
Hi Arthur,
Thanks,
My problem is:
To customize an example project I select the "Show Board View" option in SysConfig and choose "Use Custom Board". But then when I try to build (without another change), I get errors.
How can I solve it?
Best Rggards.
Alb,
You have to implement the changes I have given to you in my two previous answers.
Regards,
Arthur
Hi Arthur,
Thanks,
Allways error for me.
I did the following steP:
1-) Open and build the original proyect.
2-) I saved the files ti_drivers_config.c and ti_drivers_config.h
3-) I selected custom board
4-) Un select ti_drivers_config.c and ti_drivers_config.h file generation
5-) I built the project and I got the error
6-) I copied the saved files ( ti_drivers_config.c and ti_drivers_config.h ) to sysconfig's project folder
7-) I rebuilt the project
Allways error:
Hi Alb,
The files should not be copied again to the sysconfig project folder, as they will get erased during build.
Could you copy them to the root of your project?
Regards,
Arthur