ryankurte / efm32-base

Base project for Silicon Labs EFM32 microcontrollers
89 stars 33 forks source link

bsp.h is missing #27

Closed ewheelerinc closed 3 years ago

ewheelerinc commented 3 years ago

Thank you for writing the efm32-base package! We are trying to build on centos and silabs' studio is only targeted at ubuntu.

It looks like the hardware/kit/common/bsp/bsp.h from the SDK is not included in your efm32-base project. Is this generic enough to include? It would enable building samples like this one: https://github.com/SiliconLabs/peripheral_examples/blob/master/series2/gpio/gpio_conf/src/main_gpio_conf_s2.c

The 5.1.2 version of bsp.h is here, do you have easy access to the 5.8 version?

https://github.com/SiliconLabs/Gecko_SDK/blob/v5.1.2/hardware/kit/common/bsp/bsp.h

-Eric

ewheelerinc commented 3 years ago

Actually, I was able to get it to build. I had to set(BOARD BRD4180A) and set(DEVICE EFR32MG21A020F1024IM32).

Your code then appeared to generate bsp.h, somehow...