页次: 1
@AAA_GET
要修改这个rtconfig.py文件,指定下你的编译工具链路径。具体也可以参考下面的帖子
https://whycan.com/t_5755.html
楼主,我想测试你的tvd功能,我首先是初始化了
board_lcd_init();
lcd_SetBrightness(100);
然后我测试打开了tv_in_decode_init(0);,tv_in是有中断的,但是呢,我接了摄像头使用了CVBS的引脚,结果屏幕就是全红色,这是什么原因呢?
AAA_GET 说:楼主还在更新吗?我在查芯片的时候找到了这里,发现楼主的GitHub仓库,已经无法使用在最新的RTT上了,想问楼主有没有啥好的解决办法
主要是报什么错误?
楼主我是把你github下的BSP里的f1c直接复制到现在最新的RTT源码的BSP下,先是报了一个pyhton的错误
scons: Reading SConscript files ...
File "D:\RTT\source\rt-thread\bsp\f1c\rtconfig.py", line 21
print 'Please make sure your toolchains is GNU GCC!'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
然后我去掉这个python之后就报了
scons: Reading SConscript files ...
AttributeError: 'str' object has no attribute 'remove':
File "D:\RTT\source\rt-thread\bsp\f1c\SConstruct", line 25:
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
File "D:\RTT\source\rt-thread\bsp\f1c\../..\tools\building.py", line 359:
objs = SConscript('SConscript', variant_dir=bsp_vdir, duplicate=0)
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 684:
return method(*args, **kw)
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 620:
return _SConscript(self.fs, *files, **subst_kw)
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\RTT\source\rt-thread\bsp\f1c\SConscript", line 12:
objs = objs + SConscript(os.path.join(d, 'SConscript'))
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 684:
return method(*args, **kw)
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 620:
return _SConscript(self.fs, *files, **subst_kw)
File "D:\RTT\env-windows\.venv\Lib\site-packages\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\RTT\source\rt-thread\bsp\f1c\applications\SConscript", line 10:
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH,LIBS=LIBS,LIBPATH=LIBPATH)
File "D:\RTT\source\rt-thread\bsp\f1c\../..\tools\building.py", line 682:
if _PretreatListParameters(target) == True:
File "D:\RTT\source\rt-thread\bsp\f1c\../..\tools\building.py", line 588:
target_list.remove('')
感觉越来越多了
页次: 1