I'm trying out CrossStudio as a replacement for Silabs Simplicity Studio for one of my projects. I'm not a fan of Eclipse based IDE, so I'm really trying to get the demo project for the "EFR32BG Bluetooth Smart Starter Kit" working.
The way I've been going about it is to create the project in Simplicity Studio using the option for the IAR toolchain. This creates a project with an .eww file. I can then use this file to import the project into CrossWorks.
Initially I had a bunch of linker errors of multiple definitions, but I found that if I delete the template provided CMSIS folder (I think the symbols were defined already some other way in the Simplicity Studio project) I can get it to almost link.
The last error I have is about an undefined reference to "bg_gattdb_data." It seems that the initial project import doesn't add the "gatt_db.c" file. This is a gatt configuration file generated by a plugin in their tool. So I added this file to the CrossWorks project.
If I fix that, then I get "section `.gatt_data' will not fit in region `UNPLACED_SECTIONS'. I think this is because of the following:
#define GATT_HEADER(F) F __attribute__ ((section (".gatt_header")))
#define GATT_DATA(F) F __attribute__ ((section (".gatt_data")
Anyways, since this was the last error, I figured I could fix it later, and just comment out the __attribute__ section attributes, and just see if I can get a build. So I did that, and everything compiles and links without errors... but then at the end of the build I get "Build failed" without any explanation.
Does anyone have any idea how to find out the cause of the failed build? Is there some log file I can look in or something?
Please sign in to leave a comment.