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,
We have some projects build in windows ccs with sdk 1.40.00.45. Now we need to do the same projects in CCS linux build. Unfortunately the sdk 1.40.00.45 is not available for linux. So i need to migrate the projects to latest sdk version. I tried changing the sdk by project properties->general->Products. But it throws error in windows and linux builds. In latest sdk library files being changed. so the structures and functions pointing in older sdk is not getting resolved.
Thanks in advance!
Hi Ha An,
Thanks for reaching out! To better support you, could you provide some more details with the following questions:
1. What versions of CCS Linux and CCS Windows are you currently using?
2. What specific projects have you successfully built that are throwing errors in later builds?
3. Is there a specific SDK version you are trying to migrate to? Or just simply trying to get a successful build in both Windows and Linux?
Best regards,
Luke
Hi Luke,
1. CCS v12.5 in both Windows and Linux
2. Multi role projects as base and we have modified several things and this was developed 5 years back which makes it complex for us to now take the multi role example from latest sdk and change things accordingly.
3. The only reason for me to migrate sdk is for CCS linux build only. SDK 1.40.00.45 is not availabe for linux.
Ha An,
Thanks for providing those details! I understand the difficulty in taking the latest multi role example and change things but looking through our documentation and migration guides, the best recommendation I have for you is to:
1. Import the multi role project from the v5.30 CC2640R2 SDK example
2. Build to confirm the environment is correct
3. Copy over the application files (keeping in mind the Migration Guides found here)
Let me know if you run into any issues or problems when following these steps so we can support your debugging if necessary.
Thanks,
Luke
Luke,
1. I already tried building the v5.30 sdk example multi role projects in both environment and it builds successfully.
2. Do i need to follow all the steps like 1.50 to 2.20 then 2.20 to 2.30 and so on till 5.10??
3. There are some functions and structures under Drivers/RF in older sdk and we have used that as a part of our project. But those structure and functions are modified and some are even missing in the new sdk ! I am just wondering is this really a complicated task or am i the one making it complicated?
Thanks in advance,
Ha An.
Ha An,
I have not attempted a migration across this many SDK versions before but you will need to consider all of the guidelines from each guide. I am not sure it will be entirely necessary to go line-by-line through each guide as there are similarities across some.
You will need to do this version-by-version migration from 1.50 until 3.40 and then you can strictly utilize the following migration guide designed to help migrate across multiple SDK releases:
I am just wondering is this really a complicated task or am i the one making it complicated?
Unfortunately, it is a bit of a complicated task due to the amount of SDK versions you are migrating across but I am hoping the guides can relieve a lot of the difficulty and some of the time commitment.
Best regards,
Luke
Thanks. But even after following migration guides line by line i am not able to get the successful build in the immediate sdk version itself. The multi roe project uses ble5stack in sdk 1.45 and in latest sdk the multi role project uses blestack . Is there any guides for migrating from ble5stack to blestack.
Thanks in advance!!
Ha An,
There is a Porting BLE-Stack to BLE5-Stack Guide in the Porting Guide and Migration Guides section of the SimpleLink CC13XX/CC26XX SDK BLE5-Stack User's Guide. Hopefully this helps sort out any more errors you run into in the migration process.
Thanks,
Luke
Hey Luke,
Its becoming complicated day by day. The thing is we have a working project with multi role as base in SDK 1.45 and uses ble5stack. Now as mentioned i need to migrate it to latest sdk (since SDK 1.45 is not supported on linux ). But the latest SDK's multi role project uses blestack as base and there are many conflicts when i try to migrate it?
Can you or anyone pls help me with this?
Hi,
I have done porting from SDKv1.40 to SDKv5.30 on Windows.
As Luke has mentioned you need to use multi role from SDKv5.30 as base and then port your application code.
A lot has changed since SDKv1.40, so you need to understand those changes.
-kel
Hi,
I took the sdk 5.30 multi role as base and it uses blestack. i ported my application codes to multi role and got build successful as well. but it is not working in the hardware. So i wonder is there any differences in ble5stack and blestack codes. Because sdkv1.40 uses ble5stack multi role as base and sdkv5.30 uses blestack multi role as base
Thanks in advance
Hi,
You need to debug it if it goes pass main() and SimplePeripheral_Init().
ble5stack uses BLE 5. blestack uses BLE 4.2.
If you port to SDKv5.30 the FLASH and RAM space will be smaller due to improvement since SDKv1.40. It is possible that you will encounter memory issues. If that happens the only solution is to use a BLE MCU with bigger FLASH and RAM such as CC2642.
-kel
Thank you. I am running into memory issues only.Thats why the firmware is building successful but not working in hardware
Ha An,
I am glad to hear you are able to build the firmware successfully now but as Markel mentioned, you will likely not be able to resolve the memory issue on the device you are currently working with. Moving to the CC2642 which has a larger FLASH and RAM will need to be the next step to have your project completely working.
I am going to close this thread if there are no other questions!
Thanks,
Luke