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

STM32 TVOUT

Post by kevinmryan1903 »

Hi All,
I am attempting to run TVOUT (https://github.com/Tamakichi/ArduinoSTM32_TVout) & ((https://github.com/Tamakichi/Arduino-misakiUTF16) on an STM32 but I can't get it to compile. I get an error:


WARNING: library TNTSC claims to run on STM32F1 architecture(s) and may be incompatible with your current board which runs on stm32 architecture(s).
In file included from C:\Users\10123683\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\libraries\TNTSC\examples\MisakiFontOut\MisakiFontOut.ino:14:
C:\Users\10123683\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\libraries\TNTSC\src/TNTSC.h:46:29: error: 'SC_DEFAULT' was not declared in this scope; did you mean 'AR_DEFAULT'?
46 | void begin(uint8_t mode=SC_DEFAULT,uint8_t spino = 1, uint8_t* extram=NULL); // NTSCビデオ表示開始
| ^~~~~~~~~~
| AR_DEFAULT


I am currently using the "STMicroelectronics; stm32; 2.3.0" board manager.
I'm thinking the code does not work with this (official) board manager for STM32? Any ideas?

Thanks,
Kevin
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: STM32 TVOUT

Post by GonzoG »

It's for libMable/Roger's/Steve's core. Won't work on official STM32 core.
https://github.com/stevstrong/Arduino_STM32
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

Thanks. Is there a ".json" file for this? (I'm having difficulty getting this to show up in the board manager)
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: STM32 TVOUT

Post by GonzoG »

kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

Thanks so much!!
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

So I think I'm getting closer. But still having an error(below):

C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\TNTSC\src\TNTSC.cpp: In member function 'void TNTSC_class::begin(uint8_t, uint8_t, uint8_t*)':
C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\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 thoughts??
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

When I'm trying "TVout; DemoNTSC" I'm getting error:

In file included from C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\arduino-tvout-master\examples\DemoNTSC\DemoNTSC.pde:1:0:
C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\arduino-tvout-master/TVout.h:35:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
exit status 1
Error compiling for board Generic STM32F103C series.
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: STM32 TVOUT

Post by GonzoG »

You haven't read installation instructions carefully...
Unzip to create the Arduino_STM32 folder.
Not Arduino_STM32-master
kevinmryan1903
Posts: 16
Joined: Tue Nov 01, 2022 12:36 pm

Re: STM32 TVOUT

Post by kevinmryan1903 »

I think that helped with one issue. But now getting error:

C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC\src\TNTSC.cpp: In member function 'void TNTSC_class::begin(uint8_t, uint8_t, uint8_t*)':
C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\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.
User avatar
Bakisha
Posts: 140
Joined: Fri Dec 20, 2019 6:50 pm
Answers: 5
Contact:

Re: STM32 TVOUT

Post by Bakisha »

Place TNTSC library in library folder, so full path will be: C:\Users\15183\Documents\Arduino\libraries\TNTSC
NOT in core library folder ( C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC )
Post Reply

Return to “General discussion”