-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build the firmware for CC1352P1 Launchpad? #24
Comments
I have not tried this, so I can't point you to exactly what has to be done. Mainly you'll need to create a directory like this with the appropriate files from the SDK for the CC1352P1, edit the makefile to define a new platform variant for CC1352P1, and maybe add some code to configure the power amplifier. |
If you do make the necessary modifications and get it working, feel free to submit a pull request |
OK sure. Can you point me an example code for the power amplifier |
It looks like code to configure the antenna switch and power amplifier is auto-generated by SysConfig now, so you might not need to do anything for that. The linker file (.lds) and board specific init files (_fxns.c) come from SDK examples. The ccxml file is generated using Uniflash. |
Hi, Unfortunately, I get the following errors: ` Generating configuration files... |
I'll look into this when I have some time |
Ah, I see it needs |
Please advise details how to generate .lds, fxns.c and ccxml and where to place these files "The linker file (.lds) and board specific init files (_fxns.c) come from SDK examples. The ccxml file is generated using Uniflash. Also, I used the makefile from StefanHri. I also changed from "cmdBle5RadioSetup" to "cmdBle5RadioSetupPa" in sniffle.syscfg and from (RF_RadioSetup*)&RF_cmdBle5RadioSetup to (RF_RadioSetup*)&RF_cmdBle5RadioSetupPa in RadioWrapper.c. But I was getting the error below. ~/Sniffle-master/fw$ make PLATFORM=CC1352P1F3 Can you please advise how to fix this issue? |
You no longer need to add special lds and *fxns.c files. I don't have a CC1352P1F3 based launchpad to test with, but I could make a compatible branch for you to test if you'd like. |
@wudave @StefanHri I made a branch for CC1352P1 launchpad that you can test: https://github.com/nccgroup/Sniffle/tree/cc1352p Please let me know if it works for sniffing. It compiles fine, I just want to make sure it works and I'm not missing something with PA configuration. |
@sultanqasim Yes, it compiled and worked well. Thanks for creating this tool and enhancing this capability. |
Hi,
the readme mentions that it should be possible to build the firmware for CC1352P, however, some modifications are required. Can you detail those modifications since I have a CC1352P1 Launchpad that I want to use.
Thank you!
Stefan
The text was updated successfully, but these errors were encountered: