# HG changeset patch # User Michael Spacefalcon # Date 1408246136 0 # Node ID 05342cadbaf17a4c7e5b9895eb3e1a6aa1e35118 # Parent 54459b912ef03956445cf96390b5f68e8c7ee788 gsm-fw/bsp/abb+spi: abb_core_inth.c compiles with L1 enabled diff -r 54459b912ef0 -r 05342cadbaf1 gsm-fw/bsp/abb+spi/Makefile --- a/gsm-fw/bsp/abb+spi/Makefile Sun Aug 17 00:56:26 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/Makefile Sun Aug 17 03:28:56 2014 +0000 @@ -2,8 +2,14 @@ CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb LD= arm-elf-ld +sinclude ../../include/config.mk + OBJS= abb.o spi_api.o spi_drv.o spi_env.o spi_process.o spi_task.o +ifeq (${CONFIG_INCLUDE_L1},1) +OBJS+= abb_core_inth.o +endif + HDRS= abb.h abb_core_inth.h abb_inline.h abb_inth.h spi_api.h spi_drv.h \ spi_env.h spi_pool_size.h spi_process.h spi_task.h diff -r 54459b912ef0 -r 05342cadbaf1 gsm-fw/bsp/abb+spi/abb_core_inth.c --- a/gsm-fw/bsp/abb+spi/abb_core_inth.c Sun Aug 17 00:56:26 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/abb_core_inth.c Sun Aug 17 03:28:56 2014 +0000 @@ -34,16 +34,16 @@ /******************************************************************************/ #include "../../include/config.h" +#include "../../include/sys_types.h" +#include "../../riviera/rv/general.h" +#include "../../nucleus/nucleus.h" // for NUCLEUS functions and types + #include "../../L1/include/l1_confg.h" #include "../../L1/include/l1_macro.h" #include #include "abb_core_inth.h" -#include "../../include/sys_types.h" -#include "../../riviera/rv/general.h" -#include "../../nucleus/nucleus.h" // for NUCLEUS functions and types - #if (OP_L1_STANDALONE == 0) #include "../../riviera/rv/rv_defined_swe.h" // for RVM_PWR_SWE #endif @@ -54,7 +54,7 @@ #include "../iq.h" -#include "../../osx/cust_os.h" +#include "../../gpf/inc/cust_os.h" #include "../../L1/include/l1_signa.h" #include "abb.h" @@ -62,7 +62,9 @@ #include "../../riviera/rvm/rvm_use_id_list.h" // for SPI_USE_ID #include "spi_env.h" #include "spi_process.h" // for ABB_EXT_IRQ_EVT +#if 0 // FreeCalypso #include "power/power.h" +#endif #endif /* (OP_L1_STANDALONE == 0) */