- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
06-20-2016 01:35 PM
I am working with a company on a project that is looking to run C code directly on the BGM113 module. Is this possible without an IAR license? For example, would it be possible to point Simplicity to a GNU compiler that could allow us to cross-compile for the Cortex M4 processor on the BGM113?
06-22-2016 10:12 PM
GCC is not supported at present time, which means IAR is the only compiler you can use to develop BGM113 project. GCC support will be released in the near future, we already have an internal version, when finish the test, it will be available.
06-23-2016 11:47 AM
Could you give us any kind of indication of what the "near future" might be for GCC support? Perhaps within the next 30 days? Our company would also be very interested in helping you test a beta version of this. Please let us know.
07-27-2016 11:01 AM
Last message by Kevin was posted 4th of July this year so it's about 3 weeks ago. The date that is printed below username is when that user has registered to the forum.
No new updates about the GCC support at this point.
08-10-2016 04:38 AM
If you want to experiment a bit, you can use the bgm-1.0.4 SDK to compile using GCC. The BLE stack object files are in the fw directory, and the EFM32 library and drivers are in the lib directory. Just compile your project using the headers of the SDK, and link against the stack and support libs using the linker file in the fw directory. This works under Windows, Mac and Linux (provided that you generate the gatt_db.c files).
The thermometer example is a good starting point, also because it compiles with the code size limited version of IAR as it doesn't include the binary blob of the BLE stack in the executable size. I attached a Makefile which compiles the example using GCC.
I'm not sure if the library and object file setup is what Silabs will be using in the end, but it's definitely a quick way to trial at least the API.
08-18-2016 02:13 PM
Pardon my ignorance but is this makefile intended for cmd line execution instead of from inside S.Studio
by just running it from inside the bgm1.0.4 thermometer example source directory?
08-18-2016 03:08 PM
Yes, to be able to use the makefile, you'd have to have the ARM GCC crosscompiler and make installed, the latter would be standard on a Linux system with regular development tools. I'd recommend waiting for Silabs official GCC support later this year, using GCC at this point is more an experiment than something for a regular (and supported) workflow. I'm sure Silabs won't spend too much time right now to help to get this working
08-23-2016 08:55 AM
So this specific makefile that was posted on this thread SUCCESSFULY compiled the thermometer example provided in the Silab's example directory along the path:
I haven't had a chance to execute but I had downloaded this makefile into this directory since 8/16/2016 as you can see on the attached folder screenshot.
Were you actually able to make this work outside of Studio? In case I haven't mentioned, I have an SLWSTK6101B SDK with BGM111 & BGM113 BT modules. How do you downloaded to the flash?
09-13-2016 04:50 PM
Will the GCC compiler support be released with a future SDK release or is it to be released on its own timeline? I read Q4 for GCC support, but perhaps it will come with the next SDK update?
01-05-2017 09:37 AM
Happy new year, everyone!
Is there any news on the GCC compiler? I have been planning on using the BGM113 as a key microcontroller in my project, programming it through Simplicity Studio. I just found out this morning that the GCC compiler is not supported for this toolchain. This is the C-SDK that we're talking about, correct?
01-18-2017 01:06 AM
Hi, I am in the same situation. I help myself with the BLE113 as a supplement for now, but it's not the perfect solution and I am waiting very hard for the BGM113 gnu too chain. Any news?
aliebold: yes, at least I have the same understanding.
I was playing a bit with this some months ago: http://community.silabs.com/t5/Bluetooth-Wi-Fi-Knowledge-Base/GCC-example-BLE-SDK-2-0-test-only/ta-p...
There seems to be some progress lately.
Anyhow, would be of great help to have some predictions for an official gnu sdk...
01-25-2017 10:10 AM
The silence on this topic is tough. Need to know so we can plan accordingly. I don't want to move to another platform and I don't want to develop with IAR. Rock and a hard place as they say.
Any progress builds at least that could be released that include the OTA functionality?