Skip to content

Commit

Permalink
Update sdcc build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
rikka0w0 committed Mar 19, 2018
1 parent 9aa16e5 commit 489bcf7
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 538 deletions.
5 changes: 4 additions & 1 deletion .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="ihx" artifactName="${ProjName}" buildProperties="" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.sdcc.exe.release.44050159" name="Release" parent="cdt.managedbuild.config.sdcc.exe.release" postbuildStep="packihx ${ProjName}.ihx &gt; ${ProjName}.hex">
<configuration artifactExtension="ihx" artifactName="${ProjName}" buildProperties="" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.sdcc.exe.release.44050159" name="Release" parent="cdt.managedbuild.config.sdcc.exe.release" postbuildStep="packihx ${ProjName}.ihx &gt; ${ProjName}.hex &amp; makebin -p ${ProjName}.ihx ${ProjName}.bin">
<folderInfo id="cdt.managedbuild.config.sdcc.exe.release.44050159." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.sdcc.exe.release.645725452" name="SDCC Tool Chain" superClass="cdt.managedbuild.toolchain.sdcc.exe.release">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.sdcc.platform.exe.release.1705936550" name="Release Platform" osList="solaris,linux,hpux,aix,qnx,win32" superClass="cdt.managedbuild.target.sdcc.platform.exe.release"/>
Expand Down Expand Up @@ -44,6 +44,9 @@
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="OLED" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
Expand Down
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>USB</name>
<name>USB_Composite_Device</name>
<comment></comment>
<projects>
</projects>
Expand Down
13 changes: 13 additions & 0 deletions ch554_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,16 @@ void CH554_Init(void) {

EA = 1;
}

void putchar(char c) {
while (!TI) /* assumes UART is initialized */
;
TI = 0;
SBUF = c;
}

char getchar() {
while(!RI); /* assumes UART is initialized */
RI = 0;
return SBUF;
}
304 changes: 0 additions & 304 deletions include/debug.c

This file was deleted.

35 changes: 0 additions & 35 deletions include/debug.h

This file was deleted.

Loading

0 comments on commit 489bcf7

Please sign in to comment.