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

Compiler Error: Unimplemented Non-Trival Error

Hello,

I am using SDK 15.0.0, Segger IDE with GNU compiler (GNU++11, GNU11).

I am using the default serial example from SDK 15.0.0 with C source file. But when i switch the default serial code from C source file. to C++ source file, i am getting an error " Unimplemented Non-Trival Error " in pre-define macros from nrf_serial.h (Many more default files). What kind of compiler setting do i need to use in segger to solve this error? 

Thanks,

Rohit

Parents Reply
  • I just changed the parameters in those functions which are using type def struct in macros.

    as an example, if there are 7 different type of variable in structure in macros. But you want to change the value of only 3 or 4 parameters. so, instead of that use all the variables in your function but with the default values. (You can change the value if you want ). 

    And sequence of variables should be same as type def struct.

Children
No Data
Related