Git Product home page Git Product logo

Comments (5)

jordan875 avatar jordan875 commented on July 3, 2024 1

Much appreciated. That worked!

Thank you

from reedtripradio.

mightymos avatar mightymos commented on July 3, 2024 1

Fixed here: https://github.com/mightymos/ReedTripRadio/releases/tag/v0.3.7

from reedtripradio.

mightymos avatar mightymos commented on July 3, 2024

SDCC is apparently now requiring parentheses around interrupt level numbers.
In 4.2.3, support for non-parenthesized arguments to __using and __interrupt was dropped.

Can you add parentheses and see if the build finishes?

You can see examples in sec. 3.7 overlaying or sec. 3.8.1 among other examples in the manual:
https://sdcc.sourceforge.net/doc/sdccman.pdf

from reedtripradio.

jordan875 avatar jordan875 commented on July 3, 2024

Thank you for this. I added parentheses to interrupts 0, 2, 11 and the build now seems to have completed without errors, but with some warnings remaining.

I now have the following output, with some warnings (I have omitted the delay1us warnings):

main.c:263: warning 283: function declarator with no prototype
main.c:272: warning 283: function declarator with no prototype
main.c:259: warning 85: in function send_radio_packet unreferenced local variable : 'byteToSend'
sdcc -mmcs51 --model-small --iram-size 113 --xram-size 0 --stack-size 16 --code-size 1017 -o build/ReedTripRadio.hex build/delay.rel build/main.rel

I have the following in the build directory:

ls /Users/j/uni-STC/demos/ReedTripRadio/build
ReedTripRadio.hex	delay.lst		main.asm
ReedTripRadio.lk	delay.rel		main.lst
ReedTripRadio.map	delay.rst		main.rel
ReedTripRadio.mem	delay.sym		main.rst
delay.asm		dependencies.mk		main.sym

Very new to this so I have no idea if I am now on the right track or not.

Thanks again

from reedtripradio.

mightymos avatar mightymos commented on July 3, 2024

Ok great. You should now be able to do "make upload" or flash with the manual command given in the readme.
Of course you also need your usb to serial hardware hooked up, with power disconnected. After you run upload/flash command it will wait for power to be applied, and you'll connect 3.3V at that time. It may take a few tries to successfully flash.

from reedtripradio.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.