This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52 Bootloader_secure_ble

Hello, I am using nrf52 with sdk 13.0.0. Bootloader_secure_ble gives error while compiling. What should I do ?

        Error[Lt009]: Inconsistent wchar_t size 
        micro_ecc_lib_uECC.c.o(micro_ecc_lib_nrf52.a) has wchar_t size 16 bits 
        app_error_weak.o and 66 other objects have wchar_t size 32 bits 
Parents
  • @hhuseyin: Just discussed this with one of our SW developers and according to him you need to use IAR v7.x as there are many changes, described here, that are not compatible with our SDK yet, i.e. will be in a future release. So, for now, stay with IAR v7.x and disregard my previous comment. Removing the -fshort-wchar flag may remove the linker errors, but we cant guarantee that the rest of the SDK source will behave as it is intended to with v8.x.

  • I am not that familiar with IAR, as I've mostly been using Keil and now SES. Hence, my opinion might be a bit biased, but I would say that the main advantages are:

    • the free perpetual license for SES for development on Nordic ICs.
    • SES is cross-platform, i.e. runson Windows, Linux and macOS.
    • SES allows you to view logging information sent using Seggers RTT( one of the two logging backends we support in our SDK) directly in the SES IDE, rather than having to open a RTT terminal window.
    • Integrated Debugger with advanced debug information windows and direct J-Link integration.
    • Project converter for KEIL/IAR projects to SES.

    As for testing, we've signed a licensing agreement with Segger so any issues that are reported with the IDE are reported back to SEGGER by us so that they are fixed as soon as possible.

Reply
  • I am not that familiar with IAR, as I've mostly been using Keil and now SES. Hence, my opinion might be a bit biased, but I would say that the main advantages are:

    • the free perpetual license for SES for development on Nordic ICs.
    • SES is cross-platform, i.e. runson Windows, Linux and macOS.
    • SES allows you to view logging information sent using Seggers RTT( one of the two logging backends we support in our SDK) directly in the SES IDE, rather than having to open a RTT terminal window.
    • Integrated Debugger with advanced debug information windows and direct J-Link integration.
    • Project converter for KEIL/IAR projects to SES.

    As for testing, we've signed a licensing agreement with Segger so any issues that are reported with the IDE are reported back to SEGGER by us so that they are fixed as soon as possible.

Children
No Data
Related