nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)

e.g, when compiling ble_app_hrs I get:

7> Compiling ‘cc310_backend_eddsa.c’
4> C:\nRF\nRF5SDK\external\segger_rtt\SEGGER_RTT_Syscalls_SES.c:76:10: fatal error: __vfprintf.h: No such file or directory
4> 76 | #include "__vfprintf.h"

Should I downgrade SES or is there any better solution to get a quick start?

Parents
  • Hi,

    There has been a change in recent Segger Embedded Studio versions that require you to remove the SEGGER_RTT_Syscalls_SES.c file from the project. With that, it should build as expected. For reference, this is mentioned in the Embedded Studio Library IO documentation:

    Note: Older projects might include SEGGER_RTT_Syscalls_SES.c or a similar file to override printf(). When using the SEGGER Runtime Library, this file should be removed from the project, or its content should be encapsulated with #if !defined(__SEGGER_RTL_VERSION) ... #endif

  • also while build ble_app_uart example

    Building ‘ble_app_uart_pca10040_s132’ from solution ‘ble_app_uart_pca10040_s132’ in configuration ‘Debug’[0m
    8> Compiling ‘retarget.c’[0m
    8> D:\nRF5x\SDK_17.1.0\components\libraries\uart\retarget.c:101:23: error: unknown type name '__printf_tag_ptr'[0m
    8> 101 | int __putchar(int ch, __printf_tag_ptr tag_ptr)[0m
    8> | ^~~~~~~~~~~~~~~~[0m
    Build failed[0m

Reply
  • also while build ble_app_uart example

    Building ‘ble_app_uart_pca10040_s132’ from solution ‘ble_app_uart_pca10040_s132’ in configuration ‘Debug’[0m
    8> Compiling ‘retarget.c’[0m
    8> D:\nRF5x\SDK_17.1.0\components\libraries\uart\retarget.c:101:23: error: unknown type name '__printf_tag_ptr'[0m
    8> 101 | int __putchar(int ch, __printf_tag_ptr tag_ptr)[0m
    8> | ^~~~~~~~~~~~~~~~[0m
    Build failed[0m

Children
No Data
Related