Hi, This it what I want to do :
When I want to add code fomr the SDK, i need to :
Let say I do this for the adc_0.c files, I'm still having issue (see include file)
I'm kind of lost right now, I did not find documentation on how to start a blank project using the SDK with simplicity studio, This documentation should exist... please guide me to where it is !
To use an EFM8 peripheral driver (like adc_0.c) in your own project, you need to do two things:
1. Right click your project name > C/C++ Build > Project Module, then check
Then click Apply. This does two things: adds the .c source file to the build, and adds the appropriate include paths:
2. You will need to provide your own efm8_config.h. This file should contain definitions to configure the peripheral driver. The peripheral driver documentation, including the available defines to configure the peripheral driver, can be found in Simplicity Studio > Software Documentation:
An alternative to all the above is to start with one of the pre-written software examples: Simplicity Studio > Software Examples (Kit: EFM8BB3 Starter Kit) > ADC > Peripheral Driver. These examples have the ADC module selected, efm8_config.h created, etc.