Commit 3c15be57 authored by Patricia Lopez Cueva's avatar Patricia Lopez Cueva

Making MBAD Template work

parent d97307f5
......@@ -59,6 +59,10 @@ CFLAGS=$(POHI_CFLAGS) $(USER_CFLAGS) $(GCC_GENERIC_CFLAGS)
CPPFLAGS=$(CFLAGS) $(USER_CPPFLAGS)
LDFLAGS=$(TARGET_LDFLAGS) $(USER_LDFLAGS)
ifeq ($(TARGET), $(filter $(TARGET), leon3-scoc3 leon.rtems leon.rtems_posix air))
LD_LIBS=$(USER_LDFLAGS)
endif
ifdef USE_GPROF
CFLAGS+=-D__PO_HI_USE_GPROF -pg
endif
......
......@@ -60,7 +60,7 @@ endif
# LEON3: RCC 1.3 macro to enables LEON3 peripherals.
ifeq ($(RTEMS_BSP),gr740)
POHI_CFLAGS += -DGRLEON3
POHI_CFLAGS += -DGRLEON3 -DLEON3
endif
# gr740_smp is provided by RCC 1.3
......
......@@ -83,6 +83,11 @@ struct drvmgr_bus_res grlib_drv_resources =
{DRIVER_AMBAPP_GAISLER_SPICTRL_ID, 0, &grlib_drv_res_spictrl0[0]},
*/
{DRIVER_AMBAPP_GAISLER_GRGPIO_ID, 0, &grlib_drv_res_grgpio0[0]},
{DRIVER_AMBAPP_GAISLER_GPTIMER_ID, 1, NULL},
{DRIVER_AMBAPP_GAISLER_GPTIMER_ID, 2, NULL},
{DRIVER_AMBAPP_GAISLER_GPTIMER_ID, 3, NULL},
{DRIVER_AMBAPP_GAISLER_GPTIMER_ID, 4, NULL},
{DRIVER_AMBAPP_GAISLER_GRETH_ID, 1, NULL},
DRVMGR_RES_EMPTY
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment