STM32 TVOUT

Post here first, or if you can't find a relevant section!
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

Humm.. I tried that, but I'm getting the same error.
User avatar
Bakisha
Posts: 140
Joined: Fri Dec 20, 2019 6:50 pm
Answers: 5
Contact:

Re: STM32 TVOUT

Post by Bakisha »

I tried TNTSC libray with MisakiFontOut.ino and stm32_DemoNTSC.ino from TTVout library and it compiled without errors on my PC.
Arduino IDE 1.8.19 and Generic STM32F103C board...
Are you using Arduino 2.0 IDE ?
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

I updated to the Arduino 1.8.19 and confirmed I am using same Generic STM32F103C series. But for TNTSC libray with MisakiFontOut.ino and stm32_DemoNTSC.ino from TTVout library,
I'm still getting the error:

"C:\Users\15183\Documents\Arduino\libraries\TNTSC\src\TNTSC.cpp: In member function 'void TNTSC_class::begin(uint8_t, uint8_t, uint8_t*)':
C:\Users\15183\Documents\Arduino\libraries\TNTSC\src\TNTSC.cpp:221:20: error: 'TIMER_OUTPUTCOMPARE' was not declared in this scope
Timer2.setMode(1,TIMER_OUTPUTCOMPARE);
^
exit status 1
Error compiling for board Generic STM32F103C series."


Any further thoughts on how I'm screwing this up! are greatly appreciated.
User avatar
Bakisha
Posts: 140
Joined: Fri Dec 20, 2019 6:50 pm
Answers: 5
Contact:

Re: STM32 TVOUT

Post by Bakisha »

At this point, i don't know why are you getting those errors.
My first guess is that core is not properly installed or selected.
Try to compile blink sketch from File->>examples->basics->blink
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

I just tried blink, I confirmed it compiles.

Did you install:
ArduinoSTM32_TNTSC
Arduino-misakiUTF16
ArduinoSTM32_TVout
AND
arduino-tvout (for this one, "https://github.com/Tamakichi/ArduinoSTM32_TVout" says to "Install the video output library TVout for Arduino (ATmega328), but only use TVoutfonts") Maybe that's where I'm screwing up.



did you change the library folder names? which folders did you place them in?
humm..
User avatar
Bakisha
Posts: 140
Joined: Fri Dec 20, 2019 6:50 pm
Answers: 5
Contact:

Re: STM32 TVOUT

Post by Bakisha »

...\Arduino\libraries\TNTSC\src\TNTSC.h
...\Arduino\libraries\TTVout\src\TTVout.h
...\Arduino\libraries\misakiUTF16\misakiUTF16.h
...\Arduino\libraries\TVoutfonts\fontALL.h

TTVout is for stm32. TVout is for arduino (yes, i have that installed too), plus "fontALL.h" in TVoutfonts folder...
I remember how frustrating was to install this library, because it is four different folders...

But, "TIMER_OUTPUTCOMPARE' was not declared in this scope" error means either wrong core, or library don't have

Code: Select all

#include <Arduino.h>
But TNTSC have it, so... :?:
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

It COMPILED!!!
Thanks All!!

I ended up deleting everything associated with TVout, and the board manager core files "https://github.com/rogerclarkmelbourne/ ... stallation"
I think these core files got corrupted somehow when I copied them over the first time..
Post Reply

Return to “General discussion”