platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
139 stars 105 forks source link

Manchester lib fails on ATTiny #71

Closed surdu closed 6 years ago

surdu commented 7 years ago

I am using some RF modules like in this tutorial to transmit some data around, and some LED to indicate status. The TX/RX code is very similar to the one in the tutorial, except the RX is on the ATTiny so not using Serial.

When I compile & upload my RX code to the ATTiny using Arduino, all works well, but when I do it using Platform.io, the radio part stops working. LEDs continue to work fine.

My suspicion is that in Platform.io some definitions are wrong and the Manchester lib being very dependent of a lot of compile time flags, does not configure itself properly.

Unfortunately I don't have the skills to debug this issue further but I can help with any information one would need to fix this.

ivankravets commented 6 years ago

Could you provide source code with platformio.ini to reproduce this issue?

surdu commented 6 years ago

Unfortunately, PlatformIO went into an "installing/restarting" loop, so I had to uninstall it.

The code in the linked tutorial should do the trick.

ivankravets commented 6 years ago

Unfortunately, PlatformIO went into an "installing/restarting" loop, so I had to uninstall it.

This issue was fixed in related Python's Arrow library. Please try VSCode for PlatformIO and provide a project to reproduce the issue.