Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
3c15be57
Commit
3c15be57
authored
Feb 21, 2019
by
Patricia Lopez Cueva
Browse files
Making MBAD Template work
parent
d97307f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
share/make/Makefile.common.in
View file @
3c15be57
...
...
@@ -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
...
...
share/make/Makefile.leon.rtems_posix
View file @
3c15be57
...
...
@@ -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
...
...
src/drivers/config_leon3_drvmgr.c
View file @
3c15be57
...
...
@@ -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
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment