sample: nano: benchmark object: update BOARD to arduino_101
Updated board to arduino_101 and updated nanokernel_objects.c NANO_CPU_INT_REGISTER macro args. Change-Id: I5281a84138ef031ae82cdd80ab617f94b3f712af Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernandez@linux.intel.com>
This commit is contained in:
parent
4f0f7e3325
commit
243c36360a
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ for conf in `ls -v *.conf`; do
|
|||
echo $conf
|
||||
outdir=results/$(basename $conf .conf)
|
||||
app=$(basename $conf .conf)
|
||||
make BOARD=basic_minuteia CONF_FILE=$conf O=${outdir}
|
||||
make BOARD=arduino_101 CONF_FILE=$conf O=${outdir}
|
||||
${ZEPHYR_BASE}/scripts/sanitycheck -z ${outdir}/${app}.elf >> results.txt
|
||||
done
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ volatile int i = 0;
|
|||
|
||||
#define IRQ_PRIORITY 3
|
||||
#define TEST_SOFT_INT 64
|
||||
#define TEST_IRQ_OFFLOAD_VECTOR 32
|
||||
|
||||
#define FIBER_STACK_SIZE CONFIG_FIBER_STACK_SIZE
|
||||
|
||||
|
@ -87,7 +88,7 @@ volatile pfunc func_array[] = {
|
|||
#ifdef CONFIG_STATIC_ISR
|
||||
/* ISR stub data structure */
|
||||
static void isrDummyIntStub(void *);
|
||||
NANO_CPU_INT_REGISTER(isrDummyIntStub, TEST_SOFT_INT, 0);
|
||||
NANO_CPU_INT_REGISTER(isrDummyIntStub, TEST_SOFT_INT, 0, TEST_IRQ_OFFLOAD_VECTOR, 0);
|
||||
#endif
|
||||
|
||||
void dummyIsr(void *unused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue