v11.0.1 "Manage SDK Components" removes " from C++ Symbols

cancel
Showing results for 
Search instead for 
Did you mean: 

v11.0.1 "Manage SDK Components" removes " from C++ Symbols

Jump to solution
338 Views
atrer
Contributor III

I am using version 11.0.1 of MCUXpresso (Build 2563) with the mbedTLS library middleware.

mbedTLS requires that you define MBEDTLS_CONFIG_FILE with the name of the config header.  This is generated by the SDK to be "ksdk_mbedtls_config.h"

In .cproject this becomes

<listOptionValue builtIn="false" value="MBEDTLS_CONFIG_FILE='&quot;ksdk_mbedtls_config.h&quot;'"/>

If you run "Manage SDK Components" and make any change that updates .cproject the C++ version of this symbol has the &quot removed to become this:

<listOptionValue builtIn="false" value="MBEDTLS_CONFIG_FILE='ksdk_mbedtls_config.h'"/>

Which causes include errors due to no longer being wrapped in quotes.  You then have to open up the properties and add quotes back to the symbol manually.

This only happens with 'GNU C++' language symbols, it does not affect 'GNU C' symbols

0 Kudos
1 Solution
248 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for the report. We'll investigate.

Regards,

MCUXpresso IDE Support

View solution in original post

0 Kudos
2 Replies
249 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for the report. We'll investigate.

Regards,

MCUXpresso IDE Support

View solution in original post

0 Kudos
248 Views
atrer
Contributor III

As a workaround you can use <> instead of ""

MBEDTLS_CONFIG_FILE '<ksdk_mbedtls_config.h>'

0 Kudos