sheaivey / rx5808-pro-diversity

DIY project to create your own 5.8ghz FPV diversity basestation - based off the rx5808 receiver module. Project includes basic Arduino Nano implementation to advanced custom PCB board and introduction to digital switches 4066 chip.
http://www.laforgefpv.com
MIT License
596 stars 256 forks source link

TVout,Can't compile #140

Open Armagedon13 opened 7 years ago

Armagedon13 commented 7 years ago

hi i can't compile, and yes, i read the closed issue, but, i don't have linux for remplace the archive. Can someone pass me the cpp file?

stray77 commented 7 years ago

Does this help? I really can't tell what you're looking for. https://github.com/Avamander/arduino-tvout

caveymon commented 7 years ago

I had this issue too. Some compiler switches have changed between arduino ide versions, and newer (1.8+) don't seem to support macros anymore.

I patched the tvout library included in this project on my own local copy. Haven't bothered to push the changes, maybe I should somehow.

havent been able to test it yet, but I needed it for a small modification I did to the schematics. Not sure if it has the sorted effect though :)

GregTronics commented 7 years ago

Per the closed thread, the way to fix this error is to go into the video_gen.cpp file and replace all the asm macros with the asm functions. My patched one is attached. Works with newest compiler and can confirm the screen works again.
video_gen.zip

johnbentcope commented 6 years ago

GregTronics, replacing video_gen.cpp in the library folder results in new errors, mostly stating "Error: macro 'macroNameHere' was already defined. Any thoughts?