BASIC compiler/interpreter for PIC32MX/MZ-80K
Revisión | 2dea48aef14397266cdab8d4c04a00ee413f6ffe (tree) |
---|---|
Tiempo | 2019-05-13 09:17:12 |
Autor | Katsumi <kmorimatsu@sour...> |
Commiter | Katsumi |
CLIB template.
@@ -0,0 +1,113 @@ | ||
1 | +# | |
2 | +# There exist several targets which are by default empty and which can be | |
3 | +# used for execution of your targets. These targets are usually executed | |
4 | +# before and after some main targets. They are: | |
5 | +# | |
6 | +# .build-pre: called before 'build' target | |
7 | +# .build-post: called after 'build' target | |
8 | +# .clean-pre: called before 'clean' target | |
9 | +# .clean-post: called after 'clean' target | |
10 | +# .clobber-pre: called before 'clobber' target | |
11 | +# .clobber-post: called after 'clobber' target | |
12 | +# .all-pre: called before 'all' target | |
13 | +# .all-post: called after 'all' target | |
14 | +# .help-pre: called before 'help' target | |
15 | +# .help-post: called after 'help' target | |
16 | +# | |
17 | +# Targets beginning with '.' are not intended to be called on their own. | |
18 | +# | |
19 | +# Main targets can be executed directly, and they are: | |
20 | +# | |
21 | +# build build a specific configuration | |
22 | +# clean remove built files from a configuration | |
23 | +# clobber remove all built files | |
24 | +# all build all configurations | |
25 | +# help print help mesage | |
26 | +# | |
27 | +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and | |
28 | +# .help-impl are implemented in nbproject/makefile-impl.mk. | |
29 | +# | |
30 | +# Available make variables: | |
31 | +# | |
32 | +# CND_BASEDIR base directory for relative paths | |
33 | +# CND_DISTDIR default top distribution directory (build artifacts) | |
34 | +# CND_BUILDDIR default top build directory (object files, ...) | |
35 | +# CONF name of current configuration | |
36 | +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) | |
37 | +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) | |
38 | +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) | |
39 | +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) | |
40 | +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) | |
41 | +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) | |
42 | +# | |
43 | +# NOCDDL | |
44 | + | |
45 | + | |
46 | +# Environment | |
47 | +MKDIR=mkdir | |
48 | +CP=cp | |
49 | +CCADMIN=CCadmin | |
50 | +RANLIB=ranlib | |
51 | + | |
52 | + | |
53 | +# build | |
54 | +build: .build-post | |
55 | + | |
56 | +.build-pre: | |
57 | +# Add your pre 'build' code here... | |
58 | + | |
59 | +.build-post: .build-impl | |
60 | +# Add your post 'build' code here... | |
61 | + | |
62 | + | |
63 | +# clean | |
64 | +clean: .clean-post | |
65 | + | |
66 | +.clean-pre: | |
67 | +# Add your pre 'clean' code here... | |
68 | +# WARNING: the IDE does not call this target since it takes a long time to | |
69 | +# simply run make. Instead, the IDE removes the configuration directories | |
70 | +# under build and dist directly without calling make. | |
71 | +# This target is left here so people can do a clean when running a clean | |
72 | +# outside the IDE. | |
73 | + | |
74 | +.clean-post: .clean-impl | |
75 | +# Add your post 'clean' code here... | |
76 | + | |
77 | + | |
78 | +# clobber | |
79 | +clobber: .clobber-post | |
80 | + | |
81 | +.clobber-pre: | |
82 | +# Add your pre 'clobber' code here... | |
83 | + | |
84 | +.clobber-post: .clobber-impl | |
85 | +# Add your post 'clobber' code here... | |
86 | + | |
87 | + | |
88 | +# all | |
89 | +all: .all-post | |
90 | + | |
91 | +.all-pre: | |
92 | +# Add your pre 'all' code here... | |
93 | + | |
94 | +.all-post: .all-impl | |
95 | +# Add your post 'all' code here... | |
96 | + | |
97 | + | |
98 | +# help | |
99 | +help: .help-post | |
100 | + | |
101 | +.help-pre: | |
102 | +# Add your pre 'help' code here... | |
103 | + | |
104 | +.help-post: .help-impl | |
105 | +# Add your post 'help' code here... | |
106 | + | |
107 | + | |
108 | + | |
109 | +# include project implementation makefile | |
110 | +include nbproject/Makefile-impl.mk | |
111 | + | |
112 | +# include project make variables | |
113 | +include nbproject/Makefile-variables.mk |
@@ -4,22 +4,60 @@ | ||
4 | 4 | * * |
5 | 5 | ***********************************/ |
6 | 6 | |
7 | +// Include the main header | |
7 | 8 | #include "./clib.h" |
9 | +// CLIBINIT is placed at specific address | |
10 | +#define CLIBINIT __attribute__((section(".machikania_clib"))) | |
8 | 11 | |
9 | -// main() function is not used, but necessary for compiling | |
10 | -void main(void){ | |
11 | - while(1); | |
12 | -} | |
12 | +/* | |
13 | + * g_data[] contains the data from MachiKania compiler for this library | |
14 | + * g_data[0] : lib_calloc_memory | |
15 | + * g_data[1] : lib_delete | |
16 | + * g_data[2] : g_gp | |
17 | + * g_data[3-]: Reserved for higher version of CLIB | |
18 | + */ | |
19 | +void** g_data; | |
13 | 20 | |
14 | -// Data list to provide addresses of constants[] and functions[] | |
15 | -CLIBDATA unsigned int clibdata[]={ | |
16 | - (unsigned int)&constants[0], | |
17 | - (unsigned int)&functions[0] | |
21 | +/* | |
22 | + * clibdata[] contains the data from this library for MachiKania compiler | |
23 | + * clibdata[0] : Version of CLIB (This library is for MachiKania ver 1.4) | |
24 | + * clibdata[1] : Size of data memory | |
25 | + * clibdata[2] : Public function array | |
26 | + * clibdata[2-]: Reserved for higher verion of CLIB | |
27 | + */ | |
28 | +const void* const clibdata[]={ | |
29 | + (void*) 0x0140, // clibdata[0] | |
30 | + (void*) CLIB_DATA_MEM_SIZE, // clibdata[1] | |
31 | + &functions[0], // clibdata[2] | |
32 | + 0 // Finally, end with 0 | |
18 | 33 | }; |
19 | 34 | |
20 | -// Infinite loop at the beginning of program | |
21 | -/*const __attribute__((address(0x9d007000))) unsigned int const _loop[]={ | |
22 | - // loop: | |
23 | - 0x1000FFFF, // b loop | |
24 | - 0x00000000 // nop | |
25 | -};//*/ | |
35 | +/* | |
36 | + * This function will be called when initializing library, | |
37 | + * and used to exchange data between MachiKania BASIC and this library. | |
38 | + * This is only a function placed in .machikania_clib section for providing | |
39 | + * static start address at 0xA0000100. | |
40 | + */ | |
41 | +void* CLIBINIT clib_init(void** data){ | |
42 | + char* data_mem; | |
43 | + // Store pointer to data | |
44 | + g_data=data; | |
45 | + // Call user initialization routine | |
46 | + init(); | |
47 | + // Return pointer to clibdata | |
48 | + return (void*)&clibdata[0]; | |
49 | +} | |
50 | + | |
51 | +// call lib_calloc_memory() function | |
52 | +void* clib_calloc(int size, void** g_data){ | |
53 | + asm volatile("lw $v0,0($a1)"); | |
54 | + asm volatile("lw $gp,8($a1)"); | |
55 | + asm volatile("jr $v0"); | |
56 | +} | |
57 | + | |
58 | +// call lib_delete() function | |
59 | +void clib_free(void* addr, void** g_data){ | |
60 | + asm volatile("lw $v0,4($a1)"); | |
61 | + asm volatile("lw $gp,8($a1)"); | |
62 | + asm volatile("jr $v0"); | |
63 | +} |
@@ -4,13 +4,34 @@ | ||
4 | 4 | * * |
5 | 5 | ***********************************/ |
6 | 6 | |
7 | -// All CLIB functions must be written in .machikania_club section. | |
8 | -#define CLIB __attribute__((section(".machikania_clib"))) | |
7 | +#define CLIB_PROGMRAM_MEM 0xA0008000 | |
8 | +#define CLIB_DATA_MEM_SIZE 0x0080 | |
9 | +#define CLIB_DATA_MEM (CLIB_PROGMRAM_MEM-CLIB_DATA_MEM_SIZE) | |
10 | + | |
9 | 11 | |
10 | -// CLIB data is placed at specific address | |
11 | -#define CLIBDATA const __attribute__((address(0x9d01ff00))) | |
12 | 12 | |
13 | 13 | // Global variables |
14 | 14 | // These must be defined by user |
15 | -extern const void* const constants[]; | |
16 | 15 | extern const void* const functions[]; |
16 | + | |
17 | +// Prototypes | |
18 | +/* | |
19 | + init(); | |
20 | + This function must be defined by user. | |
21 | + It will be called when initializing library. | |
22 | +*/ | |
23 | +void init(void); | |
24 | + | |
25 | +/* | |
26 | + malloc(int size); | |
27 | + calloc(int size); | |
28 | +*/ | |
29 | +#define malloc(x) clib_calloc(((x)+3)>>2,g_data) | |
30 | +#define calloc(x) clib_calloc(((x)+3)>>2,g_data) | |
31 | +void* clib_calloc(int size, void** g_data); | |
32 | + | |
33 | +/* | |
34 | + free(void* addr); | |
35 | +*/ | |
36 | +#define free(x) clib_free(x,g_data) | |
37 | +void clib_free(void* addr, void** g_data); |
@@ -1,62 +0,0 @@ | ||
1 | -[HEADER] | |
2 | -magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13} | |
3 | -file_version=1.0 | |
4 | -device=PIC32MX350F256H | |
5 | -[PATH_INFO] | |
6 | -BuildDirPolicy=BuildDirIsProjectDir | |
7 | -dir_src= | |
8 | -dir_bin= | |
9 | -dir_tmp= | |
10 | -dir_sin= | |
11 | -dir_inc= | |
12 | -dir_lib=C:\Program Files\Microchip\xc32\v1.42\pic32mx\lib | |
13 | -dir_lkr= | |
14 | -[CAT_FILTERS] | |
15 | -filter_src=*.s;*.c | |
16 | -filter_inc=*.h;*.inc | |
17 | -filter_obj=*.o | |
18 | -filter_lib=*.a | |
19 | -filter_lkr=*.ld | |
20 | -[CAT_SUBFOLDERS] | |
21 | -subfolder_src= | |
22 | -subfolder_inc= | |
23 | -subfolder_obj= | |
24 | -subfolder_lib= | |
25 | -subfolder_lkr= | |
26 | -[FILE_SUBFOLDERS] | |
27 | -file_000=. | |
28 | -file_001=. | |
29 | -file_002=. | |
30 | -file_003=. | |
31 | -[GENERATED_FILES] | |
32 | -file_000=no | |
33 | -file_001=no | |
34 | -file_002=no | |
35 | -file_003=no | |
36 | -[OTHER_FILES] | |
37 | -file_000=no | |
38 | -file_001=no | |
39 | -file_002=no | |
40 | -file_003=no | |
41 | -[FILE_INFO] | |
42 | -file_000=clib.c | |
43 | -file_001=example.c | |
44 | -file_002=clib.h | |
45 | -file_003=clib_p32MX370F512H.ld | |
46 | -[SUITE_INFO] | |
47 | -suite_guid={62D235D8-2DB2-49CD-AF24-5489A6015337} | |
48 | -suite_state= | |
49 | -[TOOL_SETTINGS] | |
50 | -TS{6F324298-6323-4781-8C43-43FA5E6F3646}=-gdwarf-2 | |
51 | -TS{1F324EFA-C0BA-4A8F-A85A-B21644939CAD}=-g -O1 | |
52 | -TS{29D3B6CC-DCAB-4659-8011-FFF75BB7F8D7}=-Map="$(BINDIR_)$(TARGETBASE).map" -o"$(BINDIR_)$(TARGETBASE).$(TARGETSUFFIX)" -O1 -nostdlib -mno-float | |
53 | -TS{AD4C3FBD-B6BB-4F50-AB4E-35BF132D4D60}= | |
54 | -[INSTRUMENTED_TRACE] | |
55 | -enable=0 | |
56 | -transport=0 | |
57 | -format=0 | |
58 | -[CUSTOM_BUILD] | |
59 | -Pre-Build= | |
60 | -Pre-BuildEnabled=1 | |
61 | -Post-Build= | |
62 | -Post-BuildEnabled=1 |
@@ -6,46 +6,39 @@ | ||
6 | 6 | #include <xc.h> |
7 | 7 | #include "./clib.h" |
8 | 8 | |
9 | -char** g_pconst; | |
10 | - | |
11 | -// The init() for initiation is required if string constant(s) will be used. | |
12 | -// First parameter is the pointer to string constan(s) array | |
9 | +// The init() function is called at initiation. | |
13 | 10 | // The initializations of global variables must be done here. |
14 | -// 文字列定数を使いたい時は、初期化関数init()は必須。 | |
15 | -// 第一引数は、文字列定数リストへのポインター。 | |
11 | +// 関数init()は、初期化の際に呼ばれる。 | |
16 | 12 | // グローバル変数の初期化は、この関数内で行なう必要あり。 |
17 | -CLIB void init(char** pconstants){ | |
18 | - g_pconst=pconstants; | |
13 | +void init(void){ | |
19 | 14 | } |
20 | 15 | |
21 | -// Example of a function. | |
22 | -// The definition must start from "CLIB" | |
23 | -// Maximum number of parameter(s) is 4. | |
16 | +// Example of functions. | |
17 | +// Maximum number of parameter(s) is 4 for public function. | |
24 | 18 | // 関数の実装例。 |
25 | -// 関数定義は、「CLIB」で始める事。 | |
26 | -// 引数は、最大4つまで。 | |
27 | -CLIB char* test(int param1){ | |
28 | - return g_pconst[0]; | |
19 | +// パブリック関数では、引数は最大4つまで。 | |
20 | +char* test_private(int param1){ | |
21 | + switch(param1){ | |
22 | + case 0: | |
23 | + return "Hello World!"; | |
24 | + default: | |
25 | + return "This is a test"; | |
26 | + } | |
27 | +} | |
28 | +char* test_public(int param1){ | |
29 | + return test_private(param1); | |
29 | 30 | } |
30 | -// The list of string constant(s) | |
31 | -// This array must end with 0. | |
32 | -// 文字列定数のリスト。 | |
33 | -// この配列の最終要素は、0 とすること。 | |
34 | -const void* const constants[]={ | |
35 | - "STRCONSTANT1", | |
36 | - "STRCONSTANT2", | |
37 | - "STRCONSTANT3", | |
38 | - 0 | |
39 | -}; | |
40 | 31 | |
41 | 32 | // The list of public function(s) |
42 | 33 | // This defines the function name(s) and function address(s) |
34 | +// Length of the name of function must be between 2 and 6 bytes, | |
35 | +// and contain only A-Z, _, and 0-9 as characters. | |
43 | 36 | // This array must end with 0. |
44 | 37 | // パブリック関数のリスト。 |
45 | 38 | // 関数名と、関数のアドレスを指定する。 |
39 | +// 関数名の長さは2-6バイトで、英数字とアンダースコアのみを含む文字列。 | |
46 | 40 | // この配列の最終要素は、0 とすること。 |
47 | 41 | const void* const functions[]={ |
48 | - "INIT",init, | |
49 | - "TEST",test, | |
42 | + "TEST",test_public, | |
50 | 43 | 0 |
51 | 44 | }; |
@@ -0,0 +1,175 @@ | ||
1 | +# | |
2 | +# Generated Makefile - do not edit! | |
3 | +# | |
4 | +# Edit the Makefile in the project folder instead (../Makefile). Each target | |
5 | +# has a -pre and a -post target defined where you can add customized code. | |
6 | +# | |
7 | +# This makefile implements configuration specific macros and targets. | |
8 | + | |
9 | + | |
10 | +# Include project Makefile | |
11 | +ifeq "${IGNORE_LOCAL}" "TRUE" | |
12 | +# do not include local makefile. User is passing all local related variables already | |
13 | +else | |
14 | +include Makefile | |
15 | +# Include makefile containing local settings | |
16 | +ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" | |
17 | +include nbproject/Makefile-local-default.mk | |
18 | +endif | |
19 | +endif | |
20 | + | |
21 | +# Environment | |
22 | +MKDIR=gnumkdir -p | |
23 | +RM=rm -f | |
24 | +MV=mv | |
25 | +CP=cp | |
26 | + | |
27 | +# Macros | |
28 | +CND_CONF=default | |
29 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
30 | +IMAGE_TYPE=debug | |
31 | +OUTPUT_SUFFIX=elf | |
32 | +DEBUGGABLE_SUFFIX=elf | |
33 | +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | |
34 | +else | |
35 | +IMAGE_TYPE=production | |
36 | +OUTPUT_SUFFIX=hex | |
37 | +DEBUGGABLE_SUFFIX=elf | |
38 | +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | |
39 | +endif | |
40 | + | |
41 | +ifeq ($(COMPARE_BUILD), true) | |
42 | +COMPARISON_BUILD=-mafrlcsj | |
43 | +else | |
44 | +COMPARISON_BUILD= | |
45 | +endif | |
46 | + | |
47 | +ifdef SUB_IMAGE_ADDRESS | |
48 | + | |
49 | +else | |
50 | +SUB_IMAGE_ADDRESS_COMMAND= | |
51 | +endif | |
52 | + | |
53 | +# Object Directory | |
54 | +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} | |
55 | + | |
56 | +# Distribution Directory | |
57 | +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} | |
58 | + | |
59 | +# Source Files Quoted if spaced | |
60 | +SOURCEFILES_QUOTED_IF_SPACED=clib.c example.c | |
61 | + | |
62 | +# Object Files Quoted if spaced | |
63 | +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/clib.o ${OBJECTDIR}/example.o | |
64 | +POSSIBLE_DEPFILES=${OBJECTDIR}/clib.o.d ${OBJECTDIR}/example.o.d | |
65 | + | |
66 | +# Object Files | |
67 | +OBJECTFILES=${OBJECTDIR}/clib.o ${OBJECTDIR}/example.o | |
68 | + | |
69 | +# Source Files | |
70 | +SOURCEFILES=clib.c example.c | |
71 | + | |
72 | + | |
73 | +CFLAGS= | |
74 | +ASFLAGS= | |
75 | +LDLIBSOPTIONS= | |
76 | + | |
77 | +############# Tool locations ########################################## | |
78 | +# If you copy a project from one host to another, the path where the # | |
79 | +# compiler is installed may be different. # | |
80 | +# If you open this project with MPLAB X in the new host, this # | |
81 | +# makefile will be regenerated and the paths will be corrected. # | |
82 | +####################################################################### | |
83 | +# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build | |
84 | +FIXDEPS=fixDeps | |
85 | + | |
86 | +.build-conf: ${BUILD_SUBPROJECTS} | |
87 | +ifneq ($(INFORMATION_MESSAGE), ) | |
88 | + @echo $(INFORMATION_MESSAGE) | |
89 | +endif | |
90 | + ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | |
91 | + | |
92 | +MP_PROCESSOR_OPTION=32MX370F512H | |
93 | +MP_LINKER_FILE_OPTION=,--script="clib_p32MX370F512H.ld" | |
94 | +# ------------------------------------------------------------------------------------ | |
95 | +# Rules for buildStep: assemble | |
96 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
97 | +else | |
98 | +endif | |
99 | + | |
100 | +# ------------------------------------------------------------------------------------ | |
101 | +# Rules for buildStep: assembleWithPreprocess | |
102 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
103 | +else | |
104 | +endif | |
105 | + | |
106 | +# ------------------------------------------------------------------------------------ | |
107 | +# Rules for buildStep: compile | |
108 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
109 | +${OBJECTDIR}/clib.o: clib.c nbproject/Makefile-${CND_CONF}.mk | |
110 | + @${MKDIR} "${OBJECTDIR}" | |
111 | + @${RM} ${OBJECTDIR}/clib.o.d | |
112 | + @${RM} ${OBJECTDIR}/clib.o | |
113 | + @${FIXDEPS} "${OBJECTDIR}/clib.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -fframe-base-loclist -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -O1 -MMD -MF "${OBJECTDIR}/clib.o.d" -o ${OBJECTDIR}/clib.o clib.c -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mgen-pie-static | |
114 | + | |
115 | +${OBJECTDIR}/example.o: example.c nbproject/Makefile-${CND_CONF}.mk | |
116 | + @${MKDIR} "${OBJECTDIR}" | |
117 | + @${RM} ${OBJECTDIR}/example.o.d | |
118 | + @${RM} ${OBJECTDIR}/example.o | |
119 | + @${FIXDEPS} "${OBJECTDIR}/example.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -fframe-base-loclist -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -O1 -MMD -MF "${OBJECTDIR}/example.o.d" -o ${OBJECTDIR}/example.o example.c -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mgen-pie-static | |
120 | + | |
121 | +else | |
122 | +${OBJECTDIR}/clib.o: clib.c nbproject/Makefile-${CND_CONF}.mk | |
123 | + @${MKDIR} "${OBJECTDIR}" | |
124 | + @${RM} ${OBJECTDIR}/clib.o.d | |
125 | + @${RM} ${OBJECTDIR}/clib.o | |
126 | + @${FIXDEPS} "${OBJECTDIR}/clib.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -O1 -MMD -MF "${OBJECTDIR}/clib.o.d" -o ${OBJECTDIR}/clib.o clib.c -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mgen-pie-static | |
127 | + | |
128 | +${OBJECTDIR}/example.o: example.c nbproject/Makefile-${CND_CONF}.mk | |
129 | + @${MKDIR} "${OBJECTDIR}" | |
130 | + @${RM} ${OBJECTDIR}/example.o.d | |
131 | + @${RM} ${OBJECTDIR}/example.o | |
132 | + @${FIXDEPS} "${OBJECTDIR}/example.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -O1 -MMD -MF "${OBJECTDIR}/example.o.d" -o ${OBJECTDIR}/example.o example.c -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mgen-pie-static | |
133 | + | |
134 | +endif | |
135 | + | |
136 | +# ------------------------------------------------------------------------------------ | |
137 | +# Rules for buildStep: compileCPP | |
138 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
139 | +else | |
140 | +endif | |
141 | + | |
142 | +# ------------------------------------------------------------------------------------ | |
143 | +# Rules for buildStep: link | |
144 | +ifeq ($(TYPE_IMAGE), DEBUG_RUN) | |
145 | +dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk clib_p32MX370F512H.ld | |
146 | + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} | |
147 | + ${MP_CC} $(MP_EXTRA_LD_PRE) -mdebugger -D__MPLAB_DEBUGGER_SIMULATOR=1 -mprocessor=$(MP_PROCESSOR_OPTION) -nostdlib -o dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D=__DEBUG_D,--defsym=__MPLAB_DEBUGGER_SIMULATOR=1,--gc-sections,--no-code-in-dinit,--no-dinit-in-serial-mem,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml | |
148 | + | |
149 | +else | |
150 | +dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk clib_p32MX370F512H.ld | |
151 | + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} | |
152 | + ${MP_CC} $(MP_EXTRA_LD_PRE) -mprocessor=$(MP_PROCESSOR_OPTION) -nostdlib -o dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--gc-sections,--no-code-in-dinit,--no-dinit-in-serial-mem,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml | |
153 | + ${MP_CC_DIR}\\xc32-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} | |
154 | +endif | |
155 | + | |
156 | + | |
157 | +# Subprojects | |
158 | +.build-subprojects: | |
159 | + | |
160 | + | |
161 | +# Subprojects | |
162 | +.clean-subprojects: | |
163 | + | |
164 | +# Clean Targets | |
165 | +.clean-conf: ${CLEAN_SUBPROJECTS} | |
166 | + ${RM} -r build/default | |
167 | + ${RM} -r dist/default | |
168 | + | |
169 | +# Enable dependency checking | |
170 | +.dep.inc: .depcheck-impl | |
171 | + | |
172 | +DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) | |
173 | +ifneq (${DEPFILES},) | |
174 | +include ${DEPFILES} | |
175 | +endif |
@@ -0,0 +1,9 @@ | ||
1 | +# | |
2 | +#Sat May 11 21:49:04 PDT 2019 | |
3 | +default.com-microchip-mplab-nbide-toolchainXC32-XC32LanguageToolchain.md5=f2639e8ffe4e3a80ef2cdaeba61da340 | |
4 | +default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc32\\v1.42\\bin | |
5 | +configurations-xml=29d1a0ced33e84be2829a6567fb2a455 | |
6 | +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=52742b11d992fb0dd234edfb95066b34 | |
7 | +default.languagetoolchain.version=1.42 | |
8 | +host.platform=windows | |
9 | +conf.ids=default |
@@ -0,0 +1,69 @@ | ||
1 | +# | |
2 | +# Generated Makefile - do not edit! | |
3 | +# | |
4 | +# Edit the Makefile in the project folder instead (../Makefile). Each target | |
5 | +# has a pre- and a post- target defined where you can add customization code. | |
6 | +# | |
7 | +# This makefile implements macros and targets common to all configurations. | |
8 | +# | |
9 | +# NOCDDL | |
10 | + | |
11 | + | |
12 | +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB | |
13 | +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro | |
14 | +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf | |
15 | +# and .clean-reqprojects-conf unless SUB has the value 'no' | |
16 | +SUB_no=NO | |
17 | +SUBPROJECTS=${SUB_${SUB}} | |
18 | +BUILD_SUBPROJECTS_=.build-subprojects | |
19 | +BUILD_SUBPROJECTS_NO= | |
20 | +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} | |
21 | +CLEAN_SUBPROJECTS_=.clean-subprojects | |
22 | +CLEAN_SUBPROJECTS_NO= | |
23 | +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} | |
24 | + | |
25 | + | |
26 | +# Project Name | |
27 | +PROJECTNAME=clib.X | |
28 | + | |
29 | +# Active Configuration | |
30 | +DEFAULTCONF=default | |
31 | +CONF=${DEFAULTCONF} | |
32 | + | |
33 | +# All Configurations | |
34 | +ALLCONFS=default | |
35 | + | |
36 | + | |
37 | +# build | |
38 | +.build-impl: .build-pre | |
39 | + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf | |
40 | + | |
41 | + | |
42 | +# clean | |
43 | +.clean-impl: .clean-pre | |
44 | + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf | |
45 | + | |
46 | +# clobber | |
47 | +.clobber-impl: .clobber-pre .depcheck-impl | |
48 | + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean | |
49 | + | |
50 | + | |
51 | + | |
52 | +# all | |
53 | +.all-impl: .all-pre .depcheck-impl | |
54 | + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build | |
55 | + | |
56 | + | |
57 | + | |
58 | +# dependency checking support | |
59 | +.depcheck-impl: | |
60 | +# @echo "# This code depends on make tool being used" >.dep.inc | |
61 | +# @if [ -n "${MAKE_VERSION}" ]; then \ | |
62 | +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ | |
63 | +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ | |
64 | +# echo "include \$${DEPFILES}" >>.dep.inc; \ | |
65 | +# echo "endif" >>.dep.inc; \ | |
66 | +# else \ | |
67 | +# echo ".KEEP_STATE:" >>.dep.inc; \ | |
68 | +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ | |
69 | +# fi |
@@ -0,0 +1,37 @@ | ||
1 | +# | |
2 | +# Generated Makefile - do not edit! | |
3 | +# | |
4 | +# | |
5 | +# This file contains information about the location of compilers and other tools. | |
6 | +# If you commmit this file into your revision control server, you will be able to | |
7 | +# to checkout the project and build it from the command line with make. However, | |
8 | +# if more than one person works on the same project, then this file might show | |
9 | +# conflicts since different users are bound to have compilers in different places. | |
10 | +# In that case you might choose to not commit this file and let MPLAB X recreate this file | |
11 | +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at | |
12 | +# least once so the file gets created and the project can be built. Finally, you can also | |
13 | +# avoid using this file at all if you are only building from the command line with make. | |
14 | +# You can invoke make with the values of the macros: | |
15 | +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... | |
16 | +# | |
17 | +SHELL=cmd.exe | |
18 | +PATH_TO_IDE_BIN=C:/Program Files/Microchip/MPLABX/v4.00/mplab_ide/platform/../mplab_ide/modules/../../bin/ | |
19 | +# Adding MPLAB X bin directory to path. | |
20 | +PATH:=C:/Program Files/Microchip/MPLABX/v4.00/mplab_ide/platform/../mplab_ide/modules/../../bin/:$(PATH) | |
21 | +# Path to java used to run MPLAB X when this makefile was created | |
22 | +MP_JAVA_PATH="C:\Program Files\Microchip\MPLABX\v4.00\sys\java\jre1.8.0_141/bin/" | |
23 | +OS_CURRENT="$(shell uname -s)" | |
24 | +MP_CC="C:\Program Files\Microchip\xc32\v1.42\bin\xc32-gcc.exe" | |
25 | +MP_CPPC="C:\Program Files\Microchip\xc32\v1.42\bin\xc32-g++.exe" | |
26 | +# MP_BC is not defined | |
27 | +MP_AS="C:\Program Files\Microchip\xc32\v1.42\bin\xc32-as.exe" | |
28 | +MP_LD="C:\Program Files\Microchip\xc32\v1.42\bin\xc32-ld.exe" | |
29 | +MP_AR="C:\Program Files\Microchip\xc32\v1.42\bin\xc32-ar.exe" | |
30 | +DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files/Microchip/MPLABX/v4.00/mplab_ide/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" | |
31 | +MP_CC_DIR="C:\Program Files\Microchip\xc32\v1.42\bin" | |
32 | +MP_CPPC_DIR="C:\Program Files\Microchip\xc32\v1.42\bin" | |
33 | +# MP_BC_DIR is not defined | |
34 | +MP_AS_DIR="C:\Program Files\Microchip\xc32\v1.42\bin" | |
35 | +MP_LD_DIR="C:\Program Files\Microchip\xc32\v1.42\bin" | |
36 | +MP_AR_DIR="C:\Program Files\Microchip\xc32\v1.42\bin" | |
37 | +# MP_BC_DIR is not defined |
@@ -0,0 +1,13 @@ | ||
1 | +# | |
2 | +# Generated - do not edit! | |
3 | +# | |
4 | +# NOCDDL | |
5 | +# | |
6 | +CND_BASEDIR=`pwd` | |
7 | +# default configuration | |
8 | +CND_ARTIFACT_DIR_default=dist/default/production | |
9 | +CND_ARTIFACT_NAME_default=clib.X.production.hex | |
10 | +CND_ARTIFACT_PATH_default=dist/default/production/clib.X.production.hex | |
11 | +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package | |
12 | +CND_PACKAGE_NAME_default=clib.x.tar | |
13 | +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/clib.x.tar |
@@ -0,0 +1,73 @@ | ||
1 | +#!/bin/bash -x | |
2 | + | |
3 | +# | |
4 | +# Generated - do not edit! | |
5 | +# | |
6 | + | |
7 | +# Macros | |
8 | +TOP=`pwd` | |
9 | +CND_CONF=default | |
10 | +CND_DISTDIR=dist | |
11 | +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging | |
12 | +TMPDIRNAME=tmp-packaging | |
13 | +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | |
14 | +OUTPUT_BASENAME=clib.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | |
15 | +PACKAGE_TOP_DIR=clib.x/ | |
16 | + | |
17 | +# Functions | |
18 | +function checkReturnCode | |
19 | +{ | |
20 | + rc=$? | |
21 | + if [ $rc != 0 ] | |
22 | + then | |
23 | + exit $rc | |
24 | + fi | |
25 | +} | |
26 | +function makeDirectory | |
27 | +# $1 directory path | |
28 | +# $2 permission (optional) | |
29 | +{ | |
30 | + mkdir -p "$1" | |
31 | + checkReturnCode | |
32 | + if [ "$2" != "" ] | |
33 | + then | |
34 | + chmod $2 "$1" | |
35 | + checkReturnCode | |
36 | + fi | |
37 | +} | |
38 | +function copyFileToTmpDir | |
39 | +# $1 from-file path | |
40 | +# $2 to-file path | |
41 | +# $3 permission | |
42 | +{ | |
43 | + cp "$1" "$2" | |
44 | + checkReturnCode | |
45 | + if [ "$3" != "" ] | |
46 | + then | |
47 | + chmod $3 "$2" | |
48 | + checkReturnCode | |
49 | + fi | |
50 | +} | |
51 | + | |
52 | +# Setup | |
53 | +cd "${TOP}" | |
54 | +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package | |
55 | +rm -rf ${TMPDIR} | |
56 | +mkdir -p ${TMPDIR} | |
57 | + | |
58 | +# Copy files and create directories and links | |
59 | +cd "${TOP}" | |
60 | +makeDirectory ${TMPDIR}/clib.x/bin | |
61 | +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 | |
62 | + | |
63 | + | |
64 | +# Generate tar file | |
65 | +cd "${TOP}" | |
66 | +rm -f ${CND_DISTDIR}/${CND_CONF}/package/clib.x.tar | |
67 | +cd ${TMPDIR} | |
68 | +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/clib.x.tar * | |
69 | +checkReturnCode | |
70 | + | |
71 | +# Cleanup | |
72 | +cd "${TOP}" | |
73 | +rm -rf ${TMPDIR} |
@@ -0,0 +1,563 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<configurationDescriptor version="62"> | |
3 | + <logicalFolder name="root" displayName="root" projectFiles="true"> | |
4 | + <logicalFolder name="HeaderFiles" | |
5 | + displayName="Header Files" | |
6 | + projectFiles="true"> | |
7 | + <itemPath>clib.h</itemPath> | |
8 | + </logicalFolder> | |
9 | + <logicalFolder name="LinkerScript" | |
10 | + displayName="Linker Files" | |
11 | + projectFiles="true"> | |
12 | + <itemPath>clib_p32MX370F512H.ld</itemPath> | |
13 | + </logicalFolder> | |
14 | + <logicalFolder name="SourceFiles" | |
15 | + displayName="Source Files" | |
16 | + projectFiles="true"> | |
17 | + <itemPath>clib.c</itemPath> | |
18 | + <itemPath>example.c</itemPath> | |
19 | + </logicalFolder> | |
20 | + <logicalFolder name="ExternalFiles" | |
21 | + displayName="Important Files" | |
22 | + projectFiles="false"> | |
23 | + <itemPath>Makefile</itemPath> | |
24 | + </logicalFolder> | |
25 | + </logicalFolder> | |
26 | + <sourceRootList> | |
27 | + <Elem>.</Elem> | |
28 | + </sourceRootList> | |
29 | + <projectmakefile>Makefile</projectmakefile> | |
30 | + <confs> | |
31 | + <conf name="default" type="2"> | |
32 | + <toolsSet> | |
33 | + <developmentServer>localhost</developmentServer> | |
34 | + <targetDevice>PIC32MX370F512H</targetDevice> | |
35 | + <targetHeader></targetHeader> | |
36 | + <targetPluginBoard></targetPluginBoard> | |
37 | + <platformTool>Simulator</platformTool> | |
38 | + <languageToolchain>XC32</languageToolchain> | |
39 | + <languageToolchainVersion>1.42</languageToolchainVersion> | |
40 | + <platform>3</platform> | |
41 | + </toolsSet> | |
42 | + <compileType> | |
43 | + <linkerTool> | |
44 | + <linkerLibItems> | |
45 | + </linkerLibItems> | |
46 | + </linkerTool> | |
47 | + <archiverTool> | |
48 | + </archiverTool> | |
49 | + <loading> | |
50 | + <useAlternateLoadableFile>false</useAlternateLoadableFile> | |
51 | + <parseOnProdLoad>false</parseOnProdLoad> | |
52 | + <alternateLoadableFile></alternateLoadableFile> | |
53 | + </loading> | |
54 | + <subordinates> | |
55 | + </subordinates> | |
56 | + </compileType> | |
57 | + <makeCustomizationType> | |
58 | + <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled> | |
59 | + <makeCustomizationPreStep></makeCustomizationPreStep> | |
60 | + <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled> | |
61 | + <makeCustomizationPostStep></makeCustomizationPostStep> | |
62 | + <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID> | |
63 | + <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines> | |
64 | + <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile> | |
65 | + </makeCustomizationType> | |
66 | + <C32> | |
67 | + <property key="additional-warnings" value="false"/> | |
68 | + <property key="addresss-attribute-use" value="false"/> | |
69 | + <property key="enable-app-io" value="false"/> | |
70 | + <property key="enable-omit-frame-pointer" value="false"/> | |
71 | + <property key="enable-symbols" value="true"/> | |
72 | + <property key="enable-unroll-loops" value="false"/> | |
73 | + <property key="exclude-floating-point" value="false"/> | |
74 | + <property key="extra-include-directories" value=""/> | |
75 | + <property key="generate-16-bit-code" value="false"/> | |
76 | + <property key="generate-micro-compressed-code" value="false"/> | |
77 | + <property key="isolate-each-function" value="false"/> | |
78 | + <property key="make-warnings-into-errors" value="false"/> | |
79 | + <property key="optimization-level" value="-O1"/> | |
80 | + <property key="place-data-into-section" value="false"/> | |
81 | + <property key="post-instruction-scheduling" value="default"/> | |
82 | + <property key="pre-instruction-scheduling" value="default"/> | |
83 | + <property key="preprocessor-macros" value=""/> | |
84 | + <property key="strict-ansi" value="false"/> | |
85 | + <property key="support-ansi" value="false"/> | |
86 | + <property key="toplevel-reordering" value=""/> | |
87 | + <property key="unaligned-access" value=""/> | |
88 | + <property key="use-cci" value="false"/> | |
89 | + <property key="use-iar" value="false"/> | |
90 | + <property key="use-indirect-calls" value="false"/> | |
91 | + <appendMe value="-mgen-pie-static"/> | |
92 | + </C32> | |
93 | + <C32-AR> | |
94 | + <property key="additional-options-chop-files" value="false"/> | |
95 | + </C32-AR> | |
96 | + <C32-AS> | |
97 | + <property key="assembler-symbols" value=""/> | |
98 | + <property key="enable-symbols" value="true"/> | |
99 | + <property key="exclude-floating-point-library" value="true"/> | |
100 | + <property key="expand-macros" value="false"/> | |
101 | + <property key="extra-include-directories-for-assembler" value=""/> | |
102 | + <property key="extra-include-directories-for-preprocessor" value=""/> | |
103 | + <property key="false-conditionals" value="false"/> | |
104 | + <property key="generate-16-bit-code" value="false"/> | |
105 | + <property key="generate-micro-compressed-code" value="false"/> | |
106 | + <property key="keep-locals" value="false"/> | |
107 | + <property key="list-assembly" value="false"/> | |
108 | + <property key="list-source" value="false"/> | |
109 | + <property key="list-symbols" value="false"/> | |
110 | + <property key="oXC32asm-list-to-file" value="false"/> | |
111 | + <property key="omit-debug-dirs" value="false"/> | |
112 | + <property key="omit-forms" value="false"/> | |
113 | + <property key="preprocessor-macros" value=""/> | |
114 | + <property key="warning-level" value=""/> | |
115 | + </C32-AS> | |
116 | + <C32-LD> | |
117 | + <property key="additional-options-use-response-files" value="false"/> | |
118 | + <property key="allocate-dinit" value="false"/> | |
119 | + <property key="code-dinit" value="false"/> | |
120 | + <property key="ebase-addr" value=""/> | |
121 | + <property key="enable-check-sections" value="false"/> | |
122 | + <property key="exclude-floating-point-library" value="false"/> | |
123 | + <property key="exclude-standard-libraries" value="true"/> | |
124 | + <property key="extra-lib-directories" value=""/> | |
125 | + <property key="fill-flash-options-addr" value=""/> | |
126 | + <property key="fill-flash-options-const" value=""/> | |
127 | + <property key="fill-flash-options-how" value="0"/> | |
128 | + <property key="fill-flash-options-inc-const" value="1"/> | |
129 | + <property key="fill-flash-options-increment" value=""/> | |
130 | + <property key="fill-flash-options-seq" value=""/> | |
131 | + <property key="fill-flash-options-what" value="0"/> | |
132 | + <property key="generate-16-bit-code" value="false"/> | |
133 | + <property key="generate-cross-reference-file" value="false"/> | |
134 | + <property key="generate-micro-compressed-code" value="false"/> | |
135 | + <property key="heap-size" value=""/> | |
136 | + <property key="input-libraries" value=""/> | |
137 | + <property key="kseg-length" value=""/> | |
138 | + <property key="kseg-origin" value=""/> | |
139 | + <property key="linker-symbols" value=""/> | |
140 | + <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/> | |
141 | + <property key="no-startup-files" value="false"/> | |
142 | + <property key="oXC32ld-extra-opts" value=""/> | |
143 | + <property key="optimization-level" value=""/> | |
144 | + <property key="preprocessor-macros" value=""/> | |
145 | + <property key="remove-unused-sections" value="true"/> | |
146 | + <property key="report-memory-usage" value="false"/> | |
147 | + <property key="serial-length" value=""/> | |
148 | + <property key="serial-origin" value=""/> | |
149 | + <property key="stack-size" value=""/> | |
150 | + <property key="symbol-stripping" value=""/> | |
151 | + <property key="trace-symbols" value=""/> | |
152 | + <property key="warn-section-align" value="false"/> | |
153 | + </C32-LD> | |
154 | + <C32CPP> | |
155 | + <property key="additional-warnings" value="false"/> | |
156 | + <property key="addresss-attribute-use" value="false"/> | |
157 | + <property key="check-new" value="false"/> | |
158 | + <property key="eh-specs" value="true"/> | |
159 | + <property key="enable-app-io" value="false"/> | |
160 | + <property key="enable-omit-frame-pointer" value="false"/> | |
161 | + <property key="enable-symbols" value="true"/> | |
162 | + <property key="enable-unroll-loops" value="false"/> | |
163 | + <property key="exceptions" value="true"/> | |
164 | + <property key="exclude-floating-point" value="false"/> | |
165 | + <property key="extra-include-directories" value=""/> | |
166 | + <property key="generate-16-bit-code" value="false"/> | |
167 | + <property key="generate-micro-compressed-code" value="false"/> | |
168 | + <property key="isolate-each-function" value="false"/> | |
169 | + <property key="make-warnings-into-errors" value="false"/> | |
170 | + <property key="optimization-level" value=""/> | |
171 | + <property key="place-data-into-section" value="false"/> | |
172 | + <property key="post-instruction-scheduling" value="default"/> | |
173 | + <property key="pre-instruction-scheduling" value="default"/> | |
174 | + <property key="preprocessor-macros" value=""/> | |
175 | + <property key="rtti" value="true"/> | |
176 | + <property key="strict-ansi" value="false"/> | |
177 | + <property key="toplevel-reordering" value=""/> | |
178 | + <property key="unaligned-access" value=""/> | |
179 | + <property key="use-cci" value="false"/> | |
180 | + <property key="use-iar" value="false"/> | |
181 | + <property key="use-indirect-calls" value="false"/> | |
182 | + </C32CPP> | |
183 | + <C32Global> | |
184 | + <property key="common-include-directories" value=""/> | |
185 | + <property key="gp-relative-option" value=""/> | |
186 | + <property key="legacy-libc" value="true"/> | |
187 | + <property key="mdtcm" value=""/> | |
188 | + <property key="mitcm" value=""/> | |
189 | + <property key="mstacktcm" value="false"/> | |
190 | + <property key="relaxed-math" value="false"/> | |
191 | + <property key="save-temps" value="false"/> | |
192 | + <property key="wpo-lto" value="false"/> | |
193 | + </C32Global> | |
194 | + <Simulator> | |
195 | + <property key="codecoverage.enabled" value="Disable"/> | |
196 | + <property key="codecoverage.enableoutputtofile" value="false"/> | |
197 | + <property key="codecoverage.outputfile" value=""/> | |
198 | + <property key="oscillator.auxfrequency" value="120"/> | |
199 | + <property key="oscillator.auxfrequencyunit" value="Mega"/> | |
200 | + <property key="oscillator.frequency" value="1"/> | |
201 | + <property key="oscillator.frequencyunit" value="Mega"/> | |
202 | + <property key="oscillator.rcfrequency" value="250"/> | |
203 | + <property key="oscillator.rcfrequencyunit" value="Kilo"/> | |
204 | + <property key="periphADC1.altscl" value="false"/> | |
205 | + <property key="periphADC1.minTacq" value="132"/> | |
206 | + <property key="periphADC1.tacqunits" value="microseconds"/> | |
207 | + <property key="periphADC2.altscl" value="false"/> | |
208 | + <property key="periphADC2.minTacq" value=""/> | |
209 | + <property key="periphADC2.tacqunits" value="microseconds"/> | |
210 | + <property key="periphComp1.gte" value="gt"/> | |
211 | + <property key="periphComp2.gte" value="gt"/> | |
212 | + <property key="periphComp3.gte" value="gt"/> | |
213 | + <property key="periphComp4.gte" value="gt"/> | |
214 | + <property key="periphComp5.gte" value="gt"/> | |
215 | + <property key="periphComp6.gte" value="gt"/> | |
216 | + <property key="reset.scl" value="false"/> | |
217 | + <property key="reset.type" value="MCLR"/> | |
218 | + <property key="tracecontrol.include.timestamp" value="summarydataenabled"/> | |
219 | + <property key="tracecontrol.select" value="0"/> | |
220 | + <property key="tracecontrol.stallontracebufferfull" value="false"/> | |
221 | + <property key="tracecontrol.timestamp" value="0"/> | |
222 | + <property key="tracecontrol.tracebufmax" value="546000"/> | |
223 | + <property key="tracecontrol.tracefile" value="defmplabxtrace.log"/> | |
224 | + <property key="tracecontrol.traceresetonrun" value="false"/> | |
225 | + <property key="uart0io.output" value="window"/> | |
226 | + <property key="uart0io.outputfile" value=""/> | |
227 | + <property key="uart0io.uartioenabled" value="false"/> | |
228 | + <property key="uart10io.output" value="window"/> | |
229 | + <property key="uart10io.outputfile" value=""/> | |
230 | + <property key="uart10io.uartioenabled" value="false"/> | |
231 | + <property key="uart1io.output" value="window"/> | |
232 | + <property key="uart1io.outputfile" value=""/> | |
233 | + <property key="uart1io.uartioenabled" value="false"/> | |
234 | + <property key="uart2io.output" value="window"/> | |
235 | + <property key="uart2io.outputfile" value=""/> | |
236 | + <property key="uart2io.uartioenabled" value="false"/> | |
237 | + <property key="uart3io.output" value="window"/> | |
238 | + <property key="uart3io.outputfile" value=""/> | |
239 | + <property key="uart3io.uartioenabled" value="false"/> | |
240 | + <property key="uart4io.output" value="window"/> | |
241 | + <property key="uart4io.outputfile" value=""/> | |
242 | + <property key="uart4io.uartioenabled" value="false"/> | |
243 | + <property key="uart5io.output" value="window"/> | |
244 | + <property key="uart5io.outputfile" value=""/> | |
245 | + <property key="uart5io.uartioenabled" value="false"/> | |
246 | + <property key="uart6io.output" value="window"/> | |
247 | + <property key="uart6io.outputfile" value=""/> | |
248 | + <property key="uart6io.uartioenabled" value="false"/> | |
249 | + <property key="uart7io.output" value="window"/> | |
250 | + <property key="uart7io.outputfile" value=""/> | |
251 | + <property key="uart7io.uartioenabled" value="false"/> | |
252 | + <property key="uart8io.output" value="window"/> | |
253 | + <property key="uart8io.outputfile" value=""/> | |
254 | + <property key="uart8io.uartioenabled" value="false"/> | |
255 | + <property key="uart9io.output" value="window"/> | |
256 | + <property key="uart9io.outputfile" value=""/> | |
257 | + <property key="uart9io.uartioenabled" value="false"/> | |
258 | + <property key="warningmessagebreakoptions.W0001_CORE_BITREV_MODULO_EN" | |
259 | + value="report"/> | |
260 | + <property key="warningmessagebreakoptions.W0002_CORE_SECURE_MEMORYACCESS" | |
261 | + value="report"/> | |
262 | + <property key="warningmessagebreakoptions.W0003_CORE_SW_RESET" value="report"/> | |
263 | + <property key="warningmessagebreakoptions.W0004_CORE_WDT_RESET" value="report"/> | |
264 | + <property key="warningmessagebreakoptions.W0005_CORE_IOPUW_RESET" | |
265 | + value="report"/> | |
266 | + <property key="warningmessagebreakoptions.W0006_CORE_CODE_GUARD_PFC_RESET" | |
267 | + value="report"/> | |
268 | + <property key="warningmessagebreakoptions.W0007_CORE_DO_LOOP_STACK_UNDERFLOW" | |
269 | + value="report"/> | |
270 | + <property key="warningmessagebreakoptions.W0008_CORE_DO_LOOP_STACK_OVERFLOW" | |
271 | + value="report"/> | |
272 | + <property key="warningmessagebreakoptions.W0009_CORE_NESTED_DO_LOOP_RANGE" | |
273 | + value="report"/> | |
274 | + <property key="warningmessagebreakoptions.W0010_CORE_SIM32_ODD_WORDACCESS" | |
275 | + value="report"/> | |
276 | + <property key="warningmessagebreakoptions.W0011_CORE_SIM32_UNIMPLEMENTED_RAMACCESS" | |
277 | + value="report"/> | |
278 | + <property key="warningmessagebreakoptions.W0012_CORE_STACK_OVERFLOW_RESET" | |
279 | + value="report"/> | |
280 | + <property key="warningmessagebreakoptions.W0013_CORE_STACK_UNDERFLOW_RESET" | |
281 | + value="report"/> | |
282 | + <property key="warningmessagebreakoptions.W0014_CORE_INVALID_OPCODE" | |
283 | + value="report"/> | |
284 | + <property key="warningmessagebreakoptions.W0015_CORE_INVALID_ALT_WREG_SET" | |
285 | + value="report"/> | |
286 | + <property key="warningmessagebreakoptions.W0016_CORE_STACK_ERROR" | |
287 | + value="report"/> | |
288 | + <property key="warningmessagebreakoptions.W0017_CORE_ODD_RAMWORDACCESS" | |
289 | + value="report"/> | |
290 | + <property key="warningmessagebreakoptions.W0018_CORE_UNIMPLEMENTED_RAMACCESS" | |
291 | + value="report"/> | |
292 | + <property key="warningmessagebreakoptions.W0019_CORE_UNIMPLEMENTED_PROMACCESS" | |
293 | + value="report"/> | |
294 | + <property key="warningmessagebreakoptions.W0020_CORE_ACCESS_NOTIN_X_SPACE" | |
295 | + value="report"/> | |
296 | + <property key="warningmessagebreakoptions.W0021_CORE_ACCESS_NOTIN_Y_SPACE" | |
297 | + value="report"/> | |
298 | + <property key="warningmessagebreakoptions.W0022_CORE_XMODEND_LESS_XMODSRT" | |
299 | + value="report"/> | |
300 | + <property key="warningmessagebreakoptions.W0023_CORE_YMODEND_LESS_YMODSRT" | |
301 | + value="report"/> | |
302 | + <property key="warningmessagebreakoptions.W0024_CORE_BITREV_MOD_IS_ZERO" | |
303 | + value="report"/> | |
304 | + <property key="warningmessagebreakoptions.W0025_CORE_HARD_TRAP" value="report"/> | |
305 | + <property key="warningmessagebreakoptions.W0026_CORE_UNIMPLEMENTED_MEMORYACCESS" | |
306 | + value="report"/> | |
307 | + <property key="warningmessagebreakoptions.W0027_CORE_UNIMPLEMENTED_EDSACCESS" | |
308 | + value="report"/> | |
309 | + <property key="warningmessagebreakoptions.W0028_TBLRD_WORM_CONFIG_MEMORY" | |
310 | + value="report"/> | |
311 | + <property key="warningmessagebreakoptions.W0029_TBLRD_DEVICE_ID" value="report"/> | |
312 | + <property key="warningmessagebreakoptions.W0030_CORE_UNIMPLEMENTED_MEMORY_ACCESS" | |
313 | + value="report"/> | |
314 | + <property key="warningmessagebreakoptions.W0031_BSLIM_INSUFFICIENT_BOOT_SEGMENT" | |
315 | + value="report"/> | |
316 | + <property key="warningmessagebreakoptions.W0032_BSLIM_LIMITS_EXCEEDS_PROG_MEMORY" | |
317 | + value="report"/> | |
318 | + <property key="warningmessagebreakoptions.W0033_CORE_UNPREDICTABLE_OPCODE" | |
319 | + value="report"/> | |
320 | + <property key="warningmessagebreakoptions.W0034_CORE_UNALIGNED_MEMORY_ACCESS" | |
321 | + value="report"/> | |
322 | + <property key="warningmessagebreakoptions.W0040_FPU_DIFF_CP10_CP11" | |
323 | + value="report"/> | |
324 | + <property key="warningmessagebreakoptions.W0041_FPU_ACCESS_DENIED" | |
325 | + value="report"/> | |
326 | + <property key="warningmessagebreakoptions.W0042_FPU_PRIVILEGED_ACCESS_ONLY" | |
327 | + value="report"/> | |
328 | + <property key="warningmessagebreakoptions.W0043_FPU_CP_RESERVED_VALUE" | |
329 | + value="report"/> | |
330 | + <property key="warningmessagebreakoptions.W0044_FPU_OUT_OF_RANGE" | |
331 | + value="report"/> | |
332 | + <property key="warningmessagebreakoptions.W0051_INSTRUCTION_DIV_NOT_ENOUGH_REPEAT" | |
333 | + value="report"/> | |
334 | + <property key="warningmessagebreakoptions.W0052_INSTRUCTION_DIV_TOO_MANY_REPEAT" | |
335 | + value="report"/> | |
336 | + <property key="warningmessagebreakoptions.W0101_SIM_UPDATE_FAILED" | |
337 | + value="report"/> | |
338 | + <property key="warningmessagebreakoptions.W0102_SIM_PERIPH_MISSING" | |
339 | + value="report"/> | |
340 | + <property key="warningmessagebreakoptions.W0103_SIM_PERIPH_FAILED" | |
341 | + value="report"/> | |
342 | + <property key="warningmessagebreakoptions.W0104_SIM_FAILED_TO_INIT_TOOL" | |
343 | + value="report"/> | |
344 | + <property key="warningmessagebreakoptions.W0105_SIM_INVALID_FIELD" | |
345 | + value="report"/> | |
346 | + <property key="warningmessagebreakoptions.W0106_SIM_PERIPH_PARTIAL_SUPPORT" | |
347 | + value="report"/> | |
348 | + <property key="warningmessagebreakoptions.W0107_SIM_NOT_SUPPORTED" | |
349 | + value="report"/> | |
350 | + <property key="warningmessagebreakoptions.W0108_SIM_RESERVED_SETTING" | |
351 | + value="report"/> | |
352 | + <property key="warningmessagebreakoptions.W0109_SIM_PERIPHERAL_IN_DEVELOPMENT" | |
353 | + value="report"/> | |
354 | + <property key="warningmessagebreakoptions.W0110_SIM_UNEXPECTED_EVENT" | |
355 | + value="report"/> | |
356 | + <property key="warningmessagebreakoptions.W0111_SIM_UNSUPPORTED_SELECTION" | |
357 | + value="report"/> | |
358 | + <property key="warningmessagebreakoptions.W0201_ADC_NO_STIMULUS_FILE" | |
359 | + value="report"/> | |
360 | + <property key="warningmessagebreakoptions.W0202_ADC_GO_DONE_BIT" value="report"/> | |
361 | + <property key="warningmessagebreakoptions.W0203_ADC_MINIMUM_2_TAD" | |
362 | + value="report"/> | |
363 | + <property key="warningmessagebreakoptions.W0204_ADC_TAD_TOO_SMALL" | |
364 | + value="report"/> | |
365 | + <property key="warningmessagebreakoptions.W0205_ADC_UNEXPECTED_TRANSITION" | |
366 | + value="report"/> | |
367 | + <property key="warningmessagebreakoptions.W0206_ADC_SAMP_TIME_TOO_SHORT" | |
368 | + value="report"/> | |
369 | + <property key="warningmessagebreakoptions.W0207_ADC_NO_PINS_SCANNED" | |
370 | + value="report"/> | |
371 | + <property key="warningmessagebreakoptions.W0208_ADC_UNSUPPORTED_CLOCK_SOURCE" | |
372 | + value="report"/> | |
373 | + <property key="warningmessagebreakoptions.W0209_ADC_ANALOG_CHANNEL_DIGITAL" | |
374 | + value="report"/> | |
375 | + <property key="warningmessagebreakoptions.W0210_ADC_ANALOG_CHANNEL_OUTPUT" | |
376 | + value="report"/> | |
377 | + <property key="warningmessagebreakoptions.W0211_ADC_PIN_INVALID_CHANNEL" | |
378 | + value="report"/> | |
379 | + <property key="warningmessagebreakoptions.W0212_ADC_BAND_GAP_NOT_SUPPORTED" | |
380 | + value="report"/> | |
381 | + <property key="warningmessagebreakoptions.W0213_ADC_RESERVED_SSRC" | |
382 | + value="report"/> | |
383 | + <property key="warningmessagebreakoptions.W0214_ADC_POSITIVE_INPUT_DIGITAL" | |
384 | + value="report"/> | |
385 | + <property key="warningmessagebreakoptions.W0215_ADC_POSITIVE_INPUT_OUTPUT" | |
386 | + value="report"/> | |
387 | + <property key="warningmessagebreakoptions.W0216_ADC_NEGATIVE_INPUT_DIGITAL" | |
388 | + value="report"/> | |
389 | + <property key="warningmessagebreakoptions.W0217_ADC_NEGATIVE_INPUT_OUTPUT" | |
390 | + value="report"/> | |
391 | + <property key="warningmessagebreakoptions.W0218_ADC_REFERENCE_HIGH_DIGITAL" | |
392 | + value="report"/> | |
393 | + <property key="warningmessagebreakoptions.W0219_ADC_REFERENCE_HIGH_OUTPUT" | |
394 | + value="report"/> | |
395 | + <property key="warningmessagebreakoptions.W0220_ADC_REFERENCE_LOW_DIGITAL" | |
396 | + value="report"/> | |
397 | + <property key="warningmessagebreakoptions.W0221_ADC_REFERENCE_LOW_OUTPUT" | |
398 | + value="report"/> | |
399 | + <property key="warningmessagebreakoptions.W0222_ADC_OVERFLOW" value="report"/> | |
400 | + <property key="warningmessagebreakoptions.W0223_ADC_UNDERFLOW" value="report"/> | |
401 | + <property key="warningmessagebreakoptions.W0224_ADC_CTMU_NOT_SUPPORTED" | |
402 | + value="report"/> | |
403 | + <property key="warningmessagebreakoptions.W0225_ADC_INVALID_CH0S" | |
404 | + value="report"/> | |
405 | + <property key="warningmessagebreakoptions.W0226_ADC_VBAT_NOT_SUPPORTED" | |
406 | + value="report"/> | |
407 | + <property key="warningmessagebreakoptions.W0227_ADC_INVALID_ADCS" | |
408 | + value="report"/> | |
409 | + <property key="warningmessagebreakoptions.W0228_ADC_INVALID_ADCS" | |
410 | + value="report"/> | |
411 | + <property key="warningmessagebreakoptions.W0229_ADC_INVALID_ADCS" | |
412 | + value="report"/> | |
413 | + <property key="warningmessagebreakoptions.W0230_ADC_TRIGSEL_NOT_SUPPORTED" | |
414 | + value="report"/> | |
415 | + <property key="warningmessagebreakoptions.W0231_ADC_NOT_WARMED" value="report"/> | |
416 | + <property key="warningmessagebreakoptions.W0232_ADC_CALIBRATION_ABORTED" | |
417 | + value="report"/> | |
418 | + <property key="warningmessagebreakoptions.W0233_ADC_CORE_POWERED_EARLY" | |
419 | + value="report"/> | |
420 | + <property key="warningmessagebreakoptions.W0234_ADC_ALREADY_CALIBRATING" | |
421 | + value="report"/> | |
422 | + <property key="warningmessagebreakoptions.W0235_ADC_CAL_TYPE_CHANGED" | |
423 | + value="report"/> | |
424 | + <property key="warningmessagebreakoptions.W0236_ADC_CAL_INVALIDATED" | |
425 | + value="report"/> | |
426 | + <property key="warningmessagebreakoptions.W0237_ADC_UNKNOWN_DATASHEET" | |
427 | + value="report"/> | |
428 | + <property key="warningmessagebreakoptions.W0238_ADC_INVALID_SFR_FIELD_VALUE" | |
429 | + value="report"/> | |
430 | + <property key="warningmessagebreakoptions.W0239_ADC_UNSUPPORTED_INPUT" | |
431 | + value="report"/> | |
432 | + <property key="warningmessagebreakoptions.W0240_ADC_NOT_CALIBRATED" | |
433 | + value="report"/> | |
434 | + <property key="warningmessagebreakoptions.W0241_ADC_FRACTIONAL_NOT_ALLOWED" | |
435 | + value="report"/> | |
436 | + <property key="warningmessagebreakoptions.W0242_ADC_BG_INT_BEFORE_PWR" | |
437 | + value="report"/> | |
438 | + <property key="warningmessagebreakoptions.W0243_ADC_INVALID_TAD" value="report"/> | |
439 | + <property key="warningmessagebreakoptions.W0244_ADC_CONVERSION_ABORTED" | |
440 | + value="report"/> | |
441 | + <property key="warningmessagebreakoptions.W0400_PWM_PWM_FASTER_THAN_FOSC" | |
442 | + value="report"/> | |
443 | + <property key="warningmessagebreakoptions.W0700_CLC_GENERAL_WARNING" | |
444 | + value="report"/> | |
445 | + <property key="warningmessagebreakoptions.W0701_CLC_CLCOUT_AS_INPUT" | |
446 | + value="report"/> | |
447 | + <property key="warningmessagebreakoptions.W0702_CLC_CIRCULAR_LOOP" | |
448 | + value="report"/> | |
449 | + <property key="warningmessagebreakoptions.W10001_RESERVED_IRQ_HANDLER_INVOKED" | |
450 | + value="report"/> | |
451 | + <property key="warningmessagebreakoptions.W10002_UNSUPPORTED_CLK_SOURCE" | |
452 | + value="report"/> | |
453 | + <property key="warningmessagebreakoptions.W10101_UNSUPPORTED_CHANNEL_MODE" | |
454 | + value="report"/> | |
455 | + <property key="warningmessagebreakoptions.W10102_UNSUPPORTED_CLK_SOURCE" | |
456 | + value="report"/> | |
457 | + <property key="warningmessagebreakoptions.W10103_UNSUPPORTED_RECEIVER_FILTER" | |
458 | + value="report"/> | |
459 | + <property key="warningmessagebreakoptions.W1201_DATAFLASH_MEM_OUTSIDE_RANGE" | |
460 | + value="report"/> | |
461 | + <property key="warningmessagebreakoptions.W1202_DATAFLASH_ERASE_WHILE_LOCKED" | |
462 | + value="report"/> | |
463 | + <property key="warningmessagebreakoptions.W1203_DATAFLASH_WRITE_WHILE_LOCKED" | |
464 | + value="report"/> | |
465 | + <property key="warningmessagebreakoptions.W1401_DMA_PERIPH_NOT_AVAIL" | |
466 | + value="report"/> | |
467 | + <property key="warningmessagebreakoptions.W1402_DMA_INVALID_IRQ" value="report"/> | |
468 | + <property key="warningmessagebreakoptions.W1403_DMA_INVALID_SFR" value="report"/> | |
469 | + <property key="warningmessagebreakoptions.W1404_DMA_INVALID_DMA_ADDR" | |
470 | + value="report"/> | |
471 | + <property key="warningmessagebreakoptions.W1405_DMA_IRQ_DIR_MISMATCH" | |
472 | + value="report"/> | |
473 | + <property key="warningmessagebreakoptions.W1600_PPS_INVALID_MAP" value="report"/> | |
474 | + <property key="warningmessagebreakoptions.W1601_PPS_INVALID_PIN_DESCRIPTION" | |
475 | + value="report"/> | |
476 | + <property key="warningmessagebreakoptions.W1800_PWM_TIMER_SELECTION_NOT_AVIALABLE" | |
477 | + value="report"/> | |
478 | + <property key="warningmessagebreakoptions.W1801_PWM_TIMER_SELECTION_BAD_CLOCK_INPUT" | |
479 | + value="report"/> | |
480 | + <property key="warningmessagebreakoptions.W1802_PWM_TIMER_MISSING_PERSCALER_INFO" | |
481 | + value="report"/> | |
482 | + <property key="warningmessagebreakoptions.W2001_INPUTCAPTURE_TMR3_UNAVAILABLE" | |
483 | + value="report"/> | |
484 | + <property key="warningmessagebreakoptions.W2002_INPUTCAPTURE_CAPTURE_EMPTY" | |
485 | + value="report"/> | |
486 | + <property key="warningmessagebreakoptions.W2003_INPUTCAPTURE_SYNCSEL_NOT_AVIALABLE" | |
487 | + value="report"/> | |
488 | + <property key="warningmessagebreakoptions.W2004_INPUTCAPTURE_BAD_SYNC_SOURCE" | |
489 | + value="report"/> | |
490 | + <property key="warningmessagebreakoptions.W2501_OUTPUTCOMPARE_SYNCSEL_NOT_AVIALABLE" | |
491 | + value="report"/> | |
492 | + <property key="warningmessagebreakoptions.W2502_OUTPUTCOMPARE_BAD_SYNC_SOURCE" | |
493 | + value="report"/> | |
494 | + <property key="warningmessagebreakoptions.W2503_OUTPUTCOMPARE_BAD_TRIGGER_SOURCE" | |
495 | + value="report"/> | |
496 | + <property key="warningmessagebreakoptions.W2700_MPU_ILLEGAL_DREGION" | |
497 | + value="report"/> | |
498 | + <property key="warningmessagebreakoptions.W2701_MPU_INVALID_REGION" | |
499 | + value="report"/> | |
500 | + <property key="warningmessagebreakoptions.W7001_SMT_CLK_SELECTION_NOT_SUPPORT" | |
501 | + value="report"/> | |
502 | + <property key="warningmessagebreakoptions.W7002_SMT_SIG_SELECTION_NOT_SUPPORT" | |
503 | + value="report"/> | |
504 | + <property key="warningmessagebreakoptions.W7003_SMT_WIN_SELECTION_NOT_SUPPORT" | |
505 | + value="report"/> | |
506 | + <property key="warningmessagebreakoptions.W8001_OSC_INVALID_CLOCK_SOURCE" | |
507 | + value="report"/> | |
508 | + <property key="warningmessagebreakoptions.W9001_TMR_GATE_AND_EXTCLOCK_ENABLED" | |
509 | + value="report"/> | |
510 | + <property key="warningmessagebreakoptions.W9002_TMR_NO_PIN_AVAILABLE" | |
511 | + value="report"/> | |
512 | + <property key="warningmessagebreakoptions.W9003_TMR_INVALID_CLOCK_SOURCE" | |
513 | + value="report"/> | |
514 | + <property key="warningmessagebreakoptions.W9201_UART_TX_OVERFLOW" | |
515 | + value="report"/> | |
516 | + <property key="warningmessagebreakoptions.W9202_UART_TX_CAPTUREFILE" | |
517 | + value="report"/> | |
518 | + <property key="warningmessagebreakoptions.W9203_UART_TX_INVALIDINTERRUPTMODE" | |
519 | + value="report"/> | |
520 | + <property key="warningmessagebreakoptions.W9204_UART_RX_EMPTY_QUEUE" | |
521 | + value="report"/> | |
522 | + <property key="warningmessagebreakoptions.W9205_UART_TX_BADFILE" value="report"/> | |
523 | + <property key="warningmessagebreakoptions.W9401_CVREF_INVALIDSOURCESELECTION" | |
524 | + value="report"/> | |
525 | + <property key="warningmessagebreakoptions.W9402_CVREF_INPUT_OUTPUTPINCONFLICT" | |
526 | + value="report"/> | |
527 | + <property key="warningmessagebreakoptions.W9601_COMP_FVR_SOURCE_UNAVAILABLE" | |
528 | + value="report"/> | |
529 | + <property key="warningmessagebreakoptions.W9602_COMP_DAC_SOURCE_UNAVAILABLE" | |
530 | + value="report"/> | |
531 | + <property key="warningmessagebreakoptions.W9603_COMP_CVREF_SOURCE_UNAVAILABLE" | |
532 | + value="report"/> | |
533 | + <property key="warningmessagebreakoptions.W9604_COMP_SLOPE_SOURCE_UNAVAILABLE" | |
534 | + value="report"/> | |
535 | + <property key="warningmessagebreakoptions.W9605_COMP_PRG_SOURCE_UNAVAILABLE" | |
536 | + value="report"/> | |
537 | + <property key="warningmessagebreakoptions.W9607_COMP_DGTL_FLTR_OPTION_UNAVAILABLE" | |
538 | + value="report"/> | |
539 | + <property key="warningmessagebreakoptions.W9609_COMP_DGTL_FLTR_CLK_UNAVAILABLE" | |
540 | + value="report"/> | |
541 | + <property key="warningmessagebreakoptions.W9801_FVR_INVALID_MODE_SELECTION" | |
542 | + value="report"/> | |
543 | + <property key="warningmessagebreakoptions.W9801_SCL_BAD_SUBTYPE_INDICATION" | |
544 | + value="report"/> | |
545 | + <property key="warningmessagebreakoptions.W9802_SCL_FILE_NOT_FOUND" | |
546 | + value="report"/> | |
547 | + <property key="warningmessagebreakoptions.W9803_SCL_FAILED_TO_READ_FILE" | |
548 | + value="report"/> | |
549 | + <property key="warningmessagebreakoptions.W9804_SCL_UNRECOGNIZED_LABEL" | |
550 | + value="report"/> | |
551 | + <property key="warningmessagebreakoptions.W9805_SCL_UNRECOGNIZED_VAR" | |
552 | + value="report"/> | |
553 | + <property key="warningmessagebreakoptions.W9901_RTSP_INVALID_OPERATION_SELECTION" | |
554 | + value="report"/> | |
555 | + <property key="warningmessagebreakoptions.W9902_RTSP_FLASH_PROGRAM_WRITE_PROTECTED" | |
556 | + value="report"/> | |
557 | + <property key="warningmessagebreakoptions.displaywarningmessagesoption" | |
558 | + value=""/> | |
559 | + <property key="warningmessagebreakoptions.warningmessages" value="holdstate"/> | |
560 | + </Simulator> | |
561 | + </conf> | |
562 | + </confs> | |
563 | +</configurationDescriptor> |
@@ -0,0 +1,25 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<configurationDescriptor version="62"> | |
3 | + <projectmakefile>Makefile</projectmakefile> | |
4 | + <defaultConf>0</defaultConf> | |
5 | + <confs> | |
6 | + <conf name="default" type="2"> | |
7 | + <platformToolSN></platformToolSN> | |
8 | + <languageToolchainDir>C:\Program Files\Microchip\xc32\v1.42\bin</languageToolchainDir> | |
9 | + <mdbdebugger version="1"> | |
10 | + <placeholder1>place holder 1</placeholder1> | |
11 | + <placeholder2>place holder 2</placeholder2> | |
12 | + </mdbdebugger> | |
13 | + <runprofile version="6"> | |
14 | + <args></args> | |
15 | + <rundir></rundir> | |
16 | + <buildfirst>true</buildfirst> | |
17 | + <console-type>0</console-type> | |
18 | + <terminal-type>0</terminal-type> | |
19 | + <remove-instrumentation>0</remove-instrumentation> | |
20 | + <environment> | |
21 | + </environment> | |
22 | + </runprofile> | |
23 | + </conf> | |
24 | + </confs> | |
25 | +</configurationDescriptor> |
@@ -0,0 +1,11 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project-private xmlns="http://www.netbeans.org/ns/project-private/1"> | |
3 | + <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/> | |
4 | + <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2"> | |
5 | + <group> | |
6 | + <file>file:/C:/Users/kmorimatsu/Documents/At%20Home/PIC/PIC32/PIC32MX370F512H/clib/clib.X/clib.h</file> | |
7 | + <file>file:/C:/Users/kmorimatsu/Documents/At%20Home/PIC/PIC32/PIC32MX370F512H/clib/clib.X/clib.c</file> | |
8 | + <file>file:/C:/Users/kmorimatsu/Documents/At%20Home/PIC/PIC32/PIC32MX370F512H/clib/clib.X/example.c</file> | |
9 | + </group> | |
10 | + </open-files> | |
11 | +</project-private> |
@@ -0,0 +1,17 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project xmlns="http://www.netbeans.org/ns/project/1"> | |
3 | + <type>com.microchip.mplab.nbide.embedded.makeproject</type> | |
4 | + <configuration> | |
5 | + <data xmlns="http://www.netbeans.org/ns/make-project/1"> | |
6 | + <name>clib</name> | |
7 | + <creation-uuid>5dc20639-f4e3-4e70-ab20-fe89e23bea41</creation-uuid> | |
8 | + <make-project-type>0</make-project-type> | |
9 | + <c-extensions>c</c-extensions> | |
10 | + <cpp-extensions/> | |
11 | + <header-extensions>h</header-extensions> | |
12 | + <asminc-extensions/> | |
13 | + <sourceEncoding>Shift_JIS</sourceEncoding> | |
14 | + <make-dep-projects/> | |
15 | + </data> | |
16 | + </configuration> | |
17 | +</project> |