Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release v1.0.06

Get usb product id for OSC firmware.
  • Loading branch information...
commit 6ddb855913308adee4694d285ff32a2cc2465b20 1 parent 553b47c
@tkrworks authored
View
BIN  dist/default/production/PICratchBOX_OSC.X.production.elf
Binary file not shown
View
4,357 dist/default/production/PICratchBOX_OSC.X.production.hex
2,179 additions, 2,178 deletions not shown
View
49 nbproject/Makefile-default.mk
@@ -11,10 +11,9 @@
include Makefile
# Environment
-SHELL=cmd.exe
# Adding MPLAB X bin directory to path
-PATH:=C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/:$(PATH)
-MKDIR=gnumkdir -p
+PATH:=/Applications/microchip/mplabx/mplab_ide.app/Contents/Resources/mplab_ide/mplab_ide/modules/../../bin/:$(PATH)
+MKDIR=mkdir -p
RM=rm -f
MV=mv
CP=cp
@@ -52,7 +51,7 @@ ASFLAGS=
LDLIBSOPTIONS=
# Path to java used to run MPLAB X when this makefile was created
-MP_JAVA_PATH="C:\Program Files\Java\jre6/bin/"
+MP_JAVA_PATH="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/"
OS_CURRENT="$(shell uname -s)"
############# Tool locations ##########################################
# If you copy a project from one host to another, the path where the #
@@ -60,19 +59,19 @@ OS_CURRENT="$(shell uname -s)"
# If you open this project with MPLAB X in the new host, this #
# makefile will be regenerated and the paths will be corrected. #
#######################################################################
-MP_CC="C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe"
+MP_CC="/Applications/microchip/mplabc30/v3.30c/bin/pic30-gcc"
# MP_BC is not defined
-MP_AS="C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-as.exe"
-MP_LD="C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-ld.exe"
-MP_AR="C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-ar.exe"
-DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar"
+MP_AS="/Applications/microchip/mplabc30/v3.30c/bin/pic30-as"
+MP_LD="/Applications/microchip/mplabc30/v3.30c/bin/pic30-ld"
+MP_AR="/Applications/microchip/mplabc30/v3.30c/bin/pic30-ar"
+DEP_GEN=${MP_JAVA_PATH}java -jar "/Applications/microchip/mplabx/mplab_ide.app/Contents/Resources/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar"
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
FIXDEPS=fixDeps
-MP_CC_DIR="C:\Program Files (x86)\Microchip\MPLAB C30\bin"
+MP_CC_DIR="/Applications/microchip/mplabc30/v3.30c/bin"
# MP_BC_DIR is not defined
-MP_AS_DIR="C:\Program Files (x86)\Microchip\MPLAB C30\bin"
-MP_LD_DIR="C:\Program Files (x86)\Microchip\MPLAB C30\bin"
-MP_AR_DIR="C:\Program Files (x86)\Microchip\MPLAB C30\bin"
+MP_AS_DIR="/Applications/microchip/mplabc30/v3.30c/bin"
+MP_LD_DIR="/Applications/microchip/mplabc30/v3.30c/bin"
+MP_AR_DIR="/Applications/microchip/mplabc30/v3.30c/bin"
# MP_BC_DIR is not defined
.build-conf: ${BUILD_SUBPROJECTS}
@@ -123,62 +122,62 @@ ${OBJECTDIR}/USB/usb_device.o: USB/usb_device.c nbproject/Makefile-${CND_CONF}.
@${MKDIR} ${OBJECTDIR}/USB
@${RM} ${OBJECTDIR}/USB/usb_device.o.d
@${RM} ${OBJECTDIR}/USB/usb_device.o.ok ${OBJECTDIR}/USB/usb_device.o.err
- @${FIXDEPS} "${OBJECTDIR}/USB/usb_device.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/USB/usb_device.o.d" -o ${OBJECTDIR}/USB/usb_device.o USB/usb_device.c
+ @${FIXDEPS} "${OBJECTDIR}/USB/usb_device.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/USB/usb_device.o.d" -o ${OBJECTDIR}/USB/usb_device.o USB/usb_device.c
${OBJECTDIR}/USB/usb_function_cdc.o: USB/usb_function_cdc.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}/USB
@${RM} ${OBJECTDIR}/USB/usb_function_cdc.o.d
@${RM} ${OBJECTDIR}/USB/usb_function_cdc.o.ok ${OBJECTDIR}/USB/usb_function_cdc.o.err
- @${FIXDEPS} "${OBJECTDIR}/USB/usb_function_cdc.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/USB/usb_function_cdc.o.d" -o ${OBJECTDIR}/USB/usb_function_cdc.o USB/usb_function_cdc.c
+ @${FIXDEPS} "${OBJECTDIR}/USB/usb_function_cdc.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/USB/usb_function_cdc.o.d" -o ${OBJECTDIR}/USB/usb_function_cdc.o USB/usb_function_cdc.c
${OBJECTDIR}/DEE\ Emulation\ 16-bit.o: DEE\ Emulation\ 16-bit.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.d
@${RM} ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.ok ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.err
- @${FIXDEPS} "${OBJECTDIR}/DEE Emulation 16-bit.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/DEE Emulation 16-bit.o.d" -o "${OBJECTDIR}/DEE Emulation 16-bit.o" "DEE Emulation 16-bit.c"
+ @${FIXDEPS} "${OBJECTDIR}/DEE Emulation 16-bit.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/DEE Emulation 16-bit.o.d" -o "${OBJECTDIR}/DEE Emulation 16-bit.o" "DEE Emulation 16-bit.c"
${OBJECTDIR}/picratchbox.o: picratchbox.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/picratchbox.o.d
@${RM} ${OBJECTDIR}/picratchbox.o.ok ${OBJECTDIR}/picratchbox.o.err
- @${FIXDEPS} "${OBJECTDIR}/picratchbox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/picratchbox.o.d" -o ${OBJECTDIR}/picratchbox.o picratchbox.c
+ @${FIXDEPS} "${OBJECTDIR}/picratchbox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/picratchbox.o.d" -o ${OBJECTDIR}/picratchbox.o picratchbox.c
${OBJECTDIR}/usb_descriptors.o: usb_descriptors.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/usb_descriptors.o.d
@${RM} ${OBJECTDIR}/usb_descriptors.o.ok ${OBJECTDIR}/usb_descriptors.o.err
- @${FIXDEPS} "${OBJECTDIR}/usb_descriptors.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/usb_descriptors.o.d" -o ${OBJECTDIR}/usb_descriptors.o usb_descriptors.c
+ @${FIXDEPS} "${OBJECTDIR}/usb_descriptors.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/usb_descriptors.o.d" -o ${OBJECTDIR}/usb_descriptors.o usb_descriptors.c
else
${OBJECTDIR}/USB/usb_device.o: USB/usb_device.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}/USB
@${RM} ${OBJECTDIR}/USB/usb_device.o.d
@${RM} ${OBJECTDIR}/USB/usb_device.o.ok ${OBJECTDIR}/USB/usb_device.o.err
- @${FIXDEPS} "${OBJECTDIR}/USB/usb_device.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/USB/usb_device.o.d" -o ${OBJECTDIR}/USB/usb_device.o USB/usb_device.c
+ @${FIXDEPS} "${OBJECTDIR}/USB/usb_device.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/USB/usb_device.o.d" -o ${OBJECTDIR}/USB/usb_device.o USB/usb_device.c
${OBJECTDIR}/USB/usb_function_cdc.o: USB/usb_function_cdc.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}/USB
@${RM} ${OBJECTDIR}/USB/usb_function_cdc.o.d
@${RM} ${OBJECTDIR}/USB/usb_function_cdc.o.ok ${OBJECTDIR}/USB/usb_function_cdc.o.err
- @${FIXDEPS} "${OBJECTDIR}/USB/usb_function_cdc.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/USB/usb_function_cdc.o.d" -o ${OBJECTDIR}/USB/usb_function_cdc.o USB/usb_function_cdc.c
+ @${FIXDEPS} "${OBJECTDIR}/USB/usb_function_cdc.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/USB/usb_function_cdc.o.d" -o ${OBJECTDIR}/USB/usb_function_cdc.o USB/usb_function_cdc.c
${OBJECTDIR}/DEE\ Emulation\ 16-bit.o: DEE\ Emulation\ 16-bit.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.d
@${RM} ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.ok ${OBJECTDIR}/DEE\ Emulation\ 16-bit.o.err
- @${FIXDEPS} "${OBJECTDIR}/DEE Emulation 16-bit.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/DEE Emulation 16-bit.o.d" -o "${OBJECTDIR}/DEE Emulation 16-bit.o" "DEE Emulation 16-bit.c"
+ @${FIXDEPS} "${OBJECTDIR}/DEE Emulation 16-bit.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/DEE Emulation 16-bit.o.d" -o "${OBJECTDIR}/DEE Emulation 16-bit.o" "DEE Emulation 16-bit.c"
${OBJECTDIR}/picratchbox.o: picratchbox.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/picratchbox.o.d
@${RM} ${OBJECTDIR}/picratchbox.o.ok ${OBJECTDIR}/picratchbox.o.err
- @${FIXDEPS} "${OBJECTDIR}/picratchbox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/picratchbox.o.d" -o ${OBJECTDIR}/picratchbox.o picratchbox.c
+ @${FIXDEPS} "${OBJECTDIR}/picratchbox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/picratchbox.o.d" -o ${OBJECTDIR}/picratchbox.o picratchbox.c
${OBJECTDIR}/usb_descriptors.o: usb_descriptors.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${OBJECTDIR}
@${RM} ${OBJECTDIR}/usb_descriptors.o.d
@${RM} ${OBJECTDIR}/usb_descriptors.o.ok ${OBJECTDIR}/usb_descriptors.o.err
- @${FIXDEPS} "${OBJECTDIR}/usb_descriptors.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/Include/USB" -I"C:/Users/shun/MPLABXProjects/PICratchBOX_OSC.X/USB" -MMD -MF "${OBJECTDIR}/usb_descriptors.o.d" -o ${OBJECTDIR}/usb_descriptors.o usb_descriptors.c
+ @${FIXDEPS} "${OBJECTDIR}/usb_descriptors.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -I"./" -I"./Include" -I"./Include/USB" -I"./USB" -MMD -MF "${OBJECTDIR}/usb_descriptors.o.d" -o ${OBJECTDIR}/usb_descriptors.o usb_descriptors.c
endif
@@ -192,7 +191,7 @@ else
dist/${CND_CONF}/${IMAGE_TYPE}/PICratchBOX_OSC.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
${MP_CC} $(MP_EXTRA_LD_PRE) -omf=elf -mcpu=$(MP_PROCESSOR_OPTION) -o dist/${CND_CONF}/${IMAGE_TYPE}/PICratchBOX_OSC.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION)
- ${MP_CC_DIR}\\pic30-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/PICratchBOX_OSC.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -omf=elf
+ ${MP_CC_DIR}/pic30-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/PICratchBOX_OSC.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -omf=elf
endif
@@ -207,7 +206,7 @@ endif
# Enable dependency checking
.dep.inc: .depcheck-impl
-DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
+DEPFILES=$(shell "/Applications/microchip/mplabx/mplab_ide.app/Contents/Resources/mplab_ide/mplab_ide/modules/../../bin/"mplabwildcard ${POSSIBLE_DEPFILES})
ifneq (${DEPFILES},)
include ${DEPFILES}
endif
View
16 nbproject/Makefile-genesis.properties
@@ -1,8 +1,8 @@
-#
-#Sun Jan 01 22:07:48 GMT+09:00 2012
-default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\MPLAB C30\\bin
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=aacb4af1231509e2c363b0acdc0000a5
-default.languagetoolchain.version=3_30b
-default.com-microchip-mplab-nbide-toolchainC30-C30LanguageToolchain.md5=92a2af1b0e705d0c2accd4a128fa82c2
-host.platform=windows
-conf.ids=default
+#
+#Tue Jan 17 07:15:27 JST 2012
+default.languagetoolchain.dir=/Applications/microchip/mplabc30/v3.30c/bin
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=14c8316853d2b0fce51cf1d06d91574f
+default.languagetoolchain.version=3_30
+default.com-microchip-mplab-nbide-toolchainC30-C30LanguageToolchain.md5=a30b176b4e5458449c72c95e7b23f06f
+host.platform=mac
+conf.ids=default
View
288 nbproject/configurations.xml
@@ -1,144 +1,144 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="62">
- <logicalFolder name="root" displayName="root" projectFiles="true">
- <logicalFolder name="HeaderFiles"
- displayName="Header Files"
- projectFiles="true">
- <logicalFolder name="f2" displayName="Include" projectFiles="true">
- <logicalFolder name="f1" displayName="USB" projectFiles="true">
- <itemPath>Include/USB/usb.h</itemPath>
- <itemPath>Include/USB/usb_ch9.h</itemPath>
- <itemPath>Include/USB/usb_common.h</itemPath>
- <itemPath>Include/USB/usb_device.h</itemPath>
- <itemPath>Include/USB/usb_function_cdc.h</itemPath>
- <itemPath>Include/USB/usb_hal.h</itemPath>
- <itemPath>Include/USB/usb_hal_pic24.h</itemPath>
- </logicalFolder>
- <itemPath>Include/Compiler.h</itemPath>
- <itemPath>DEE Emulation 16-bit.h</itemPath>
- <itemPath>Include/GenericTypeDefs.h</itemPath>
- <itemPath>Include/TimeDelay.h</itemPath>
- <itemPath>Include/struct_queue.h</itemPath>
- <itemPath>Include/timer.h</itemPath>
- <itemPath>Include/uart2.h</itemPath>
- </logicalFolder>
- <logicalFolder name="f1" displayName="USB" projectFiles="true">
- <itemPath>USB/USB PIC24.h</itemPath>
- <itemPath>USB/usb_hal_local.h</itemPath>
- </logicalFolder>
- <itemPath>HardwareProfile.h</itemPath>
- <itemPath>picratchbox.h</itemPath>
- <itemPath>usb_config.h</itemPath>
- </logicalFolder>
- <logicalFolder name="LibraryFiles"
- displayName="Library Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="LinkerScript"
- displayName="Linker Files"
- projectFiles="true">
- <itemPath>boot_hid_p24FJ64GB002.gld</itemPath>
- </logicalFolder>
- <logicalFolder name="ObjectFiles"
- displayName="Object Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="SourceFiles"
- displayName="Source Files"
- projectFiles="true">
- <logicalFolder name="f1" displayName="USB" projectFiles="true">
- <itemPath>USB/usb_device.c</itemPath>
- <itemPath>USB/usb_function_cdc.c</itemPath>
- </logicalFolder>
- <itemPath>DEE Emulation 16-bit.c</itemPath>
- <itemPath>Flash Operations.s</itemPath>
- <itemPath>PIC24 HID Bootloader Remapping.s</itemPath>
- <itemPath>picratchbox.c</itemPath>
- <itemPath>usb_descriptors.c</itemPath>
- </logicalFolder>
- <logicalFolder name="ExternalFiles"
- displayName="Important Files"
- projectFiles="false">
- <itemPath>Makefile</itemPath>
- </logicalFolder>
- </logicalFolder>
- <projectmakefile>Makefile</projectmakefile>
- <confs>
- <conf name="default" type="2">
- <toolsSet>
- <developmentServer>localhost</developmentServer>
- <targetDevice>PIC24FJ64GB002</targetDevice>
- <targetHeader></targetHeader>
- <platformTool>PICkit3PlatformTool</platformTool>
- <languageToolchain>C30</languageToolchain>
- <languageToolchainVersion></languageToolchainVersion>
- <platform>3</platform>
- </toolsSet>
- <compileType>
- <linkerTool>
- <linkerLibItems>
- </linkerLibItems>
- </linkerTool>
- </compileType>
- <makeCustomizationType>
- <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
- <makeCustomizationPreStep></makeCustomizationPreStep>
- <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
- <makeCustomizationPostStep></makeCustomizationPostStep>
- <makeCustomizationAlternativeFileToLoadEnabled>false</makeCustomizationAlternativeFileToLoadEnabled>
- <makeCustomizationAlternativeFileToLoad></makeCustomizationAlternativeFileToLoad>
- <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
- </makeCustomizationType>
- <C30>
- <property key="optimization-level" value="0"/>
- <property key="preprocessor-macros" value=""/>
- <property key="code-model" value="default"/>
- <property key="const-model" value="default"/>
- <property key="enable-procedural-abstraction" value="false"/>
- <property key="enable-ansi-warnings" value="false"/>
- <property key="enable-short-double" value="false"/>
- <property key="extra-include-directories"
- value="C:\Users\shun\MPLABXProjects\PICratchBOX_OSC.X;C:\Users\shun\MPLABXProjects\PICratchBOX_OSC.X\Include;C:\Users\shun\MPLABXProjects\PICratchBOX_OSC.X\Include\USB;C:\Users\shun\MPLABXProjects\PICratchBOX_OSC.X\USB"/>
- <property key="post-instruction-scheduling" value="default"/>
- <property key="enable-unroll-loops" value="false"/>
- <property key="enable-symbols" value="true"/>
- <property key="data-model" value="default"/>
- <property key="isolate-each-function" value="false"/>
- <property key="enable-fatal-warnings" value="false"/>
- <property key="enable-omit-frame-pointer" value="false"/>
- <property key="enable-ansi-std" value="false"/>
- <property key="enable-all-warnings" value="false"/>
- <property key="pre-instruction-scheduling" value="default"/>
- <property key="enable-large-arrays" value="false"/>
- <property key="scalar-model" value="default"/>
- </C30>
- <C30-AS>
- <property key="omit-debug-dirs" value="false"/>
- <property key="extra-include-directories-for-assembler" value=""/>
- <property key="preprocessor-macros" value=""/>
- <property key="list-file" value=""/>
- <property key="list-assembly" value="false"/>
- <property key="list-source" value="false"/>
- <property key="relax" value="false"/>
- <property key="extra-include-directories-for-preprocessor" value=""/>
- <property key="warning-level" value="emit-warnings"/>
- <property key="list-section-info" value="false"/>
- <property key="omit-forms" value="false"/>
- <property key="list-symbols" value="false"/>
- <property key="keep-locals" value="false"/>
- <property key="false-conditionals" value="false"/>
- <property key="expand-macros" value="false"/>
- <property key="assembler-symbols" value=""/>
- </C30-AS>
- <C30-LD>
- </C30-LD>
- <C30Global>
- <property key="fast-math" value="false"/>
- <property key="legacy-libc" value="false"/>
- <property key="output-file-format" value="elf"/>
- </C30Global>
- <PICkit3PlatformTool>
- </PICkit3PlatformTool>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="62">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ <logicalFolder name="f2" displayName="Include" projectFiles="true">
+ <logicalFolder name="f1" displayName="USB" projectFiles="true">
+ <itemPath>Include/USB/usb.h</itemPath>
+ <itemPath>Include/USB/usb_ch9.h</itemPath>
+ <itemPath>Include/USB/usb_common.h</itemPath>
+ <itemPath>Include/USB/usb_device.h</itemPath>
+ <itemPath>Include/USB/usb_function_cdc.h</itemPath>
+ <itemPath>Include/USB/usb_hal.h</itemPath>
+ <itemPath>Include/USB/usb_hal_pic24.h</itemPath>
+ </logicalFolder>
+ <itemPath>Include/Compiler.h</itemPath>
+ <itemPath>DEE Emulation 16-bit.h</itemPath>
+ <itemPath>Include/GenericTypeDefs.h</itemPath>
+ <itemPath>Include/TimeDelay.h</itemPath>
+ <itemPath>Include/struct_queue.h</itemPath>
+ <itemPath>Include/timer.h</itemPath>
+ <itemPath>Include/uart2.h</itemPath>
+ </logicalFolder>
+ <logicalFolder name="f1" displayName="USB" projectFiles="true">
+ <itemPath>USB/USB PIC24.h</itemPath>
+ <itemPath>USB/usb_hal_local.h</itemPath>
+ </logicalFolder>
+ <itemPath>HardwareProfile.h</itemPath>
+ <itemPath>picratchbox.h</itemPath>
+ <itemPath>usb_config.h</itemPath>
+ </logicalFolder>
+ <logicalFolder name="LibraryFiles"
+ displayName="Library Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ <itemPath>boot_hid_p24FJ64GB002.gld</itemPath>
+ </logicalFolder>
+ <logicalFolder name="ObjectFiles"
+ displayName="Object Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ <logicalFolder name="f1" displayName="USB" projectFiles="true">
+ <itemPath>USB/usb_device.c</itemPath>
+ <itemPath>USB/usb_function_cdc.c</itemPath>
+ </logicalFolder>
+ <itemPath>DEE Emulation 16-bit.c</itemPath>
+ <itemPath>Flash Operations.s</itemPath>
+ <itemPath>PIC24 HID Bootloader Remapping.s</itemPath>
+ <itemPath>picratchbox.c</itemPath>
+ <itemPath>usb_descriptors.c</itemPath>
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ </logicalFolder>
+ </logicalFolder>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GB002</targetDevice>
+ <targetHeader></targetHeader>
+ <platformTool>PICkit3PlatformTool</platformTool>
+ <languageToolchain>C30</languageToolchain>
+ <languageToolchainVersion></languageToolchainVersion>
+ <platform>4</platform>
+ </toolsSet>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationAlternativeFileToLoadEnabled>false</makeCustomizationAlternativeFileToLoadEnabled>
+ <makeCustomizationAlternativeFileToLoad></makeCustomizationAlternativeFileToLoad>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ </makeCustomizationType>
+ <C30>
+ <property key="optimization-level" value="0"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="extra-include-directories"
+ value="./;./Include;./Include/USB;./USB"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="data-model" value="default"/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-all-warnings" value="false"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="scalar-model" value="default"/>
+ </C30>
+ <C30-AS>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="list-file" value=""/>
+ <property key="list-source" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="list-section-info" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="false-conditionals" value="false"/>
+ <property key="expand-macros" value="false"/>
+ <property key="assembler-symbols" value=""/>
+ </C30-AS>
+ <C30-LD>
+ </C30-LD>
+ <C30Global>
+ <property key="fast-math" value="false"/>
+ <property key="output-file-format" value="elf"/>
+ <property key="legacy-libc" value="false"/>
+ </C30Global>
+ <PICkit3PlatformTool>
+ </PICkit3PlatformTool>
+ </conf>
+ </confs>
+</configurationDescriptor>
View
50 nbproject/private/configurations.xml
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="62">
- <projectmakefile>Makefile</projectmakefile>
- <defaultConf>0</defaultConf>
- <confs>
- <conf name="default" type="2">
- <platformToolSN></platformToolSN>
- <languageToolchainDir>C:\Program Files (x86)\Microchip\MPLAB C30\bin</languageToolchainDir>
- <mdbdebugger version="1">
- <placeholder1>place holder 1</placeholder1>
- <placeholder2>place holder 2</placeholder2>
- </mdbdebugger>
- <runprofile version="6">
- <args></args>
- <rundir></rundir>
- <buildfirst>true</buildfirst>
- <console-type>0</console-type>
- <terminal-type>0</terminal-type>
- <remove-instrumentation>0</remove-instrumentation>
- <environment>
- </environment>
- </runprofile>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="62">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN></platformToolSN>
+ <languageToolchainDir>C:\Program Files (x86)\Microchip\MPLAB C30\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
View
32 nbproject/project.xml
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>com.microchip.mplab.nbide.embedded.makeproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/make-project/1">
- <name>PICratchBOX_OSC</name>
- <creation-uuid>b3549211-423b-4184-a772-230100c0d8b6</creation-uuid>
- <make-project-type>0</make-project-type>
- <c-extensions>c</c-extensions>
- <cpp-extensions/>
- <header-extensions>h</header-extensions>
- <sourceEncoding>UTF-8</sourceEncoding>
- <make-dep-projects/>
- </data>
- </configuration>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>PICratchBOX_OSC</name>
+ <creation-uuid>b3549211-423b-4184-a772-230100c0d8b6</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions>c</c-extensions>
+ <cpp-extensions/>
+ <header-extensions>h</header-extensions>
+ <sourceEncoding>UTF-8</sourceEncoding>
+ <make-dep-projects/>
+ </data>
+ </configuration>
+</project>
View
4 picratchbox.c
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with PICnome. if not, see <http:/www.gnu.org/licenses/>.
*
- * picratchbox.c,v.1.0.05 2012/01/06
+ * picratchbox.c,v.1.0.06 2012/01/17
*/
#include "picratchbox.h"
@@ -472,7 +472,7 @@ void receiveOscMsgs(void)
{
sendmsg[0] = 'f';
sendmsg[1] = 10;
- sendmsg[2] = 5;
+ sendmsg[2] = 6;
if(mUSBUSARTIsTxTrfReady())
mUSBUSARTTxRam(sendmsg, 3);
CDCTxService();
View
2  picratchbox.h
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with PICnome. if not, see <http:/www.gnu.org/licenses/>.
*
- * picratchbox.h,v.1.0.05 2012/01/06
+ * picratchbox.h,v.1.0.06 2012/01/17
*/
#define MULTI_PLEXER
View
6 usb_descriptors.c
@@ -165,7 +165,7 @@ ROM USB_DEVICE_DESCRIPTOR device_dsc=
0x00, // Protocol code
USB_EP0_BUFF_SIZE, // Max packet size for EP0, see usb_config.h
0x04D8, // Vendor ID
- 0xF979, // Product ID: tkrworks PICratchBOX
+ 0xF886, // Product ID: tkrworks PICratchBOX_OSC
0x0100, // Device release number in BCD format
0x01, // Manufacturer string index
0x02, // Product string index
@@ -270,9 +270,9 @@ sizeof(sd001),USB_DESCRIPTOR_STRING,
};
//Product string descriptor
-ROM struct{BYTE bLength;BYTE bDscType;WORD string[11];}sd002={
+ROM struct{BYTE bLength;BYTE bDscType;WORD string[15];}sd002={
sizeof(sd002),USB_DESCRIPTOR_STRING,
-{'P','I','C','r','a','t','c','h','B','O','X'}
+{'P','I','C','r','a','t','c','h','B','O','X','_','O','S','C'}
};
//Array of configuration descriptors
Please sign in to comment.
Something went wrong with that request. Please try again.