include soc.h in main.c

While building with Zephyr 1.12 for the nucleo_f091rc I got undefined
reference to __set_MSP() during linking. Including soc.h fixes the
problem. Thanks carlesc.

Signed-off-by: Evan Gates <evan@gnarbox.com>
This commit is contained in:
Evan Gates 2018-06-28 13:27:40 -07:00 committed by Fabio Utzig
parent b97ec0fee8
commit 4632d8de5f
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <misc/__assert.h>
#include <flash.h>
#include <drivers/system_timer.h>
#include <soc.h>
#include "target.h"