aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/mirtoo/ostest/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mirtoo/ostest/Make.defs')
-rw-r--r--nuttx/configs/mirtoo/ostest/Make.defs12
1 files changed, 10 insertions, 2 deletions
diff --git a/nuttx/configs/mirtoo/ostest/Make.defs b/nuttx/configs/mirtoo/ostest/Make.defs
index 7f1ea6ed6..4e7ce69b4 100644
--- a/nuttx/configs/mirtoo/ostest/Make.defs
+++ b/nuttx/configs/mirtoo/ostest/Make.defs
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_PIC32MX_MICROCHIPW_LITE),y)
LDFLAGS += -nostartfiles -nodefaultlibs
endif
ifeq ($(CONFIG_PIC32MX_MICROCHIPL),y)
- # Microchip XC32 toolchain under Linux
+ # Microchip C32 toolchain under Linux
CROSSDEV = pic32-
# CROSSDEV = xc32-
MAXOPTIMIZATION = -O2
@@ -67,7 +67,7 @@ ifeq ($(CONFIG_PIC32MX_MICROCHIPL),y)
LDFLAGS += -nostartfiles -nodefaultlibs
endif
ifeq ($(CONFIG_PIC32MX_MICROCHIPL_LITE),y)
- # Microchip XC32 toolchain under Linux
+ # Microchip C32 toolchain under Linux
CROSSDEV = pic32-
# CROSSDEV = xc32-
# MAXOPTIMIZATION = -O2
@@ -75,6 +75,14 @@ ifeq ($(CONFIG_PIC32MX_MICROCHIPL_LITE),y)
ARCHPICFLAGS = -fpic -membedded-pic
LDFLAGS += -nostartfiles -nodefaultlibs
endif
+ifeq ($(CONFIG_PIC32MX_MICROCHIPOPENL),y)
+ # microchipOpen -toolchain under Linux
+ CROSSDEV = mypic32-
+ # MAXOPTIMIZATION = -O2
+ ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
+ ARCHPICFLAGS = -fpic -membedded-pic
+ LDFLAGS += -nostartfiles -nodefaultlibs
+endif
ifeq ($(WINTOOL),y)
# Windows-native toolchains