qalex / blackboard-STC15

13 stars 11 forks source link

How to compile #1

Open darrylb123 opened 8 years ago

darrylb123 commented 8 years ago

I'm a newbie to 8051 ... I started down this track myself but you are far in advance. I want to interface to the esp8266 and am willing to help get there.

Do you have a makefile or script for compiling this code?

darrylb123 commented 8 years ago

I got a successful compile and download. It seems to work just fine. I can write a simple makefile to start with.

pwnmactep commented 7 years ago

Can you help me compile?

darrylb123 commented 7 years ago

More information? Are you using linux? What distribution? Have you got the compiler packages installed?

You might like to have a look at my fork of this project. There is a fair bit more functionality and documentation.

On Sat, 12 Nov 2016 4:34 am pwnmactep notifications@github.com wrote:

Can you help me compile?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qalex/blackboard-STC15/issues/1#issuecomment-260023926, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcqVS3ImrmjGsaQF9Vlua_V8PgXQ8Oyks5q9LUdgaJpZM4H23x3 .

pwnmactep commented 7 years ago

Hi

Thanks for help ...

Raspberry pi Raspbian (debian ;Pixel ;Kernel 4.2+)

Or

Last stabile Kali Linux Build.

How i do a Right Connection to do the Firmware Update (with a rs323)

And did i Need to heave a Special Look for something

My englisch is Bad,sorry bro.

Von meinem iPhone gesendet

Am 12.11.2016 um 05:37 schrieb Darryl Bond notifications@github.com:

More information? Are you using linux? What distribution? Have you got the compiler packages installed?

You might like to have a look at my fork of this project. There is a fair bit more functionality and documentation.

On Sat, 12 Nov 2016 4:34 am pwnmactep notifications@github.com wrote:

Can you help me compile?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qalex/blackboard-STC15/issues/1#issuecomment-260023926, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcqVS3ImrmjGsaQF9Vlua_V8PgXQ8Oyks5q9LUdgaJpZM4H23x3 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

darrylb123 commented 7 years ago

Definitely look at my fork of this project. It tells you how to connect up to program the stc15 over usb. My fork has the comms working between the stc15 and the esp8266. http://www.github.com/darrylb123

BTW I would be happy to fold my changes back into this project but I have never seen any response from qalex.

Darryl

On Mon, 14 Nov 2016 1:37 am pwnmactep notifications@github.com wrote:

Hi

Thanks for help ...

Raspberry pi Raspbian (debian ;Pixel ;Kernel 4.2+)

Or

Last stabile Kali Linux Build.

How i do a Right Connection to do the Firmware Update (with a rs323)

And did i Need to heave a Special Look for something

My englisch is Bad,sorry bro.

Von meinem iPhone gesendet

Am 12.11.2016 um 05:37 schrieb Darryl Bond notifications@github.com:

More information? Are you using linux? What distribution? Have you got the compiler packages installed?

You might like to have a look at my fork of this project. There is a fair bit more functionality and documentation.

On Sat, 12 Nov 2016 4:34 am pwnmactep notifications@github.com wrote:

Can you help me compile?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/qalex/blackboard-STC15/issues/1#issuecomment-260023926 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AGcqVS3ImrmjGsaQF9Vlua_V8PgXQ8Oyks5q9LUdgaJpZM4H23x3

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qalex/blackboard-STC15/issues/1#issuecomment-260189951, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcqVW75BoBEthOJm-p5PAjTLk2wW161ks5q9yCRgaJpZM4H23x3 .

matt2005 commented 7 years ago

I'm having trouble compiling the fork. I'm using a RPi with Debian Jessie. Here is the error after editing the makefile to used sdcc instead of sdcc-sdcc

sdcc -c main.c
delay.h:7: syntax error: token -> 'Delay2' ; column 18
Makefile:13: recipe for target 'main.rel' failed
make: *** [main.rel] Error 1

Here is the output from the sdcc-v command

SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/TININative/ds400/hc08/s08/stm8                    3.4.0 #8981 (Jul 11 2014) (Linux)
published under GNU General Public License (GPL)
darrylb123 commented 7 years ago

Can you raise the issue against the fork rather than this code.

matt2005 commented 7 years ago

I would but issues aren't enabled for your fork. http://stackoverflow.com/questions/16406180/is-there-a-way-to-add-issues-to-a-github-forked-repo-without-modifying-the-orig

darrylb123 commented 7 years ago

Oops, try now. BTW, I duplicated your error. Looks like it is due to being an older version of SDCC on Jessie than Fedora. I'll see if I can work out what is wrong.