I just downloaded the BlueMicrosystem2_V2.2.0 and build with AC6 (System Workbench).
The project I trying is :
BlueMicrosystem2_V2.2.0\Projects\Multi\Applications\BlueMicrosystem2\SW4STM32\STM32L476RG-SensorTile\STM32L4xx-SensorTile
What I have noticed is following :
#ifdef STM32_NUCLEO
0x80,
#elif STM32_SENSORTILE
0x02,
#endif /* STM32_NUCLEO */
My understanding in gcc, "#elif" would not be supported. Since the project is using the Defined Symbol options.
I have to change it to following in order to have the code build.
#elif defined STM32_SENSORTILE
Found the easier method. Just update the defined symbol in gcc compiler will fix the problem.
so the #elif would be checking for > 0