Skip to content

Commit

Permalink
Removed macro definition option
Browse files Browse the repository at this point in the history
  • Loading branch information
laczik committed Jan 12, 2015
1 parent c79e840 commit 20393d4
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 21 deletions.
4 changes: 2 additions & 2 deletions build/classes/org/laczik/toolchainSDCC/Bundle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OpenIDE-Module-Display-Category=Tools
OpenIDE-Module-Long-Description=\
The SDCC compiler automatically calls GPUtils tools gpasm and gplink. \
In order to be full functional both tools need to be installed.\n\
The SDCC compiler automatically calls the GPUtils tools gpasm and gplink. \
For it to be fully functional both tools need to be installed.\n\
Remember to allow them to set up the path.
OpenIDE-Module-Name=SDCC Toolchain
OpenIDE-Module-Short-Description=SDCC compiler
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
<mp:textEmitter mp:text="${RM} ${CURRENT_OBJECT_FILE} ${NEWLINE}"/>
<!-- this is the beginning of the compiler line -->
<mp:textEmitter mp:text="${MP_CC} "/>
<mp:textEmitter mp:text="--debug-ralloc "/>
<mp:optionEmitter mp:idref="sdcc" mp:separator=" "/>
<mp:textEmitter mp:text=" -c"/>
<mp:textEmitter mp:text=" -m${PROCESSOR_FAMILY}"/>
Expand Down Expand Up @@ -432,7 +431,7 @@ sed 's#.*# <mp:device mp:name="\0" mp:support="beta"/>#'
<!-- list below generated by
sdcc -v
{ sdcc -mpic16 -phelp dummy.c 2>&1; } | \
sed -n '1,/^Valid devices are (use --verbose for more details)/d; p' | \
sed -n '1,/^Valid devices are/d; p' | \
sed ':a; s/ / /g; ta' | \
sed 's/ $//' | \
sed ':a; s/ /\n/g; ta' | \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<opt:booleanOption opt:id="no-c-code-in-asm" opt:name="Hide C code from ASM" opt:desc="Hides your ugly and inefficient c-code from the asm file, so you can always blame the compiler :)" opt:trueemission="--no-c-code-in-asm"/>
<opt:booleanOption opt:id="verbose" opt:name="Verbose actions" opt:desc="Shows the various actions the compiler is performing. " opt:trueemission="--verbose"/>
<opt:booleanOption opt:id="V-show-commands-compiler" opt:name="Verbose commands" opt:desc="Shows the actual commands the compiler is executing." opt:trueemission="-V"/>
<opt:stringListOption opt:id="define-macros" opt:name="Define macros" opt:emissionseparator=" -D" opt:emissionprefix="-D" opt:expr="[A-Za-z_][A-Za-z_0-9]*(=.+)?"/>
<!--opt:stringListOption opt:id="define-macros" opt:name="Define macros" opt:emissionseparator=" -D" opt:emissionprefix="-D" opt:expr="[A-Za-z_][A-Za-z_0-9]*(=.+)?"/-->
</opt:optionCategory>

<opt:optionCategory opt:id="pic14" opt:name="PIC14 exclusive options">
Expand All @@ -34,7 +34,7 @@
</opt:optionCategory>

<opt:optionCategory opt:id="pic16" opt:name="PIC16 exclusive options">
<opt:booleanOption opt:id="debug-ralloc" opt:name=" Force register allocator to dump *.d ?les with debugging information." opt:desc="output debugging information" opt:trueemission="--debug-ralloc" opt:booldefault="false"/>
<opt:booleanOption opt:id="debug-ralloc" opt:name="Force register allocator to dump *.d files with debugging information." opt:desc="output debugging information" opt:trueemission="--debug-ralloc" opt:booldefault="false"/>
<opt:enumOption opt:id="pstack-model" opt:name="Stack-size" opt:desc="Defines the stack model to be used." opt:textdefault="" opt:emissionprefix="--pstack-model=" opt:emitswhendefault="false">
<opt:selection opt:text="small" opt:name="Small" opt:desc="Selects small stack model. 8 bit stack and frame pointers. Supports 256 bytes stack size."/>
<opt:selection opt:text="large" opt:name="Large" opt:desc="Selects large stack model. 16 bit stack and frame pointers. Supports 65536 bytes stack size."/>
Expand Down
Binary file modified build/cluster/modules/org-laczik-toolchainSDCC.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions build/cluster/update_tracking/org-laczik-toolchainSDCC.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.laczik.toolchainSDCC/1">
<module_version install_time="1421103463466" last="true" origin="installer" specification_version="1.0.5">
<module_version install_time="1421105982670" last="true" origin="installer" specification_version="1.0.6">
<file crc="1529467185" name="config/Modules/org-laczik-toolchainSDCC.xml"/>
<file crc="56880376" name="modules/org-laczik-toolchainSDCC.jar"/>
<file crc="3190173383" name="modules/org-laczik-toolchainSDCC.jar"/>
</module_version>
</module>
Binary file modified build/org-laczik-toolchainSDCC.nbm
Binary file not shown.
Binary file modified build/public-package-jars/com-microchip-mplab-libs-crownking.jar
Binary file not shown.
Binary file not shown.
Binary file modified build/public-package-jars/com-microchip-mplab-nbide-embedded.jar
Binary file not shown.
Binary file modified build/public-package-jars/org-netbeans-modules-projectapi.jar
Binary file not shown.
Binary file modified build/public-package-jars/org-openide-util.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
OpenIDE-Module: org.laczik.toolchainSDCC/1
OpenIDE-Module-Layer: org/laczik/toolchainSDCC/layer.xml
OpenIDE-Module-Localizing-Bundle: org/laczik/toolchainSDCC/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0.5
OpenIDE-Module-Specification-Version: 1.0.6

6 changes: 0 additions & 6 deletions nbproject/private/private.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?><project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
<file>file:/home/laczik/programming/NetBeansProjects/toolchainSDCC/ToDo</file>
<file>file:/home/laczik/programming/NetBeansProjects/toolchainSDCC/src/org/laczik/toolchainSDCC/sdcc.languageToolchain.xml</file>
<file>file:/home/laczik/programming/NetBeansProjects/toolchainSDCC/src/org/laczik/toolchainSDCC/sdcc.optionLanguage.xml</file>
<file>file:/home/laczik/programming/NetBeansProjects/toolchainSDCC/manifest.mf</file>
</open-files>
</project-private>
4 changes: 2 additions & 2 deletions src/org/laczik/toolchainSDCC/Bundle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OpenIDE-Module-Display-Category=Tools
OpenIDE-Module-Long-Description=\
The SDCC compiler automatically calls GPUtils tools gpasm and gplink. \
In order to be full functional both tools need to be installed.\n\
The SDCC compiler automatically calls the GPUtils tools gpasm and gplink. \
For it to be fully functional both tools need to be installed.\n\
Remember to allow them to set up the path.
OpenIDE-Module-Name=SDCC Toolchain
OpenIDE-Module-Short-Description=SDCC compiler
3 changes: 1 addition & 2 deletions src/org/laczik/toolchainSDCC/sdcc.languageToolchain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
<mp:textEmitter mp:text="${RM} ${CURRENT_OBJECT_FILE} ${NEWLINE}"/>
<!-- this is the beginning of the compiler line -->
<mp:textEmitter mp:text="${MP_CC} "/>
<mp:textEmitter mp:text="--debug-ralloc "/>
<mp:optionEmitter mp:idref="sdcc" mp:separator=" "/>
<mp:textEmitter mp:text=" -c"/>
<mp:textEmitter mp:text=" -m${PROCESSOR_FAMILY}"/>
Expand Down Expand Up @@ -432,7 +431,7 @@ sed 's#.*# <mp:device mp:name="\0" mp:support="beta"/>#'
<!-- list below generated by
sdcc -v
{ sdcc -mpic16 -phelp dummy.c 2>&1; } | \
sed -n '1,/^Valid devices are (use --verbose for more details)/d; p' | \
sed -n '1,/^Valid devices are/d; p' | \
sed ':a; s/ / /g; ta' | \
sed 's/ $//' | \
sed ':a; s/ /\n/g; ta' | \
Expand Down
4 changes: 2 additions & 2 deletions src/org/laczik/toolchainSDCC/sdcc.optionLanguage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<opt:booleanOption opt:id="no-c-code-in-asm" opt:name="Hide C code from ASM" opt:desc="Hides your ugly and inefficient c-code from the asm file, so you can always blame the compiler :)" opt:trueemission="--no-c-code-in-asm"/>
<opt:booleanOption opt:id="verbose" opt:name="Verbose actions" opt:desc="Shows the various actions the compiler is performing. " opt:trueemission="--verbose"/>
<opt:booleanOption opt:id="V-show-commands-compiler" opt:name="Verbose commands" opt:desc="Shows the actual commands the compiler is executing." opt:trueemission="-V"/>
<opt:stringListOption opt:id="define-macros" opt:name="Define macros" opt:emissionseparator=" -D" opt:emissionprefix="-D" opt:expr="[A-Za-z_][A-Za-z_0-9]*(=.+)?"/>
<!--opt:stringListOption opt:id="define-macros" opt:name="Define macros" opt:emissionseparator=" -D" opt:emissionprefix="-D" opt:expr="[A-Za-z_][A-Za-z_0-9]*(=.+)?"/-->
</opt:optionCategory>

<opt:optionCategory opt:id="pic14" opt:name="PIC14 exclusive options">
Expand All @@ -34,7 +34,7 @@
</opt:optionCategory>

<opt:optionCategory opt:id="pic16" opt:name="PIC16 exclusive options">
<opt:booleanOption opt:id="debug-ralloc" opt:name=" Force register allocator to dump *.d ?les with debugging information." opt:desc="output debugging information" opt:trueemission="--debug-ralloc" opt:booldefault="false"/>
<opt:booleanOption opt:id="debug-ralloc" opt:name="Force register allocator to dump *.d files with debugging information." opt:desc="output debugging information" opt:trueemission="--debug-ralloc" opt:booldefault="false"/>
<opt:enumOption opt:id="pstack-model" opt:name="Stack-size" opt:desc="Defines the stack model to be used." opt:textdefault="" opt:emissionprefix="--pstack-model=" opt:emitswhendefault="false">
<opt:selection opt:text="small" opt:name="Small" opt:desc="Selects small stack model. 8 bit stack and frame pointers. Supports 256 bytes stack size."/>
<opt:selection opt:text="large" opt:name="Large" opt:desc="Selects large stack model. 16 bit stack and frame pointers. Supports 65536 bytes stack size."/>
Expand Down

0 comments on commit 20393d4

Please sign in to comment.