...the world's most energy friendly microcontrollers
2012-05-31 - t0014_0.11
14
www.energymicro.com
In addition to these main functions, full documentation of the complete API is included in the Doxygen/
HTML documentation of the installed package.
8.3 Example Applications
Under the kits/EFM32GG_STK3700/examples folder in your installation directory, you will find an
example program using the BSP, with corresponding project/Makefiles for the supported IDEs.
The examples folder also contains examples showing how to use the different peripherals on the
EFM32GG-STK3700.
8.4 How to include in your own applications
The easiest way to include the BSP in your application is to base your work on the example application
that use the BSP. The following items are recommended for correct configuration:
1. Make sure you define the correct part number (i.e. EFM32GG990F1024) as a preprocessor defined
symbol
2. Make sure you define the correct part number (i.e. EFM32GG990F1024) for your project file
3. Add and include the EFM32_CMSIS-files (startup_efm32.s, system_efm32.c, core_cm3.c) to your
project
4. Add and include all BSP package .c-files, with the stk-prefix to your project
5. Configure include paths to point at the CMSIS/CM3/CoreSupport and CMSIS/CM3/DeviceSupport/
EnergyMicro/EFM32 directories
6. Configure include paths to point to the kits/EFM32GG_STK3700/bsp directory
Make sure you call "STK_Init()" early at startup, and you should be all set.
Summary of Contents for EFM32 Giant Gecko Starter Kit
Page 31: ......