Hello All,
I am using latest MBED OS with LPC1768 and to use %f in snprintf, I enabled
"minimal-printf-enable-floating-point": { "help": "Enable floating point printing when using minimal printf library", "value": true },
Then started getting compiler
Compile [ 25.6%]: rtx_kernel.c
[Error] rtx_kernel.c@507,1: unknown type name ‘__WEAK’
[ERROR] .\mbed-os\cmsis\CMSIS_5\CMSIS\RTOS2\RTX\Source\rtx_kernel.c:507:1: error: unknown type name ‘__WEAK’
__WEAK void osRtxKernelPreInit (void) {
So changed back option to false and still getting the same error.
Please advice.