porting zephyr to Silabs EFM32 happy gecko


Marcio Montenegro
 

Hi all,

I am trying to port  Silabs EFM32 happy gecko to Zephyr project
There is a similar port:
http://docs.zephyrproject.org/boards/arm/efm32wg_stk3800/doc/efm32wg_stk3800.html

My zephyr linux environment  is ok I can build wonder gecko project.
I can also run ninja menuconfig for new board without errors.

$ cd zephyr/samples/hello_world
$mkdir -p build/efm32hg_slstk3400a && cd build/efm32hg_slstk3400a
$cmake -GNinja -DBOARD=efm32hg_slstk3400a ../..

( No errors after cmake)

$ninja

../../../../ext/hal/cmsis/Include/arm_math.h:319:18: fatal error: math.h: No such file or directory
 #include "math.h"

The "math.h file"  is  on the sdk:
/opt/zephyr-sdk/sysroots/armv5-zephyr-eabi/usr/include

Apparently the folder is not included in build

The complete log of my build on pastebin:
https://pastebin.com/sTKi52pL

Is there anything that I am missing ?

Best regards,
Marcio


Join devel@lists.zephyrproject.org to automatically receive all group messages.