cancel
Showing results for 
Search instead for 
Did you mean: 

V2.2.0 BlueMicrosystem2 would not build SW4STM32

Dilbert K
Senior
Posted on May 05, 2017 at 21:45

I just started the SensorTile project and have installed the AC6 System Workbench.

Download 2 different SDK from ST.

STLKT_v1.2.0

BlueMicrosystem2_V2.2.0

The STLKT is fined, I could build and load the sample code into SensorTile without issue.

  • BlueMicrosystem2_V2.2.0\Projects\Multi\Applications\BlueMicrosystem2\SW4STM32\STM32L476RG-SensorTile\STM32L4xx-SensorTile

AC6 System Workbench

But when trying to build above project under '

BlueMicrosystem2_V2.2.0

', the build failed... with basic missing define

Symbol 'BNRG_SPI_EXTI_PIN' could not be resolved main.c /STM32L4xx-SensorTile/BlueMicrosystem2/User line 2036 

Symbol 'NULL' could not be resolved bluenrg_gap_aci.c /STM32L4xx-SensorTile/Middlewares/STM32_BlueNRG/HCI/Controller line 1312 Semantic Error

I tried to build the project using IAR, it passed without issue... but I don't have full license... Have to use AC6 with Eclipse.

Anyone has ideas what path configure is required ?

5 REPLIES 5
Dilbert K
Senior
Posted on May 05, 2017 at 21:55

Seems to be a installation setup (Path issues)....

  1.  Using the Stand alone AC6 System Workbench --> OK
  2. Using Eclipse with AC6 installed as software --> ERROR

However, both are OK for projects under 

STLKT_v1.2.0\Projects\SensorTile\Applications

Posted on May 19, 2017 at 21:03

Issue due to#elif STM32_SENSORTILE

https://community.st.com/0D50X00009XkY02SAF

sener
Associate II

Hi,

I am having the same issue. Have you already solved the issue, if so how?

Note that: The link you provided is not exist anymore.

Thank you.

sener
Associate II

I guess that I have found the missing piece. At least it worked for me.

For the records,

When I added the line below, no error anymore (although the warnings are still there)

#include "SensorTile_BlueNRG.h"

Go to project -> Properties -> MCU GCC Compiler -> Preprocessor

Change the define to follow (add =1) from original code

STM32_SENSORTILE=1