Problem with NRF SDK 5 compilation on Segger Embedded Studio

So I've been playing around with some code example to make UART work (which I did eventually) using NRF SDK 5 (v17). However the last version of SES (8.22a) requires some tweaks in order to make it work. Like setting Library I/O setting to RTT (because otherwise stdout will throw errors) and also removing the limit of .rodata and .text sections (this is irrelevant I guess anyway). The code looks like this: 

As you can see it's just a basic example, but my question is this, IF I compile it with SES 5.42 (which I understand is the latest tested on v17) THEN everything works fine, but if I compile it with SES 8.22a (RTT option enabled) the function app_uart_get() never gets a result back... why is this ? and should I always use SES 5.42 ? are there any drawbacks ?

Parents
  • Hi, 

    See the release note for nRF5 SDK v17.1.0:

    The following toolchains/devices have been used for testing and verification:
     
     - ARM: MDK-ARM version 5.25   
     - GCC: GCC ARM Embedded 9.2020-q2.major
     - IAR: IAR Workbench 7.80.4
     - SES: SES 5.42a

    Please use SES 5.42a. for nRF5 SDK v17.1.0. Please also be aware that the nRF5SDK is in maintenance mode. See  nRF Connect SDK and nRF5 SDK statement  

    Regards,
    Amanda H.

  • ok, but what about my other questions ? is there any drawback of using an earlier version of SES ? could you tell me exactly what is the chain of commands SES gives to the gcc compiler ? and what is different from the other version (I guess the compiler only ?)

Reply
  • ok, but what about my other questions ? is there any drawback of using an earlier version of SES ? could you tell me exactly what is the chain of commands SES gives to the gcc compiler ? and what is different from the other version (I guess the compiler only ?)

Children
  • Our support is based on the verified version of SES. If you use other versions, there might be potential questions as you have. 

    existenz said:
    could you tell me exactly what is the chain of commands SES gives to the gcc compiler ? and what is different from the other version (I guess the compiler only ?)

    Please contact SES support for details on their product.