[SOLVED] porting zephyr to Silabs EFM32 happy gecko

Marcio Montenegro

Hi all,

1. I add:
on efm32hg_slstk_3400a_defconfig file

2. Silabs Happy gecko is cortex_m0+ armv6 so the correct efm32hg.dts configuration is:

#include <arm/armv6-m.dtsi>
#include <silabs/mem.h>

/ {
    cpus {
        cpu@0 {
            compatible = "arm,cortex-m0+";

Many thanks to Tim,Kumar and Christian


On Thu, Feb 22, 2018 at 4:54 PM, Marcio Montenegro <mtuxpe@...> wrote:
Hi all,

I am trying to port  Silabs EFM32 happy gecko to Zephyr project
There is a similar port:

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)


../../../../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:

Apparently the folder is not included in build

The complete log of my build on pastebin:

Is there anything that I am missing ?

Best regards,

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