Comments (5)
Much appreciated. That worked!
Thank you
from reedtripradio.
Fixed here: https://github.com/mightymos/ReedTripRadio/releases/tag/v0.3.7
from reedtripradio.
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.
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.
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)
- Compatible sensors for purchase HOT 29
- Compilations Error Question HOT 8
- ESPHome - RF Bridge Component HOT 2
- GS-WDS07 permanent transmit HOT 6
- Type of micro - STC15W101 HOT 7
- Report working/non-working receivers HOT 52
- Flashing and compiling issues HOT 13
- ds18b20 support via removing the led HOT 3
- 2nd Flash impossible HOT 2
- (Resolved) How do i - compile without re-transmitting of reed and tamper status HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reedtripradio.