I am trying to update BLE stack for legacy BLE firmware for CC2541(128 and 256 kB flash memory), so downloaded latest BLE stack 1.4.2 and compared those sources with old 1.2.x sources and found that there are lots of file changes between them at application and RTOS level too. So should I replace all those files too or just *.lib file under Project/Libraries/CC2541DB/bin/ folder and what that file actually contains, BLE stack firmware? I tried replacing all files which are changed and then tried to build the project and of course, I got bunch of errors saying didn't find several function APIs. So now I'll need to look for each error and need to resolve one by one. So is there any better way to be updated with latest BLE stack, application and RTOS software?
Thanks a lot!