Re: [users] Re: Re: Re: zephyr on Arduino 101

Mitsis, Peter <Peter.Mitsis@...>


I’m no expert on the Arduino 101, but based on the error message I am expecting that you may be missing CONFIG_LOAPIC. Can you send your autoconf file (outdir/.config)?

Peter Mitsis

From: Gregg Reynolds [mailto:dev(a)]
Sent: June-28-16 3:18 PM
To: mahavir dwivedi
Cc: devel(a); users(a)
Subject: [users] Re: Re: Re: zephyr on Arduino 101

We're not having any luck on the users list so I'm copying the dev list. Won't somebody have mercy on us?


On Jun 28, 2016 12:24 PM, "mahavir dwivedi" <mahaviredx(a)<mailto:mahaviredx(a)>> wrote:

Hello Gregg,

Yes , by USB port I meant tty-usb adapter for serial UART.

As you suggested I gave a try to v1.2.0 . But I am using the same SDK version (version -8).

1. While executing the make for ARduino 101 , it gives the following warning and asks for the System clock's h/w timer frequency (SYS_CLOCK_HW_CYCLES_PER_SEC) [] (NEW).

make BOARD=arduino_101_factory
Using /home/mahavir/zephyr-v1.2.0/kernel/configs/micro.config as base
Merging prj.conf
# configuration written to .config
make[1]: Entering directory `/home/mahavir/zephyr-v1.2.0'
make[2]: Entering directory `/home/mahavir/zephyr-v1.2.0/samples/hello_world/microkernel/outdir'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
.config:79:warning: symbol value '' invalid for SYS_CLOCK_HW_CYCLES_PER_SEC
* Restart config...
* General Kernel Options
System tick frequency (in ticks/second) (SYS_CLOCK_TICKS_PER_SEC) [100] 100
System clock's h/w timer frequency (SYS_CLOCK_HW_CYCLES_PER_SEC) [] (NEW)

What do I need to enter to avoid the following error:

In file included from /home/mahavir/zephyr-v1.2.0/arch/x86/core/fatal.c:31:0:
/home/mahavir/zephyr-v1.2.0/include/drivers/loapic.h: In function '_loapic_eoi':
/home/mahavir/zephyr-v1.2.0/include/drivers/loapic.h:84:20: error: 'CONFIG_LOAPIC_BASE_ADDRESS' undeclared (first use in this function)
/home/mahavir/zephyr-v1.2.0/include/drivers/loapic.h:84:20: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [arch/x86/core/fatal.o] Error 1
make[4]: *** [arch/x86/core] Error 2
make[3]: *** [arch/x86] Error 2
make[2]: *** [arch] Error 2
make[2]: Leaving directory `/home/mahavir/zephyr-v1.2.0/samples/hello_world/microkernel/outdir'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/mahavir/zephyr-v1.2.0'
make: *** [all] Error 2


Join to automatically receive all group messages.