issues with migration from ncs v2.5.0 to 2.6.1

hello Nordic

i am working with ncs v2.5.0 (with nrf52840 and nrf52832) and trying to migrate to ncs v2.6.1

i have looked at this migration notes and guids:

https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/releases_and_maturity/releases/release-notes-2.6.1.html

https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.6.html

https://docs.zephyrproject.org/latest/releases/migration-guide-3.6.html

https://docs.zephyrproject.org/3.6.0/releases/release-notes-3.6.html

yet i did not find solution fo some things there:

1. the config CONFIG_BT_LL_SW_SPLIT was set to =n in v2.5.0 in order to work with softdevice instead of zephyr ble controller and it enables some ble features like connection report and dynamic tx power etc.

now, in zephyr 3.5.99 this config CONFIG_BT_CTLR_ADVANCED_FEATURES  is dependent on CONFIG_BT_LL_SW_SPLIT=y (which appears to be experimental but do i really have a choice to not use it if i want the mentioned features? ), so it seems like it is forcing me to work with zephyr ble controller am i missing something ? 

and this is actually an issue because now i see that 'sdc_hci_vs.h' i get "No such file or directory " because it is under the softdevice controller dir ?? 

2. we use cmsis dsp

and now they are all undefined so what can i use instead , cause i have undefined api in mt code now ? 

3.

 

4. init a device with APPLICATION level is deprecated now, what can i do instead ?

this is for now, there will probably be more issues as i continue

hope to read you soon

best regards

Ziv

  • Hi Jesse

    basically just for the build to pass i removed all DSP configs which it did not recognise (my guess they are defined somewhere within now) but i keep this one only  

    CONFIG_CMSIS_DSP=y
     
    and it compiles 
    the problem i see is that because this configs has been removed
    # CONFIG_CMSIS_DSP_TABLES_ALL_FFT=n
    # CONFIG_CMSIS_DSP_TABLES_RFFT_FAST_F32_1024=y
    # CONFIG_CMSIS_DSP_TABLES_RFFT_FAST_F32_4096=y
    the code now include all FFT tables which increases its size dramatically, i have no idea why they did it
    .. still working on figuring out how to include only the FFT tables we need ..
    any idea on that Nordic will be huge help
  • Hi Ziv,
    Thanks for getting back to me.Im suprised you were able to get it to compile with just that call. When I remove the other config lines, my code still does not compile because the filtering functions are no longer included. I did however notice that in the 2.6.99 build, they are including those configs in the documentation. My guess is that they forgot to include them in the latest build, and are working to fix that in the next iteration. Glad its working for you though.

  • its possible that we use different api or include set, you can send the functions you have issues with and i can look if i use them and what i include for them

  • hi Elfving

    though there is some more messages here still hoping for your replay on FFT issue mentioned ahead or other directions to reduce size of flash use .. there is also a question on this issue on discord under Nordic channel and there is also same question i saw on cmsis channel .. this is a blocker for migration and i hope there will be given some solution soon, its not mentioned in any guides that i see  Pray

  • Hi again and sorry about the wait

    I see you've posted a bit to the discord channel before, so I am not sure what questions are left. Though here is a few comments:

    ziv123 said:

    also under the No paths there is a 11kb extra in 2.6.1

    Hard to say where this exact part comes from. 

    You are right in that you won't get a memory report when the build doesn't finish, and I understand how that can be annoying in this situation. One thing you could try in order to simply analyze the memory requirements is to build it for a board with a larger memory. 

    Either way, the best way forward is to try to add back one feature at the time and see what that takes up memory wise. 

    ziv123 said:
    CONFIG_CMSIS_DSP=y

    I think a bit of the reasoning is mentioned here, and looks like the finer control over what features to use is added back in Zephyr 3.6 (~NCS 2.7). You can have a look through the KConfig options of 2.6.99 and see if you like what we've done there.

    Here is also an issue which might be both interesting to you and maybe solve the issue  here is facing.

    Regards,

    Elfving

Related