-
Notifications
You must be signed in to change notification settings - Fork 21
Arduino HardwareSerial TX lighting issue #167
Comments
What can i check? |
hex size seems to be reasonable: |
This is probably related. |
yes it does use interrupts:
|
This is pretty important issue as Arduino does not have debugger and serial is the only way to debug or interact with a board. For now it blocks arduino.. |
i've tried to:
So i was able to compile Blink.hex:
Anyway i'm still having this issue: L (pin 13) is constantly lighting and TX is constantly lighting too. |
oh, i've noted i used
but i should use:
now blink is larger:
and it's having slightely different behaviour:
|
Closing as this is a dupe of #192. |
not sure it's duplicate. in #192 you can't compile avr-llvm but in this task you can compile avr-llvm, but compiled files work incorrectly. consider reopening |
Sorry, I meant #162. |
after complining and uploading simple Blink sketch TX LED is constantly lighting, no LED on pin 13 blinking.
I had to add
serialEventRun
function to override wrong behaviour initialied by weak issue:avr-llvm/clang#9
Blink.cpp:
Then i compiled all the .cpp:
and packed into .a:
created archive index:
linked:
and prepared hex:
After flashing with avrdude i'm getting described behaviour.
The text was updated successfully, but these errors were encountered: