This example has been tested with MinGW and Cygwin.
The example is a minimal BLE peripheral that turns on advertising at boot. It uses a soft timer to blink the development board LEDs in an alternating pattern. You can use this as a template for your own experiments.
The project is split into three directories:
src - source files. Whole application is in main.c.
bgbuild - the GATT database is defined here. Edit gatt.xml to customize the GATT for your own project.
gcc - for building with GCC. You can find the Makefile here.
Building the example with MinGW
To build the example with MinGW:
Extract the attached GCC.zip to C:\SiliconLabs\SimplicityStudio\v4\developer\stacks\ble\v126.96.36.199\app\bluetooth_2.0
open MinGW terminal
cd to C:\SiliconLabs\SimplicityStudio\v4\developer\stacks\ble\v188.8.131.52\app\bluetooth_2.0\GCC\Example\gcc
4) run 'mingw32-make' to build project
5) run 'mingw32-make load' to build and load binary to target
Below is a screenshot showing successful build and flashing from MinGW terminal.
To build with Cygwin, run "make" instead of "mingw32-make". NOTE: when building with Cygwin you need to run make twice the first time you build the project.
I see that there is a MX25 Flash chip on the Thunderboard React Kit (and that is the same flash chip referred in flashpwr.c/h). Do you have drivers or samples set up with this chip? All I see is the chip being initialized and then powered down.