Skip to content
Permalink
Browse files

Update Makefile

  • Loading branch information...
egrolleau committed Jun 21, 2019
1 parent 4871a64 commit 5fc9d22a4e37138edd7bf6c3e9a758950aaef812
Showing with 11 additions and 15 deletions.
  1. +11 −15 examples/arm/nxt/bluetooth2_trampoline/Makefile
@@ -4,7 +4,7 @@
# @section desc File description
#
# Makefile for application test
# automatically generated by goil on Thu Jun 20 18:49:37 2019
# automatically generated by goil on Fri Jun 21 22:23:02 2019
# from root OIL file bluetooth2.oil
#
# @section copyright Copyright
@@ -27,10 +27,10 @@
# $URL$
#
# make : build application test
# make doc : extract both dev and user docs from trampoline sources
# make doc : extract both dev and user docs from trampoline sources
# (doxygen and dot required).
# make clean : remove everything except the Makefile.
#
#
# NOTE: dependancies are set by default (to recompile the needed files)
# if your compiler does not support it (-MF -MD) you can turn it off:
# use the NODEP symbol, i.e. : make clean NODEP=1
@@ -80,15 +80,15 @@ LDFLAGS += -T bluetooth2/script.ld
# ASFLAGS: flags used for the assembly process (if required)
# it should be declared as AS_FLAGS in the OS section of the .oil file
# (many times allowed).
ASFLAGS = -g -mcpu=arm7tdmi-s --fatal-warnings
ASFLAGS = -g -mcpu=arm7tdmi-s --fatal-warnings

# Default build directory
BUILD_DIR = build

# Autosar extension
# If 'true', Autosar extension are compiled in (schedule tables, ...)
AUTOSAR = true
AUTOSAR_SC = 1
AUTOSAR = false
AUTOSAR_SC = 0
AUTOSAR_OSAPPLICATIONS = false

# Scheduler
@@ -122,8 +122,8 @@ AS = arm-none-eabi-as
# in the OS section of the .oil file.
TPL_BASE_PATH = /trampoline

# Target is given in goil command line when generating the Makefile.
# If you update the target here, it will be taken into account, and
# Target is given in goil command line when generating the Makefile.
# If you update the target here, it will be taken into account, and
# a new Makefile will be generated with the new target.
TARGET = arm/nxt
ARCH = arm
@@ -154,8 +154,8 @@ GOIL_TEMPLATE_PATH = /trampoline/goil/templates
#############################################################################
# DOCUMENTATION GENERATION
#############################################################################
# The doxygen tool is used to extract both user and developpment
# documentation from the source code.
# The doxygen tool is used to extract both user and developpment
# documentation from the source code.
# See http://www.stack.nl/~dimitri/doxygen/
# You should also install Graphviz dot tool to build dependancy graph in
# the documentation:
@@ -167,7 +167,7 @@ DOXYGEN = doxygen
#############################################################################
#add the 'hex' rule for avr
hex: $(EXEC)
@arm-none-eabi-objcopy -O binary $(EXEC) $(EXEC).rxe
arm-none-eabi-objcopy -O binary $(EXEC) $(EXEC).rxe

EXTRA_FILES_CLEAN += $(EXEC).rxe

@@ -181,7 +181,6 @@ SOURCES += tpl_os_kernel.c
SOURCES += tpl_os_timeobj_kernel.c
SOURCES += tpl_os_action.c
SOURCES += tpl_os_error.c
SOURCES += tpl_as_action.c

#############################################################################
# SYSTEM CALL FILE LIST
@@ -193,9 +192,6 @@ SOURCES += tpl_os_interrupt_kernel.c
SOURCES += tpl_os_task_kernel.c
SOURCES += tpl_os_resource_kernel.c
SOURCES += tpl_os_alarm_kernel.c
SOURCES += tpl_as_counter_kernel.c
SOURCES += tpl_as_st_kernel.c
SOURCES += tpl_as_isr_kernel.c

#############################################################################
# call Trampoline makefile rules.

0 comments on commit 5fc9d22

Please sign in to comment.
You can’t perform that action at this time.