-
-# Our object files
-obj-y += blinker_main.o
-obj-y += Tasks.o
-obj-y += Hooks.o
-obj-y += Rte.o
-
-# OS object files.
-obj-y += Os_Cfg.o
-# Board object files
-include $(ROOTDIR)/boards/board_common.mk
-
-ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))
-
-# The more precise configuration, the higher preceedance.
-VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
-inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-inc-y += $(ROOTDIR)/system/kernel/include
-
-#TODO: Remove?, Build other way?
-VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
-inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
-VPATH += $(ROOTDIR)/components/blinker
-inc-y += $(ROOTDIR)/components/blinker
-
-
-# libs needed by us
-#libitem-y +=
-
-#linkfile
-ldcmdfile-y = linkscript_gcc.ldp
-vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
-
-# What I want to build
-build-exe-y = blinker_node.elf
-
-
-
-
-
+\r
+# Our object files\r
+obj-y += blinker_main.o\r
+obj-y += Tasks.o\r
+obj-y += Hooks.o\r
+obj-y += Rte.o\r
+\r
- VPATH += ..\r
- \r
+# OS object files.\r
+obj-y += Os_Cfg.o\r
+# Board object files\r
+include $(ROOTDIR)/boards/board_common.mk\r
+\r
+ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))\r
+\r
+# The more precise configuration, the higher preceedance.\r
+VPATH := ../config/$(BOARDDIR) ../config $(VPATH)\r
+inc-y := ../config/$(BOARDDIR) ../config $(inc-y)\r
+\r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+inc-y += $(ROOTDIR)/system/kernel/include\r
+\r
+#TODO: Remove?, Build other way?\r
- VPATH += ../Rte\r
- inc-y += ../Rte\r
++VPATH += $(ROOTDIR)/$(SUBDIR)/Rte\r
++inc-y += $(ROOTDIR)/$(SUBDIR)/Rte\r
+VPATH += $(ROOTDIR)/components/blinker\r
+inc-y += $(ROOTDIR)/components/blinker\r
+\r
- $(warning ROOTDIR: $(ROOTDIR))\r
- $(warning SUBDIR: $(SUBDIR))\r
- $(warning VPATH: $(VPATH))\r
+\r
+# libs needed by us \r
+#libitem-y +=\r
+\r
+#linkfile\r
+ldcmdfile-y = linkscript_gcc.ldp\r
+vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts\r
+\r
+# What I want to build\r
+build-exe-y = blinker_node.elf\r
+\r
+\r
+\r
+\r
+\r
+-include ../config/*.mk\r
+-include ../config/$(BOARDDIR)/*.mk\r
\r
- MOD_USE+=KERNEL MCU PORT PWM\r
+ -include ../config/*.mk\r
+ -include ../config/$(BOARDDIR)/*.mk\r
\r
- SELECT_CONSOLE = RAMLOG\r
- SELECT_OS_CONSOLE = RAMLOG\r
+ MOD_USE+=KERNEL MCU ECUM NEWLIB COMMON DET PORT PWM RAMLOG\r
-
-# Our object files
-obj-y += pwm_sine_main.o
-obj-y += Tasks.o
-obj-y += Hooks.o
-obj-y += Rte.o
-
-# OS object files.
-obj-y += Os_Cfg.o
-# Board object files
-include $(ROOTDIR)/boards/board_common.mk
-
-ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))
-
-# The more precise configuration, the higher preceedance.
-VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
-inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
-
-
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-inc-y += $(ROOTDIR)/system/kernel/include
-
-#TODO: Remove?, Build other way?
-VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
-inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
-VPATH += $(ROOTDIR)/components/pwm_sine
-inc-y += $(ROOTDIR)/components/pwm_sine
-
-
-# libs needed by us
-#libitem-y +=
-
-#linkfile
-ldcmdfile-y = linkscript_gcc.ldp
-vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
-
-# What I want to build
-build-exe-y = pwm_node.elf
-
-
-
-
-
+\r
+# Our object files\r
+obj-y += pwm_sine_main.o\r
+obj-y += Tasks.o\r
+obj-y += Hooks.o\r
+obj-y += Rte.o\r
+\r
- VPATH += ..\r
- \r
+# OS object files.\r
+obj-y += Os_Cfg.o\r
+# Board object files\r
+include $(ROOTDIR)/boards/board_common.mk\r
+\r
+ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))\r
+\r
+# The more precise configuration, the higher preceedance.\r
+VPATH := ../config/$(BOARDDIR) ../config $(VPATH)\r
+inc-y := ../config/$(BOARDDIR) ../config $(inc-y)\r
+\r
+\r
+\r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+inc-y += $(ROOTDIR)/system/kernel/include\r
+\r
+#TODO: Remove?, Build other way?\r
- VPATH += ../Rte\r
- inc-y += ../Rte\r
++VPATH += $(ROOTDIR)/$(SUBDIR)/Rte\r
++inc-y += $(ROOTDIR)/$(SUBDIR)/Rte\r
+VPATH += $(ROOTDIR)/components/pwm_sine\r
+inc-y += $(ROOTDIR)/components/pwm_sine\r
+\r
+\r
+# libs needed by us \r
+#libitem-y +=\r
+\r
+#linkfile\r
+ldcmdfile-y = linkscript_gcc.ldp\r
+vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts\r
+\r
+# What I want to build\r
+build-exe-y = pwm_node.elf\r
+\r
+\r
+\r
+\r
+\r
-
-# Our object files
-obj-y += pwm_node2_helpers.o
-obj-y += fading_led.o
-obj-y += Rte.o
-obj-y += Tasks.o
-obj-y += Hooks.o
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-inc-y += $(ROOTDIR)/system/kernel/include
-
-# OS object files.
-obj-y += Os_Cfg.o
-# Board object files
-include $(ROOTDIR)/boards/board_common.mk
-
-ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))
-
-# The more precise configuration, the higher preceedance.
-VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
-inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-
-#TODO: Remove?, Build other way?
-VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
-inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
-VPATH += $(ROOTDIR)/components/fading_led
-inc-y += $(ROOTDIR)/components/fading_led
-
-
-# libs needed by us
-#libitem-y +=
-
-#linkfile
-ldcmdfile-y = linkscript_gcc.ldp
-vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
-
-# What I want to build
-build-exe-y = pwm_node2.elf
-
-
-
-
-
+\r
+# Our object files\r
+obj-y += pwm_node2_helpers.o\r
+obj-y += fading_led.o\r
+obj-y += Rte.o\r
+obj-y += Tasks.o\r
+obj-y += Hooks.o\r
+\r
- VPATH += ..\r
- \r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+inc-y += $(ROOTDIR)/system/kernel/include\r
+\r
+# OS object files.\r
+obj-y += Os_Cfg.o\r
+# Board object files\r
+include $(ROOTDIR)/boards/board_common.mk\r
+\r
+ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))\r
+\r
+# The more precise configuration, the higher preceedance.\r
+VPATH := ../config/$(BOARDDIR) ../config $(VPATH)\r
+inc-y := ../config/$(BOARDDIR) ../config $(inc-y)\r
+\r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+\r
+#TODO: Remove?, Build other way?\r
- VPATH += ../Rte\r
- inc-y += ../Rte\r
++VPATH += $(ROOTDIR)/$(SUBDIR)/Rte\r
++inc-y += $(ROOTDIR)/$(SUBDIR)/Rte\r
+VPATH += $(ROOTDIR)/components/fading_led\r
+inc-y += $(ROOTDIR)/components/fading_led\r
+\r
+\r
+# libs needed by us \r
+#libitem-y +=\r
+\r
+#linkfile\r
+ldcmdfile-y = linkscript_gcc.ldp\r
+vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts\r
+\r
+# What I want to build\r
+build-exe-y = pwm_node2.elf\r
+\r
+\r
+\r
+\r
+\r
+-include ../config/*.mk\r
+-include ../config/$(BOARDDIR)/*.mk\r
\r
- MOD_USE+=KERNEL MCU\r
+ -include ../config/*.mk\r
+ -include ../config/$(BOARDDIR)/*.mk\r
\r
- SELECT_CONSOLE = RAMLOG\r
- SELECT_OS_CONSOLE = RAMLOG\r
+ MOD_USE+= COMMON DET ECUM MCU NEWLIB KERNEL RAMLOG \r
\r
- def-y += CFG_RAMLOG_SIZE=1024\r
- def-y += HEAPSIZE=1400
+ #def-y += NDEBUG\r
+ #def-y += HEAPSIZE=1400
-
-# Our object files
-obj-y += switch_node_helpers.o
-obj-y += switch.o
-obj-y += Rte.o
-obj-y += Tasks.o
-obj-y += Hooks.o
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-inc-y += $(ROOTDIR)/system/kernel/include
-
-# OS object files.
-obj-y += Os_Cfg.o
-# Board object files
-include $(ROOTDIR)/boards/board_common.mk
-
-ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))
-
-# The more precise configuration, the higher preceedance.
-VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
-inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
-
-inc-y += $(ROOTDIR)/system/kernel/$(objdir)
-
-#TODO: Remove?, Build other way?
-VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
-inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
-VPATH += $(ROOTDIR)/components/switch
-inc-y += $(ROOTDIR)/components/switch
-
-
-# libs needed by us
-#libitem-y +=
-
-#linkfile
-ldcmdfile-y = linkscript_gcc.ldp
-vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
-
-# What I want to build
-build-exe-y = switch_node.elf
-
-
-
-
-
+\r
+# Our object files\r
+obj-y += switch_node_helpers.o\r
+obj-y += switch.o\r
+obj-y += Rte.o\r
+obj-y += Tasks.o\r
+obj-y += Hooks.o\r
+\r
- VPATH += ..\r
- \r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+inc-y += $(ROOTDIR)/system/kernel/include\r
+\r
+# OS object files.\r
+obj-y += Os_Cfg.o\r
+# Board object files\r
+include $(ROOTDIR)/boards/board_common.mk\r
+\r
+ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))\r
+\r
+# The more precise configuration, the higher preceedance.\r
+VPATH := ../config/$(BOARDDIR) ../config $(VPATH)\r
+inc-y := ../config/$(BOARDDIR) ../config $(inc-y)\r
+\r
+inc-y += $(ROOTDIR)/system/kernel/$(objdir)\r
+\r
+#TODO: Remove?, Build other way?\r
- VPATH += ../Rte\r
- inc-y += ../Rte\r
++VPATH += $(ROOTDIR)/$(SUBDIR)/Rte\r
++inc-y += $(ROOTDIR)/$(SUBDIR)/Rte\r
+VPATH += $(ROOTDIR)/components/switch\r
+inc-y += $(ROOTDIR)/components/switch\r
+\r
+\r
+# libs needed by us \r
+#libitem-y +=\r
+\r
+#linkfile\r
+ldcmdfile-y = linkscript_gcc.ldp\r
+vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts\r
+\r
+# What I want to build\r
+build-exe-y = switch_node.elf\r
+\r
+\r
+\r
+\r
+\r
+-include ../config/*.mk\r
+-include ../config/$(BOARDDIR)/*.mk\r
\r
- MOD_USE+=KERNEL MCU\r
+ -include ../config/*.mk\r
+ -include ../config/$(BOARDDIR)/*.mk\r
+ \r
+ MOD_USE+=COMMON DET ECUM MCU NEWLIB KERNEL RAMLOG \r
\r
SELECT_CONSOLE = RAMLOG\r
SELECT_OS_CONSOLE = RAMLOG\r