From 312207039d2d0e71d5d87a7466c3f11f04b4d917 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 8 Jun 2013 18:19:50 +0000 Subject: [PATCH] Add MPLAB X project for PIC24. Remove PIC24 demo warnings when XC16 is used as the compiler. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1926 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Demo/PIC24_MPLAB/Makefile | 108 ++++++ FreeRTOS/Demo/PIC24_MPLAB/lcd.c | 3 + FreeRTOS/Demo/PIC24_MPLAB/main.c | 3 + .../PIC24_MPLAB/nbproject/Makefile-default.mk | 341 ++++++++++++++++++ .../nbproject/Makefile-genesis.properties | 8 + .../PIC24_MPLAB/nbproject/Makefile-impl.mk | 69 ++++ .../nbproject/Makefile-local-default.mk | 37 ++ .../nbproject/Makefile-variables.mk | 13 + .../nbproject/Package-default.bash | 73 ++++ .../PIC24_MPLAB/nbproject/configurations.xml | 139 +++++++ .../nbproject/private/configurations.xml | 25 ++ .../nbproject/private/private.properties | 0 .../PIC24_MPLAB/nbproject/private/private.xml | 3 + .../PIC24_MPLAB/nbproject/project.properties | 0 .../Demo/PIC24_MPLAB/nbproject/project.xml | 15 + FreeRTOS/Demo/PIC24_MPLAB/serial/serial.c | 2 + 16 files changed, 839 insertions(+) create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/Makefile create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-default.mk create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-genesis.properties create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-impl.mk create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-local-default.mk create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-variables.mk create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/Package-default.bash create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/configurations.xml create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/configurations.xml create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.properties create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.xml create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.properties create mode 100644 FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.xml diff --git a/FreeRTOS/Demo/PIC24_MPLAB/Makefile b/FreeRTOS/Demo/PIC24_MPLAB/Makefile new file mode 100644 index 000000000..05a3fb1b6 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/Makefile @@ -0,0 +1,108 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/FreeRTOS/Demo/PIC24_MPLAB/lcd.c b/FreeRTOS/Demo/PIC24_MPLAB/lcd.c index 81e990c95..44ca0f841 100644 --- a/FreeRTOS/Demo/PIC24_MPLAB/lcd.c +++ b/FreeRTOS/Demo/PIC24_MPLAB/lcd.c @@ -217,6 +217,9 @@ static void vLCDTask( void *pvParameters ) xLCDMessage xMessage; unsigned portSHORT usRow = 0; + /* Remove compiler warnigns. */ + ( void ) pvParameters; + /* Initialise the hardware. This uses delays so must not be called prior to the scheduler being started. */ prvSetupLCD(); diff --git a/FreeRTOS/Demo/PIC24_MPLAB/main.c b/FreeRTOS/Demo/PIC24_MPLAB/main.c index 11ab9a237..8710f027e 100644 --- a/FreeRTOS/Demo/PIC24_MPLAB/main.c +++ b/FreeRTOS/Demo/PIC24_MPLAB/main.c @@ -237,6 +237,9 @@ xLCDMessage xMessage = { 0, cStringBuffer }; /* Set to pdTRUE should an error be detected in any of the standard demo tasks. */ unsigned short usErrorDetected = pdFALSE; + /* Remove compiler warnings. */ + ( void ) pvParameters; + /* Initialise xLastExecutionTime so the first call to vTaskDelayUntil() works correctly. */ xLastExecutionTime = xTaskGetTickCount(); diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-default.mk b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-default.mk new file mode 100644 index 000000000..9dd5632f9 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-default.mk @@ -0,0 +1,341 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Include project Makefile +ifeq "${IGNORE_LOCAL}" "TRUE" +# do not include local makefile. User is passing all local related variables already +else +include Makefile +# Include makefile containing local settings +ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" +include nbproject/Makefile-local-default.mk +endif +endif + +# Environment +MKDIR=gnumkdir -p +RM=rm -f +MV=mv +CP=cp + +# Macros +CND_CONF=default +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +IMAGE_TYPE=debug +OUTPUT_SUFFIX=elf +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +# Object Directory +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} + +# Distribution Directory +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/_ext/897580706/heap_1.o ${OBJECTDIR}/_ext/410575107/port.o ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o ${OBJECTDIR}/_ext/1787047461/list.o ${OBJECTDIR}/_ext/1787047461/queue.o ${OBJECTDIR}/_ext/1787047461/tasks.o ${OBJECTDIR}/_ext/1787047461/timers.o ${OBJECTDIR}/_ext/1787047461/croutine.o ${OBJECTDIR}/_ext/270959020/BlockQ.o ${OBJECTDIR}/_ext/270959020/blocktim.o ${OBJECTDIR}/_ext/270959020/comtest.o ${OBJECTDIR}/_ext/270959020/crflash.o ${OBJECTDIR}/_ext/270959020/integer.o ${OBJECTDIR}/timertest.o ${OBJECTDIR}/lcd.o ${OBJECTDIR}/main.o ${OBJECTDIR}/serial/serial.o ${OBJECTDIR}/ParTest/ParTest.o +POSSIBLE_DEPFILES=${OBJECTDIR}/_ext/897580706/heap_1.o.d ${OBJECTDIR}/_ext/410575107/port.o.d ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d ${OBJECTDIR}/_ext/1787047461/list.o.d ${OBJECTDIR}/_ext/1787047461/queue.o.d ${OBJECTDIR}/_ext/1787047461/tasks.o.d ${OBJECTDIR}/_ext/1787047461/timers.o.d ${OBJECTDIR}/_ext/1787047461/croutine.o.d ${OBJECTDIR}/_ext/270959020/BlockQ.o.d ${OBJECTDIR}/_ext/270959020/blocktim.o.d ${OBJECTDIR}/_ext/270959020/comtest.o.d ${OBJECTDIR}/_ext/270959020/crflash.o.d ${OBJECTDIR}/_ext/270959020/integer.o.d ${OBJECTDIR}/timertest.o.d ${OBJECTDIR}/lcd.o.d ${OBJECTDIR}/main.o.d ${OBJECTDIR}/serial/serial.o.d ${OBJECTDIR}/ParTest/ParTest.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/_ext/897580706/heap_1.o ${OBJECTDIR}/_ext/410575107/port.o ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o ${OBJECTDIR}/_ext/1787047461/list.o ${OBJECTDIR}/_ext/1787047461/queue.o ${OBJECTDIR}/_ext/1787047461/tasks.o ${OBJECTDIR}/_ext/1787047461/timers.o ${OBJECTDIR}/_ext/1787047461/croutine.o ${OBJECTDIR}/_ext/270959020/BlockQ.o ${OBJECTDIR}/_ext/270959020/blocktim.o ${OBJECTDIR}/_ext/270959020/comtest.o ${OBJECTDIR}/_ext/270959020/crflash.o ${OBJECTDIR}/_ext/270959020/integer.o ${OBJECTDIR}/timertest.o ${OBJECTDIR}/lcd.o ${OBJECTDIR}/main.o ${OBJECTDIR}/serial/serial.o ${OBJECTDIR}/ParTest/ParTest.o + + +CFLAGS= +ASFLAGS= +LDLIBSOPTIONS= + +############# Tool locations ########################################## +# If you copy a project from one host to another, the path where the # +# compiler is installed may be different. # +# If you open this project with MPLAB X in the new host, this # +# makefile will be regenerated and the paths will be corrected. # +####################################################################### +# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build +FIXDEPS=fixDeps + +.build-conf: ${BUILD_SUBPROJECTS} + ${MAKE} ${MAKE_OPTIONS} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=24FJ128GA010 +MP_LINKER_FILE_OPTION=,--script=p24FJ128GA010.gld +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/_ext/897580706/heap_1.o: ../../Source/portable/MemMang/heap_1.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/897580706 + @${RM} ${OBJECTDIR}/_ext/897580706/heap_1.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/portable/MemMang/heap_1.c -o ${OBJECTDIR}/_ext/897580706/heap_1.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/897580706/heap_1.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/897580706/heap_1.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/410575107/port.o: ../../Source/portable/MPLAB/PIC24_dsPIC/port.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/410575107 + @${RM} ${OBJECTDIR}/_ext/410575107/port.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/portable/MPLAB/PIC24_dsPIC/port.c -o ${OBJECTDIR}/_ext/410575107/port.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/410575107/port.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/410575107/port.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/list.o: ../../Source/list.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/list.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/list.c -o ${OBJECTDIR}/_ext/1787047461/list.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/list.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/list.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/queue.o: ../../Source/queue.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/queue.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/queue.c -o ${OBJECTDIR}/_ext/1787047461/queue.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/queue.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/queue.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/tasks.o: ../../Source/tasks.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/tasks.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/tasks.c -o ${OBJECTDIR}/_ext/1787047461/tasks.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/tasks.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/tasks.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/timers.o: ../../Source/timers.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/timers.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/timers.c -o ${OBJECTDIR}/_ext/1787047461/timers.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/timers.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/timers.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/croutine.o: ../../Source/croutine.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/croutine.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/croutine.c -o ${OBJECTDIR}/_ext/1787047461/croutine.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/croutine.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/croutine.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/BlockQ.o: ../Common/Minimal/BlockQ.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/BlockQ.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/BlockQ.c -o ${OBJECTDIR}/_ext/270959020/BlockQ.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/BlockQ.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/BlockQ.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/blocktim.o: ../Common/Minimal/blocktim.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/blocktim.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/blocktim.c -o ${OBJECTDIR}/_ext/270959020/blocktim.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/blocktim.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/blocktim.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/comtest.o: ../Common/Minimal/comtest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/comtest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/comtest.c -o ${OBJECTDIR}/_ext/270959020/comtest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/comtest.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/comtest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/crflash.o: ../Common/Minimal/crflash.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/crflash.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/crflash.c -o ${OBJECTDIR}/_ext/270959020/crflash.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/crflash.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/crflash.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/integer.o: ../Common/Minimal/integer.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/integer.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/integer.c -o ${OBJECTDIR}/_ext/270959020/integer.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/integer.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/integer.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/timertest.o: timertest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/timertest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) timertest.c -o ${OBJECTDIR}/timertest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/timertest.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/timertest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/lcd.o: lcd.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/lcd.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) lcd.c -o ${OBJECTDIR}/lcd.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lcd.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/lcd.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/main.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/serial/serial.o: serial/serial.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/serial + @${RM} ${OBJECTDIR}/serial/serial.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) serial/serial.c -o ${OBJECTDIR}/serial/serial.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/serial/serial.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/serial/serial.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/ParTest/ParTest.o: ParTest/ParTest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/ParTest + @${RM} ${OBJECTDIR}/ParTest/ParTest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ParTest/ParTest.c -o ${OBJECTDIR}/ParTest/ParTest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ParTest/ParTest.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/ParTest/ParTest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/_ext/897580706/heap_1.o: ../../Source/portable/MemMang/heap_1.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/897580706 + @${RM} ${OBJECTDIR}/_ext/897580706/heap_1.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/portable/MemMang/heap_1.c -o ${OBJECTDIR}/_ext/897580706/heap_1.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/897580706/heap_1.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/897580706/heap_1.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/410575107/port.o: ../../Source/portable/MPLAB/PIC24_dsPIC/port.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/410575107 + @${RM} ${OBJECTDIR}/_ext/410575107/port.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/portable/MPLAB/PIC24_dsPIC/port.c -o ${OBJECTDIR}/_ext/410575107/port.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/410575107/port.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/410575107/port.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/list.o: ../../Source/list.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/list.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/list.c -o ${OBJECTDIR}/_ext/1787047461/list.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/list.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/list.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/queue.o: ../../Source/queue.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/queue.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/queue.c -o ${OBJECTDIR}/_ext/1787047461/queue.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/queue.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/queue.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/tasks.o: ../../Source/tasks.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/tasks.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/tasks.c -o ${OBJECTDIR}/_ext/1787047461/tasks.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/tasks.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/tasks.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/timers.o: ../../Source/timers.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/timers.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/timers.c -o ${OBJECTDIR}/_ext/1787047461/timers.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/timers.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/timers.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1787047461/croutine.o: ../../Source/croutine.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/1787047461 + @${RM} ${OBJECTDIR}/_ext/1787047461/croutine.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../../Source/croutine.c -o ${OBJECTDIR}/_ext/1787047461/croutine.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1787047461/croutine.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/1787047461/croutine.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/BlockQ.o: ../Common/Minimal/BlockQ.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/BlockQ.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/BlockQ.c -o ${OBJECTDIR}/_ext/270959020/BlockQ.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/BlockQ.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/BlockQ.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/blocktim.o: ../Common/Minimal/blocktim.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/blocktim.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/blocktim.c -o ${OBJECTDIR}/_ext/270959020/blocktim.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/blocktim.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/blocktim.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/comtest.o: ../Common/Minimal/comtest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/comtest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/comtest.c -o ${OBJECTDIR}/_ext/270959020/comtest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/comtest.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/comtest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/crflash.o: ../Common/Minimal/crflash.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/crflash.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/crflash.c -o ${OBJECTDIR}/_ext/270959020/crflash.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/crflash.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/crflash.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/270959020/integer.o: ../Common/Minimal/integer.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/270959020 + @${RM} ${OBJECTDIR}/_ext/270959020/integer.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ../Common/Minimal/integer.c -o ${OBJECTDIR}/_ext/270959020/integer.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/270959020/integer.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/_ext/270959020/integer.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/timertest.o: timertest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/timertest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) timertest.c -o ${OBJECTDIR}/timertest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/timertest.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/timertest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/lcd.o: lcd.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/lcd.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) lcd.c -o ${OBJECTDIR}/lcd.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lcd.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/lcd.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR} + @${RM} ${OBJECTDIR}/main.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/serial/serial.o: serial/serial.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/serial + @${RM} ${OBJECTDIR}/serial/serial.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) serial/serial.c -o ${OBJECTDIR}/serial/serial.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/serial/serial.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/serial/serial.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/ParTest/ParTest.o: ParTest/ParTest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/ParTest + @${RM} ${OBJECTDIR}/ParTest/ParTest.o.d + ${MP_CC} $(MP_EXTRA_CC_PRE) ParTest/ParTest.c -o ${OBJECTDIR}/ParTest/ParTest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ParTest/ParTest.o.d" -g -omf=elf -ffunction-sections -fdata-sections -O0 -msmart-io=1 -Wall -msfr-warn=off -I ../../Source/include -I ../../Source/portable/MPLAB/PIC24_dsPIC -I ../Common/include -I . -Wextra + @${FIXDEPS} "${OBJECTDIR}/ParTest/ParTest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemblePreproc +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/_ext/410575107/portasm_PIC24.o: ../../Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/410575107 + @${RM} ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d + ${MP_CC} $(MP_EXTRA_AS_PRE) ../../Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S -o ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d" -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -Wa,-MD,"${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.asm.d",--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD3=1,-g,--no-relax$(MP_EXTRA_AS_POST) + @${FIXDEPS} "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d" "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.asm.d" -t $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/_ext/410575107/portasm_PIC24.o: ../../Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${OBJECTDIR}/_ext/410575107 + @${RM} ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d + ${MP_CC} $(MP_EXTRA_AS_PRE) ../../Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S -o ${OBJECTDIR}/_ext/410575107/portasm_PIC24.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d" -omf=elf -Wa,-MD,"${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.asm.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax$(MP_EXTRA_AS_POST) + @${FIXDEPS} "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.d" "${OBJECTDIR}/_ext/410575107/portasm_PIC24.o.asm.d" -t $(SILENT) -rsi ${MP_CC_DIR}../ + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -Wl,--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,--report-mem$(MP_EXTRA_LD_POST) + +else +dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -Wl,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,--report-mem$(MP_EXTRA_LD_POST) + ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf + +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r build/default + ${RM} -r dist/default + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-genesis.properties b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-genesis.properties new file mode 100644 index 000000000..0a7154762 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-genesis.properties @@ -0,0 +1,8 @@ +# +#Sat Jun 08 17:32:26 BST 2013 +default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=654ec2e9d4aec452652bf33d59c2beac +default.languagetoolchain.dir=C\:\\devtools\\Microchip\\xc16\\v1.11\\bin +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=8fe1589514540343a5279c082104bce0 +default.languagetoolchain.version=1.11 +host.platform=windows +conf.ids=default diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-impl.mk b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-impl.mk new file mode 100644 index 000000000..9910c9347 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-impl.mk @@ -0,0 +1,69 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a pre- and a post- target defined where you can add customization code. +# +# This makefile implements macros and targets common to all configurations. +# +# NOCDDL + + +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf +# and .clean-reqprojects-conf unless SUB has the value 'no' +SUB_no=NO +SUBPROJECTS=${SUB_${SUB}} +BUILD_SUBPROJECTS_=.build-subprojects +BUILD_SUBPROJECTS_NO= +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} +CLEAN_SUBPROJECTS_=.clean-subprojects +CLEAN_SUBPROJECTS_NO= +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} + + +# Project Name +PROJECTNAME=PIC24_MPLAB + +# Active Configuration +DEFAULTCONF=default +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=default + + +# build +.build-impl: .build-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean + + + +# all +.all-impl: .all-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build + + + +# dependency checking support +.depcheck-impl: +# @echo "# This code depends on make tool being used" >.dep.inc +# @if [ -n "${MAKE_VERSION}" ]; then \ +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ +# echo "include \$${DEPFILES}" >>.dep.inc; \ +# echo "endif" >>.dep.inc; \ +# else \ +# echo ".KEEP_STATE:" >>.dep.inc; \ +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ +# fi diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-local-default.mk b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-local-default.mk new file mode 100644 index 000000000..a4936b44e --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-local-default.mk @@ -0,0 +1,37 @@ +# +# Generated Makefile - do not edit! +# +# +# This file contains information about the location of compilers and other tools. +# If you commmit this file into your revision control server, you will be able to +# to checkout the project and build it from the command line with make. However, +# if more than one person works on the same project, then this file might show +# conflicts since different users are bound to have compilers in different places. +# In that case you might choose to not commit this file and let MPLAB X recreate this file +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at +# least once so the file gets created and the project can be built. Finally, you can also +# avoid using this file at all if you are only building from the command line with make. +# You can invoke make with the values of the macros: +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... +# +SHELL=cmd.exe +PATH_TO_IDE_BIN=C:/devtools/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=C:/devtools/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="C:\devtools\Microchip\MPLABX\sys\java\jre1.7.0_17/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="C:\devtools\Microchip\xc16\v1.11\bin\xc16-gcc.exe" +# MP_CPPC is not defined +# MP_BC is not defined +# MP_AS is not defined +# MP_LD is not defined +MP_AR="C:\devtools\Microchip\xc16\v1.11\bin\xc16-ar.exe" +DEP_GEN=${MP_JAVA_PATH}java -jar "C:/devtools/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="C:\devtools\Microchip\xc16\v1.11\bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +# MP_AS_DIR is not defined +# MP_LD_DIR is not defined +MP_AR_DIR="C:\devtools\Microchip\xc16\v1.11\bin" +# MP_BC_DIR is not defined diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-variables.mk b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-variables.mk new file mode 100644 index 000000000..10249ca27 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Makefile-variables.mk @@ -0,0 +1,13 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=PIC24_MPLAB.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/PIC24_MPLAB.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=pic24mplab.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/pic24mplab.tar diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Package-default.bash b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Package-default.bash new file mode 100644 index 000000000..1266fa343 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/Package-default.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=default +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=PIC24_MPLAB.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=pic24mplab/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package +rm -rf ${TMPDIR} +mkdir -p ${TMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory ${TMPDIR}/pic24mplab/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/pic24mplab.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/pic24mplab.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/configurations.xml b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/configurations.xml new file mode 100644 index 000000000..fa5f3ddf5 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/configurations.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + ../../Source/portable/MemMang/heap_1.c + + ../../Source/portable/MPLAB/PIC24_dsPIC/port.c + ../../Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S + ../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h + + ../../Source/list.c + ../../Source/queue.c + ../../Source/tasks.c + ../../Source/timers.c + ../../Source/croutine.c + + + ../Common/Minimal/BlockQ.c + ../Common/Minimal/blocktim.c + ../Common/Minimal/comtest.c + ../Common/Minimal/crflash.c + ../Common/Minimal/integer.c + timertest.c + + FreeRTOSConfig.h + lcd.c + lcd.h + main.c + timertest.h + serial/serial.c + ParTest/ParTest.c + + + Makefile + + + + ../../Source + ../Common/Minimal + serial + ParTest + + Makefile + + + + localhost + PIC24FJ128GA010 + + + ICD3PlatformTool + XC16 + 1.11 + 3 + + + + + + + + false + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/configurations.xml b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/configurations.xml new file mode 100644 index 000000000..a3d6ca8b1 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + + C:\devtools\Microchip\xc16\v1.11\bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.properties b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.properties new file mode 100644 index 000000000..e69de29bb diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.xml b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.xml new file mode 100644 index 000000000..778e32b24 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/private/private.xml @@ -0,0 +1,3 @@ + + + diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.properties b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.properties new file mode 100644 index 000000000..e69de29bb diff --git a/FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.xml b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.xml new file mode 100644 index 000000000..5e4d47785 --- /dev/null +++ b/FreeRTOS/Demo/PIC24_MPLAB/nbproject/project.xml @@ -0,0 +1,15 @@ + + com.microchip.mplab.nbide.embedded.makeproject + + + RTOSDemo_PIC24_dsPIC + c6678f4a-9efa-4809-b5d8-ac295272b608 + 0 + c + + h + ISO-8859-1 + + + + diff --git a/FreeRTOS/Demo/PIC24_MPLAB/serial/serial.c b/FreeRTOS/Demo/PIC24_MPLAB/serial/serial.c index 04a0ab197..185de4fa7 100644 --- a/FreeRTOS/Demo/PIC24_MPLAB/serial/serial.c +++ b/FreeRTOS/Demo/PIC24_MPLAB/serial/serial.c @@ -216,6 +216,8 @@ signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar void vSerialClose( xComPortHandle xPort ) { + /* Note implemented. */ + ( void ) xPort; } /*-----------------------------------------------------------*/ -- 2.39.5