Compare commits
merge into: gagua:master
gagua:AGP
gagua:master
pull from: gagua:AGP
gagua:AGP
gagua:master
2 Commits
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
9ab1c27715 |
AGP clean#1
|
12 months ago |
|
|
aecfe8a254 |
AGP clean
|
12 months ago |
558 changed files with 0 additions and 109300 deletions
-
18Linux_Workspace.vpw
-
668Projects/3dClientGui/3dClientGui.vpj
-
9Projects/3dClientGui/default.conf
-
225Projects/3dClientGui/makefile
-
40Projects/Cortex_test/ReadMe.txt
-
BINProjects/Cortex_test/SDL.dll
-
BINProjects/Cortex_test/SDL2.dll
-
BINProjects/Cortex_test/SDL2_image.dll
-
BINProjects/Cortex_test/SDL2_mixer.dll
-
BINProjects/Cortex_test/SDL2_net.dll
-
BINProjects/Cortex_test/SDL2_ttf.dll
-
71Projects/Cortex_test/cortex_test.cpp
-
247Projects/Cortex_test/cortex_test.vcxproj
-
450Projects/Cortex_test/cortex_test.vcxproj.filters
-
265Projects/Cortex_test/cortex_test_2019.vcxproj
-
471Projects/Cortex_test/cortex_test_2019.vcxproj.filters
-
4Projects/Cortex_test/cortex_test_2019.vcxproj.user
-
9Projects/Cortex_test/default.conf
-
BINProjects/Cortex_test/libFLAC-8.dll
-
BINProjects/Cortex_test/libconfig.dll
-
BINProjects/Cortex_test/libconfig_d.dll
-
BINProjects/Cortex_test/libfreetype-6.dll
-
BINProjects/Cortex_test/libjpeg-9.dll
-
BINProjects/Cortex_test/libmikmod-2.dll
-
BINProjects/Cortex_test/libmodplug-1.dll
-
BINProjects/Cortex_test/libogg-0.dll
-
BINProjects/Cortex_test/libpng16-16.dll
-
BINProjects/Cortex_test/libtiff-5.dll
-
BINProjects/Cortex_test/libvorbis-0.dll
-
BINProjects/Cortex_test/libvorbisfile-3.dll
-
BINProjects/Cortex_test/libwebp-4.dll
-
BINProjects/Cortex_test/msvcp120d.dll
-
BINProjects/Cortex_test/msvcr120d.dll
-
BINProjects/Cortex_test/opencv_ffmpeg300.dll
-
BINProjects/Cortex_test/opencv_ffmpeg300_64.dll
-
BINProjects/Cortex_test/opencv_world300.dll
-
BINProjects/Cortex_test/opencv_world300d.dll
-
BINProjects/Cortex_test/pthreadVC2.dll
-
BINProjects/Cortex_test/smpeg2.dll
-
8Projects/Cortex_test/stdafx.cpp
-
30Projects/Cortex_test/stdafx.h
-
8Projects/Cortex_test/targetver.h
-
BINProjects/Cortex_test/zlib1.dll
-
77Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.cpp
-
3Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.h
-
BINProjects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.ico
-
151Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.rc
-
232Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.vcxproj
-
363Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.vcxproj.filters
-
4Projects/CudaWare_64_DNN_Learning/CudaWare_64_DNN_Learning.vcxproj.user
-
30Projects/CudaWare_64_DNN_Learning/Resource.h
-
4Projects/CudaWare_64_DNN_Learning/default.conf
-
25Projects/CudaWare_64_DNN_Learning/framework.h
-
BINProjects/CudaWare_64_DNN_Learning/resources.rcc
-
BINProjects/CudaWare_64_DNN_Learning/small.ico
-
6Projects/CudaWare_64_DNN_Learning/targetver.h
-
828Projects/DirectMemo/DirectMemo.cpp
-
328Projects/DirectMemo/DirectMemo.vpj
-
109Projects/DirectMemo/adc1Window.cpp
-
31Projects/DirectMemo/adc1Window.h
-
48Projects/DirectMemo/config_can
-
130Projects/DirectMemo/devmem2.c
-
BINProjects/DirectMemo/elftest
-
43Projects/DirectMemo/elftest.c
-
92Projects/DirectMemo/gpioWindow.cpp
-
37Projects/DirectMemo/gpioWindow.h
-
71Projects/DirectMemo/mainWindow.cpp
-
34Projects/DirectMemo/mainWindow.h
-
329Projects/DirectMemo/makefile
-
179Projects/DirectMemo/motorWindow.cpp
-
34Projects/DirectMemo/motorWindow.h
-
2Projects/DirectMemo/out.txt
-
1Projects/DirectMemo/pindosia/gpio-ranges
-
75Projects/DirectMemo/pindosia/pinctrl-handles
-
227Projects/DirectMemo/pindosia/pingroups
-
30Projects/DirectMemo/pindosia/pinmux-functions
-
201Projects/DirectMemo/pindosia/pinmux-pins
-
200Projects/DirectMemo/pindosia/pins
-
1347Projects/DirectMemo/popa.txt
-
45Projects/DirectMemo/protocols.txt
-
53Projects/DirectMemo/pru0Window.cpp
-
23Projects/DirectMemo/pru0Window.h
-
53Projects/DirectMemo/pru1Window.cpp
-
23Projects/DirectMemo/pru1Window.h
-
285Projects/DirectMemo/pruCoresWindow.cpp
-
29Projects/DirectMemo/pruCoresWindow.h
-
185Projects/DirectMemo/pwmInfoWindow.cpp
-
28Projects/DirectMemo/pwmInfoWindow.h
-
101Projects/DirectMemo/tgz2Window.cpp
-
35Projects/DirectMemo/tgz2Window.h
-
98Projects/DirectMemo/tgzWindow.cpp
-
35Projects/DirectMemo/tgzWindow.h
-
42Projects/DirectMemo/tupus0_0Window.cpp
-
23Projects/DirectMemo/tupus0_0Window.h
-
41Projects/DirectMemo/tupus0_1Window.cpp
-
23Projects/DirectMemo/tupus0_1Window.h
-
41Projects/DirectMemo/tupus1_0Window.cpp
-
23Projects/DirectMemo/tupus1_0Window.h
-
41Projects/DirectMemo/tupus1_1Window.cpp
-
23Projects/DirectMemo/tupus1_1Window.h
@ -1,26 +1,8 @@ |
|||
<!DOCTYPE Workspace SYSTEM "http://www.slickedit.com/dtd/vse/10.0/vpw.dtd"> |
|||
<Workspace Version="10.0" VendorName="SlickEdit"> |
|||
<Projects> |
|||
<Project File="Projects/3dClientGui/3dClientGui.vpj"/> |
|||
<Project File="Projects/argus/argus.vpj"/> |
|||
<Project File="Projects/argus_server/argus_server.vpj"/> |
|||
<Project File="Projects/defender-dc-trig/defender-dc-trig.vpj"/> |
|||
<Project File="Projects/DirectMemo/DirectMemo.vpj"/> |
|||
<Project File="Projects/DirectPRU/DirectPRU.vpj"/> |
|||
<Project File="Projects/img_mill/img_mill.vpj"/> |
|||
<Project File="Projects/img_slim/img_slim.vpj"/> |
|||
<Project File="Projects/JustADCTest/JustADCTest.vpj"/> |
|||
<Project File="Projects/la_mojo/la_mojo.vpj"/> |
|||
<Project File="Projects/la_serva/la_serva.vpj"/> |
|||
<Project File="Projects/libDFSL/libDFSL.vpj"/> |
|||
<Project File="Projects/libONVIF/LibONVIF.vpj"/> |
|||
<Project File="Projects/LRF_Server/LRF_Server.vpj"/> |
|||
<Project File="Projects/LRF_ServerSlim/LRF_ServerSlim.vpj"/> |
|||
<Project File="Projects/LRF_Slave/LRF_Slave.vpj"/> |
|||
<Project File="Projects/MastBaum/MastBaum.vpj"/> |
|||
<Project File="Projects/MEKOROT/MEKOROT.vpj"/> |
|||
<Project File="Projects/Pathfinder/Pathfinder.vpj"/> |
|||
<Project File="Projects/PRU_CORES/PRU_CORES.vpj"/> |
|||
<Project File="Projects/starProcDaemon/starProcDaemon.vpj"/> |
|||
<Project File="Projects/watchDogDaemon/watchDogDaemon.vpj"/> |
|||
</Projects> |
|||
|
|||
@ -1,668 +0,0 @@ |
|||
<!DOCTYPE Project SYSTEM "http://www.slickedit.com/dtd/vse/10.0/vpj.dtd"> |
|||
<Project |
|||
Version="10.0" |
|||
VendorName="SlickEdit" |
|||
TemplateName="GNU C/C++" |
|||
WorkingDir="." |
|||
BuildSystem="automakefile" |
|||
BuildMakeFile="makefile"> |
|||
<Config |
|||
Name="Debug" |
|||
Type="gnuc" |
|||
DebugCallbackName="gdb" |
|||
Version="1" |
|||
OutputFile="%bd3dClientGui" |
|||
CompilerConfigName="Latest Version" |
|||
Defines='"/DDEBUG" "/D__GUI__" "/D__STDC_CONSTANT_MACROS" "/DWITH_OPENSSL" "/D_CLIENT_APPLICATION_" "/D_CRT_SECURE_NO_WARNINGS" "/D__STDC_CONSTANT_MACROS" "/DWITH_PURE_VIRTUAL"'> |
|||
<Menu> |
|||
<Target |
|||
Name="Compile" |
|||
MenuCaption="&Compile" |
|||
Dialog="_gnuc_options_form Compile" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
OutputExts="*.o" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec |
|||
CmdLine='g++ -c %xup %defd -g %~other -o "%bd%n%oe" %i %f' |
|||
OtherOptions="-fPIC `pkg-config --cflags Qt53DAnimation Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets opencv Qt5X11Extras Qt5XmlPatterns Qt5Xml`"/> |
|||
</Target> |
|||
<Target |
|||
Name="Link" |
|||
MenuCaption="&Link" |
|||
ShowOnMenu="Never" |
|||
Dialog="_gnuc_options_form Link" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='g++ %xup -g -o "%o" %objs'/> |
|||
</Target> |
|||
<Target |
|||
Name="Build" |
|||
MenuCaption="&Build" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Rebuild" |
|||
MenuCaption="&Rebuild" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" rebuild CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Debug" |
|||
MenuCaption="&Debug" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveNone" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='vsdebugio -prog "%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="Execute" |
|||
MenuCaption="E&xecute" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='"%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="dash" |
|||
MenuCaption="-" |
|||
Deletable="0"> |
|||
<Exec/> |
|||
</Target> |
|||
<Target |
|||
Name="GNU C Options" |
|||
MenuCaption="GNU C &Options..." |
|||
ShowOnMenu="HideIfNoCmdLine" |
|||
Deletable="0" |
|||
SaveOption="SaveNone"> |
|||
<Exec |
|||
CmdLine="gnucoptions" |
|||
Type="Slick-C"/> |
|||
</Target> |
|||
</Menu> |
|||
<List Name="GNUC Options"> |
|||
<Item |
|||
Name="LinkerOutputType" |
|||
Value="Executable"/> |
|||
</List> |
|||
<Includes> |
|||
<Include Dir="/usr/local/Qt-5.9.5/include"/> |
|||
<Include Dir="/usr/local/include"/> |
|||
<Include Dir="/usr/include"/> |
|||
</Includes> |
|||
<Libs PreObjects="0"> |
|||
<Lib File="-lssl"/> |
|||
<Lib File="-lcrypto"/> |
|||
<Lib File="-lpthread"/> |
|||
<Lib File="`pkg-config"/> |
|||
<Lib File="--libs"/> |
|||
<Lib File="libavcodec"/> |
|||
<Lib File="libavdevice"/> |
|||
<Lib File="libavfilter"/> |
|||
<Lib File="libavformat"/> |
|||
<Lib File="libavresample"/> |
|||
<Lib File="libavutil"/> |
|||
<Lib File="libswresample"/> |
|||
<Lib File="libswscale"/> |
|||
<Lib File="libconfig++"/> |
|||
<Lib File="libcurl"/> |
|||
<Lib File="opencv"/> |
|||
<Lib File="Qt53DAnimation"/> |
|||
<Lib File="Qt53DCore"/> |
|||
<Lib File="Qt53DExtras"/> |
|||
<Lib File="Qt53DInput"/> |
|||
<Lib File="Qt53DLogic"/> |
|||
<Lib File="Qt53DQuickAnimation"/> |
|||
<Lib File="Qt53DQuickExtras"/> |
|||
<Lib File="Qt53DQuickInput"/> |
|||
<Lib File="Qt53DQuick"/> |
|||
<Lib File="Qt53DQuickRender"/> |
|||
<Lib File="Qt53DQuickScene2D"/> |
|||
<Lib File="Qt53DRender"/> |
|||
<Lib File="Qt5Bluetooth"/> |
|||
<Lib File="Qt5Charts"/> |
|||
<Lib File="Qt5Concurrent"/> |
|||
<Lib File="Qt5Core"/> |
|||
<Lib File="Qt5DataVisualization"/> |
|||
<Lib File="Qt5DBus"/> |
|||
<Lib File="Qt5Gamepad"/> |
|||
<Lib File="Qt5Gui"/> |
|||
<Lib File="Qt5Help"/> |
|||
<Lib File="Qt5Location"/> |
|||
<Lib File="Qt5Multimedia"/> |
|||
<Lib File="Qt5MultimediaWidgets"/> |
|||
<Lib File="Qt5NetworkAuth"/> |
|||
<Lib File="Qt5Network"/> |
|||
<Lib File="Qt5Nfc"/> |
|||
<Lib File="Qt5OpenGLExtensions"/> |
|||
<Lib File="Qt5OpenGL"/> |
|||
<Lib File="Qt5Positioning"/> |
|||
<Lib File="Qt5PrintSupport"/> |
|||
<Lib File="Qt5Purchasing"/> |
|||
<Lib File="Qt5Qml"/> |
|||
<Lib File="Qt5QuickControls2"/> |
|||
<Lib File="Qt5Quick"/> |
|||
<Lib File="Qt5QuickTest"/> |
|||
<Lib File="Qt5QuickWidgets"/> |
|||
<Lib File="Qt5RemoteObjects"/> |
|||
<Lib File="Qt5Script"/> |
|||
<Lib File="Qt5ScriptTools"/> |
|||
<Lib File="Qt5Scxml"/> |
|||
<Lib File="Qt5Sensors"/> |
|||
<Lib File="Qt5SerialBus"/> |
|||
<Lib File="Qt5SerialPort"/> |
|||
<Lib File="Qt5Sql"/> |
|||
<Lib File="Qt5Svg"/> |
|||
<Lib File="Qt5Test"/> |
|||
<Lib File="Qt5TextToSpeech"/> |
|||
<Lib File="Qt5UiTools"/> |
|||
<Lib File="Qt5WaylandClient"/> |
|||
<Lib File="Qt5WaylandCompositor"/> |
|||
<Lib File="Qt5WebChannel"/> |
|||
<Lib File="Qt5WebSockets"/> |
|||
<Lib File="Qt5Widgets"/> |
|||
<Lib File="Qt5X11Extras"/> |
|||
<Lib File="Qt5XmlPatterns"/> |
|||
<Lib File="Qt5Xml`"/> |
|||
<Lib File="-lGL"/> |
|||
<Lib File="-lGLU"/> |
|||
<Lib File="-lc"/> |
|||
<Lib File="-lm"/> |
|||
<Lib File="-lz"/> |
|||
</Libs> |
|||
</Config> |
|||
<Config |
|||
Name="Release" |
|||
Type="gnuc" |
|||
DebugCallbackName="gdb" |
|||
Version="1" |
|||
OutputFile="%bd3dClientGui" |
|||
CompilerConfigName="Latest Version" |
|||
Defines='"/D__GUI__" "/D__STDC_CONSTANT_MACROS" "/DWITH_OPENSSL" "/D_CLIENT_APPLICATION_" "/D_CRT_SECURE_NO_WARNINGS" "/D__STDC_CONSTANT_MACROS" "/DWITH_PURE_VIRTUAL"'> |
|||
<Menu> |
|||
<Target |
|||
Name="Compile" |
|||
MenuCaption="&Compile" |
|||
Dialog="_gnuc_options_form Compile" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
OutputExts="*.o" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec |
|||
CmdLine='g++ -c %xup %defd %~other -o "%bd%n%oe" %i %f' |
|||
OtherOptions="-fPIC `pkg-config --cflags Qt53DAnimation Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets opencv Qt5X11Extras Qt5XmlPatterns Qt5Xml`"/> |
|||
</Target> |
|||
<Target |
|||
Name="Link" |
|||
MenuCaption="&Link" |
|||
ShowOnMenu="Never" |
|||
Dialog="_gnuc_options_form Link" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='g++ %xup -o "%o" %objs'/> |
|||
</Target> |
|||
<Target |
|||
Name="Build" |
|||
MenuCaption="&Build" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Rebuild" |
|||
MenuCaption="&Rebuild" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" rebuild CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Debug" |
|||
MenuCaption="&Debug" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveNone" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='vsdebugio -prog "%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="Execute" |
|||
MenuCaption="E&xecute" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='"%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="dash" |
|||
MenuCaption="-" |
|||
Deletable="0"> |
|||
<Exec/> |
|||
</Target> |
|||
<Target |
|||
Name="GNU C Options" |
|||
MenuCaption="GNU C &Options..." |
|||
ShowOnMenu="HideIfNoCmdLine" |
|||
Deletable="0" |
|||
SaveOption="SaveNone"> |
|||
<Exec |
|||
CmdLine="gnucoptions" |
|||
Type="Slick-C"/> |
|||
</Target> |
|||
</Menu> |
|||
<List Name="GNUC Options"> |
|||
<Item |
|||
Name="LinkerOutputType" |
|||
Value="Executable"/> |
|||
</List> |
|||
<Includes> |
|||
<Include Dir="/usr/local/Qt-5.9.5/include"/> |
|||
<Include Dir="/usr/local/include"/> |
|||
<Include Dir="/usr/include"/> |
|||
</Includes> |
|||
<Libs PreObjects="0"> |
|||
<Lib File="-lssl"/> |
|||
<Lib File="-lcrypto"/> |
|||
<Lib File="-lpthread"/> |
|||
<Lib File="`pkg-config"/> |
|||
<Lib File="--libs"/> |
|||
<Lib File="libavcodec"/> |
|||
<Lib File="libavdevice"/> |
|||
<Lib File="libavfilter"/> |
|||
<Lib File="libavformat"/> |
|||
<Lib File="libavresample"/> |
|||
<Lib File="libavutil"/> |
|||
<Lib File="libswresample"/> |
|||
<Lib File="libswscale"/> |
|||
<Lib File="libconfig++"/> |
|||
<Lib File="libcurl"/> |
|||
<Lib File="opencv"/> |
|||
<Lib File="Qt53DAnimation"/> |
|||
<Lib File="Qt53DCore"/> |
|||
<Lib File="Qt53DExtras"/> |
|||
<Lib File="Qt53DInput"/> |
|||
<Lib File="Qt53DLogic"/> |
|||
<Lib File="Qt53DQuickAnimation"/> |
|||
<Lib File="Qt53DQuickExtras"/> |
|||
<Lib File="Qt53DQuickInput"/> |
|||
<Lib File="Qt53DQuick"/> |
|||
<Lib File="Qt53DQuickRender"/> |
|||
<Lib File="Qt53DQuickScene2D"/> |
|||
<Lib File="Qt53DRender"/> |
|||
<Lib File="Qt5Bluetooth"/> |
|||
<Lib File="Qt5Charts"/> |
|||
<Lib File="Qt5Concurrent"/> |
|||
<Lib File="Qt5Core"/> |
|||
<Lib File="Qt5DataVisualization"/> |
|||
<Lib File="Qt5DBus"/> |
|||
<Lib File="Qt5Gamepad"/> |
|||
<Lib File="Qt5Gui"/> |
|||
<Lib File="Qt5Help"/> |
|||
<Lib File="Qt5Location"/> |
|||
<Lib File="Qt5Multimedia"/> |
|||
<Lib File="Qt5MultimediaWidgets"/> |
|||
<Lib File="Qt5NetworkAuth"/> |
|||
<Lib File="Qt5Network"/> |
|||
<Lib File="Qt5Nfc"/> |
|||
<Lib File="Qt5OpenGLExtensions"/> |
|||
<Lib File="Qt5OpenGL"/> |
|||
<Lib File="Qt5Positioning"/> |
|||
<Lib File="Qt5PrintSupport"/> |
|||
<Lib File="Qt5Purchasing"/> |
|||
<Lib File="Qt5Qml"/> |
|||
<Lib File="Qt5QuickControls2"/> |
|||
<Lib File="Qt5Quick"/> |
|||
<Lib File="Qt5QuickTest"/> |
|||
<Lib File="Qt5QuickWidgets"/> |
|||
<Lib File="Qt5RemoteObjects"/> |
|||
<Lib File="Qt5Script"/> |
|||
<Lib File="Qt5ScriptTools"/> |
|||
<Lib File="Qt5Scxml"/> |
|||
<Lib File="Qt5Sensors"/> |
|||
<Lib File="Qt5SerialBus"/> |
|||
<Lib File="Qt5SerialPort"/> |
|||
<Lib File="Qt5Sql"/> |
|||
<Lib File="Qt5Svg"/> |
|||
<Lib File="Qt5Test"/> |
|||
<Lib File="Qt5TextToSpeech"/> |
|||
<Lib File="Qt5UiTools"/> |
|||
<Lib File="Qt5WaylandClient"/> |
|||
<Lib File="Qt5WaylandCompositor"/> |
|||
<Lib File="Qt5WebChannel"/> |
|||
<Lib File="Qt5WebSockets"/> |
|||
<Lib File="Qt5Widgets"/> |
|||
<Lib File="Qt5X11Extras"/> |
|||
<Lib File="Qt5XmlPatterns"/> |
|||
<Lib File="Qt5Xml`"/> |
|||
<Lib File="-lGL"/> |
|||
<Lib File="-lGLU"/> |
|||
<Lib File="-lc"/> |
|||
<Lib File="-lm"/> |
|||
<Lib File="-lz"/> |
|||
</Libs> |
|||
</Config> |
|||
<Files> |
|||
<Folder |
|||
Name="Source Files" |
|||
Filters="*.c;*.C;*.cc;*.cpp;*.cp;*.cxx;*.c++;*.prg;*.pas;*.dpr;*.asm;*.s;*.bas;*.java;*.cs;*.sc;*.e;*.cob;*.html;*.rc;*.tcl;*.py;*.pl;*.d;*.m;*.mm;*.go"> |
|||
<Folder |
|||
Name="GUI" |
|||
Filters=""> |
|||
<Folder |
|||
Name="controlss" |
|||
Filters=""> |
|||
<Folder |
|||
Name="MapControll" |
|||
Filters=""> |
|||
<F N="../../lib/gui/controls/mapControl/arrowpoint.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/bingapimapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/circlepoint.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/curve.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/emptymapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/fixedimageoverlay.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/geometry.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/geometrylayer.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/googleapimapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/googlemapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/gps_position.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/imagemanager.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/imagepoint.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/invisiblepoint.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/layer.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/layermanager.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/linestring.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/mapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/mapcontrol.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/mapcontrol_moc.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/maplayer.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/mapnetwork.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/openaerialmapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/osmmapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/point.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/tilemapadapter.cpp"/> |
|||
<F N="../../lib/gui/controls/mapControl/wmsmapadapter.cpp"/> |
|||
</Folder> |
|||
<F N="../../lib/gui/controls/addDeviceDialog.cpp"/> |
|||
<F N="../../lib/gui/controls/addSourceDialog.cpp"/> |
|||
<F N="../../lib/gui/controls/DeviceChooser.cpp"/> |
|||
<F N="../../lib/gui/controls/EventViewWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/FSVideoWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/LrfSensorWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/OGLCameraWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/OGLRadarWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/point2dWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/RadarMapWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/RangeMapWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/ReportsManagerWindow.cpp"/> |
|||
<F N="../../lib/gui/controls/SettingsCamera.cpp"/> |
|||
<F N="../../lib/gui/controls/SettingsLGS.cpp"/> |
|||
<F N="../../lib/gui/controls/targetDisplay.cpp"/> |
|||
<F N="../../lib/gui/controls/TimeShowWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/VideoSourceChooser.cpp"/> |
|||
<F N="../../lib/gui/controls/VideoThumbWidget.cpp"/> |
|||
<F N="../../lib/gui/controls/VideoWidget.cpp"/> |
|||
</Folder> |
|||
<F N="../../lib/gui/guiClass.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="alg" |
|||
Filters=""> |
|||
<Folder |
|||
Name="lgs" |
|||
Filters=""> |
|||
<F N="../../lib/alg/lgs/mask.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="generic" |
|||
Filters=""> |
|||
<F N="../../lib/alg/generic/base64.cpp"/> |
|||
<F N="../../lib/alg/generic/libzip.cpp"/> |
|||
<F N="../../lib/alg/generic/md5.cpp"/> |
|||
<F N="../../lib/alg/generic/Transform.cpp"/> |
|||
<F N="../../lib/alg/generic/utm.cpp"/> |
|||
</Folder> |
|||
</Folder> |
|||
<Folder |
|||
Name="base" |
|||
Filters=""> |
|||
<F N="../../lib/components/base/basicCamera.cpp"/> |
|||
<F N="../../lib/components/base/basicCameraInfo.cpp"/> |
|||
<F N="../../lib/components/base/basicCameraPTZ.cpp"/> |
|||
<F N="../../lib/components/base/basicDualThread.cpp"/> |
|||
<F N="../../lib/components/base/basicEvent.cpp"/> |
|||
<F N="../../lib/components/base/basicEventHandler.cpp"/> |
|||
<F N="../../lib/components/base/basicEventHeap.cpp"/> |
|||
<F N="../../lib/components/base/basicEvtDispatcher.cpp"/> |
|||
<F N="../../lib/components/base/basicFIFO.cpp"/> |
|||
<F N="../../lib/components/base/basicFunctionality.cpp"/> |
|||
<F N="../../lib/components/base/basicLIBAV.cpp"/> |
|||
<F N="../../lib/components/base/basicLogCollection.cpp"/> |
|||
<F N="../../lib/components/base/basicLoggingService.cpp"/> |
|||
<F N="../../lib/components/base/basicMediaDestination.cpp"/> |
|||
<F N="../../lib/components/base/basicMediaSource.cpp"/> |
|||
<F N="../../lib/components/base/basicMutex.cpp"/> |
|||
<F N="../../lib/components/base/basicObject.cpp"/> |
|||
<F N="../../lib/components/base/basicPosition.cpp"/> |
|||
<F N="../../lib/components/base/basicReportRecord.cpp"/> |
|||
<F N="../../lib/components/base/basicRing.cpp"/> |
|||
<F N="../../lib/components/base/basicSettings.cpp"/> |
|||
<F N="../../lib/components/base/basicSettingsProvider.cpp"/> |
|||
<F N="../../lib/components/base/basicThread.cpp"/> |
|||
<F N="../../lib/components/base/basicTimeStamp.cpp"/> |
|||
<F N="../../lib/components/base/basicTransport.cpp"/> |
|||
<F N="../../lib/components/base/basicTypes.cpp"/> |
|||
<F N="../../lib/components/base/basicVideoAnalyzer.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="medias" |
|||
Filters=""> |
|||
<Folder |
|||
Name="onvifs" |
|||
Filters=""> |
|||
<F N="../../lib/gui/controls/OnvifVideoSourceFinder.cpp"/> |
|||
</Folder> |
|||
<F N="../../lib/data/media/lapsedVideoRecorder.cpp"/> |
|||
<F N="../../lib/data/media/mediaVideoSourceManager.cpp"/> |
|||
<F N="../../lib/data/media/video/videoAVLIBDestination.cpp"/> |
|||
<F N="../../lib/data/media/video/videoAVLIBSource.cpp"/> |
|||
<F N="../../lib/data/media/videoNode.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="objects" |
|||
Filters=""> |
|||
<F N="../../lib/components/object/objectCameraPTZ.cpp"/> |
|||
<F N="../../lib/components/object/objectDVR.cpp"/> |
|||
<F N="../../lib/components/object/objectEventReport.cpp"/> |
|||
<F N="../../lib/components/object/objectFileLoggingService.cpp"/> |
|||
<F N="../../lib/components/object/objectLGS.cpp"/> |
|||
<F N="../../lib/components/object/objectSensorsEnumirator.cpp"/> |
|||
<F N="../../lib/components/object/objectStaticCamera.cpp"/> |
|||
<F N="../../lib/components/object/objectSystemAnchor.cpp"/> |
|||
<F N="../../lib/data/storage/storageProvider.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="hardwares" |
|||
Filters=""> |
|||
<F N="../../lib/data/net/clientPort.cpp"/> |
|||
<F N="../../lib/data/curl/curlRequest.cpp"/> |
|||
<F N="../../lib/data/curl/curlRequestsManager.cpp"/> |
|||
<F N="../../lib/hardware/stick/joystick.cpp"/> |
|||
<F N="../../lib/hardware/uart/serialPort.cpp"/> |
|||
<F N="../../lib/data/transport/transportSerial.cpp"/> |
|||
<F N="../../lib/data/transport/transportSocket.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="datas" |
|||
Filters=""> |
|||
<Folder |
|||
Name="gsoaps" |
|||
Filters=""> |
|||
<F N="../../lib/data/onvif/gsoap/dom.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/duration.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/mecevp.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/nsmap.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientdevice.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientevent.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientimaging.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientmedia.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientptz.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientreceiver.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientrecording.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientremotediscovery.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientreplay.cpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientsearch.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/smdevp.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapC.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapDeviceBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapMediaBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapMediaBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapPTZBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapPTZBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapPullPointSubscriptionBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapPullPointSubscriptionBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapReceiverBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapReceiverBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapRecordingBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapRecordingBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapRemoteDiscoveryBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapRemoteDiscoveryBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapReplayBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapReplayBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapSearchBindingProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapSearchBindingService.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapwsddProxy.cpp"/> |
|||
<F N="../../lib/data/onvif/onvifgen/soapwsddService.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/stdsoap2.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/threads.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/wsaapi.cpp"/> |
|||
<F N="../../lib/data/onvif/gsoap/wsseapi.cpp"/> |
|||
</Folder> |
|||
<F N="../../lib/data/protocol/onvifMediaObserver.cpp"/> |
|||
<F N="../../lib/data/protocol/protocol.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolHTTP.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolLGS.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolPTZ.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolPTZ_ONVIF.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolPTZ_PELCO.cpp"/> |
|||
<F N="../../lib/data/protocol/protocolPTZ_VISCA.cpp"/> |
|||
<F N="../../lib/data/protocol/xmlParser.cpp"/> |
|||
</Folder> |
|||
<F N="../../lib/App/3dGUI/main-qt.cpp"/> |
|||
<F N="../../lib/App/3dGUI/main_window.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="Header Files" |
|||
Filters="*.h;*.H;*.hh;*.hpp;*.hxx;*.h++;*.inc;*.sh;*.cpy;*.if"> |
|||
<Folder |
|||
Name="Media" |
|||
Filters=""> |
|||
<Folder |
|||
Name="VideoAnal" |
|||
Filters=""> |
|||
<F N="../../lib/components/base/basicVideoAnalyzer.h"/> |
|||
</Folder> |
|||
</Folder> |
|||
<Folder |
|||
Name="Hardware" |
|||
Filters=""> |
|||
<Folder |
|||
Name="soc" |
|||
Filters=""> |
|||
<F N="../../lib/hardware/soc/general/3DLRF.h"/> |
|||
</Folder> |
|||
<F N="../../lib/hardware/stick/joystick.h"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="GUIH" |
|||
Filters=""> |
|||
<Folder |
|||
Name="Controls" |
|||
Filters=""> |
|||
<F N="../../lib/gui/controls/addDeviceDialog.h"/> |
|||
<F N="../../lib/gui/controls/addSourceDialog.h"/> |
|||
<F N="../../lib/gui/controls/EventViewWidget.h"/> |
|||
<F N="../../lib/gui/controls/FSVideoWidget.h"/> |
|||
<F N="../../lib/gui/controls/LrfSensorWidget.h"/> |
|||
<F N="../../lib/gui/controls/OGLCameraWidget.h"/> |
|||
<F N="../../lib/gui/controls/OGLRadarWidget.h"/> |
|||
<F N="../../lib/gui/controls/OpenGLWidget.h"/> |
|||
<F N="../../lib/gui/controls/RadarMapWidget.h"/> |
|||
<F N="../../lib/gui/controls/RangeMapWidget.h"/> |
|||
<F N="../../lib/gui/controls/ReportsManagerWindow.h"/> |
|||
<F N="../../lib/gui/controls/SettingsCamera.h"/> |
|||
<F N="../../lib/gui/controls/SettingsLGS.h"/> |
|||
<F N="../../lib/gui/controls/TimeShowWidget.h"/> |
|||
<F N="../../lib/gui/controls/VideoSourceChooser.h"/> |
|||
<F N="../../lib/gui/controls/VideoThumbWidget.h"/> |
|||
<F N="../../lib/gui/controls/VideoWidget.h"/> |
|||
</Folder> |
|||
<F N="../../lib/gui/gui.h"/> |
|||
<F N="../../lib/gui/guiClass.h"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="data" |
|||
Filters=""> |
|||
<Folder |
|||
Name="onvif" |
|||
Filters=""> |
|||
<Folder |
|||
Name="gsoap" |
|||
Filters=""> |
|||
<F N="../../lib/data/onvif/include/onvifclient.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientdevice.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientevent.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientimaging.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientmedia.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientptz.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientreceiver.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientrecording.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientremotediscovery.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientreplay.hpp"/> |
|||
<F N="../../lib/data/onvif/include/onvifclientsearch.hpp"/> |
|||
</Folder> |
|||
</Folder> |
|||
</Folder> |
|||
<F N="../../lib/App/3dGUI/main_window.h"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="Resource Files" |
|||
Filters="*.ico;*.cur;*.dlg"/> |
|||
<Folder |
|||
Name="Bitmaps" |
|||
Filters="*.bmp"/> |
|||
<Folder |
|||
Name="Other Files" |
|||
Filters=""> |
|||
<F |
|||
N="makefile" |
|||
Type="Makefile"/> |
|||
</Folder> |
|||
</Files> |
|||
</Project> |
|||
@ -1,9 +0,0 @@ |
|||
APPLICATION_GUI : |
|||
{ |
|||
SYSTEM_ANCHOR : |
|||
{ |
|||
POSITION_LATITUDE = 0.0; |
|||
POSITION_LONGITUDE = 0.0; |
|||
POSITION_ALT = 0.0; |
|||
}; |
|||
}; |
|||
@ -1,225 +0,0 @@ |
|||
# SlickEdit generated file. Do not edit this file except in designated areas.
|
|||
|
|||
# Make command to use for dependencies
|
|||
MAKE=make |
|||
RM=rm |
|||
MKDIR=mkdir |
|||
|
|||
# -----Begin user-editable area-----
|
|||
|
|||
# -----End user-editable area-----
|
|||
|
|||
# If no configuration is specified, "Debug" will be used
|
|||
ifndef CFG |
|||
CFG=Debug |
|||
endif |
|||
|
|||
#
|
|||
# Configuration: Debug
|
|||
#
|
|||
ifeq "$(CFG)" "Debug" |
|||
OUTDIR=Debug |
|||
OUTFILE=$(OUTDIR)/img_mill |
|||
CFG_INC=-I/usr/local/include/opencv4 -I/dr_frucht/lib/include |
|||
CFG_LIB=-lmysqlclient -lssl -lcrypto -lpthread `pkg-config --libs \
|
|||
libavcodec libavdevice libavfilter libavformat libavresample \
|
|||
libavutil libswresample libswscale libconfig++ libcurl opencv4` -lGL \
|
|||
-lGLU -lc -lm -lz |
|||
CFG_OBJ= |
|||
COMMON_OBJ=$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|||
$(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \
|
|||
$(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \
|
|||
$(OUTDIR)/basicMediaViewer.o $(OUTDIR)/basicMutex.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettings.o \
|
|||
$(OUTDIR)/basicSettingsProvider.o $(OUTDIR)/basicThread.o \
|
|||
$(OUTDIR)/basicTransport.o $(OUTDIR)/basicVideoAnalyzer.o \
|
|||
$(OUTDIR)/database_class.o $(OUTDIR)/IM_Backend.o \
|
|||
$(OUTDIR)/IM_ClientHandler.o $(OUTDIR)/IM_ClientProtocol.o \
|
|||
$(OUTDIR)/IM_DataBaseAdapter.o $(OUTDIR)/IM_DnnWorker.o \
|
|||
$(OUTDIR)/IM_Kernel.o $(OUTDIR)/json_reader.o $(OUTDIR)/json_value.o \
|
|||
$(OUTDIR)/json_writer.o $(OUTDIR)/md5.o $(OUTDIR)/netClientHandler.o \
|
|||
$(OUTDIR)/netServer.o $(OUTDIR)/objectConsoleLoggingService.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/serverPort.o $(OUTDIR)/transportSocket.o \
|
|||
$(OUTDIR)/xmlParser.o |
|||
OBJ=$(COMMON_OBJ) $(CFG_OBJ) |
|||
ALL_OBJ=$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|||
$(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \
|
|||
$(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \
|
|||
$(OUTDIR)/basicMediaViewer.o $(OUTDIR)/basicMutex.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettings.o \
|
|||
$(OUTDIR)/basicSettingsProvider.o $(OUTDIR)/basicThread.o \
|
|||
$(OUTDIR)/basicTransport.o $(OUTDIR)/basicVideoAnalyzer.o \
|
|||
$(OUTDIR)/database_class.o $(OUTDIR)/IM_Backend.o \
|
|||
$(OUTDIR)/IM_ClientHandler.o $(OUTDIR)/IM_ClientProtocol.o \
|
|||
$(OUTDIR)/IM_DataBaseAdapter.o $(OUTDIR)/IM_DnnWorker.o \
|
|||
$(OUTDIR)/IM_Kernel.o $(OUTDIR)/json_reader.o $(OUTDIR)/json_value.o \
|
|||
$(OUTDIR)/json_writer.o $(OUTDIR)/md5.o $(OUTDIR)/netClientHandler.o \
|
|||
$(OUTDIR)/netServer.o $(OUTDIR)/objectConsoleLoggingService.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/serverPort.o $(OUTDIR)/transportSocket.o \
|
|||
$(OUTDIR)/xmlParser.o -lmysqlclient -lssl -lcrypto -lpthread \
|
|||
`pkg-config --libs libavcodec libavdevice libavfilter libavformat \
|
|||
libavresample libavutil libswresample libswscale libconfig++ libcurl \
|
|||
opencv4` -lGL -lGLU -lc -lm -lz |
|||
|
|||
COMPILE=g++ -c -x c++ "-D_OPENCV_" "-DDEBUG" -g -ggdb `pkg-config --cflags opencv4` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|||
LINK=g++ -g -ggdb -o "$(OUTFILE)" $(ALL_OBJ) |
|||
|
|||
# Pattern rules
|
|||
$(OUTDIR)/%.o : ../../lib/alg/generic/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : %.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/components/base/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/transport/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/protocol/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/net/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/json/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/mysql/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/components/object/%.cpp |
|||
$(COMPILE) |
|||
|
|||
# Build rules
|
|||
all: $(OUTFILE) |
|||
|
|||
$(OUTFILE): $(OUTDIR) $(OBJ) |
|||
$(LINK) |
|||
|
|||
$(OUTDIR): |
|||
$(MKDIR) -p "$(OUTDIR)" |
|||
|
|||
# Rebuild this project
|
|||
rebuild: cleanall all |
|||
|
|||
# Clean this project
|
|||
clean: |
|||
$(RM) -f $(OUTFILE) |
|||
$(RM) -f $(OBJ) |
|||
|
|||
# Clean this project and all dependencies
|
|||
cleanall: clean |
|||
endif |
|||
|
|||
#
|
|||
# Configuration: Release
|
|||
#
|
|||
ifeq "$(CFG)" "Release" |
|||
OUTDIR=Release |
|||
OUTFILE=$(OUTDIR)/img_mill |
|||
CFG_INC=-I/usr/local/include/opencv4 -I/dr_frucht/lib/include |
|||
CFG_LIB=-lmysqlclient -lssl -lcrypto -lpthread `pkg-config --libs \
|
|||
libavcodec libavdevice libavfilter libavformat libavresample \
|
|||
libavutil libswresample libswscale libconfig++ libcurl opencv4` -lGL \
|
|||
-lGLU -lc -lm -lz |
|||
CFG_OBJ= |
|||
COMMON_OBJ=$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|||
$(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \
|
|||
$(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \
|
|||
$(OUTDIR)/basicMediaViewer.o $(OUTDIR)/basicMutex.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettings.o \
|
|||
$(OUTDIR)/basicSettingsProvider.o $(OUTDIR)/basicThread.o \
|
|||
$(OUTDIR)/basicTransport.o $(OUTDIR)/basicVideoAnalyzer.o \
|
|||
$(OUTDIR)/database_class.o $(OUTDIR)/IM_Backend.o \
|
|||
$(OUTDIR)/IM_ClientHandler.o $(OUTDIR)/IM_ClientProtocol.o \
|
|||
$(OUTDIR)/IM_DataBaseAdapter.o $(OUTDIR)/IM_DnnWorker.o \
|
|||
$(OUTDIR)/IM_Kernel.o $(OUTDIR)/json_reader.o $(OUTDIR)/json_value.o \
|
|||
$(OUTDIR)/json_writer.o $(OUTDIR)/md5.o $(OUTDIR)/netClientHandler.o \
|
|||
$(OUTDIR)/netServer.o $(OUTDIR)/objectConsoleLoggingService.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/serverPort.o $(OUTDIR)/transportSocket.o \
|
|||
$(OUTDIR)/xmlParser.o |
|||
OBJ=$(COMMON_OBJ) $(CFG_OBJ) |
|||
ALL_OBJ=$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|||
$(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \
|
|||
$(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \
|
|||
$(OUTDIR)/basicMediaViewer.o $(OUTDIR)/basicMutex.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettings.o \
|
|||
$(OUTDIR)/basicSettingsProvider.o $(OUTDIR)/basicThread.o \
|
|||
$(OUTDIR)/basicTransport.o $(OUTDIR)/basicVideoAnalyzer.o \
|
|||
$(OUTDIR)/database_class.o $(OUTDIR)/IM_Backend.o \
|
|||
$(OUTDIR)/IM_ClientHandler.o $(OUTDIR)/IM_ClientProtocol.o \
|
|||
$(OUTDIR)/IM_DataBaseAdapter.o $(OUTDIR)/IM_DnnWorker.o \
|
|||
$(OUTDIR)/IM_Kernel.o $(OUTDIR)/json_reader.o $(OUTDIR)/json_value.o \
|
|||
$(OUTDIR)/json_writer.o $(OUTDIR)/md5.o $(OUTDIR)/netClientHandler.o \
|
|||
$(OUTDIR)/netServer.o $(OUTDIR)/objectConsoleLoggingService.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/serverPort.o $(OUTDIR)/transportSocket.o \
|
|||
$(OUTDIR)/xmlParser.o -lmysqlclient -lssl -lcrypto -lpthread \
|
|||
`pkg-config --libs libavcodec libavdevice libavfilter libavformat \
|
|||
libavresample libavutil libswresample libswscale libconfig++ libcurl \
|
|||
opencv4` -lGL -lGLU -lc -lm -lz |
|||
|
|||
COMPILE=g++ -c -x c++ "-D_OPENCV_" "-DDEBUG" -ggdb `pkg-config --cflags opencv4` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|||
LINK=g++ -ggdb -o "$(OUTFILE)" $(ALL_OBJ) |
|||
|
|||
# Pattern rules
|
|||
$(OUTDIR)/%.o : ../../lib/alg/generic/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : %.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/components/base/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/transport/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/protocol/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/net/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/json/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/data/mysql/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../lib/components/object/%.cpp |
|||
$(COMPILE) |
|||
|
|||
# Build rules
|
|||
all: $(OUTFILE) |
|||
|
|||
$(OUTFILE): $(OUTDIR) $(OBJ) |
|||
$(LINK) |
|||
|
|||
$(OUTDIR): |
|||
$(MKDIR) -p "$(OUTDIR)" |
|||
|
|||
# Rebuild this project
|
|||
rebuild: cleanall all |
|||
|
|||
# Clean this project
|
|||
clean: |
|||
$(RM) -f $(OUTFILE) |
|||
$(RM) -f $(OBJ) |
|||
|
|||
# Clean this project and all dependencies
|
|||
cleanall: clean |
|||
endif |
|||
@ -1,40 +0,0 @@ |
|||
======================================================================== |
|||
CONSOLE APPLICATION : cortex_test Project Overview |
|||
======================================================================== |
|||
|
|||
AppWizard has created this cortex_test application for you. |
|||
|
|||
This file contains a summary of what you will find in each of the files that |
|||
make up your cortex_test application. |
|||
|
|||
|
|||
cortex_test.vcxproj |
|||
This is the main project file for VC++ projects generated using an Application Wizard. |
|||
It contains information about the version of Visual C++ that generated the file, and |
|||
information about the platforms, configurations, and project features selected with the |
|||
Application Wizard. |
|||
|
|||
cortex_test.vcxproj.filters |
|||
This is the filters file for VC++ projects generated using an Application Wizard. |
|||
It contains information about the association between the files in your project |
|||
and the filters. This association is used in the IDE to show grouping of files with |
|||
similar extensions under a specific node (for e.g. ".cpp" files are associated with the |
|||
"Source Files" filter). |
|||
|
|||
cortex_test.cpp |
|||
This is the main application source file. |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
Other standard files: |
|||
|
|||
StdAfx.h, StdAfx.cpp |
|||
These files are used to build a precompiled header (PCH) file |
|||
named cortex_test.pch and a precompiled types file named StdAfx.obj. |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
Other notes: |
|||
|
|||
AppWizard uses "TODO:" comments to indicate parts of the source code you |
|||
should add to or customize. |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,71 +0,0 @@ |
|||
// cortex_test.cpp : Defines the entry point for the console application.
|
|||
//
|
|||
|
|||
#include "stdafx.h"
|
|||
|
|||
|
|||
int _tmain(int argc, _TCHAR* argv[]){ |
|||
objectConsoleLoggingService CL; |
|||
cortexLayersFactory * mFACTORY; |
|||
classGUI_SDL * mGUI; |
|||
sdlProgressBar * mPBar; |
|||
sdlLog * mLog; |
|||
basicLogCollection::getInstance()->addHandler(&CL); |
|||
mGUI = classGUI_SDL::getInstance(); |
|||
|
|||
mLog = new sdlLog( 10,300,600,200); |
|||
basicLogCollection::getInstance()->addHandler(mLog); |
|||
|
|||
mFACTORY = cortexLayersFactory::getInstance(); |
|||
mPBar = new sdlProgressBar(120, 120, 500, 40); |
|||
mPBar->attachStatusProvider(mFACTORY); |
|||
mFACTORY->setGpuUsageMode(true); |
|||
mFACTORY->setPushPullMode(true); |
|||
float detectionThreshold = 0.5f; |
|||
basicCortex * Net; |
|||
Net = mFACTORY->parseConfigCustom("C:\\FruchtSystems\\darknet-master\\cfg\\tiny-yolo.cfg", 1 ); |
|||
//Net = mFACTORY->parseConfig("C:\\FruchtSystems\\dn_vs13\\x64\\Debug\\cfg\\yolo-obj.cfg");
|
|||
//Net = mFACTORY->parseConfig("C:\\FruchtSystems\\darknet-master\\cfg\\darknet.cfg");
|
|||
if( Net != NULL ){ |
|||
//delete(mPBar);
|
|||
Net->loadWeights("C:\\FruchtSystems\\dn_vs13\\x64\\Debug\\yolo-obj.backup"); |
|||
Net->setBatch(1); |
|||
|
|||
regionLayer *RL; |
|||
RL = (regionLayer*)Net->getLayer(Net->getLayersCount() - 1); |
|||
|
|||
float nms = .4f; |
|||
uint32_t box_cnt; |
|||
uint32_t cls_cnt; |
|||
box_cnt = RL->getBoxesCount(); |
|||
cls_cnt = RL->getClassesCount(); |
|||
cortexBOXLABEL *boxes = (cortexBOXLABEL*)calloc(box_cnt, sizeof(cortexBOXLABEL)); |
|||
float **probs = (float**)calloc(box_cnt, sizeof(float*)); |
|||
for (uint32_t j = 0; j < box_cnt; ++j){ |
|||
memset(boxes, 0, box_cnt*sizeof(cortexBOXLABEL)); |
|||
probs[j] = (float*)calloc(cls_cnt, sizeof(float)); |
|||
memset(probs[j], 0, cls_cnt*sizeof(float)); |
|||
}; |
|||
cv::Mat img; |
|||
cv::Mat r_img; |
|||
char *tPath = "C:\\FruchtSystems\\darknet-master\\data\\dog.jpg"; |
|||
img = cv::imread(tPath, CV_LOAD_IMAGE_COLOR);//CV_LOAD_IMAGE_GRAYSCALE
|
|||
basicLogCollection::getInstance()->Log("Main", NULL, tPath ); |
|||
// Check for invalid input
|
|||
if( !img.data ){ |
|||
basicLogCollection::getInstance()->Log("Main", NULL, "Could not open or find the image!"); |
|||
} else { |
|||
cv::resize(img, r_img, cv::Size(Net->getInputWidth(), Net->getInputHeight()), 0, 0, CV_INTER_LINEAR); |
|||
cortexImage image(&r_img); |
|||
Net->predict(image.data); |
|||
RL->get_region_boxes(1, 1, detectionThreshold, probs, boxes, 0, 0 ); |
|||
basicLogCollection::getInstance()->Log("Main", NULL, "Riched Finish!"); |
|||
}; |
|||
mGUI->waitThreadEnd(); |
|||
delete(Net); |
|||
} else { |
|||
basicLogCollection::getInstance()->Log("Main", NULL, "Error Loading Network Configuration!"); |
|||
}; |
|||
return 0; |
|||
} |
|||
|
|||
@ -1,247 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup Label="ProjectConfigurations"> |
|||
<ProjectConfiguration Include="Debug|Win32"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|Win32"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
</ItemGroup> |
|||
<PropertyGroup Label="Globals"> |
|||
<ProjectGuid>{CB0601AE-A104-40CF-83D1-DA66736E8322}</ProjectGuid> |
|||
<Keyword>Win32Proj</Keyword> |
|||
<RootNamespace>cortex_test</RootNamespace> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>true</UseDebugLibraries> |
|||
<PlatformToolset>v120</PlatformToolset> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>false</UseDebugLibraries> |
|||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|||
<CharacterSet>Unicode</CharacterSet> |
|||
<PlatformToolset>v120</PlatformToolset> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|||
<ImportGroup Label="ExtensionSettings"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 8.0.props" /> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<PropertyGroup Label="UserMacros" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|||
<LinkIncremental>true</LinkIncremental> |
|||
<IncludePath>c:\boost_1_68_0;c:\FruchtSystems\W32LIBS\include;c:\FruchtSystems\W32LIBS\CUDAToolkit_x86_6.5\include;c:\SDL\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>c:\boost_1_68_0\lib32-msvc-12.0;c:\FruchtSystems\W32LIBS\lib;c:\FruchtSystems\W32LIBS\CUDAToolkit_x86_6.5\lib\Win32;c:\SDL\lib\x86;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|||
<LinkIncremental>false</LinkIncremental> |
|||
<IncludePath>c:\boost_1_68_0;c:\FruchtSystems\W32LIBS\include;c:\FruchtSystems\W32LIBS\CUDAToolkit_x86_6.5\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>c:\boost_1_68_0\lib32-msvc-12.0;c:\FruchtSystems\W32LIBS\lib;c:\FruchtSystems\W32LIBS\CUDAToolkit_x86_6.5\lib\Win32;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|||
<ClCompile> |
|||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>Disabled</Optimization> |
|||
<PreprocessorDefinitions>WIN32;GPU;_DEBUG;DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<AdditionalOptions>-Zm121 %(AdditionalOptions)</AdditionalOptions> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
<AdditionalLibraryDirectories>C:\MS_LIBS\cv2\x86\vc10\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
|||
<AdditionalDependencies>cublas.lib;cublas_device.lib;cuda.lib;cudadevrt.lib;cudart.lib;cudart_static.lib;cufft.lib;cufftw.lib;curand.lib;cusparse.lib;nppc.lib;nppi.lib;npps.lib;nvcuvid.lib;OpenCL.lib;opencv_calib3d249d.lib;opencv_contrib249d.lib;opencv_core249d.lib;opencv_features2d249d.lib;opencv_flann249d.lib;opencv_gpu249d.lib;opencv_highgui249d.lib;opencv_imgproc249d.lib;opencv_legacy249d.lib;opencv_ml249d.lib;opencv_nonfree249d.lib;opencv_objdetect249d.lib;opencv_ocl249d.lib;opencv_photo249d.lib;opencv_stitching249d.lib;opencv_superres249d.lib;opencv_ts249d.lib;opencv_video249d.lib;opencv_videostab249d.lib;SDL2.lib;SDL2_image.lib;SDL2_mixer.lib;SDL2_net.lib;SDL2_ttf.lib;SDL2main.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|||
<ClCompile> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|||
<Optimization>MaxSpeed</Optimization> |
|||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;GPU;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|||
<OptimizeReferences>true</OptimizeReferences> |
|||
<AdditionalDependencies>cublas.lib;cublas_device.lib;cuda.lib;cudadevrt.lib;cudart.lib;cudart_static.lib;cufft.lib;cufftw.lib;curand.lib;cusparse.lib;nppc.lib;nppi.lib;npps.lib;nvcuvid.lib;OpenCL.lib;opencv_calib3d249.lib;opencv_calib3d249d.lib;opencv_contrib249.lib;opencv_contrib249d.lib;opencv_core249.lib;opencv_core249d.lib;opencv_features2d249.lib;opencv_features2d249d.lib;opencv_flann249.lib;opencv_flann249d.lib;opencv_gpu249.lib;opencv_gpu249d.lib;opencv_highgui249.lib;opencv_highgui249d.lib;opencv_imgproc249.lib;opencv_imgproc249d.lib;opencv_legacy249.lib;opencv_legacy249d.lib;opencv_ml249.lib;opencv_ml249d.lib;opencv_nonfree249.lib;opencv_nonfree249d.lib;opencv_objdetect249.lib;opencv_objdetect249d.lib;opencv_ocl249.lib;opencv_ocl249d.lib;opencv_photo249.lib;opencv_photo249d.lib;opencv_stitching249.lib;opencv_stitching249d.lib;opencv_superres249.lib;opencv_superres249d.lib;opencv_ts249.lib;opencv_ts249d.lib;opencv_video249.lib;opencv_video249d.lib;opencv_videostab249.lib;opencv_videostab249d.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<None Include="ReadMe.txt" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatus.h" /> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatusProvider.h" /> |
|||
<ClInclude Include="..\..\lib\components\object\objectConsoleLoggingService.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicActivations.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicBox.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicCortex.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicData.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicDataAux.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMatrix.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMT.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicParser.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicProcessingUnit.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicTree.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicUtils.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\cpu\cpu.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\cuda\cuda.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\activationLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\avgpoolLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\batchnormLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\connectedLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\convolutionalLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\costLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\crnnLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\cropLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\detectionLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\dropoutLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\gruLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\layersFactory.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\localLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\maxpoolLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\normalizationLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\regionLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\reorgLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\rnnLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\routeLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\shortcutLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\softmaxLayer.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreLabel.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreStyleTemplate.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreWidget.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\gui_sdl.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\logWidget.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\progressBar.h" /> |
|||
<ClInclude Include="stdafx.h" /> |
|||
<ClInclude Include="targetver.h" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\object\objectConsoleLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreLabel.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreWidget.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\gui_sdl.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\logWidget.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\progressBar.cpp" /> |
|||
<ClCompile Include="cortex_test.cpp" /> |
|||
<ClCompile Include="stdafx.cpp"> |
|||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> |
|||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|||
<ImportGroup Label="ExtensionTargets"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 8.0.targets" /> |
|||
</ImportGroup> |
|||
</Project> |
|||
@ -1,450 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</CudaCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="cortex_test.cpp"> |
|||
<Filter>Sources</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="stdafx.cpp"> |
|||
<Filter>Sources</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreLabel.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreWidget.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\progressBar.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\logWidget.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\gui_sdl.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\object\objectConsoleLoggingService.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\activationLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\avgpoolLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicActivations.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicBox.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicCortex.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicData.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicDataAux.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMatrix.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMT.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicParser.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatus.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicProcessingUnit.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatusProvider.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicTree.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicUtils.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\batchnormLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\connectedLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\convolutionalLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreLabel.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreStyleTemplate.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreWidget.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\costLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\cpu\cpu.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\crnnLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\cropLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\cuda\cuda.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\detectionLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\dropoutLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\gruLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\gui_sdl.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\layersFactory.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\localLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\logWidget.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\maxpoolLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\normalizationLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\object\objectConsoleLoggingService.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\progressBar.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\regionLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\reorgLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\rnnLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\routeLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\shortcutLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\softmaxLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="stdafx.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="targetver.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<None Include="ReadMe.txt" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Filter Include="Sources"> |
|||
<UniqueIdentifier>{4e95beec-3da5-4485-adaf-c28c4f488cd9}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Headers"> |
|||
<UniqueIdentifier>{5157f098-ee01-4c3c-afef-8b8b35bb4b06}</UniqueIdentifier> |
|||
<Extensions>*.h</Extensions> |
|||
</Filter> |
|||
<Filter Include="Sources\CUDA modules"> |
|||
<UniqueIdentifier>{2f027295-8bd2-4f77-9eda-1ce84cb72421}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex"> |
|||
<UniqueIdentifier>{1c870a70-4ccb-4d04-a715-0a11132a4f70}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Base"> |
|||
<UniqueIdentifier>{5a93c20c-c7a7-4ab8-8064-64de4a658f6e}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\SDL"> |
|||
<UniqueIdentifier>{c1ee37cf-2f1c-412b-bffc-5abee9b38edf}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Base"> |
|||
<UniqueIdentifier>{43b34290-5182-4314-ba47-7cade3bc2c64}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Layers"> |
|||
<UniqueIdentifier>{1f757de4-a7d7-494c-982f-e9b4cbbf12f9}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Cuda"> |
|||
<UniqueIdentifier>{3264e393-ee44-46e1-b7cc-0a22ce55f5cd}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\CPU"> |
|||
<UniqueIdentifier>{a6b8cbd6-f36c-4a92-8c98-94956bf25b22}</UniqueIdentifier> |
|||
</Filter> |
|||
</ItemGroup> |
|||
</Project> |
|||
@ -1,265 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup Label="ProjectConfigurations"> |
|||
<ProjectConfiguration Include="Debug|x64"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|x64"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
</ItemGroup> |
|||
<PropertyGroup Label="Globals"> |
|||
<ProjectGuid>{CB0601AE-A104-40CF-83D1-DA66736E8322}</ProjectGuid> |
|||
<Keyword>Win32Proj</Keyword> |
|||
<RootNamespace>cortex_test</RootNamespace> |
|||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>true</UseDebugLibraries> |
|||
<PlatformToolset>v142</PlatformToolset> |
|||
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>false</UseDebugLibraries> |
|||
<WholeProgramOptimization> |
|||
</WholeProgramOptimization> |
|||
<CharacterSet> |
|||
</CharacterSet> |
|||
<PlatformToolset>v142</PlatformToolset> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|||
<ImportGroup Label="ExtensionSettings"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 10.1.props" /> |
|||
</ImportGroup> |
|||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<PropertyGroup Label="UserMacros" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|||
<LinkIncremental>true</LinkIncremental> |
|||
<IncludePath>C:\MS_LIBS\boost_1_71_0;C:\LIBS\pthreads\include;C:\LIBS\libconfig-1.5\include;C:\MS_LIBS\cv3\include;C:\MS_LIBS\SDL\include\SDL2;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>C:\MS_LIBS\boost_1_71_0\lib64-msvc-14.2;C:\MS_LIBS\cv3\x64\vc12\lib;C:\MS_LIBS\SDL\lib\x64;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64;C:\LIBS\pthreads\lib\x64;C:\LIBS\libconfig-1.5\lib\x64;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|||
<LinkIncremental>false</LinkIncremental> |
|||
<IncludePath>C:\MS_LIBS\boost_1_71_0;C:\LIBS\pthreads\include;C:\LIBS\libconfig-1.5\include;C:\MS_LIBS\cv3\include;C:\MS_LIBS\SDL\include\SDL2;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>C:\MS_LIBS\boost_1_71_0\lib64-msvc-14.2;C:\MS_LIBS\cv3\x64\vc12\lib;C:\MS_LIBS\SDL\lib\x64;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64;C:\LIBS\pthreads\lib\x64;C:\LIBS\libconfig-1.5\lib\x64;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|||
<ClCompile> |
|||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>Disabled</Optimization> |
|||
<PreprocessorDefinitions>WIN32;PTW32_STATIC_LIB;_TIMESPEC_DEFINED;GPU;_DEBUG;DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<AdditionalOptions>-Zm121 %(AdditionalOptions)</AdditionalOptions> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
<AdditionalLibraryDirectories> |
|||
</AdditionalLibraryDirectories> |
|||
<AdditionalDependencies>cublas.lib;cublasLt.lib;cuda.lib;cudadevrt.lib;cudart.lib;cudart_static.lib;cudnn.lib;cufft.lib;cufftw.lib;curand.lib;cusolver.lib;cusolverMg.lib;cusparse.lib;nppc.lib;nppial.lib;nppicc.lib;nppicom.lib;nppidei.lib;nppif.lib;nppig.lib;nppim.lib;nppist.lib;nppisu.lib;nppitc.lib;npps.lib;nvblas.lib;nvcuvid.lib;nvencodeapi.lib;nvgraph.lib;nvjpeg.lib;nvml.lib;nvrtc.lib;OpenCL.lib;opencv_ts300d.lib;opencv_world300d.lib;SDL.lib;SDL2.lib;SDL2_image.lib;SDL2_mixer.lib;SDL2_net.lib;SDL2_ttf.lib;SDLmain.lib;SDL2main.lib;pthreadVC2.lib;libconfigd.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
<CudaCompile> |
|||
<TargetMachinePlatform>64</TargetMachinePlatform> |
|||
</CudaCompile> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|||
<ClCompile> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|||
<Optimization>MaxSpeed</Optimization> |
|||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|||
<PreprocessorDefinitions>WIN32;PTW32_STATIC_LIB;_TIMESPEC_DEFINED;GPU;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|||
<OptimizeReferences>true</OptimizeReferences> |
|||
<AdditionalDependencies>cublas.lib;cublasLt.lib;cuda.lib;cudadevrt.lib;cudart.lib;cudart_static.lib;cudnn.lib;cufft.lib;cufftw.lib;curand.lib;cusolver.lib;cusolverMg.lib;cusparse.lib;nppc.lib;nppial.lib;nppicc.lib;nppicom.lib;nppidei.lib;nppif.lib;nppig.lib;nppim.lib;nppist.lib;nppisu.lib;nppitc.lib;npps.lib;nvblas.lib;nvcuvid.lib;nvencodeapi.lib;nvgraph.lib;nvjpeg.lib;nvml.lib;nvrtc.lib;OpenCL.lib;opencv_ts300.lib;opencv_world300.lib;SDL.lib;SDL2.lib;SDL2_image.lib;SDL2_mixer.lib;SDL2_net.lib;SDL2_ttf.lib;SDLmain.lib;SDL2main.lib;pthreadVC2.lib;libconfig.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
<CudaCompile> |
|||
<TargetMachinePlatform>64</TargetMachinePlatform> |
|||
</CudaCompile> |
|||
</ItemDefinitionGroup> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<None Include="ReadMe.txt" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatus.h" /> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatusProvider.h" /> |
|||
<ClInclude Include="..\..\lib\components\object\objectConsoleLoggingService.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicActivations.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicBox.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicCortex.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicData.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicDataAux.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMatrix.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMT.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicParser.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicProcessingUnit.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicTree.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicUtils.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\cpu\cpu.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\cuda\cuda.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\activationLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\avgpoolLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\batchnormLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\connectedLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\convolutionalLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\costLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\crnnLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\cropLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\detectionLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\dropoutLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\gruLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\layersFactory.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\localLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\maxpoolLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\normalizationLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\regionLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\reorgLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\rnnLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\routeLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\shortcutLayer.h" /> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\softmaxLayer.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreLabel.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreStyleTemplate.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreWidget.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\gui_sdl.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\logWidget.h" /> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\progressBar.h" /> |
|||
<ClInclude Include="stdafx.h" /> |
|||
<ClInclude Include="targetver.h" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="..\..\lib\alg\generic\md5.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicFunctionality.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettings.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettingsProvider.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\object\objectConsoleLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreDecoration.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreElement.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreLabel.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreWidget.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\gui_sdl.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\joystickWrapper.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\logWidget.cpp" /> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\progressBar.cpp" /> |
|||
<ClCompile Include="cortex_test.cpp" /> |
|||
<ClCompile Include="stdafx.cpp"> |
|||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> |
|||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|||
<ImportGroup Label="ExtensionTargets"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 10.1.targets" /> |
|||
</ImportGroup> |
|||
</Project> |
|||
@ -1,471 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<Filter>Sources\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</CudaCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="cortex_test.cpp"> |
|||
<Filter>Sources</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="stdafx.cpp"> |
|||
<Filter>Sources</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp"> |
|||
<Filter>Sources\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreLabel.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreWidget.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\progressBar.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\widgets\logWidget.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\gui_sdl.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp"> |
|||
<Filter>Sources\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\object\objectConsoleLoggingService.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettings.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettingsProvider.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\alg\generic\md5.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicFunctionality.cpp"> |
|||
<Filter>Sources\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreElement.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\core\coreDecoration.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\sdl\joystickWrapper.cpp"> |
|||
<Filter>Sources\SDL</Filter> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\activationLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\avgpoolLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicActivations.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicBox.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicCortex.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicData.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicDataAux.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMatrix.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicMT.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicParser.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatus.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicProcessingUnit.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\base\basicStatusProvider.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicTree.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\base\basicUtils.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\batchnormLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\connectedLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\convolutionalLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreLabel.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreStyleTemplate.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\core\coreWidget.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\costLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\cpu\cpu.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\crnnLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\cropLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\cuda\cuda.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\detectionLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\dropoutLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\gruLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\gui_sdl.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\layersFactory.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\localLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\logWidget.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\maxpoolLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\normalizationLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\components\object\objectConsoleLoggingService.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\sdl\widgets\progressBar.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\regionLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\reorgLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\rnnLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\routeLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\shortcutLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\data\cortex\layers\softmaxLayer.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="stdafx.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="targetver.h"> |
|||
<Filter>Headers</Filter> |
|||
</ClInclude> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<None Include="ReadMe.txt" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Filter Include="Sources"> |
|||
<UniqueIdentifier>{4e95beec-3da5-4485-adaf-c28c4f488cd9}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Headers"> |
|||
<UniqueIdentifier>{5157f098-ee01-4c3c-afef-8b8b35bb4b06}</UniqueIdentifier> |
|||
<Extensions>*.h</Extensions> |
|||
</Filter> |
|||
<Filter Include="Sources\CUDA modules"> |
|||
<UniqueIdentifier>{2f027295-8bd2-4f77-9eda-1ce84cb72421}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex"> |
|||
<UniqueIdentifier>{1c870a70-4ccb-4d04-a715-0a11132a4f70}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Base"> |
|||
<UniqueIdentifier>{5a93c20c-c7a7-4ab8-8064-64de4a658f6e}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\SDL"> |
|||
<UniqueIdentifier>{c1ee37cf-2f1c-412b-bffc-5abee9b38edf}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Base"> |
|||
<UniqueIdentifier>{43b34290-5182-4314-ba47-7cade3bc2c64}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Layers"> |
|||
<UniqueIdentifier>{1f757de4-a7d7-494c-982f-e9b4cbbf12f9}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\Cuda"> |
|||
<UniqueIdentifier>{3264e393-ee44-46e1-b7cc-0a22ce55f5cd}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Sources\Cortex\CPU"> |
|||
<UniqueIdentifier>{a6b8cbd6-f36c-4a92-8c98-94956bf25b22}</UniqueIdentifier> |
|||
</Filter> |
|||
</ItemGroup> |
|||
</Project> |
|||
@ -1,4 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup /> |
|||
</Project> |
|||
@ -1,9 +0,0 @@ |
|||
GUI : |
|||
{ |
|||
FULL_SCREEN_MODE = 0; |
|||
WIDTH = 800; |
|||
HEIGHT = 600; |
|||
BACKGROUND_MODE = 0; |
|||
BACKGROUND_SOLID_COLOR = 3441582; |
|||
BACKGROUND_ALT_SOLID_COLOR = 3441582; |
|||
}; |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@ |
|||
// stdafx.cpp : source file that includes just the standard includes
|
|||
// cortex_test.pch will be the pre-compiled header
|
|||
// stdafx.obj will contain the pre-compiled type information
|
|||
|
|||
#include "stdafx.h"
|
|||
|
|||
// TODO: reference any additional headers you need in STDAFX.H
|
|||
// and not in this file
|
|||
@ -1,30 +0,0 @@ |
|||
// stdafx.h : include file for standard system include files, |
|||
// or project specific include files that are used frequently, but |
|||
// are changed infrequently |
|||
// |
|||
|
|||
#pragma once |
|||
|
|||
#include "targetver.h" |
|||
|
|||
#include <stdio.h> |
|||
#include <tchar.h> |
|||
|
|||
//#include <algorithm> |
|||
//#include <boost/chrono.hpp> |
|||
//#include <iostream> |
|||
//#include <boost/mmutex> |
|||
|
|||
//#include <vector> |
|||
|
|||
#include "../../lib/data/cortex/cpu/cpu.h" |
|||
#include "../../lib/data/cortex/cuda/cuda.h" |
|||
#include "../../lib/components/object/objectConsoleLoggingService.h" |
|||
#include "../../lib/data/cortex/layers/layersFactory.h" |
|||
#include "../../lib/data/cortex/layers/regionLayer.h" |
|||
//#include "../../lib/sdl/gui_sdl.h" |
|||
#include "../../lib/sdl/widgets/progressBar.h" |
|||
#include "../../lib/sdl/widgets/logWidget.h" |
|||
|
|||
|
|||
// TODO: reference additional headers your program requires here |
|||
@ -1,8 +0,0 @@ |
|||
#pragma once |
|||
|
|||
// Including SDKDDKVer.h defines the highest available Windows platform. |
|||
|
|||
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and |
|||
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. |
|||
|
|||
#include <SDKDDKVer.h> |
|||
Binary file not shown.
@ -1,77 +0,0 @@ |
|||
// CudaWare_64_DNN_Learning.cpp : Defines the entry point for the application.
|
|||
//
|
|||
#include "framework.h"
|
|||
#include "CudaWare_64_DNN_Learning.h"
|
|||
#include "../../lib/components/object/objectFileLoggingService.h"
|
|||
|
|||
#define MAX_LOADSTRING 100
|
|||
|
|||
#define LOG(X) mpLog->Log( "Main", NULL, X )
|
|||
#define LOG_DEBUG( X ) mpLog->Log( "Main", NULL, _LOG_DEBUG, X )
|
|||
#define LOG_ERROR( X ) mpLog->Log( "Main", NULL, _LOG_ERROR, X )
|
|||
|
|||
int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, |
|||
_In_opt_ HINSTANCE hPrevInstance, |
|||
_In_ LPTSTR lpCmdLine, |
|||
_In_ int nCmdShow) |
|||
{ |
|||
UNREFERENCED_PARAMETER(hPrevInstance); |
|||
UNREFERENCED_PARAMETER(lpCmdLine); |
|||
|
|||
// TODO: Place code here.
|
|||
guiClass* GUI; |
|||
GUI = guiClass::getInstance(); |
|||
GUI->init(0, NULL); |
|||
|
|||
basicLogCollection * mpLog = basicLogCollection::getInstance(); |
|||
objectFileLoggingService * fLog; |
|||
char tPath[1024]; |
|||
char* ttPtz = NULL; |
|||
//ttPtz = (char *)GUI->getApp()->applicationDirPath().toStdString().c_str();
|
|||
if (ttPtz != NULL) { |
|||
sprintf(tPath, "%s/my.log", ttPtz); |
|||
} else { |
|||
sprintf(tPath, "my.log"); |
|||
}; |
|||
fLog = new objectFileLoggingService(tPath); |
|||
mpLog->addHandler((basicLoggingService*)fLog); |
|||
printf("From now - refer to log file\n"); |
|||
LOG_DEBUG("ENTER APPLICATION"); |
|||
basicSettingsProvider * mpSettingsProvider = basicSettingsProvider::getInstance(); |
|||
config_setting_t * mpSettings; |
|||
mpSettings = mpSettingsProvider->getSubNode(NULL,(CSTR)"APPLICATION_GUI"); |
|||
|
|||
mainWinow* window; |
|||
window = mainWinow::getInstance(); |
|||
|
|||
//Check Startup Mode
|
|||
int gAppStartupMode; |
|||
config_setting_t * pSetting; |
|||
|
|||
if (!config_setting_lookup_int(mpSettings, "STARTUP_WINDOW_MODE", &gAppStartupMode)) { |
|||
gAppStartupMode = 0; |
|||
pSetting = config_setting_add(mpSettings, "STARTUP_WINDOW_MODE", CONFIG_TYPE_INT); |
|||
config_setting_set_int(pSetting, gAppStartupMode); |
|||
mpSettingsProvider->compromise(); |
|||
}; |
|||
|
|||
switch (gAppStartupMode) { |
|||
case 0: window->show(); break; |
|||
case 1: window->showMaximized(); break; |
|||
case 2: window->showFullScreen(); break; |
|||
default: |
|||
gAppStartupMode = 0; |
|||
pSetting = config_setting_lookup(mpSettings, "STARTUP_WINDOW_MODE"); |
|||
config_setting_set_int(pSetting, gAppStartupMode); |
|||
mpSettingsProvider->compromise(); |
|||
window->showMaximized(); |
|||
}; |
|||
|
|||
delete GUI; |
|||
delete window; |
|||
delete mpSettingsProvider; |
|||
|
|||
LOG_DEBUG("EXIT APPLICATION"); |
|||
delete mpLog; |
|||
return 0; |
|||
} |
|||
@ -1,3 +0,0 @@ |
|||
#pragma once |
|||
|
|||
#include "resource.h" |
|||
Binary file not shown.
@ -1,151 +0,0 @@ |
|||
//Microsoft Visual C++ generated resource script. |
|||
// |
|||
#pragma code_page(65001) |
|||
|
|||
#include "resource.h" |
|||
|
|||
#define APSTUDIO_READONLY_SYMBOLS |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Generated from the TEXTINCLUDE resource. |
|||
// |
|||
#ifndef APSTUDIO_INVOKED |
|||
#include "targetver.h" |
|||
#endif |
|||
#define APSTUDIO_HIDDEN_SYMBOLS |
|||
#include "windows.h" |
|||
#undef APSTUDIO_HIDDEN_SYMBOLS |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
#undef APSTUDIO_READONLY_SYMBOLS |
|||
|
|||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
|||
LANGUAGE 9, 1 |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Icon |
|||
// |
|||
|
|||
// Icon with lowest ID value placed first to ensure application icon |
|||
// remains consistent on all systems. |
|||
|
|||
IDI_CUDAWARE64DNNLEARNING ICON "CudaWare_64_DNN_Learning.ico" |
|||
IDI_SMALL ICON "small.ico" |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Menu |
|||
// |
|||
|
|||
IDC_CUDAWARE64DNNLEARNING MENU |
|||
BEGIN |
|||
POPUP "&File" |
|||
BEGIN |
|||
MENUITEM "E&xit", IDM_EXIT |
|||
END |
|||
POPUP "&Help" |
|||
BEGIN |
|||
MENUITEM "&About ...", IDM_ABOUT |
|||
END |
|||
END |
|||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Accelerator |
|||
// |
|||
|
|||
IDC_CUDAWARE64DNNLEARNING ACCELERATORS |
|||
BEGIN |
|||
"?", IDM_ABOUT, ASCII, ALT |
|||
"/", IDM_ABOUT, ASCII, ALT |
|||
END |
|||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Dialog |
|||
// |
|||
|
|||
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 |
|||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU |
|||
CAPTION "About CudaWare_64_DNN_Learning" |
|||
FONT 8, "MS Shell Dlg" |
|||
BEGIN |
|||
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 |
|||
LTEXT "CudaWare_64_DNN_Learning, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX |
|||
LTEXT "Copyright (c) 2020",IDC_STATIC,42,26,114,8 |
|||
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP |
|||
END |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// DESIGNINFO |
|||
// |
|||
|
|||
#ifdef APSTUDIO_INVOKED |
|||
GUIDELINES DESIGNINFO |
|||
BEGIN |
|||
IDD_ABOUTBOX, DIALOG |
|||
BEGIN |
|||
LEFTMARGIN, 7 |
|||
RIGHTMARGIN, 163 |
|||
TOPMARGIN, 7 |
|||
BOTTOMMARGIN, 55 |
|||
END |
|||
END |
|||
#endif // APSTUDIO_INVOKED |
|||
|
|||
#ifdef APSTUDIO_INVOKED |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// TEXTINCLUDE |
|||
// |
|||
1 TEXTINCLUDE |
|||
BEGIN |
|||
"resource.h\0" |
|||
END |
|||
|
|||
2 TEXTINCLUDE |
|||
BEGIN |
|||
"#ifndef APSTUDIO_INVOKED\r\n" |
|||
"#include ""targetver.h""\r\n" |
|||
"#endif\r\n" |
|||
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n" |
|||
"#include ""windows.h""\r\n" |
|||
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" |
|||
"\0" |
|||
END |
|||
|
|||
3 TEXTINCLUDE |
|||
BEGIN |
|||
"\r\n" |
|||
"\0" |
|||
END |
|||
|
|||
#endif // APSTUDIO_INVOKED |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// String Table |
|||
// |
|||
|
|||
STRINGTABLE |
|||
BEGIN |
|||
IDC_CUDAWARE64DNNLEARNING "CUDAWARE64DNNLEARNING" |
|||
IDS_APP_TITLE "CudaWare_64_DNN_Learning" |
|||
END |
|||
|
|||
#endif |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
|
|||
|
|||
|
|||
#ifndef APSTUDIO_INVOKED |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Generated from the TEXTINCLUDE resource. |
|||
// |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
#endif // not APSTUDIO_INVOKED |
|||
@ -1,232 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup Label="ProjectConfigurations"> |
|||
<ProjectConfiguration Include="Debug|x64"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|x64"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
</ItemGroup> |
|||
<PropertyGroup Label="Globals"> |
|||
<VCProjectVersion>16.0</VCProjectVersion> |
|||
<ProjectGuid>{C03D51D2-8661-4D85-B159-E0C9E480ED82}</ProjectGuid> |
|||
<Keyword>Win32Proj</Keyword> |
|||
<RootNamespace>CudaWare64DNNLearning</RootNamespace> |
|||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>true</UseDebugLibraries> |
|||
<PlatformToolset>v142</PlatformToolset> |
|||
<CharacterSet> |
|||
</CharacterSet> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<UseDebugLibraries>false</UseDebugLibraries> |
|||
<PlatformToolset>v142</PlatformToolset> |
|||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|||
<CharacterSet>Unicode</CharacterSet> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|||
<ImportGroup Label="ExtensionSettings"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 10.1.props" /> |
|||
</ImportGroup> |
|||
<ImportGroup Label="Shared"> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<PropertyGroup Label="UserMacros" /> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|||
<LinkIncremental>true</LinkIncremental> |
|||
<IncludePath>..\..\lib\App\CudaWare_64_DNN_Learning;C:\LIBS\libconfig-1.5\include;C:\LIBS\Qt\5.12.2\msvc2015_64\include;C:\LIBS\pthreads\include;C:\MS_LIBS\cv3\include;C:\LIBS\ffmpeg\include;C:\LIBS\openssl\include;C:\LIBS\boost_1_72;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>C:\LIBS\Qt\5.12.2\msvc2015_64\lib;C:\LIBS\openssl\x64;C:\LIBS\libconfig-1.5\lib\x64;C:\LIBS\ffmpeg\static_lib\debug\x64;C:\LIBS\pthreads\lib\x64;C:\MS_LIBS\cv3\x64\vc12\lib;C:\LIBS\boost_1_72\lib64-msvc-14.2;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|||
<LinkIncremental>false</LinkIncremental> |
|||
<IncludePath>C:\LIBS\libconfig-1.5\include;C:\LIBS\Qt\5.12.2\msvc2015_64\include;C:\LIBS\pthreads\include;$(IncludePath)</IncludePath> |
|||
</PropertyGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|||
<ClCompile> |
|||
<PrecompiledHeader> |
|||
</PrecompiledHeader> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>Disabled</Optimization> |
|||
<PreprocessorDefinitions>_OPENCV_;_CLIENT_APPLICATION_;__GUI__;WITH_OPENSSL;WIN_XP;WIN32;PTW32_STATIC_LIB;_TIMESPEC_DEFINED;GPU;VC_EXTRALEAN;WIN32_LEAN_AND_MEAN;__STDC_FORMAT_MACROS;DEBUG;HAVE_STRUCT_TIMESPEC;__STDC_LIMIT_MACROS;__STDC_CONSTANT_MACROS;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;OPENCV;__SSE2__;VL_DISABLE_AVX;VL_EMBED_INCODE;WITH_PURE_VIRTUAL;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<ConformanceMode>true</ConformanceMode> |
|||
<MultiProcessorCompilation>true</MultiProcessorCompilation> |
|||
<BufferSecurityCheck>false</BufferSecurityCheck> |
|||
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration> |
|||
<OpenMPSupport>true</OpenMPSupport> |
|||
<AdditionalOptions>/bigobj /Zc:twoPhase- /Zc:strictStrings- %(AdditionalOptions)</AdditionalOptions> |
|||
<SDLCheck>false</SDLCheck> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Windows</SubSystem> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
<EntryPointSymbol>WinMainCRTStartup</EntryPointSymbol> |
|||
<AdditionalDependencies>cublas.lib;cublasLt.lib;cuda.lib;cudadevrt.lib;cudart.lib;cudart_static.lib;cudnn.lib;cufft.lib;cufftw.lib;curand.lib;cusolver.lib;cusolverMg.lib;cusparse.lib;nppc.lib;nppial.lib;nppicc.lib;nppicom.lib;nppidei.lib;nppif.lib;nppig.lib;nppim.lib;nppist.lib;nppisu.lib;nppitc.lib;npps.lib;nvblas.lib;nvcuvid.lib;nvencodeapi.lib;nvgraph.lib;nvjpeg.lib;nvml.lib;nvrtc.lib;OpenCL.lib;opencv_ts300d.lib;opencv_world300d.lib;pthreadVC2.lib;libconfigd.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|||
<ClCompile> |
|||
<PrecompiledHeader> |
|||
</PrecompiledHeader> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>MaxSpeed</Optimization> |
|||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|||
<SDLCheck>true</SDLCheck> |
|||
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<ConformanceMode>true</ConformanceMode> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Windows</SubSystem> |
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|||
<OptimizeReferences>true</OptimizeReferences> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="..\..\lib\App\CudaWare_64_DNN_Learning\main_window.h" /> |
|||
<ClInclude Include="..\..\lib\gui\controls\CortexLayerWidget.h" /> |
|||
<ClInclude Include="..\..\lib\gui\controls\MediaDestWidget.h" /> |
|||
<ClInclude Include="CudaWare_64_DNN_Learning.h" /> |
|||
<ClInclude Include="framework.h" /> |
|||
<ClInclude Include="Resource.h" /> |
|||
<ClInclude Include="targetver.h" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="..\..\lib\alg\generic\md5.cpp" /> |
|||
<ClCompile Include="..\..\lib\App\CudaWare_64_DNN_Learning\main_window.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicDualThread.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicEvent.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicEventHeap.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicFunctionality.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLIBAV.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettings.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettingsProvider.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp" /> |
|||
<ClCompile Include="..\..\lib\components\object\objectFileLoggingService.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\media\video\videoAVLIBDestination.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\media\video\videoAVLIBSource.cpp" /> |
|||
<ClCompile Include="..\..\lib\gui\controls\CortexLayerWidget.cpp" /> |
|||
<ClCompile Include="..\..\lib\gui\controls\MediaDestWidget.cpp" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp" /> |
|||
<ClCompile Include="..\..\lib\gui\guiClass.cpp" /> |
|||
<ClCompile Include="CudaWare_64_DNN_Learning.cpp" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ResourceCompile Include="CudaWare_64_DNN_Learning.rc" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Image Include="CudaWare_64_DNN_Learning.ico" /> |
|||
<Image Include="small.ico" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu" /> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<FileType>Document</FileType> |
|||
</CudaCompile> |
|||
</ItemGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|||
<ImportGroup Label="ExtensionTargets"> |
|||
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 10.1.targets" /> |
|||
</ImportGroup> |
|||
</Project> |
|||
@ -1,363 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<Filter Include="Source Files"> |
|||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> |
|||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> |
|||
</Filter> |
|||
<Filter Include="Header Files"> |
|||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> |
|||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions> |
|||
</Filter> |
|||
<Filter Include="Resource Files"> |
|||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> |
|||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> |
|||
</Filter> |
|||
<Filter Include="Source Files\CUDA modules"> |
|||
<UniqueIdentifier>{24d0217f-3689-464e-9b44-6bb23a1f3a6a}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Cortex"> |
|||
<UniqueIdentifier>{5f874326-7b83-483f-abc4-95c938074cde}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Cortex\Base"> |
|||
<UniqueIdentifier>{c5a4982c-a450-4900-9204-215d21b20b16}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Cortex\Layers"> |
|||
<UniqueIdentifier>{3851e2ef-c28b-4501-bd54-fd46b65be0f3}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Cortex\Cuda"> |
|||
<UniqueIdentifier>{bfa94e82-d339-4f7f-a68c-86c899fa1841}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Cortex\CPU"> |
|||
<UniqueIdentifier>{df5e3d18-734d-4e8e-89ee-a54b5b092550}</UniqueIdentifier> |
|||
</Filter> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="framework.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="targetver.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Resource.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="CudaWare_64_DNN_Learning.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\App\CudaWare_64_DNN_Learning\main_window.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\gui\controls\MediaDestWidget.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="..\..\lib\gui\controls\CortexLayerWidget.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="CudaWare_64_DNN_Learning.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\App\CudaWare_64_DNN_Learning\main_window.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicFunctionality.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettings.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicSettingsProvider.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLogCollection.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicRing.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicEventHeap.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicEvent.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLIBAV.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicLoggingService.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicMutex.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicThread.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\base\basicDualThread.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\components\object\objectFileLoggingService.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\gui\guiClass.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicActivations.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicBox.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicCortex.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicData.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicDataAux.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImage.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicImageAux.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicList.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicMatrix.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicProcessingUnit.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicTree.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\base\basicUtils.cpp"> |
|||
<Filter>Source Files\Cortex\Base</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\activationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\avgpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\batchnormLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\connectedLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\convolutionalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\costLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\crnnLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\cropLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\deconvolutionalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\detectionLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\dropoutLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\gruLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\layersFactory.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\localLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\maxpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\normalizationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\regionLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\reorgLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\rnnLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\routeLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\shortcutLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\layers\softmaxLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Layers</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cuda.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaActivationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaBatchnormLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConnectedLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaConvolutionalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaCrnnLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaLocalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaNormalizationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRegionLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaReorgLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaRouteLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cuda\cudaShortcutLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpu.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuActivationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuAvgpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuBatchnormLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCalcs.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConnectedLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuConvolutionalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuCrnnLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuLocalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMakers.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuMaxpoolLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuNormalizationLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuReorgLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuRouteLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\cortex\cpu\cpuShortcutLayer.cpp"> |
|||
<Filter>Source Files\Cortex\CPU</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\gui\controls\MediaDestWidget.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\media\video\videoAVLIBSource.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\data\media\video\videoAVLIBDestination.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\alg\generic\md5.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="..\..\lib\gui\controls\CortexLayerWidget.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ResourceCompile Include="CudaWare_64_DNN_Learning.rc"> |
|||
<Filter>Resource Files</Filter> |
|||
</ResourceCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Image Include="small.ico"> |
|||
<Filter>Resource Files</Filter> |
|||
</Image> |
|||
<Image Include="CudaWare_64_DNN_Learning.ico"> |
|||
<Filter>Resource Files</Filter> |
|||
</Image> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\col2im_kernels.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCropLayer.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cuda.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaAvgpoolLayer.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaCalcs.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMakers.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDropoutLayer.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\im2col_kernels.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaMaxpoolLayer.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\network_kernels.cu"> |
|||
<Filter>Source Files\CUDA modules</Filter> |
|||
</CudaCompile> |
|||
<CudaCompile Include="..\..\lib\data\cortex\cuda\cudaDeconvolutionalLayer.cpp"> |
|||
<Filter>Source Files\Cortex\Cuda</Filter> |
|||
</CudaCompile> |
|||
</ItemGroup> |
|||
</Project> |
|||
@ -1,4 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup /> |
|||
</Project> |
|||
@ -1,30 +0,0 @@ |
|||
//{{NO_DEPENDENCIES}} |
|||
// Microsoft Visual C++ generated include file. |
|||
// Used by CudaWare_64_DNN_Learning.rc |
|||
|
|||
#define IDS_APP_TITLE 103 |
|||
|
|||
#define IDR_MAINFRAME 128 |
|||
#define IDD_CUDAWARE64DNNLEARNING_DIALOG 102 |
|||
#define IDD_ABOUTBOX 103 |
|||
#define IDM_ABOUT 104 |
|||
#define IDM_EXIT 105 |
|||
#define IDI_CUDAWARE64DNNLEARNING 107 |
|||
#define IDI_SMALL 108 |
|||
#define IDC_CUDAWARE64DNNLEARNING 109 |
|||
#define IDC_MYICON 2 |
|||
#ifndef IDC_STATIC |
|||
#define IDC_STATIC -1 |
|||
#endif |
|||
// Next default values for new objects |
|||
// |
|||
#ifdef APSTUDIO_INVOKED |
|||
#ifndef APSTUDIO_READONLY_SYMBOLS |
|||
|
|||
#define _APS_NO_MFC 130 |
|||
#define _APS_NEXT_RESOURCE_VALUE 129 |
|||
#define _APS_NEXT_COMMAND_VALUE 32771 |
|||
#define _APS_NEXT_CONTROL_VALUE 1000 |
|||
#define _APS_NEXT_SYMED_VALUE 110 |
|||
#endif |
|||
#endif |
|||
@ -1,4 +0,0 @@ |
|||
APPLICATION_GUI : |
|||
{ |
|||
STARTUP_WINDOW_MODE = 1; |
|||
}; |
|||
@ -1,25 +0,0 @@ |
|||
// header.h : include file for standard system include files, |
|||
// or project specific include files |
|||
// |
|||
|
|||
#pragma once |
|||
#ifndef __linux__ |
|||
#include <winsock2.h> |
|||
#endif |
|||
|
|||
#include <stdio.h> |
|||
//https://autotire.co.il/%D7%92%D7%A0%D7%98%D7%99%D7%9D-%D7%92%D7%A0%D7%98%D7%99%D7%9D-5x114.3-15 |
|||
#ifdef _NO_STDIO_IOB_FUNC_ |
|||
extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; } |
|||
#endif |
|||
|
|||
#include "main_window.h" |
|||
#include "targetver.h" |
|||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers |
|||
// Windows Header Files |
|||
#include <windows.h> |
|||
// C RunTime Header Files |
|||
#include <stdlib.h> |
|||
#include <malloc.h> |
|||
#include <memory.h> |
|||
#include <tchar.h> |
|||
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@ |
|||
#pragma once |
|||
|
|||
// // Including SDKDDKVer.h defines the highest available Windows platform. |
|||
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and |
|||
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. |
|||
#include <SDKDDKVer.h> |
|||
@ -1,828 +0,0 @@ |
|||
#include <stdio.h>
|
|||
|
|||
#include "../../source/lib/components/base/basicLogCollection.h"
|
|||
#include "../../source/lib/components/object/objectCliLoggingServices.h"
|
|||
#include "../../source/lib/components/object/objectFileLoggingService.h"
|
|||
#include "../../source/lib/hardware/soc/classSOC.h"
|
|||
#include "../../source/lib/hardware/can/canbus.h"
|
|||
#include "../../source/lib/data/protocol/protocolTGZ.h"
|
|||
|
|||
#include "mainWindow.h"
|
|||
#include "tgzWindow.h"
|
|||
#include "tgz2Window.h"
|
|||
#include "pwmInfoWindow.h"
|
|||
#include "pruCoresWindow.h"
|
|||
#include "tupus1_0Window.h"
|
|||
#include "tupus1_1Window.h"
|
|||
#include "tupus0_1Window.h"
|
|||
#include "tupus0_0Window.h"
|
|||
#include "pru0Window.h"
|
|||
#include "pru1Window.h"
|
|||
#include "adc1Window.h"
|
|||
#include "motorWindow.h"
|
|||
#include "gpioWindow.h"
|
|||
|
|||
#define LOG( X ) LogEng->Log( "main", 0, X )
|
|||
#define LOG_ERROR( X ) LogEng->Log( "main", 0, _LOG_ERROR, X )
|
|||
|
|||
|
|||
#ifdef NEWT_CLI
|
|||
#include <signal.h>
|
|||
struct callbackInfo { |
|||
newtComponent en; |
|||
char * state; |
|||
}; |
|||
|
|||
void disableCallback(newtComponent co, void * data) { |
|||
struct callbackInfo * cbi = ( struct callbackInfo *) data; |
|||
|
|||
if (*cbi->state == ' ') { |
|||
newtEntrySetFlags(cbi->en, NEWT_FLAG_DISABLED, NEWT_FLAGS_RESET); |
|||
} else { |
|||
newtEntrySetFlags(cbi->en, NEWT_FLAG_DISABLED, NEWT_FLAGS_SET); |
|||
} |
|||
|
|||
newtRefresh(); |
|||
}; |
|||
void suspend(void * d) { |
|||
newtSuspend(); |
|||
raise( SIGTSTP ); |
|||
newtResume(); |
|||
}; |
|||
#endif
|
|||
int main (int argc, char *argv[]){ |
|||
#ifdef TURBOVISION
|
|||
WindowCLI *a; |
|||
a = new WindowCLI(); |
|||
a->run(); |
|||
#else
|
|||
#ifdef NEWT_CLI
|
|||
newtComponent mainMenuForm, checkbox, rb[3], button; |
|||
char cbValue; |
|||
int i; |
|||
newtInit(); |
|||
newtCls(); |
|||
newtSetSuspendCallback( suspend, NULL ); |
|||
|
|||
newtDrawRootText( 0, 0, "Direct Memory Tool" ); |
|||
newtDrawRootText( -29, -2, "© Dr. Frucht Systems Ltd." ); |
|||
|
|||
|
|||
canBus *mCanBus_OLD; |
|||
canBus *mCanBus_NEW; |
|||
protocolTGZ *mTGZdevice_OLD; |
|||
protocolTGZ *mTGZdevice_NEW; |
|||
mainWindow *my_win; |
|||
tgz1Window *tgz_oldWindow = NULL; |
|||
tgz2Window *tgz_newWindow = NULL; |
|||
pwmInfoWindow *pwmWindow0; |
|||
pruCoresWindow *coreWindow; |
|||
tupus0_0Window *t00W; |
|||
tupus0_1Window *t01W; |
|||
tupus1_0Window *t10W; |
|||
tupus1_1Window *t11W; |
|||
pru0Window *pPW0; |
|||
pru1Window *pPW1; |
|||
adc1Window *pADC; |
|||
motorWindow *mW; |
|||
basicLogCollection *LogEng; |
|||
classSOC *mSOC; |
|||
objectCliLoggingService *LogWND; |
|||
objectFileLoggingService *LogFile; |
|||
gpioWindow *gpioWND; |
|||
int ch; |
|||
|
|||
my_win = new mainWindow(); |
|||
|
|||
LogEng = basicLogCollection::getInstance(); |
|||
LogWND = new objectCliLoggingService(); |
|||
|
|||
LogFile = new objectFileLoggingService("my.log"); |
|||
LogEng->addHandler( LogFile ); |
|||
LogEng->addHandler( LogWND ); |
|||
|
|||
mSOC = classSOC::getInstance(); |
|||
|
|||
init_PRMCM(); |
|||
//printf( "PRMCM Init Done\n" );
|
|||
enable_ADC1_CLK(); |
|||
//printf( "ADC1 CLK Enable Done\n" );
|
|||
init_ADC_0(); |
|||
init_ADC_1(); |
|||
//prepareFSM1();
|
|||
if(!init_GPIO_0())LOG("GPIO0 Init Error!"); |
|||
if(!init_GPIO_1())LOG("GPIO1 Init Error!"); |
|||
if(!init_GPIO_2())LOG("GPIO2 Init Error!"); |
|||
if(!init_GPIO_3())LOG("GPIO3 Init Error!"); |
|||
if(!init_GPIO_4())LOG("GPIO4 Init Error!"); |
|||
if(!init_GPIO_5())LOG("GPIO5 Init Error!"); |
|||
//mSOC->pru_load( 0, 0, "CORE0_0.bin" );
|
|||
//mSOC->pru_load( 0, 1, "CORE0_1.bin" );
|
|||
//mSOC->pru_load( 1, 0, "CORE1_0.bin" );
|
|||
//mSOC->pru_load( 1, 1, "CORE1_1.bin" );
|
|||
//mSOC->pru_run( 1, 1 );
|
|||
//mSOC->pru_run( 1, 0 );
|
|||
//mSOC->pru_run( 0, 1 );
|
|||
//mSOC->pru_run( 0, 0 );
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
pwmWindow0 = new pwmInfoWindow(); |
|||
coreWindow = new pruCoresWindow(); |
|||
t11W = new tupus1_1Window(); |
|||
t10W = new tupus1_0Window(); |
|||
t01W = new tupus0_1Window(); |
|||
t00W = new tupus0_0Window(); |
|||
|
|||
//pPW0 = new pru0Window();
|
|||
//pPW1 = new pru1Window();
|
|||
|
|||
pADC = new adc1Window(); |
|||
|
|||
mW = new motorWindow(); |
|||
|
|||
mCanBus_OLD = new canBus( "can1", 0x200, 0x201 ); |
|||
if( mCanBus_OLD != NULL ) { |
|||
LOG("CAN Bus creation success"); |
|||
mTGZdevice_OLD = new protocolTGZ( mCanBus_OLD ); |
|||
if( mTGZdevice_OLD == NULL ) { |
|||
LOG_ERROR("TGZ OLD protocol creation failure"); |
|||
}else{ |
|||
tgz_oldWindow = new tgz1Window( mTGZdevice_OLD ); |
|||
LOG("TGZ OLD protocol creation success"); |
|||
}; |
|||
} else { |
|||
LOG_ERROR("CAN Bus creation failure"); |
|||
}; |
|||
mCanBus_NEW = new canBus( "can1", 0x300, 0x301 ); |
|||
if( mCanBus_NEW != NULL ) { |
|||
LOG("CAN Bus creation success"); |
|||
mTGZdevice_NEW = new protocolTGZ( mCanBus_NEW ); |
|||
if( mTGZdevice_NEW == NULL ) { |
|||
LOG_ERROR("TGZ NEW protocol creation failure"); |
|||
}else{ |
|||
mTGZdevice_NEW->setSpeeds( 0, 0 ); |
|||
tgz_newWindow = new tgz2Window( mTGZdevice_NEW ); |
|||
LOG("TGZ NEW protocol creation success"); |
|||
}; |
|||
} else { |
|||
LOG_ERROR("CAN Bus creation failure"); |
|||
}; |
|||
gpioWND = new gpioWindow(); |
|||
newtRefresh(); |
|||
newtComponent answer; |
|||
int momo = 0; |
|||
do { |
|||
my_win->show(); |
|||
answer = my_win->run(); |
|||
my_win->hide(); |
|||
momo = my_win->decodeEvent( answer ); |
|||
if( momo ){ |
|||
switch( momo ) { |
|||
case 1:{//ADC
|
|||
pADC->show(); |
|||
pADC->run(); |
|||
pADC->hide(); |
|||
break; |
|||
}; |
|||
case 2:{//PWM
|
|||
pwmWindow0->show(); |
|||
pwmWindow0->run(); |
|||
pwmWindow0->hide(); |
|||
break; |
|||
}; |
|||
case 3:{//Motors
|
|||
mW->show(); |
|||
mW->run(); |
|||
mW->hide(); |
|||
break; |
|||
}; |
|||
case 4:{//PRUSS
|
|||
pwmWindow0->show(); |
|||
pwmWindow0->run(); |
|||
pwmWindow0->hide(); |
|||
break; |
|||
}; |
|||
case 5:{//PRU
|
|||
coreWindow->show(); |
|||
coreWindow->run(); |
|||
coreWindow->hide(); |
|||
break; |
|||
}; |
|||
case 6:{ |
|||
mSOC->pru_sreset( 1, 1 ); |
|||
mSOC->pru_sreset( 1, 0 ); |
|||
mSOC->pru_sreset( 0, 1 ); |
|||
mSOC->pru_sreset( 0, 0 ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 7:{ |
|||
mSOC->pru_stop( 0, 0 ); |
|||
mSOC->pru_stop( 0, 1 ); |
|||
mSOC->pru_stop( 1, 0 ); |
|||
mSOC->pru_stop( 1, 1 ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 8:{ |
|||
mSOC->pru_run( 1, 1 ); |
|||
mSOC->pru_run( 1, 0 ); |
|||
mSOC->pru_run( 0, 1 ); |
|||
mSOC->pru_run( 0, 0 ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 9:{ |
|||
mSOC->pru_save( 1, 0, "toto0.bin", true ); |
|||
mSOC->pru_save( 1, 1, "toto1.bin", true ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 10:{ |
|||
mSOC->pru_save( 1, 0, "toto0.bin", false ); |
|||
mSOC->pru_save( 1, 1, "toto1.bin", false ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 11:{ |
|||
mSOC->pru_load( 0, 0, "PRU_0_0.bin" ); |
|||
mSOC->pru_load( 0, 1, "PRU_0_1.bin" ); |
|||
mSOC->pru_load( 1, 0, "PRU_1_0.bin", false ); |
|||
mSOC->pru_load( 1, 1, "PRU_1_1.bin", false ); |
|||
mSOC->pru_run( 0, 0 ); |
|||
mSOC->pru_run( 0, 1 ); |
|||
mSOC->pru_run( 1, 0 ); |
|||
mSOC->pru_run( 1, 1 ); |
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 12:{ // Old TGZ
|
|||
if( tgz_oldWindow!= NULL ) { |
|||
newtComponent l_answer; |
|||
int l_momo = 0; |
|||
do{ |
|||
tgz_oldWindow->show(); |
|||
l_answer = tgz_oldWindow->run(); |
|||
tgz_oldWindow->hide(); |
|||
l_momo = tgz_oldWindow->decodeEvent( l_answer ); |
|||
if( l_momo ){ |
|||
switch( l_momo ) { |
|||
case 1: mTGZdevice_OLD->toggleRun(); break; |
|||
case 2: mTGZdevice_OLD->toggleErrorReset(); break; |
|||
case 3: mTGZdevice_OLD->togglePRF(); break; |
|||
case 4: mTGZdevice_OLD->toggleDivider(); break; |
|||
case 5: mTGZdevice_OLD->togleRatio(); break; |
|||
case 6: mTGZdevice_OLD->startDeviceStateInquiry(); break; |
|||
case 255: l_momo = 0; break; |
|||
}; |
|||
newtRefresh(); |
|||
}; |
|||
} while( l_momo ); |
|||
}; |
|||
break; |
|||
}; |
|||
case 13:{ // New TGZ
|
|||
if( tgz_newWindow!= NULL ) { |
|||
newtComponent l_answer; |
|||
int l_momo = 0; |
|||
do{ |
|||
tgz_newWindow->show(); |
|||
l_answer = tgz_newWindow->run(); |
|||
tgz_newWindow->hide(); |
|||
l_momo = tgz_newWindow->decodeEvent( l_answer ); |
|||
if( l_momo ){ |
|||
switch( l_momo ) { |
|||
case 1: mTGZdevice_NEW->toggleRun(); break; |
|||
case 2: mTGZdevice_NEW->toggleErrorReset(); break; |
|||
case 3: mTGZdevice_NEW->toggleQSpeed(); break; |
|||
case 4: mTGZdevice_NEW->toggleBSpeed(); break; |
|||
case 5: mTGZdevice_NEW->startDeviceStateInquiry(); break; |
|||
case 255: l_momo = 0; break; |
|||
}; |
|||
newtRefresh(); |
|||
}; |
|||
} while( l_momo ); |
|||
}; |
|||
break; |
|||
}; |
|||
case 14:{//View LOG
|
|||
LogWND->show(); |
|||
LogWND->run(); |
|||
LogWND->hide(); |
|||
break; |
|||
}; |
|||
case 15:{// View GPIO
|
|||
gpioWND->show(); |
|||
break; |
|||
}; |
|||
case 255: momo = 0; break; |
|||
default:{ |
|||
//momo = 0;
|
|||
}; |
|||
}; |
|||
newtRefresh(); |
|||
}; |
|||
} while( momo ); |
|||
delete( my_win ); |
|||
newtFinished(); |
|||
printf( "Momo: %d Ans: %p\n\n", momo, answer ); |
|||
#else
|
|||
canBus *mCanBus; |
|||
protocolTGZ *mTGZdevice; |
|||
basicNCursesEngine *MyCurses; |
|||
mainWindow *my_win; |
|||
//tgzWindow *pWindow;
|
|||
pwmInfoWindow *pwmWindow0; |
|||
tupus0_0Window *t00W; |
|||
tupus0_1Window *t01W; |
|||
tupus1_0Window *t10W; |
|||
tupus1_1Window *t11W; |
|||
pru0Window *pPW0; |
|||
pru1Window *pPW1; |
|||
adc1Window *pADC; |
|||
motorWindow *mW; |
|||
basicLogCollection *LogEng; |
|||
objectCURSESLoggingService *LogWND; |
|||
classSOC *mSOC; |
|||
objectFileLoggingService *LogFile; |
|||
int ch; |
|||
|
|||
MyCurses = basicNCursesEngine::getInstance(); |
|||
LogEng = basicLogCollection::getInstance(); |
|||
LogWND = new objectCURSESLoggingService(); |
|||
LogFile = new objectFileLoggingService("my.log"); |
|||
LogEng->addHandler( LogFile ); |
|||
LogEng->addHandler( LogWND ); |
|||
|
|||
refresh(); |
|||
|
|||
mSOC = classSOC::getInstance(); |
|||
|
|||
init_PRMCM(); |
|||
printf( "PRMCM Init Done\n" ); |
|||
enable_ADC1_CLK(); |
|||
printf( "ADC1 CLK Enable Done\n" ); |
|||
init_ADC_0(); |
|||
init_ADC_1(); |
|||
printf( "ADC Init Done\n" ); |
|||
printf( "Revision 0: 0x%08X\n", getRevisionADC0() ); |
|||
printf( "Revision 1: 0x%08X\n", getRevisionADC1() ); |
|||
//prepareFSM1();
|
|||
|
|||
//mSOC->pru_load( 0, 0, "CORE0_0.bin" );
|
|||
//mSOC->pru_load( 0, 1, "CORE0_1.bin" );
|
|||
//mSOC->pru_load( 1, 0, "CORE1_0.bin" );
|
|||
//mSOC->pru_load( 1, 1, "CORE1_1.bin" );
|
|||
//mSOC->pru_run( 1, 1 );
|
|||
//mSOC->pru_run( 1, 0 );
|
|||
//mSOC->pru_run( 0, 1 );
|
|||
//mSOC->pru_run( 0, 0 );
|
|||
|
|||
my_win = new mainWindow(); |
|||
|
|||
|
|||
pwmWindow0 = new pwmInfoWindow(); |
|||
t11W = new tupus1_1Window(); |
|||
t10W = new tupus1_0Window(); |
|||
t01W = new tupus0_1Window(); |
|||
t00W = new tupus0_0Window(); |
|||
|
|||
//pPW0 = new pru0Window();
|
|||
//pPW1 = new pru1Window();
|
|||
|
|||
pADC = new adc1Window(); |
|||
mW = new motorWindow(); |
|||
|
|||
mCanBus = new canBus( "can1", 0x200, 0x201 ); |
|||
if( mCanBus != NULL ) { |
|||
LOG("CAN Bus creation success"); |
|||
mTGZdevice = new protocolTGZ( mCanBus, 0x200, 0x201 ); |
|||
if( mTGZdevice == NULL ) { |
|||
LOG_ERROR("TGZ protocol creation failure"); |
|||
}else{ |
|||
LOG("TGZ protocol creation success"); |
|||
}; |
|||
} else { |
|||
LOG_ERROR("CAN Bus creation failure"); |
|||
}; |
|||
//pWindow = new tgzWindow( mTGZdevice );
|
|||
|
|||
while((ch = getch()) != KEY_F(1) ) { |
|||
switch(ch){ |
|||
case KEY_LEFT: |
|||
//MyCurses->destroy_win(my_win);
|
|||
//my_win = MyCurses->create_win(height, width, starty,--startx);
|
|||
break; |
|||
case KEY_RIGHT: |
|||
//MyCurses->destroy_win(my_win);
|
|||
//my_win = MyCurses->create_win(height, width, starty,++startx);
|
|||
break; |
|||
case KEY_UP: |
|||
|
|||
break; |
|||
case KEY_DOWN: |
|||
//MyCurses->destroy_win(my_win);
|
|||
//my_win = MyCurses->create_win(height, width, ++starty,startx);
|
|||
break; |
|||
}; |
|||
|
|||
switch( ch ) { |
|||
case '1': |
|||
mTGZdevice->toggleErrorReset(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '2': |
|||
mTGZdevice->toggleRun(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '3': |
|||
mTGZdevice->togglePRF(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '4': |
|||
mTGZdevice->togleRatio(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '5': |
|||
mTGZdevice->toggleDivider(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '6': |
|||
mTGZdevice->stopPRF(); |
|||
//pWindow->paint();
|
|||
break; |
|||
case '7': |
|||
mTGZdevice->stopAzimuth(); |
|||
//pWindow->paint();
|
|||
break; |
|||
//case '0':{
|
|||
// char *pName;
|
|||
// pName = mTGZdevice->generateFileNameForStat();
|
|||
// //mW->saveStatToFile( pName );
|
|||
// free( pName );
|
|||
// break;
|
|||
// };
|
|||
case 'q': |
|||
case 'Q': return 0; |
|||
case '9': |
|||
case 'r': |
|||
case 'R': |
|||
// mW->resetStat();
|
|||
mSOC->pru_sreset( 1, 1 ); |
|||
mSOC->pru_sreset( 1, 0 ); |
|||
mSOC->pru_sreset( 0, 1 ); |
|||
mSOC->pru_sreset( 0, 0 ); |
|||
break; |
|||
case ' ': |
|||
my_win->paint(); |
|||
pwmWindow0->paint(); |
|||
//pWindow->paint();
|
|||
//mW->paint();
|
|||
t00W->paint(); |
|||
t01W->paint(); |
|||
t10W->paint(); |
|||
t11W->paint(); |
|||
//pPW0->paint();
|
|||
//pPW1->paint();
|
|||
pADC->paint(); |
|||
LogWND->paint(); |
|||
continue; |
|||
break; |
|||
case 's': |
|||
case 'S': |
|||
mSOC->pru_save( 1, 0, "toto0.bin" ); |
|||
mSOC->pru_save( 1, 1, "toto1.bin" ); |
|||
break; |
|||
case 'l': |
|||
case 'L': |
|||
mSOC->pru_load( 0, 0, "PRU_0_0.bin" ); |
|||
mSOC->pru_load( 0, 1, "PRU_0_1.bin" ); |
|||
mSOC->pru_load( 1, 0, "PRU_1_0.bin" ); |
|||
mSOC->pru_load( 1, 1, "PRU_1_1.bin" ); |
|||
mSOC->pru_run( 0, 0 ); |
|||
mSOC->pru_run( 0, 1 ); |
|||
mSOC->pru_run( 1, 0 ); |
|||
mSOC->pru_run( 1, 1 ); |
|||
break; |
|||
case '8': |
|||
case 'g': |
|||
case 'G': |
|||
mTGZdevice->startDeviceStateInquiry(); |
|||
sleep(1); |
|||
break; |
|||
case 'c': |
|||
case 'C': |
|||
mSOC->cleanTUPUS( 0, 0 ); |
|||
mSOC->cleanTUPUS( 1, 0 ); |
|||
t00W->paint(); |
|||
t01W->paint(); |
|||
t10W->paint(); |
|||
t11W->paint(); |
|||
break; |
|||
case 'i': |
|||
case 'I': |
|||
//pWindow->paint();
|
|||
break; |
|||
case 'o': |
|||
case 'O': |
|||
mSOC->setCoreOnLine( 0 ); |
|||
t01W->paint(); |
|||
t00W->paint(); |
|||
t11W->paint(); |
|||
t10W->paint(); |
|||
break; |
|||
case 'p': |
|||
case 'P': |
|||
t00W->paint(); |
|||
t01W->paint(); |
|||
t11W->paint(); |
|||
t10W->paint(); |
|||
//pPW0->paint();
|
|||
//pPW1->paint();
|
|||
pADC->paint(); |
|||
break; |
|||
case 'w': |
|||
case 'W': |
|||
mSOC->pru_run( 1, 1 ); |
|||
mSOC->pru_run( 1, 0 ); |
|||
mSOC->pru_run( 0, 1 ); |
|||
mSOC->pru_run( 0, 0 ); |
|||
break; |
|||
case 't': |
|||
case 'T': |
|||
mSOC->pru_stop( 0, 0 ); |
|||
mSOC->pru_stop( 0, 1 ); |
|||
mSOC->pru_stop( 1, 0 ); |
|||
mSOC->pru_stop( 1, 1 ); |
|||
break; |
|||
case 'z': |
|||
case 'Z': |
|||
pwmWindow0->paint(); |
|||
break; |
|||
default: |
|||
break; |
|||
}; |
|||
//pWindow->paint();
|
|||
mW->paint(); |
|||
usleep(50000); |
|||
}; |
|||
#endif
|
|||
#endif
|
|||
// MyCurses->destroy_win( my_win );
|
|||
|
|||
/* return 0;
|
|||
|
|||
init_GPIO_0(); |
|||
init_GPIO_1(); |
|||
init_GPIO_2(); |
|||
init_GPIO_3(); |
|||
init_GPIO_4(); |
|||
init_GPIO_5(); |
|||
|
|||
printf( " GPIO INIT DONE \n"); |
|||
printf(" GPIO1 OE: 0x%08X\n", getOutputMode(1) ); |
|||
//printf(" GPIO3 OE: 0x%08X\n", getOutputMode(3) );
|
|||
setOutputMode( 1, 0x0 ); |
|||
//setOutputMode( 3, 0x0 );
|
|||
|
|||
uint32_t index = 0; |
|||
uint32_t c_out = 0; |
|||
uint32_t b_out = 0; |
|||
uint32_t k = 0; |
|||
uint32_t Data = 0; |
|||
|
|||
init_PRMCM(); |
|||
printf( "PRMCM Init Done\n" ); |
|||
enable_ADC1_CLK(); |
|||
printf( "ADC1 CLK Enable Done\n" ); |
|||
enable_EPWM_CLK(); |
|||
printf( "EPWM CLK Enable Done\n" ); |
|||
|
|||
init_ADC_0(); |
|||
init_ADC_1(); |
|||
printf( "ADC Init Done\n" ); |
|||
printf( "Revision 0: 0x%08X\n", getRevisionADC0() ); |
|||
printf( "Revision 1: 0x%08X\n", getRevisionADC1() ); |
|||
prepareFSM1(); |
|||
//printf( "ADC FSM Ready\nStrike Enter\n" );
|
|||
//char kaka;
|
|||
//kaka = getchar();
|
|||
//printf( "Starting Loop\n" );
|
|||
uint16_t AD0_Data = 0; |
|||
uint8_t AD0_Channel = 0; |
|||
uint16_t AD1_Data = 0; |
|||
uint8_t AD1_Channel = 0; |
|||
|
|||
while(0){ |
|||
index++; |
|||
if( index > 15 ) index = 1; |
|||
c_out = 0x0F000000 & (~( index << 24 )); |
|||
b_out = 0x00000060 & (~( index << 5 )); |
|||
setOutputDirect( 1, c_out ); |
|||
//setOutputDirect( 3, b_out );
|
|||
usleep(10000); |
|||
//ADC
|
|||
startADC1(); |
|||
printf("ADC Cycle Started\n\n"); |
|||
for( k = 0; k < 8; k++ ) { |
|||
Data = getDataADC1_FIFO0( 100 ); |
|||
if( Data != ADC_VALUE_TIMEOUT ) { |
|||
#ifdef ADC_WORK_SIMULTANEOUS_MODE
|
|||
AD0_Channel = ( Data >> 28 ) & 0xF; |
|||
AD0_Data = ( Data >> 16 ) & 0xFFF; |
|||
AD1_Channel = ( Data >> 12 ) & 0xF; |
|||
AD1_Data = Data & 0xFFF; |
|||
#else
|
|||
AD0_Channel = 0; |
|||
AD0_Data = 0;//( Data >> 16 ) & 0xFFF;
|
|||
AD1_Channel = ( Data >> 16 ) & 0xF; |
|||
AD1_Data = ( Data >> 0 ) & 0xFFF; |
|||
#endif
|
|||
printf( " Data: 0x%08X ADC0[%d]: 0x%03X ADC1[%d]: 0x%03X\n", Data, AD0_Channel, AD0_Data, AD1_Channel, AD1_Data ); |
|||
} else { |
|||
printf( " ADC FIFO 0 [%d]: TIMEOUT\n", k ); |
|||
}; |
|||
// Data = getDataADC1_FIFO1( 100 );
|
|||
//if( Data != ADC_VALUE_TIMEOUT ) {
|
|||
//printf( " ADC FIFO 1 [%d]: 0x%08X\n", k, Data );
|
|||
//} else {
|
|||
//printf( " ADC FIFO 1 [%d]: TIMEOUT\n", k );
|
|||
//};
|
|||
}; |
|||
}; |
|||
|
|||
|
|||
|
|||
//pwm_run( 0, 2000 );
|
|||
//pwm_run( 1, 2000 );
|
|||
//pwm_run( 2, 2000 );
|
|||
|
|||
//print_PWM_info(0);
|
|||
|
|||
|
|||
//printf( "PWM Running\nStrike Enter\n" );
|
|||
//kaka = getchar();
|
|||
|
|||
//pwm_stop( 0 );
|
|||
//pwm_stop( 1 );
|
|||
//pwm_stop( 2 );
|
|||
|
|||
|
|||
// */
|
|||
return(0); |
|||
}; |
|||
|
|||
|
|||
/*
|
|||
* devmem2.c: Simple program to read/write from/to any location in memory. |
|||
* |
|||
* Copyright (C) 2000, Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl) |
|||
* |
|||
* |
|||
* This software has been developed for the LART computing board |
|||
* (http://www.lart.tudelft.nl/). The development has been sponsored by
|
|||
* the Mobile MultiMedia Communications (http://www.mmc.tudelft.nl/)
|
|||
* and Ubiquitous Communications (http://www.ubicom.tudelft.nl/)
|
|||
* projects. |
|||
* |
|||
* The author can be reached at: |
|||
* |
|||
* Jan-Derk Bakker |
|||
* Information and Communication Theory Group |
|||
* Faculty of Information Technology and Systems |
|||
* Delft University of Technology |
|||
* P.O. Box 5031 |
|||
* 2600 GA Delft |
|||
* The Netherlands |
|||
* |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, write to the Free Software |
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|||
* |
|||
*/ |
|||
/*
|
|||
#include <stdio.h>
|
|||
#include <stdlib.h>
|
|||
#include <unistd.h>
|
|||
//#include <string.h>
|
|||
#include <errno.h>
|
|||
#include <signal.h>
|
|||
#include <fcntl.h>
|
|||
#include <ctype.h>
|
|||
#include <termios.h>
|
|||
#include <sys/types.h>
|
|||
#include <sys/mman.h>
|
|||
|
|||
#define FATAL do { fprintf(stderr, "Error at line %d, file %s (%d) [%s]\n", \
|
|||
__LINE__, __FILE__, errno, strerror(errno)); exit(1); } while(0) |
|||
|
|||
|
|||
|
|||
#define MAP_SIZE 4096UL
|
|||
#define MAP_MASK (MAP_SIZE - 1)
|
|||
|
|||
int mainz(int argc, char **argv) { |
|||
int fd; |
|||
void *map_base, *virt_addr; |
|||
unsigned long read_result, writeval; |
|||
off_t target; |
|||
int access_type = 'w'; |
|||
|
|||
if(argc < 2) { |
|||
fprintf(stderr, "\nUsage:\t%s { address } [ type [ data ] ]\n" |
|||
"\taddress : memory address to act upon\n" |
|||
"\ttype : access operation type : [b]yte, [h]alfword, [w]ord\n" |
|||
"\tdata : data to be written\n\n", |
|||
argv[0]); |
|||
exit(1); |
|||
} |
|||
target = strtoul(argv[1], 0, 0); |
|||
|
|||
if(argc > 2) |
|||
access_type = tolower(argv[2][0]); |
|||
|
|||
|
|||
if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) FATAL; |
|||
printf("/dev/mem opened.\n"); |
|||
fflush(stdout); |
|||
|
|||
// Map one page
|
|||
map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, target & ~MAP_MASK); |
|||
if(map_base == (void *) -1) FATAL; |
|||
printf("Memory mapped at address %p.\n", map_base); |
|||
fflush(stdout); |
|||
|
|||
virt_addr = map_base + (target & MAP_MASK); |
|||
switch(access_type) { |
|||
case 'b': |
|||
read_result = *((unsigned char *) virt_addr); |
|||
break; |
|||
case 'h': |
|||
read_result = *((unsigned short *) virt_addr); |
|||
break; |
|||
case 'w': |
|||
read_result = *((unsigned long *) virt_addr); |
|||
break; |
|||
default: |
|||
fprintf(stderr, "Illegal data type '%c'.\n", access_type); |
|||
exit(2); |
|||
} |
|||
printf("Value at address 0x08%X (%p): 0x%08X\n", target, virt_addr, read_result); |
|||
fflush(stdout); |
|||
|
|||
if(argc > 3) { |
|||
writeval = strtoul(argv[3], 0, 0); |
|||
switch(access_type) { |
|||
case 'b': |
|||
*((unsigned char *) virt_addr) = writeval; |
|||
read_result = *((unsigned char *) virt_addr); |
|||
break; |
|||
case 'h': |
|||
*((unsigned short *) virt_addr) = writeval; |
|||
read_result = *((unsigned short *) virt_addr); |
|||
break; |
|||
case 'w': |
|||
*((unsigned long *) virt_addr) = writeval; |
|||
read_result = *((unsigned long *) virt_addr); |
|||
break; |
|||
} |
|||
printf("Written 0x%X; readback 0x%X\n", writeval, read_result); |
|||
fflush(stdout); |
|||
} |
|||
|
|||
if(munmap(map_base, MAP_SIZE) == -1) FATAL; |
|||
close(fd); |
|||
return 0; |
|||
} |
|||
*/ |
|||
|
|||
#undef LOG
|
|||
#undef LOG_ERROR
|
|||
|
|||
|
|||
@ -1,328 +0,0 @@ |
|||
<!DOCTYPE Project SYSTEM "http://www.slickedit.com/dtd/vse/10.0/vpj.dtd"> |
|||
<Project |
|||
Version="10.0" |
|||
VendorName="SlickEdit" |
|||
TemplateName="GNU C/C++" |
|||
WorkingDir="." |
|||
BuildSystem="automakefile" |
|||
BuildMakeFile="makefile"> |
|||
<Config |
|||
Name="Debug" |
|||
Type="gnuc" |
|||
DebugCallbackName="gdb" |
|||
Version="1" |
|||
OutputFile="%bdDirectMemo" |
|||
CompilerConfigName="Latest Version" |
|||
Defines=""> |
|||
<Menu> |
|||
<Target |
|||
Name="Compile" |
|||
MenuCaption="&Compile" |
|||
Dialog="_gnuc_options_form Compile" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
OutputExts="*.o" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='c++ -c %xup -x c++ %defd -O0 -g -ggdb -w -o "%bd%n%oe" %i %f'/> |
|||
</Target> |
|||
<Target |
|||
Name="Link" |
|||
MenuCaption="&Link" |
|||
ShowOnMenu="Never" |
|||
Dialog="_gnuc_options_form Link" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='g++ %xup -O0 -g -ggdb -w -o "%o" %objs'/> |
|||
</Target> |
|||
<Target |
|||
Name="Build" |
|||
MenuCaption="&Build" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Rebuild" |
|||
MenuCaption="&Rebuild" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" rebuild CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Debug" |
|||
MenuCaption="&Debug" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveNone" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='vsdebugio -prog "%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="Execute" |
|||
MenuCaption="E&xecute" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='"%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="dash" |
|||
MenuCaption="-" |
|||
Deletable="0"> |
|||
<Exec/> |
|||
</Target> |
|||
<Target |
|||
Name="GNU C Options" |
|||
MenuCaption="GNU C &Options..." |
|||
ShowOnMenu="HideIfNoCmdLine" |
|||
Deletable="0" |
|||
SaveOption="SaveNone"> |
|||
<Exec |
|||
CmdLine="gnucoptions" |
|||
Type="Slick-C"/> |
|||
</Target> |
|||
</Menu> |
|||
<List Name="GNUC Options"> |
|||
<Item |
|||
Name="LinkerOutputType" |
|||
Value="Executable"/> |
|||
</List> |
|||
<Includes> |
|||
<Include Dir="/home/samba/shared/working_dir/source/lib/cli"/> |
|||
</Includes> |
|||
<Libs PreObjects="0"> |
|||
<Lib File="-lelf"/> |
|||
<Lib File="-lcurses"/> |
|||
<Lib File="-lcdk"/> |
|||
<Lib File="-lpthread"/> |
|||
<Lib File="-lgpm"/> |
|||
<Lib File="-lnewt"/> |
|||
<Lib File="-lconfig"/> |
|||
</Libs> |
|||
</Config> |
|||
<Config |
|||
Name="Release" |
|||
Type="gnuc" |
|||
DebugCallbackName="gdb" |
|||
Version="1" |
|||
OutputFile="%bdDirectMemo" |
|||
CompilerConfigName="Latest Version" |
|||
Defines=""> |
|||
<Menu> |
|||
<Target |
|||
Name="Compile" |
|||
MenuCaption="&Compile" |
|||
Dialog="_gnuc_options_form Compile" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
OutputExts="*.o" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='c++ -c %xup -x c++ %defd -O0 -g -ggdb -w -o "%bd%n%oe" %i %f'/> |
|||
</Target> |
|||
<Target |
|||
Name="Link" |
|||
MenuCaption="&Link" |
|||
ShowOnMenu="Never" |
|||
Dialog="_gnuc_options_form Link" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveCurrent" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='g++ %xup -O0 -g -ggdb -w -o "%o" %objs'/> |
|||
</Target> |
|||
<Target |
|||
Name="Build" |
|||
MenuCaption="&Build" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Rebuild" |
|||
MenuCaption="&Rebuild" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='make -f "makefile" rebuild CFG=%b'/> |
|||
</Target> |
|||
<Target |
|||
Name="Debug" |
|||
MenuCaption="&Debug" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveNone" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='vsdebugio -prog "%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="Execute" |
|||
MenuCaption="E&xecute" |
|||
Dialog="_gnuc_options_form Run/Debug" |
|||
BuildFirst="1" |
|||
CaptureOutputWith="ProcessBuffer" |
|||
Deletable="0" |
|||
SaveOption="SaveWorkspaceFiles" |
|||
RunFromDir="%rw"> |
|||
<Exec CmdLine='"%o"'/> |
|||
</Target> |
|||
<Target |
|||
Name="dash" |
|||
MenuCaption="-" |
|||
Deletable="0"> |
|||
<Exec/> |
|||
</Target> |
|||
<Target |
|||
Name="GNU C Options" |
|||
MenuCaption="GNU C &Options..." |
|||
ShowOnMenu="HideIfNoCmdLine" |
|||
Deletable="0" |
|||
SaveOption="SaveNone"> |
|||
<Exec |
|||
CmdLine="gnucoptions" |
|||
Type="Slick-C"/> |
|||
</Target> |
|||
</Menu> |
|||
<List Name="GNUC Options"> |
|||
<Item |
|||
Name="LinkerOutputType" |
|||
Value="Executable"/> |
|||
</List> |
|||
<Includes> |
|||
<Include Dir="/home/samba/shared/working_dir/source/lib/cli"/> |
|||
</Includes> |
|||
<Libs PreObjects="0"> |
|||
<Lib File="-lelf"/> |
|||
<Lib File="-lcurses"/> |
|||
<Lib File="-lcdk"/> |
|||
<Lib File="-lpthread"/> |
|||
<Lib File="-lgpm"/> |
|||
<Lib File="-lnewt"/> |
|||
<Lib File="-lconfig"/> |
|||
</Libs> |
|||
</Config> |
|||
<Files> |
|||
<Folder |
|||
Name="Source Files" |
|||
Filters="*.c;*.C;*.cc;*.cpp;*.cp;*.cxx;*.c++;*.prg;*.pas;*.dpr;*.asm;*.s;*.bas;*.java;*.cs;*.sc;*.e;*.cob;*.html;*.rc;*.tcl;*.py;*.pl;*.d"> |
|||
<F N="adc1Window.cpp"/> |
|||
<F N="../../source/lib/hardware/soc/modules/adc/adc_ss.c"/> |
|||
<F N="../../source/lib/hardware/soc/general/am437x_cm.c"/> |
|||
<F N="../../source/lib/hardware/soc/general/am437x_prmcm.c"/> |
|||
<F N="../../source/lib/components/base/basicDualThread.cpp"/> |
|||
<F N="../../source/lib/components/base/basicFunctionality.cpp"/> |
|||
<F N="../../source/lib/components/base/basicLogCollection.cpp"/> |
|||
<F N="../../source/lib/components/base/basicLoggingService.cpp"/> |
|||
<F N="../../source/lib/components/base/basicNCursesEngine.h"/> |
|||
<F N="../../source/lib/components/base/basicRing.cpp"/> |
|||
<F N="../../source/lib/components/base/basicSettingsProvider.cpp"/> |
|||
<F N="../../source/lib/components/base/basicThread.cpp"/> |
|||
<F N="../../source/lib/components/base/basicTransport.cpp"/> |
|||
<F N="../../source/lib/hardware/can/can_lib.c"/> |
|||
<F N="../../source/lib/hardware/can/canbus.cpp"/> |
|||
<F N="../../source/lib/hardware/soc/classSOC.cpp"/> |
|||
<F N="../../source/lib/cli/cliClass.cpp"/> |
|||
<F N="DirectMemo.cpp"/> |
|||
<F N="../../source/lib/hardware/soc/functionality/pruss/elf_loader.c"/> |
|||
<F N="../../source/lib/hardware/soc/modules/gpio/gpio_ss.c"/> |
|||
<F N="gpioWindow.cpp"/> |
|||
<F N="mainWindow.cpp"/> |
|||
<F N="motorWindow.cpp"/> |
|||
<F N="../../source/lib/components/object/objectCliLoggingServices.cpp"/> |
|||
<F N="../../source/lib/components/object/objectFileLoggingService.cpp"/> |
|||
<F N="../../source/lib/data/protocol/protocol.cpp"/> |
|||
<F N="../../source/lib/data/protocol/protocolTGZ.cpp"/> |
|||
<F N="pru0Window.cpp"/> |
|||
<F N="pru1Window.cpp"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pru/pru_ss.c"/> |
|||
<F N="pruCoresWindow.cpp"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pwmss/pwm_ss.c"/> |
|||
<F N="pwmInfoWindow.cpp"/> |
|||
<F N="tgz2Window.cpp"/> |
|||
<F N="tgzWindow.cpp"/> |
|||
<F N="../../source/lib/data/transport/transportSerial.cpp"/> |
|||
<F N="tupus0_0Window.cpp"/> |
|||
<F N="tupus0_1Window.cpp"/> |
|||
<F N="tupus1_0Window.cpp"/> |
|||
<F N="tupus1_1Window.cpp"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="Header Files" |
|||
Filters="*.h;*.H;*.hh;*.hpp;*.hxx;*.inc;*.sh;*.cpy;*.if"> |
|||
<F N="../../source/lib/hardware/soc/general/3DLRF.h"/> |
|||
<F N="adc1Window.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/adc/adc_ss.h"/> |
|||
<F N="../../source/lib/hardware/soc/general/am437x_cm.h"/> |
|||
<F N="../../source/lib/hardware/soc/general/am437x_prmcm.h"/> |
|||
<F N="../../source/lib/components/base/basicDualThread.h"/> |
|||
<F N="../../source/lib/components/base/basicLogCollection.h"/> |
|||
<F N="../../source/lib/components/base/basicNCursesEngine.cpp"/> |
|||
<F N="../../source/lib/components/base/basicThread.h"/> |
|||
<F N="../../source/lib/components/base/basicTransport.h"/> |
|||
<F N="../../source/lib/hardware/can/can_lib.h"/> |
|||
<F N="../../source/lib/hardware/can/canbus.h"/> |
|||
<F N="../../source/lib/hardware/soc/classSOC.h"/> |
|||
<F N="../../source/lib/cli/cli.h"/> |
|||
<F N="../../source/lib/cli/cliClass.h"/> |
|||
<F N="../../source/lib/hardware/soc/functionality/pruss/elf_loader.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/gpio/gpio_regs.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/gpio/gpio_ss.h"/> |
|||
<F N="gpioWindow.h"/> |
|||
<F N="mainWindow.h"/> |
|||
<F N="motorWindow.h"/> |
|||
<F N="../../source/lib/components/object/objectCliLoggingServices.h"/> |
|||
<F N="../../source/lib/components/object/objectFileLoggingService.h"/> |
|||
<F N="../../source/lib/data/protocol/protocol.h"/> |
|||
<F N="../../source/lib/data/protocol/protocolTGZ.h"/> |
|||
<F N="pru0Window.h"/> |
|||
<F N="pru1Window.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pru/pru_cfg.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pru/pru_ctrl.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pru/pru_ss.h"/> |
|||
<F N="pruCoresWindow.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/pwmss/pwm_ss.h"/> |
|||
<F N="pwmInfoWindow.h"/> |
|||
<F N="../../source/lib/hardware/soc/general/sitara-am437x.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/adc/sys_adc0TscSs.h"/> |
|||
<F N="../../source/lib/hardware/soc/modules/adc/sys_adc1MagSs.h"/> |
|||
<F N="../../source/include/device/modules/pwmss/sys_pwmss.h"/> |
|||
<F N="tgz2Window.h"/> |
|||
<F N="tgzWindow.h"/> |
|||
<F N="../../source/lib/data/transport/transportSerial.h"/> |
|||
<F N="tupus0_0Window.h"/> |
|||
<F N="tupus0_1Window.h"/> |
|||
<F N="tupus1_0Window.h"/> |
|||
<F N="tupus1_1Window.h"/> |
|||
</Folder> |
|||
<Folder |
|||
Name="Resource Files" |
|||
Filters="*.ico;*.cur;*.dlg"/> |
|||
<Folder |
|||
Name="Bitmaps" |
|||
Filters="*.bmp"/> |
|||
<Folder |
|||
Name="Other Files" |
|||
Filters=""> |
|||
<F |
|||
N="makefile" |
|||
Type="Makefile"/> |
|||
</Folder> |
|||
</Files> |
|||
</Project> |
|||
@ -1,109 +0,0 @@ |
|||
#include "adc1Window.h"
|
|||
//#include "../../source/lib/hardware/soc/modules/adc/adc_ss.h"
|
|||
|
|||
#ifdef NEWT_CLI
|
|||
|
|||
adc1Window::adc1Window(){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
m_x = 81; |
|||
m_y = 18; |
|||
m_w = 44; |
|||
m_h = 17; |
|||
m_l1 = newtLabel( 3, 1, "ADC1 Config:" ); |
|||
m_t1 = newtTextbox( 3, 3, 38, 1, 0 ); |
|||
m_t2 = newtTextbox( 3, 4, 38, 1, 0 ); |
|||
m_t3 = newtTextbox( 3, 5, 38, 1, 0 ); |
|||
m_t4 = newtTextbox( 3, 6, 38, 1, 0 ); |
|||
m_t5 = newtTextbox( 3, 7, 38, 1, 0 ); |
|||
m_t6 = newtTextbox( 3, 8, 38, 1, 0 ); |
|||
m_t7 = newtTextbox( 3, 9, 38, 1, 0 ); |
|||
m_t8 = newtTextbox( 3, 10, 38, 1, 0 ); |
|||
m_t9 = newtTextbox( 3, 11, 38, 1, 0 ); |
|||
m_t10 = newtTextbox( 3, 12, 38, 1, 0 ); |
|||
m_t11 = newtTextbox( 3, 13, 38, 1, 0 ); |
|||
m_b1 = newtCompactButton( 3, 15, "Close" ); |
|||
newtFormAddComponents( m_oForm, m_l1, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_b1, NULL ); |
|||
//newtFormSetBackground( m_oForm, NEWT_COLORSET_CHECKBOX );
|
|||
|
|||
//paint();
|
|||
}; |
|||
|
|||
adc1Window::~adc1Window(){ |
|||
newtPopWindow(); |
|||
}; |
|||
|
|||
void adc1Window::paint(){ |
|||
volatile sysAdc1MagSs *c_pADC = NULL; |
|||
char tBuffer[245]; |
|||
c_pADC = m_pSOC->getADC1_CTRL(); |
|||
//newtOpenWindow( m_x, m_y, m_w, m_h, "ADC Info" );
|
|||
newtCenteredWindow( m_w, m_h, "ADC Info" ); |
|||
if( c_pADC != NULL ) { |
|||
sprintf( tBuffer, "ADC1 Revision ID: \t0x%08x", c_pADC->REVISION ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "ADC CTRL: \t\t%08x", c_pADC->CTRL ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "ADC STEPEN: \t\t%08x", c_pADC->STEPEN ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
|
|||
sprintf( tBuffer, "Seq[0]: \t\t%08x", c_pADC->STEPCONFIG1 ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "Seq[1]: \t\t%08x", c_pADC->STEPCONFIG2 ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "Seq[2]: \t\t%08x", c_pADC->STEPCONFIG3 ); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
sprintf( tBuffer, "Seq[3]: \t\t%08x", c_pADC->STEPCONFIG4 ); |
|||
newtTextboxSetText( m_t7, tBuffer ); |
|||
sprintf( tBuffer, "Seq[4]: \t\t%08x", c_pADC->STEPCONFIG5 ); |
|||
newtTextboxSetText( m_t8, tBuffer ); |
|||
sprintf( tBuffer, "Seq[5]: \t\t%08x", c_pADC->STEPCONFIG6 ); |
|||
newtTextboxSetText( m_t9, tBuffer ); |
|||
sprintf( tBuffer, "Seq[6]: \t\t%08x", c_pADC->STEPCONFIG7 ); |
|||
newtTextboxSetText( m_t10, tBuffer ); |
|||
sprintf( tBuffer, "Seq[7]: \t\t%08x", c_pADC->STEPCONFIG8 ); |
|||
newtTextboxSetText( m_t11, tBuffer ); |
|||
|
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized" ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
} |
|||
newtDrawForm( m_oForm ); |
|||
newtRefresh(); |
|||
}; |
|||
|
|||
#else
|
|||
// Constructor implementation
|
|||
adc1Window::adc1Window() : WindowCLI( NULL ){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
create( 81, 18, 40, 17 ); |
|||
}; |
|||
|
|||
void adc1Window::paint( void ){ |
|||
volatile sysAdc1MagSs *c_pADC = NULL; |
|||
c_pADC = m_pSOC->getADC1_CTRL(); |
|||
|
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " ADC%d Config at: \t%p", 1, c_pADC ); |
|||
if( c_pADC != NULL ) { |
|||
mvwprintw( m_pWND, 3,2, " ADC%d Revision ID: \t0x%08x", 1, c_pADC->REVISION ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
if( c_pADC != NULL ) { |
|||
mvwprintw( m_pWND, 4,2, " ADC%d INFO:", 1 ); |
|||
mvwprintw( m_pWND, 6,2, " ADC CTRL: \t\t%08x", c_pADC->CTRL ); |
|||
mvwprintw( m_pWND, 7,2, " ADC STEPEN: \t\t%08x", c_pADC->STEPEN ); |
|||
mvwprintw( m_pWND, 8,2, " Seq[0]: \t\t%08x", c_pADC->STEPCONFIG[0].CONFIG ); |
|||
mvwprintw( m_pWND, 9,2, " Seq[1]: \t\t%08x", c_pADC->STEPCONFIG[1].CONFIG ); |
|||
mvwprintw( m_pWND, 10,2, " Seq[2]: \t\t%08x", c_pADC->STEPCONFIG[2].CONFIG ); |
|||
mvwprintw( m_pWND, 11,2, " Seq[3]: \t\t%08x", c_pADC->STEPCONFIG[3].CONFIG ); |
|||
mvwprintw( m_pWND, 12,2, " Seq[4]: \t\t%08x", c_pADC->STEPCONFIG[4].CONFIG ); |
|||
mvwprintw( m_pWND, 13,2, " Seq[5]: \t\t%08x", c_pADC->STEPCONFIG[5].CONFIG ); |
|||
mvwprintw( m_pWND, 14,2, " Seq[6]: \t\t%08x", c_pADC->STEPCONFIG[6].CONFIG ); |
|||
mvwprintw( m_pWND, 15,2, " Seq[7]: \t\t%08x", c_pADC->STEPCONFIG[7].CONFIG ); |
|||
} else { |
|||
mvwprintw( m_pWND, 4,2, " NO ADC INFO" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
}; |
|||
#endif
|
|||
@ -1,31 +0,0 @@ |
|||
#ifndef __ADC1WINDOW_H_INCL__ |
|||
#define __ADC1WINDOW_H_INCL__ |
|||
|
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
|
|||
#ifdef NEWT_CLI |
|||
class adc1Window : public WindowCLI{ |
|||
private: |
|||
classSOC *m_pSOC; |
|||
newtComponent m_l1, m_l2, m_b1; |
|||
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11; |
|||
public: |
|||
adc1Window(); |
|||
~adc1Window(); |
|||
void paint( void ); |
|||
}; |
|||
#else |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
class adc1Window : public WindowCLI { |
|||
private: |
|||
classSOC *m_pSOC; |
|||
public: |
|||
adc1Window(); |
|||
virtual ~adc1Window(); |
|||
void paint( void ); |
|||
}; |
|||
#endif // NEWT_CLI |
|||
|
|||
#endif // __ADC1WINDOW_H_INCL__ |
|||
@ -1,48 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
ifconfig can1 down |
|||
|
|||
#ip link set can1 up type can bitrate 125000 loopback off triple-sampling on restart-ms 100 dbitrate 125000 berr-reporting on fd on |
|||
|
|||
# |
|||
#Bit timing parameters for flexcan with 24.000000 MHz ref clock |
|||
#nominal real Bitrt nom real SampP |
|||
#Bitrate TQ[ns] PrS PhS1 PhS2 SJW BRP Bitrate Error SampP SampP Error CAN_CTRL |
|||
#1000000 83 4 4 3 1 2 1000000 0.0% 75.0% 75.0% 0.0% 0x011a0003 |
|||
# 800000 83 5 6 3 1 2 800000 0.0% 80.0% 80.0% 0.0% 0x012a0004 |
|||
# 500000 125 6 7 2 1 3 500000 0.0% 87.5% 87.5% 0.0% 0x02310005 |
|||
# 250000 250 6 7 2 1 6 250000 0.0% 87.5% 87.5% 0.0% 0x05310005 |
|||
# 125000 500 6 7 2 1 12 125000 0.0% 87.5% 87.5% 0.0% 0x0b310005 |
|||
# 100000 625 6 7 2 1 15 100000 0.0% 87.5% 87.5% 0.0% 0x0e310005 |
|||
# 50000 1250 6 7 2 1 30 50000 0.0% 87.5% 87.5% 0.0% 0x1d310005 |
|||
# 20000 3125 6 7 2 1 75 20000 0.0% 87.5% 87.5% 0.0% 0x4a310005 |
|||
# 10000 6250 6 7 2 1 150 10000 0.0% 87.5% 87.5% 0.0% 0x95310005 |
|||
# |
|||
|
|||
# |
|||
#[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] | |
|||
# [ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1 |
|||
# phase-seg2 PHASE-SEG2 [ sjw SJW ] ] |
|||
# |
|||
# [ dbitrate BITRATE [ dsample-point SAMPLE-POINT] ] | |
|||
# [ dtq TQ dprop-seg PROP_SEG dphase-seg1 PHASE-SEG1 |
|||
# dphase-seg2 PHASE-SEG2 [ dsjw SJW ] ] |
|||
# |
|||
# [ loopback { on | off } ] |
|||
# [ listen-only { on | off } ] |
|||
# [ triple-sampling { on | off } ] |
|||
# [ one-shot { on | off } ] |
|||
# [ berr-reporting { on | off } ] |
|||
# [ fd { on | off } ] |
|||
# |
|||
# [ restart-ms TIME-MS ] |
|||
# [ restart ] |
|||
# |
|||
|
|||
ip link set can1 up type can bitrate 500000 restart-ms 100 loopback on triple-sampling on berr-reporting on |
|||
|
|||
|
|||
|
|||
ip -details -statistics link show can1 |
|||
|
|||
ifconfig can1 up |
|||
@ -1,130 +0,0 @@ |
|||
/* |
|||
* devmem2.c: Simple program to read/write from/to any location in memory. |
|||
* |
|||
* Copyright (C) 2000, Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl) |
|||
* |
|||
* |
|||
* This software has been developed for the LART computing board |
|||
* (http://www.lart.tudelft.nl/). The development has been sponsored by |
|||
* the Mobile MultiMedia Communications (http://www.mmc.tudelft.nl/) |
|||
* and Ubiquitous Communications (http://www.ubicom.tudelft.nl/) |
|||
* projects. |
|||
* |
|||
* The author can be reached at: |
|||
* |
|||
* Jan-Derk Bakker |
|||
* Information and Communication Theory Group |
|||
* Faculty of Information Technology and Systems |
|||
* Delft University of Technology |
|||
* P.O. Box 5031 |
|||
* 2600 GA Delft |
|||
* The Netherlands |
|||
* |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, write to the Free Software |
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|||
* |
|||
*/ |
|||
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <unistd.h> |
|||
#include <string.h> |
|||
#include <errno.h> |
|||
#include <signal.h> |
|||
#include <fcntl.h> |
|||
#include <ctype.h> |
|||
#include <termios.h> |
|||
#include <sys/types.h> |
|||
#include <sys/mman.h> |
|||
|
|||
#define FATAL do { fprintf(stderr, "Error at line %d, file %s (%d) [%s]\n", \ |
|||
__LINE__, __FILE__, errno, strerror(errno)); exit(1); } while(0) |
|||
|
|||
#define MAP_SIZE 4096UL |
|||
#define MAP_MASK (MAP_SIZE - 1) |
|||
|
|||
int main(int argc, char **argv) { |
|||
int fd; |
|||
void *map_base, *virt_addr; |
|||
unsigned long read_result, writeval; |
|||
off_t target; |
|||
int access_type = 'w'; |
|||
|
|||
if(argc < 2) { |
|||
fprintf(stderr, "\nUsage:\t%s { address } [ type [ data ] ]\n" |
|||
"\taddress : memory address to act upon\n" |
|||
"\ttype : access operation type : [b]yte, [h]alfword, [w]ord\n" |
|||
"\tdata : data to be written\n\n", |
|||
argv[0]); |
|||
exit(1); |
|||
} |
|||
target = strtoul(argv[1], 0, 0); |
|||
|
|||
if(argc > 2) |
|||
access_type = tolower(argv[2][0]); |
|||
|
|||
|
|||
if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) FATAL; |
|||
printf("/dev/mem opened.\n"); |
|||
fflush(stdout); |
|||
|
|||
/* Map one page */ |
|||
map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, target & ~MAP_MASK); |
|||
if(map_base == (void *) -1) FATAL; |
|||
printf("Memory mapped at address %p.\n", map_base); |
|||
fflush(stdout); |
|||
|
|||
virt_addr = map_base + (target & MAP_MASK); |
|||
switch(access_type) { |
|||
case 'b': |
|||
read_result = *((unsigned char *) virt_addr); |
|||
break; |
|||
case 'h': |
|||
read_result = *((unsigned short *) virt_addr); |
|||
break; |
|||
case 'w': |
|||
read_result = *((unsigned long *) virt_addr); |
|||
break; |
|||
default: |
|||
fprintf(stderr, "Illegal data type '%c'.\n", access_type); |
|||
exit(2); |
|||
} |
|||
printf("Value at address 0x%X (%p): 0x%X\n", target, virt_addr, read_result); |
|||
fflush(stdout); |
|||
|
|||
if(argc > 3) { |
|||
writeval = strtoul(argv[3], 0, 0); |
|||
switch(access_type) { |
|||
case 'b': |
|||
*((unsigned char *) virt_addr) = writeval; |
|||
read_result = *((unsigned char *) virt_addr); |
|||
break; |
|||
case 'h': |
|||
*((unsigned short *) virt_addr) = writeval; |
|||
read_result = *((unsigned short *) virt_addr); |
|||
break; |
|||
case 'w': |
|||
*((unsigned long *) virt_addr) = writeval; |
|||
read_result = *((unsigned long *) virt_addr); |
|||
break; |
|||
} |
|||
printf("Written 0x%X; readback 0x%X\n", writeval, read_result); |
|||
fflush(stdout); |
|||
} |
|||
|
|||
if(munmap(map_base, MAP_SIZE) == -1) FATAL; |
|||
close(fd); |
|||
return 0; |
|||
} |
|||
Binary file not shown.
@ -1,43 +0,0 @@ |
|||
#include <err.h> |
|||
#include <fcntl.h> |
|||
#include <libelf.h> |
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <unistd.h> |
|||
|
|||
int main ( int argc , char ** argv ) { |
|||
int fd; |
|||
Elf *e; |
|||
char *k; |
|||
Elf_Kind ek; |
|||
|
|||
if( argc != 2) { |
|||
printf( " usage: %s file-name\n", argv[0] ); |
|||
return -1; |
|||
}; |
|||
|
|||
if( elf_version ( EV_CURRENT ) == EV_NONE ){ |
|||
errx( EXIT_FAILURE , "ELF library initialization failed : %s", elf_errmsg ( -1)); |
|||
}; |
|||
if(( fd=open( argv[1] , O_RDONLY , 0)) < 0) errx( EXIT_FAILURE , " open %s failed ", argv [1]); |
|||
if(( e=elf_begin (fd , ELF_C_READ, NULL )) == NULL ) errx ( EXIT_FAILURE , " elf_begin () failed : %s.", elf_errmsg ( -1)); |
|||
ek = elf_kind (e); |
|||
switch (ek) { |
|||
case ELF_K_AR : |
|||
k = "ar (1) archive "; |
|||
break ; |
|||
case ELF_K_ELF : |
|||
k = "elf object "; |
|||
break ; |
|||
case ELF_K_NONE : |
|||
k = " data "; |
|||
break ; |
|||
default : |
|||
k = " unrecognized "; |
|||
}; |
|||
printf ("%s: %s\n", argv [1] , k); |
|||
elf_end (e); |
|||
close (fd ); |
|||
return 0; |
|||
} |
|||
|
|||
@ -1,92 +0,0 @@ |
|||
#include "gpioWindow.h"
|
|||
gpioWindow::gpioWindow() : WindowCLI(NULL){ |
|||
m_x = 1; |
|||
m_y = 18; |
|||
m_w = 80; |
|||
m_h = 17; |
|||
#ifdef NEWT_CLI
|
|||
m_t1 = newtTextbox( 2, 1, 60, 1, 0 ); |
|||
m_t2 = newtTextbox( 2, 2, 60, 1, 0 ); |
|||
m_t3 = newtTextbox( 2, 3, 60, 1, 0 ); |
|||
m_t4 = newtTextbox( 2, 4, 60, 1, 0 ); |
|||
m_t5 = newtTextbox( 2, 5, 60, 1, 0 ); |
|||
m_t6 = newtTextbox( 2, 6, 60, 1, 0 ); |
|||
newtFormAddComponents( m_oForm, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, NULL ); |
|||
#else
|
|||
//create( 41, 18, 80, 17 );
|
|||
create( 1, 18, 80, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
gpioWindow::~gpioWindow(){ |
|||
newtPopWindow(); |
|||
}; |
|||
|
|||
void gpioWindow::paint( void ){ |
|||
char tBuffer[245]; |
|||
m_nGPI0 = getInputsGPIO(0); |
|||
m_nGPI1 = getInputsGPIO(1); |
|||
m_nGPI2 = getInputsGPIO(2); |
|||
m_nGPI3 = getInputsGPIO(3); |
|||
m_nGPI4 = getInputsGPIO(4); |
|||
m_nGPI5 = getInputsGPIO(5); |
|||
m_nGPO0 = getOutputsGPIO(0); |
|||
m_nGPO1 = getOutputsGPIO(1); |
|||
m_nGPO2 = getOutputsGPIO(2); |
|||
m_nGPO3 = getOutputsGPIO(3); |
|||
m_nGPO4 = getOutputsGPIO(4); |
|||
m_nGPO5 = getOutputsGPIO(5); |
|||
#ifdef NEWT_CLI
|
|||
newtCenteredWindow( m_w, m_h, "GPIO Info" ); |
|||
sprintf( tBuffer, "GPIO[0] Input:\t0x%08x\tGPIO[0] Output:\t0x%08x", m_nGPI0, m_nGPO0 ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "GPIO[1] Input:\t0x%08x\tGPIO[1] Output:\t0x%08x", m_nGPI1, m_nGPO1 ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "GPIO[2] Input:\t0x%08x\tGPIO[2] Output:\t0x%08x", m_nGPI2, m_nGPO2 ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
sprintf( tBuffer, "GPIO[3] Input:\t0x%08x\tGPIO[3] Output:\t0x%08x", m_nGPI3, m_nGPO3 ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "GPIO[4] Input:\t0x%08x\tGPIO[4] Output:\t0x%08x", m_nGPI4, m_nGPO4 ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "GPIO[5] Input:\t0x%08x\tGPIO[5] Output:\t0x%08x", m_nGPI5, m_nGPO5 ); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
newtDrawForm( m_oForm ); |
|||
newtRefresh(); |
|||
#else
|
|||
createBox( true ); |
|||
uint32_t KAKA = findInterleave(); |
|||
mvwprintw( m_pWND, 2,2,"--- MOTOR STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
cur_P2P_HM = tTUPUS->HOST_data; |
|||
if( cur_P2P_HM < min_P2P_HM ) min_P2P_HM = cur_P2P_HM; |
|||
if( cur_P2P_HM > max_P2P_HM ) max_P2P_HM = cur_P2P_HM; |
|||
cur_P2P_VM = tTUPUS->PRU_data; |
|||
if( cur_P2P_VM < min_P2P_VM ) min_P2P_VM = cur_P2P_VM; |
|||
if( cur_P2P_VM > max_P2P_VM ) max_P2P_VM = cur_P2P_VM; |
|||
mvwprintw( m_pWND, 3,2,"Signature:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 4,2,"Host status:\t0x%08x Interleave:%d", tTUPUS->HOST_status, KAKA ); |
|||
mvwprintw( m_pWND, 5,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 6,2,"Motor Status: %s", (( tTUPUS->PRU_status & 0xFF000000)?"Synced":"Not Synced")); |
|||
mvwprintw( m_pWND, 7,2,"Vertical Pulses per Rotation:\t%08d", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 8,2,"Horizontal Pulses per Rotation:\t%08d", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 9,2,"Horizontal Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_HM * 5.0 ), |
|||
1000000.0/( min_P2P_HM * 5.0 ), |
|||
1000000.0/( max_P2P_HM * 5.0 ) |
|||
); |
|||
mvwprintw( m_pWND, 10,2,"Vertical Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_VM * 5.0 ), |
|||
1000000.0/( min_P2P_VM * 5.0 ), |
|||
1000000.0/( max_P2P_VM * 5.0 ) |
|||
); |
|||
mvwprintw( m_pWND, 12,2,"Stat File:\tNot Started Yet" ); |
|||
mvwprintw( m_pWND, 13,2,"Harvesting Stat:\tNot Started Yet" ); |
|||
mvwprintw( m_pWND, 14,2,"Harvesting Status:\t\t\t." ); |
|||
tTUPUS->HOST_status = 0; |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
|
|||
@ -1,37 +0,0 @@ |
|||
#ifndef __GPIOWINDOW_H_INCL__ |
|||
#define __GPIOWINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
#include <fcntl.h> |
|||
#include <sys/stat.h> |
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class gpioWindow : public WindowCLI { |
|||
uint32_t m_nGPI0; |
|||
uint32_t m_nGPI1; |
|||
uint32_t m_nGPI2; |
|||
uint32_t m_nGPI3; |
|||
uint32_t m_nGPI4; |
|||
uint32_t m_nGPI5; |
|||
uint32_t m_nGPO0; |
|||
uint32_t m_nGPO1; |
|||
uint32_t m_nGPO2; |
|||
uint32_t m_nGPO3; |
|||
uint32_t m_nGPO4; |
|||
uint32_t m_nGPO5; |
|||
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6; |
|||
public: |
|||
gpioWindow(); |
|||
~gpioWindow(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __MOTORWINDOW_H_INCL__ |
|||
@ -1,71 +0,0 @@ |
|||
#include "mainWindow.h"
|
|||
|
|||
#ifdef NEWT_CLI
|
|||
mainWindow::mainWindow() : WindowCLI( NULL ){ |
|||
m_x = 3; |
|||
m_y = 3; |
|||
m_w = 23; |
|||
m_h = 16; |
|||
m_oMenu = newtListbox( 1, 0, 17, NEWT_FLAG_RETURNEXIT | NEWT_FLAG_SCROLL ); |
|||
newtListboxAppendEntry( m_oMenu, "ADC Info", (void *) 1 ); |
|||
newtListboxAppendEntry( m_oMenu, "PWM Info", (void *) 2 ); |
|||
newtListboxAppendEntry( m_oMenu, "Motors Info", (void *) 3 ); |
|||
newtListboxAppendEntry( m_oMenu, "PRUSS Info", (void *) 4 ); |
|||
newtListboxAppendEntry( m_oMenu, "PRU Cores", (void *) 5 ); |
|||
newtListboxAppendEntry( m_oMenu, "Reset All PRU Cores", (void *) 6 ); |
|||
newtListboxAppendEntry( m_oMenu, "Stop All PRU Cores", (void *) 7 ); |
|||
newtListboxAppendEntry( m_oMenu, "Run All PRU Cores", (void *) 8 ); |
|||
newtListboxAppendEntry( m_oMenu, "Save Cores 8Kb", (void *) 9 ); |
|||
newtListboxAppendEntry( m_oMenu, "Save Cores 12Kb", (void *) 10 ); |
|||
newtListboxAppendEntry( m_oMenu, "Load All PRU Cores", (void *) 11 ); |
|||
newtListboxAppendEntry( m_oMenu, "Old TGZ CAN Commands",(void *) 12 ); |
|||
newtListboxAppendEntry( m_oMenu, "New TGZ CAN Commands",(void *) 13 ); |
|||
newtListboxAppendEntry( m_oMenu, "View Log Messages", (void *) 14 ); |
|||
newtListboxAppendEntry( m_oMenu, "View GPIO", (void *) 15 ); |
|||
|
|||
newtListboxAppendEntry( m_oMenu, "EXIT", (void *) 255 ); |
|||
newtFormAddComponents( m_oForm, m_oMenu, NULL ); |
|||
newtFormSetBackground( m_oForm, 3 ); |
|||
}; |
|||
|
|||
mainWindow::~mainWindow(){ |
|||
newtPopWindow(); |
|||
}; |
|||
|
|||
void mainWindow::paint( void ){ |
|||
//newtOpenWindow( m_x, m_y, m_w, m_h, "Main Menu" );
|
|||
newtCenteredWindow( m_w, m_h, "Main Menu" ); |
|||
newtDrawForm( m_oForm ); |
|||
}; |
|||
|
|||
|
|||
int mainWindow::decodeEvent( newtComponent evt ){ |
|||
if( evt == m_oMenu ) { |
|||
void *selected; |
|||
selected = newtListboxGetCurrent( m_oMenu ); |
|||
return ( int )selected; |
|||
}; |
|||
return 0; |
|||
}; |
|||
#else
|
|||
mainWindow::mainWindow() : WindowCLI( NULL ){ |
|||
create( 0, 0, 40, 17 ); |
|||
}; |
|||
|
|||
void mainWindow::paint( void ){ |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, "1 - Toggle Reset Error\tbit(0)"); |
|||
mvwprintw( m_pWND, 3,2, "2 - Toggle Stop/Run\tbit(1)"); |
|||
mvwprintw( m_pWND, 4,2, "3 - Toggle PRF [35,45,50] kHz"); |
|||
mvwprintw( m_pWND, 5,2, "4 - Toggle M2M ratio [64,72,98,128]"); |
|||
mvwprintw( m_pWND, 6,2, "5 - Toggle Feq Divider [1,2,4]"); |
|||
mvwprintw( m_pWND, 7,2, "6 - Stop PRF Generator"); |
|||
mvwprintw( m_pWND, 8,2, "7 - Stop Azimuth Motor"); |
|||
mvwprintw( m_pWND, 9,2, "8 - Send Data to TGZ"); |
|||
mvwprintw( m_pWND, 10,2, "9 - Reset Statistics"); |
|||
mvwprintw( m_pWND, 10,2, "0 - Save Statistics to File"); |
|||
mvwprintw( m_pWND, 11,2, "' ' - (Space) Refresh Screen"); |
|||
mvwprintw( m_pWND, 13,2, "q - exit\n"); |
|||
wrefresh( m_pWND ); |
|||
}; |
|||
#endif // NEWT_CLI
|
|||
@ -1,34 +0,0 @@ |
|||
#ifndef __MAINWINDOW_H_INCL__ |
|||
#define __MAINWINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/cli/cliClass.h" |
|||
|
|||
#ifdef NEWT_CLI |
|||
class mainWindow: public WindowCLI{ |
|||
private: |
|||
newtComponent m_oMenu; |
|||
public: |
|||
mainWindow(); |
|||
~mainWindow(); |
|||
void paint( void ); |
|||
int decodeEvent( newtComponent evt ); |
|||
}; |
|||
#else |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
|
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class mainWindow : public WindowCLI { |
|||
public: |
|||
mainWindow(); |
|||
virtual ~mainWindow(); |
|||
void paint( void ); |
|||
}; |
|||
#endif // NEWT_CLI |
|||
|
|||
|
|||
#endif // __MAINWINDOW_H_INCL__ |
|||
@ -1,329 +0,0 @@ |
|||
# SlickEdit generated file. Do not edit this file except in designated areas.
|
|||
|
|||
# Make command to use for dependencies
|
|||
MAKE=make |
|||
RM=rm |
|||
MKDIR=mkdir |
|||
|
|||
# -----Begin user-editable area-----
|
|||
|
|||
# -----End user-editable area-----
|
|||
|
|||
# If no configuration is specified, "Debug" will be used
|
|||
ifndef CFG |
|||
CFG=Debug |
|||
endif |
|||
|
|||
#
|
|||
# Configuration: Debug
|
|||
#
|
|||
ifeq "$(CFG)" "Debug" |
|||
OUTDIR=Debug |
|||
OUTFILE=$(OUTDIR)/DirectMemo |
|||
CFG_INC=-I/home/samba/shared/working_dir/source/lib/cli |
|||
CFG_LIB=-lelf -lcurses -lcdk -lpthread -lgpm -lnewt -lconfig |
|||
CFG_OBJ= |
|||
COMMON_OBJ=$(OUTDIR)/adc1Window.o $(OUTDIR)/adc_ss.o \
|
|||
$(OUTDIR)/am437x_cm.o $(OUTDIR)/am437x_prmcm.o \
|
|||
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettingsProvider.o \
|
|||
$(OUTDIR)/basicThread.o $(OUTDIR)/basicTransport.o \
|
|||
$(OUTDIR)/can_lib.o $(OUTDIR)/canbus.o $(OUTDIR)/classSOC.o \
|
|||
$(OUTDIR)/cliClass.o $(OUTDIR)/DirectMemo.o $(OUTDIR)/elf_loader.o \
|
|||
$(OUTDIR)/gpio_ss.o $(OUTDIR)/gpioWindow.o $(OUTDIR)/mainWindow.o \
|
|||
$(OUTDIR)/motorWindow.o $(OUTDIR)/objectCliLoggingServices.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/protocolTGZ.o $(OUTDIR)/pru0Window.o \
|
|||
$(OUTDIR)/pru1Window.o $(OUTDIR)/pru_ss.o $(OUTDIR)/pruCoresWindow.o \
|
|||
$(OUTDIR)/pwm_ss.o $(OUTDIR)/pwmInfoWindow.o $(OUTDIR)/tgz2Window.o \
|
|||
$(OUTDIR)/tgzWindow.o $(OUTDIR)/transportSerial.o \
|
|||
$(OUTDIR)/tupus0_0Window.o $(OUTDIR)/tupus0_1Window.o \
|
|||
$(OUTDIR)/tupus1_0Window.o $(OUTDIR)/tupus1_1Window.o \
|
|||
$(OUTDIR)/basicNCursesEngine.o |
|||
OBJ=$(COMMON_OBJ) $(CFG_OBJ) |
|||
ALL_OBJ=$(OUTDIR)/adc1Window.o $(OUTDIR)/adc_ss.o \
|
|||
$(OUTDIR)/am437x_cm.o $(OUTDIR)/am437x_prmcm.o \
|
|||
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettingsProvider.o \
|
|||
$(OUTDIR)/basicThread.o $(OUTDIR)/basicTransport.o \
|
|||
$(OUTDIR)/can_lib.o $(OUTDIR)/canbus.o $(OUTDIR)/classSOC.o \
|
|||
$(OUTDIR)/cliClass.o $(OUTDIR)/DirectMemo.o $(OUTDIR)/elf_loader.o \
|
|||
$(OUTDIR)/gpio_ss.o $(OUTDIR)/gpioWindow.o $(OUTDIR)/mainWindow.o \
|
|||
$(OUTDIR)/motorWindow.o $(OUTDIR)/objectCliLoggingServices.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/protocolTGZ.o $(OUTDIR)/pru0Window.o \
|
|||
$(OUTDIR)/pru1Window.o $(OUTDIR)/pru_ss.o $(OUTDIR)/pruCoresWindow.o \
|
|||
$(OUTDIR)/pwm_ss.o $(OUTDIR)/pwmInfoWindow.o $(OUTDIR)/tgz2Window.o \
|
|||
$(OUTDIR)/tgzWindow.o $(OUTDIR)/transportSerial.o \
|
|||
$(OUTDIR)/tupus0_0Window.o $(OUTDIR)/tupus0_1Window.o \
|
|||
$(OUTDIR)/tupus1_0Window.o $(OUTDIR)/tupus1_1Window.o \
|
|||
$(OUTDIR)/basicNCursesEngine.o -lelf -lcurses -lcdk -lpthread -lgpm \
|
|||
-lnewt -lconfig |
|||
|
|||
COMPILE=c++ -c -x c++ -O0 -g -ggdb -w -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|||
LINK=g++ -O0 -g -ggdb -w -o "$(OUTFILE)" $(ALL_OBJ) |
|||
|
|||
# Pattern rules
|
|||
$(OUTDIR)/%.o : %.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/adc/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/transport/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pwmss/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/base/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/can/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/gpio/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/protocol/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pru/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/general/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/cli/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/object/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/functionality/pruss/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : %.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/adc/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/transport/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pwmss/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/base/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/can/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/gpio/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/protocol/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pru/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/general/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/cli/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/object/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/functionality/pruss/%.c |
|||
$(COMPILE) |
|||
|
|||
# Build rules
|
|||
all: $(OUTFILE) |
|||
|
|||
$(OUTFILE): $(OUTDIR) $(OBJ) |
|||
$(LINK) |
|||
|
|||
$(OUTDIR): |
|||
$(MKDIR) -p "$(OUTDIR)" |
|||
|
|||
# Rebuild this project
|
|||
rebuild: cleanall all |
|||
|
|||
# Clean this project
|
|||
clean: |
|||
$(RM) -f $(OUTFILE) |
|||
$(RM) -f $(OBJ) |
|||
|
|||
# Clean this project and all dependencies
|
|||
cleanall: clean |
|||
endif |
|||
|
|||
#
|
|||
# Configuration: Release
|
|||
#
|
|||
ifeq "$(CFG)" "Release" |
|||
OUTDIR=Release |
|||
OUTFILE=$(OUTDIR)/DirectMemo |
|||
CFG_INC=-I/home/samba/shared/working_dir/source/lib/cli |
|||
CFG_LIB=-lelf -lcurses -lcdk -lpthread -lgpm -lnewt -lconfig |
|||
CFG_OBJ= |
|||
COMMON_OBJ=$(OUTDIR)/adc1Window.o $(OUTDIR)/adc_ss.o \
|
|||
$(OUTDIR)/am437x_cm.o $(OUTDIR)/am437x_prmcm.o \
|
|||
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettingsProvider.o \
|
|||
$(OUTDIR)/basicThread.o $(OUTDIR)/basicTransport.o \
|
|||
$(OUTDIR)/can_lib.o $(OUTDIR)/canbus.o $(OUTDIR)/classSOC.o \
|
|||
$(OUTDIR)/cliClass.o $(OUTDIR)/DirectMemo.o $(OUTDIR)/elf_loader.o \
|
|||
$(OUTDIR)/gpio_ss.o $(OUTDIR)/gpioWindow.o $(OUTDIR)/mainWindow.o \
|
|||
$(OUTDIR)/motorWindow.o $(OUTDIR)/objectCliLoggingServices.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/protocolTGZ.o $(OUTDIR)/pru0Window.o \
|
|||
$(OUTDIR)/pru1Window.o $(OUTDIR)/pru_ss.o $(OUTDIR)/pruCoresWindow.o \
|
|||
$(OUTDIR)/pwm_ss.o $(OUTDIR)/pwmInfoWindow.o $(OUTDIR)/tgz2Window.o \
|
|||
$(OUTDIR)/tgzWindow.o $(OUTDIR)/transportSerial.o \
|
|||
$(OUTDIR)/tupus0_0Window.o $(OUTDIR)/tupus0_1Window.o \
|
|||
$(OUTDIR)/tupus1_0Window.o $(OUTDIR)/tupus1_1Window.o \
|
|||
$(OUTDIR)/basicNCursesEngine.o |
|||
OBJ=$(COMMON_OBJ) $(CFG_OBJ) |
|||
ALL_OBJ=$(OUTDIR)/adc1Window.o $(OUTDIR)/adc_ss.o \
|
|||
$(OUTDIR)/am437x_cm.o $(OUTDIR)/am437x_prmcm.o \
|
|||
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicFunctionality.o \
|
|||
$(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \
|
|||
$(OUTDIR)/basicRing.o $(OUTDIR)/basicSettingsProvider.o \
|
|||
$(OUTDIR)/basicThread.o $(OUTDIR)/basicTransport.o \
|
|||
$(OUTDIR)/can_lib.o $(OUTDIR)/canbus.o $(OUTDIR)/classSOC.o \
|
|||
$(OUTDIR)/cliClass.o $(OUTDIR)/DirectMemo.o $(OUTDIR)/elf_loader.o \
|
|||
$(OUTDIR)/gpio_ss.o $(OUTDIR)/gpioWindow.o $(OUTDIR)/mainWindow.o \
|
|||
$(OUTDIR)/motorWindow.o $(OUTDIR)/objectCliLoggingServices.o \
|
|||
$(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/protocol.o \
|
|||
$(OUTDIR)/protocolTGZ.o $(OUTDIR)/pru0Window.o \
|
|||
$(OUTDIR)/pru1Window.o $(OUTDIR)/pru_ss.o $(OUTDIR)/pruCoresWindow.o \
|
|||
$(OUTDIR)/pwm_ss.o $(OUTDIR)/pwmInfoWindow.o $(OUTDIR)/tgz2Window.o \
|
|||
$(OUTDIR)/tgzWindow.o $(OUTDIR)/transportSerial.o \
|
|||
$(OUTDIR)/tupus0_0Window.o $(OUTDIR)/tupus0_1Window.o \
|
|||
$(OUTDIR)/tupus1_0Window.o $(OUTDIR)/tupus1_1Window.o \
|
|||
$(OUTDIR)/basicNCursesEngine.o -lelf -lcurses -lcdk -lpthread -lgpm \
|
|||
-lnewt -lconfig |
|||
|
|||
COMPILE=c++ -c -x c++ -O0 -g -ggdb -w -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|||
LINK=g++ -O0 -g -ggdb -w -o "$(OUTFILE)" $(ALL_OBJ) |
|||
|
|||
# Pattern rules
|
|||
$(OUTDIR)/%.o : %.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/adc/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/transport/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pwmss/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/base/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/can/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/gpio/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/protocol/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pru/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/general/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/cli/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/object/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/functionality/pruss/%.cpp |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : %.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/adc/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/transport/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pwmss/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/base/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/can/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/gpio/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/data/protocol/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/modules/pru/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/general/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/cli/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/components/object/%.c |
|||
$(COMPILE) |
|||
|
|||
$(OUTDIR)/%.o : ../../source/lib/hardware/soc/functionality/pruss/%.c |
|||
$(COMPILE) |
|||
|
|||
# Build rules
|
|||
all: $(OUTFILE) |
|||
|
|||
$(OUTFILE): $(OUTDIR) $(OBJ) |
|||
$(LINK) |
|||
|
|||
$(OUTDIR): |
|||
$(MKDIR) -p "$(OUTDIR)" |
|||
|
|||
# Rebuild this project
|
|||
rebuild: cleanall all |
|||
|
|||
# Clean this project
|
|||
clean: |
|||
$(RM) -f $(OUTFILE) |
|||
$(RM) -f $(OBJ) |
|||
|
|||
# Clean this project and all dependencies
|
|||
cleanall: clean |
|||
endif |
|||
@ -1,179 +0,0 @@ |
|||
#include "motorWindow.h"
|
|||
motorWindow::motorWindow() : WindowCLI(NULL){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
resetStat(); |
|||
m_x = 1; |
|||
m_y = 18; |
|||
m_w = 80; |
|||
m_h = 17; |
|||
#ifdef NEWT_CLI
|
|||
m_t1 = newtTextbox( 2, 1, 60, 1, 0 ); |
|||
m_t2 = newtTextbox( 2, 2, 60, 1, 0 ); |
|||
m_t3 = newtTextbox( 2, 3, 60, 1, 0 ); |
|||
m_t4 = newtTextbox( 2, 4, 60, 1, 0 ); |
|||
m_t5 = newtTextbox( 2, 5, 60, 1, 0 ); |
|||
m_t6 = newtTextbox( 2, 6, 60, 1, 0 ); |
|||
m_t7 = newtTextbox( 2, 7, 60, 1, 0 ); |
|||
m_t8 = newtTextbox( 2, 8, 60, 1, 0 ); |
|||
newtFormAddComponents( m_oForm, m_t1, m_t2, m_t3, m_t4, m_t5, |
|||
m_t6, m_t7, m_t8, NULL ); |
|||
#else
|
|||
//create( 41, 18, 80, 17 );
|
|||
create( 1, 18, 80, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
motorWindow::~motorWindow(){ |
|||
newtPopWindow(); |
|||
}; |
|||
|
|||
void motorWindow::paint( void ){ |
|||
char tBuffer[245]; |
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 1 ); |
|||
#ifdef NEWT_CLI
|
|||
newtCenteredWindow( m_w, m_h, "Motor Info" ); |
|||
if( tTUPUS != NULL ) { |
|||
tTUPUS->HOST_status = 0; |
|||
int cnt = 100; |
|||
while( cnt-- && !tTUPUS->HOST_status) usleep( 20 ); |
|||
cur_P2P_HM = tTUPUS->HOST_data; |
|||
if( cur_P2P_HM < min_P2P_HM ) min_P2P_HM = cur_P2P_HM; |
|||
if( cur_P2P_HM > max_P2P_HM ) max_P2P_HM = cur_P2P_HM; |
|||
cur_P2P_VM = tTUPUS->PRU_data; |
|||
if( cur_P2P_VM < min_P2P_VM ) min_P2P_VM = cur_P2P_VM; |
|||
if( cur_P2P_VM > max_P2P_VM ) max_P2P_VM = cur_P2P_VM; |
|||
sprintf( tBuffer, "Signature:\t0x%08x", tTUPUS->PRU_id ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "Host status:\t0x%08x", tTUPUS->HOST_status ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
sprintf( tBuffer, "Motor Status: %s", (( tTUPUS->PRU_status & 0xFF000000)?"Synced":"Not Synced")); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "Vertical Pulses per Rotation:\t%08d", tTUPUS->PRU_address ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "Horizontal Pulses per Rotation:\t%08d", tTUPUS->HOST_address ); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
sprintf( tBuffer, "Horizontal Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_HM * 5.0 ), |
|||
1000000.0/( min_P2P_HM * 5.0 ), |
|||
1000000.0/( max_P2P_HM * 5.0 ) |
|||
); |
|||
newtTextboxSetText( m_t7, tBuffer ); |
|||
sprintf( tBuffer, "Vertical Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_VM * 5.0 ), |
|||
1000000.0/( min_P2P_VM * 5.0 ), |
|||
1000000.0/( max_P2P_VM * 5.0 ) |
|||
); |
|||
newtTextboxSetText( m_t8, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
}; |
|||
newtDrawForm( m_oForm ); |
|||
newtRefresh(); |
|||
#else
|
|||
createBox( true ); |
|||
uint32_t KAKA = findInterleave(); |
|||
mvwprintw( m_pWND, 2,2,"--- MOTOR STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
cur_P2P_HM = tTUPUS->HOST_data; |
|||
if( cur_P2P_HM < min_P2P_HM ) min_P2P_HM = cur_P2P_HM; |
|||
if( cur_P2P_HM > max_P2P_HM ) max_P2P_HM = cur_P2P_HM; |
|||
cur_P2P_VM = tTUPUS->PRU_data; |
|||
if( cur_P2P_VM < min_P2P_VM ) min_P2P_VM = cur_P2P_VM; |
|||
if( cur_P2P_VM > max_P2P_VM ) max_P2P_VM = cur_P2P_VM; |
|||
mvwprintw( m_pWND, 3,2,"Signature:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 4,2,"Host status:\t0x%08x Interleave:%d", tTUPUS->HOST_status, KAKA ); |
|||
mvwprintw( m_pWND, 5,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 6,2,"Motor Status: %s", (( tTUPUS->PRU_status & 0xFF000000)?"Synced":"Not Synced")); |
|||
mvwprintw( m_pWND, 7,2,"Vertical Pulses per Rotation:\t%08d", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 8,2,"Horizontal Pulses per Rotation:\t%08d", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 9,2,"Horizontal Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_HM * 5.0 ), |
|||
1000000.0/( min_P2P_HM * 5.0 ), |
|||
1000000.0/( max_P2P_HM * 5.0 ) |
|||
); |
|||
mvwprintw( m_pWND, 10,2,"Vertical Freq:\t%.2f kHz. Max: %.2f Min: %.2f", |
|||
1000000.0/( cur_P2P_VM * 5.0 ), |
|||
1000000.0/( min_P2P_VM * 5.0 ), |
|||
1000000.0/( max_P2P_VM * 5.0 ) |
|||
); |
|||
mvwprintw( m_pWND, 12,2,"Stat File:\tNot Started Yet" ); |
|||
mvwprintw( m_pWND, 13,2,"Harvesting Stat:\tNot Started Yet" ); |
|||
mvwprintw( m_pWND, 14,2,"Harvesting Status:\t\t\t." ); |
|||
tTUPUS->HOST_status = 0; |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
|
|||
void motorWindow::resetStat( void ){ |
|||
cur_P2P_HM = 0; |
|||
min_P2P_HM = 0x7FFFFFFF; |
|||
max_P2P_HM = 0; |
|||
cur_P2P_VM = 0; |
|||
min_P2P_VM = 0x7FFFFFFF; |
|||
max_P2P_VM = 0; |
|||
}; |
|||
|
|||
void motorWindow::saveStatToFile( char *FileName ){ |
|||
FILE *fd; |
|||
int baseCounter = 0; |
|||
char Buffer[21]; |
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 1 ); |
|||
|
|||
memset( Buffer,32,20); |
|||
Buffer[20]=(char)0; |
|||
|
|||
if( FileName != NULL ) { |
|||
#ifdef NEWT_CLI
|
|||
#else
|
|||
mvwprintw( m_pWND, 12,2,"Stat File:\t%s", FileName ); |
|||
#endif
|
|||
fd = fopen( FileName, "w+" ); |
|||
if(fd!=NULL){ |
|||
#ifdef NEWT_CLI
|
|||
#else
|
|||
mvwprintw( m_pWND, 14,2,"Harvesting Status:\tStarted." ); |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
//fprintf( fd,"Base Rotation ID, Time ticks between Pulses of Mirror Block, Time ticks between Pulses of Base, Pulses per Revolution of Mirror Block, Pulses per Revolution of Base, Mirror Block Pulses per Base Pulse, Motors are Synced\r\n");
|
|||
fprintf( fd,"Base Rotation ID, Time ticks between Pulses of Mirror Block, Pulses per Revolution of Mirror Block, Mirror Block Revolutions per Base Revolution, Motors are in Sync\r\n"); |
|||
while( baseCounter< 20 ) { |
|||
tTUPUS->HOST_status = 0; |
|||
while( tTUPUS->HOST_status == 0 ) usleep(10); |
|||
fprintf( fd,"%d,%d,%d,%d,%s\r\n", |
|||
baseCounter, |
|||
tTUPUS->PRU_data, |
|||
//tTUPUS->HOST_data,
|
|||
tTUPUS->PRU_address, |
|||
//tTUPUS->HOST_address,
|
|||
tTUPUS->HOST_command, |
|||
((tTUPUS->PRU_status & 0xFF000000 )?"YES":"NO") |
|||
); |
|||
if( tTUPUS->PRU_status & 0xFF0000 ){// Base Rotation Complete
|
|||
Buffer[baseCounter]='*'; |
|||
baseCounter++; //?
|
|||
#ifdef NEWT_CLI
|
|||
#else
|
|||
mvwprintw( m_pWND, 13,2,"Harvesting Stat:\t[%s]", Buffer ); |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
tTUPUS->PRU_status &=0xFF00FFFF; |
|||
}; |
|||
}; |
|||
#ifdef NEWT_CLI
|
|||
#else
|
|||
mvwprintw( m_pWND, 14,2,"Harvesting Status:\t\tDone." ); |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
fclose(fd); |
|||
chmod( FileName, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH ); |
|||
}; |
|||
}; |
|||
}; |
|||
@ -1,34 +0,0 @@ |
|||
#ifndef __MOTORWINDOW_H_INCL__ |
|||
#define __MOTORWINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
#include <fcntl.h> |
|||
#include <sys/stat.h> |
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class motorWindow : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
int cur_P2P_HM; |
|||
int min_P2P_HM; |
|||
int max_P2P_HM; |
|||
int cur_P2P_VM; |
|||
int min_P2P_VM; |
|||
int max_P2P_VM; |
|||
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8; |
|||
public: |
|||
motorWindow(); |
|||
~motorWindow(); |
|||
void paint( void ); |
|||
void resetStat( void ); |
|||
void saveStatToFile( char *FileName ); |
|||
}; |
|||
|
|||
#endif // __MOTORWINDOW_H_INCL__ |
|||
@ -1,2 +0,0 @@ |
|||
c++ -c -x c++ -g -o "Debug/pru_ss.o" ../../source/include/device/modules/pru/pru_ss.c |
|||
makefile:84: recipe for target 'Debug/pru_ss.o' failed |
|||
@ -1 +0,0 @@ |
|||
GPIO ranges handled: |
|||
@ -1,75 +0,0 @@ |
|||
Requested pin control handlers their pinmux maps: |
|||
device: 44e10800.pinmux current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: ddr_vtt_toggle_default (0) function: ddr_vtt_toggle_default (0) |
|||
type: MUX_GROUP controller pinctrl-single group: pinmux_debugss_pins (1) function: pinmux_debugss_pins (1) |
|||
type: MUX_GROUP controller pinctrl-single group: unused_pins (2) function: unused_pins (2) |
|||
device: 4832a000.dss current state: sleep |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: dss_pinctrl_default (3) function: dss_pinctrl_default (3) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: dss_pinctrl_sleep (4) function: dss_pinctrl_sleep (4) |
|||
device: 44e09000.serial current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: uart0_pins_default (5) function: uart0_pins_default (5) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: uart0_pins_sleep (6) function: uart0_pins_sleep (6) |
|||
device: 47900000.qspi current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: qspi_pins_default (7) function: qspi_pins_default (7) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: qspi_pins_sleep (8) function: qspi_pins_sleep (8) |
|||
device: 481cc000.can current state: sleep |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: dcan0_default_pins (9) function: dcan0_default_pins (9) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: dcan0_sleep_pins (10) function: dcan0_sleep_pins (10) |
|||
device: 481d0000.can current state: sleep |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: dcan1_default_pins (11) function: dcan1_default_pins (11) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: dcan1_sleep_pins (12) function: dcan1_sleep_pins (12) |
|||
device: 4a100000.ethernet current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: cpsw_default (13) function: cpsw_default (13) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: cpsw_sleep (14) function: cpsw_sleep (14) |
|||
device: 4a101000.mdio current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: davinci_mdio_default (15) function: davinci_mdio_default (15) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: davinci_mdio_sleep (16) function: davinci_mdio_sleep (16) |
|||
device: 48390000.usb current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: usb1_pins_default (17) function: usb1_pins_default (17) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: usb1_pins_sleep (18) function: usb1_pins_sleep (18) |
|||
device: 483d0000.usb current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: usb2_pins_default (19) function: usb2_pins_default (19) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: usb2_pins_sleep (20) function: usb2_pins_sleep (20) |
|||
device: 48060000.mmc current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: mmc1_pins_default (21) function: mmc1_pins_default (21) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: mmc1_pins_sleep (22) function: mmc1_pins_sleep (22) |
|||
device: 481d8000.mmc current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: emmc_pins_default (23) function: emmc_pins_default (23) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: emmc_pins_sleep (24) function: emmc_pins_sleep (24) |
|||
device: gpio_leds current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: leds_pins_default (25) function: leds_pins_default (25) |
|||
device: 44e0b000.i2c current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: i2c0_pins (26) function: i2c0_pins (26) |
|||
device: 4802a000.i2c current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: i2c1_pins_default (27) function: i2c1_pins_default (27) |
|||
state: sleep |
|||
type: MUX_GROUP controller pinctrl-single group: i2c1_pins_sleep (28) function: i2c1_pins_sleep (28) |
|||
device: gpio_keys current state: default |
|||
state: default |
|||
type: MUX_GROUP controller pinctrl-single group: keys_pins_default (29) function: keys_pins_default (29) |
|||
@ -1,227 +0,0 @@ |
|||
registered pin groups: |
|||
group: ddr_vtt_toggle_default |
|||
pin 151 (44e10a5c.0) |
|||
|
|||
group: pinmux_debugss_pins |
|||
pin 164 (44e10a90.0) |
|||
pin 165 (44e10a94.0) |
|||
pin 166 (44e10a98.0) |
|||
pin 167 (44e10a9c.0) |
|||
pin 168 (44e10aa0.0) |
|||
pin 169 (44e10aa4.0) |
|||
pin 170 (44e10aa8.0) |
|||
|
|||
group: unused_pins |
|||
pin 84 (44e10950.0) |
|||
pin 85 (44e10954.0) |
|||
|
|||
group: dss_pinctrl_default |
|||
pin 8 (44e10820.0) |
|||
pin 9 (44e10824.0) |
|||
pin 10 (44e10828.0) |
|||
pin 11 (44e1082c.0) |
|||
pin 12 (44e10830.0) |
|||
pin 13 (44e10834.0) |
|||
pin 14 (44e10838.0) |
|||
pin 15 (44e1083c.0) |
|||
pin 40 (44e108a0.0) |
|||
pin 41 (44e108a4.0) |
|||
pin 42 (44e108a8.0) |
|||
pin 43 (44e108ac.0) |
|||
pin 44 (44e108b0.0) |
|||
pin 45 (44e108b4.0) |
|||
pin 46 (44e108b8.0) |
|||
pin 47 (44e108bc.0) |
|||
pin 48 (44e108c0.0) |
|||
pin 49 (44e108c4.0) |
|||
pin 50 (44e108c8.0) |
|||
pin 51 (44e108cc.0) |
|||
pin 52 (44e108d0.0) |
|||
pin 53 (44e108d4.0) |
|||
pin 54 (44e108d8.0) |
|||
pin 55 (44e108dc.0) |
|||
pin 56 (44e108e0.0) |
|||
pin 57 (44e108e4.0) |
|||
pin 58 (44e108e8.0) |
|||
pin 59 (44e108ec.0) |
|||
|
|||
group: dss_pinctrl_sleep |
|||
pin 8 (44e10820.0) |
|||
pin 9 (44e10824.0) |
|||
pin 10 (44e10828.0) |
|||
pin 11 (44e1082c.0) |
|||
pin 12 (44e10830.0) |
|||
pin 13 (44e10834.0) |
|||
pin 14 (44e10838.0) |
|||
pin 15 (44e1083c.0) |
|||
pin 40 (44e108a0.0) |
|||
pin 41 (44e108a4.0) |
|||
pin 42 (44e108a8.0) |
|||
pin 43 (44e108ac.0) |
|||
pin 44 (44e108b0.0) |
|||
pin 45 (44e108b4.0) |
|||
pin 46 (44e108b8.0) |
|||
pin 47 (44e108bc.0) |
|||
pin 48 (44e108c0.0) |
|||
pin 49 (44e108c4.0) |
|||
pin 50 (44e108c8.0) |
|||
pin 51 (44e108cc.0) |
|||
pin 52 (44e108d0.0) |
|||
pin 53 (44e108d4.0) |
|||
pin 54 (44e108d8.0) |
|||
pin 55 (44e108dc.0) |
|||
pin 56 (44e108e0.0) |
|||
pin 57 (44e108e4.0) |
|||
pin 58 (44e108e8.0) |
|||
pin 59 (44e108ec.0) |
|||
|
|||
group: uart0_pins_default |
|||
pin 92 (44e10970.0) |
|||
pin 93 (44e10974.0) |
|||
|
|||
group: uart0_pins_sleep |
|||
pin 92 (44e10970.0) |
|||
pin 93 (44e10974.0) |
|||
|
|||
group: qspi_pins_default |
|||
pin 31 (44e1087c.0) |
|||
pin 34 (44e10888.0) |
|||
pin 36 (44e10890.0) |
|||
pin 37 (44e10894.0) |
|||
pin 38 (44e10898.0) |
|||
pin 39 (44e1089c.0) |
|||
|
|||
group: qspi_pins_sleep |
|||
pin 31 (44e1087c.0) |
|||
pin 34 (44e10888.0) |
|||
pin 36 (44e10890.0) |
|||
pin 37 (44e10894.0) |
|||
pin 38 (44e10898.0) |
|||
pin 39 (44e1089c.0) |
|||
|
|||
group: dcan0_default_pins |
|||
pin 94 (44e10978.0) |
|||
pin 95 (44e1097c.0) |
|||
|
|||
group: dcan0_sleep_pins |
|||
pin 94 (44e10978.0) |
|||
pin 95 (44e1097c.0) |
|||
|
|||
group: dcan1_default_pins |
|||
pin 96 (44e10980.0) |
|||
pin 97 (44e10984.0) |
|||
|
|||
group: dcan1_sleep_pins |
|||
pin 96 (44e10980.0) |
|||
pin 97 (44e10984.0) |
|||
|
|||
group: cpsw_default |
|||
pin 69 (44e10914.0) |
|||
pin 70 (44e10918.0) |
|||
pin 71 (44e1091c.0) |
|||
pin 72 (44e10920.0) |
|||
pin 73 (44e10924.0) |
|||
pin 74 (44e10928.0) |
|||
pin 75 (44e1092c.0) |
|||
pin 76 (44e10930.0) |
|||
pin 77 (44e10934.0) |
|||
pin 78 (44e10938.0) |
|||
pin 79 (44e1093c.0) |
|||
pin 80 (44e10940.0) |
|||
|
|||
group: cpsw_sleep |
|||
pin 69 (44e10914.0) |
|||
pin 70 (44e10918.0) |
|||
pin 71 (44e1091c.0) |
|||
pin 72 (44e10920.0) |
|||
pin 73 (44e10924.0) |
|||
pin 74 (44e10928.0) |
|||
pin 75 (44e1092c.0) |
|||
pin 76 (44e10930.0) |
|||
pin 77 (44e10934.0) |
|||
pin 78 (44e10938.0) |
|||
pin 79 (44e1093c.0) |
|||
pin 80 (44e10940.0) |
|||
|
|||
group: davinci_mdio_default |
|||
pin 82 (44e10948.0) |
|||
pin 83 (44e1094c.0) |
|||
|
|||
group: davinci_mdio_sleep |
|||
pin 82 (44e10948.0) |
|||
pin 83 (44e1094c.0) |
|||
|
|||
group: usb1_pins_default |
|||
pin 176 (44e10ac0.0) |
|||
|
|||
group: usb1_pins_sleep |
|||
pin 176 (44e10ac0.0) |
|||
|
|||
group: usb2_pins_default |
|||
pin 177 (44e10ac4.0) |
|||
|
|||
group: usb2_pins_sleep |
|||
pin 177 (44e10ac4.0) |
|||
|
|||
group: mmc1_pins_default |
|||
pin 64 (44e10900.0) |
|||
pin 65 (44e10904.0) |
|||
pin 60 (44e108f0.0) |
|||
pin 61 (44e108f4.0) |
|||
pin 62 (44e108f8.0) |
|||
pin 63 (44e108fc.0) |
|||
pin 88 (44e10960.0) |
|||
|
|||
group: mmc1_pins_sleep |
|||
pin 64 (44e10900.0) |
|||
pin 65 (44e10904.0) |
|||
pin 60 (44e108f0.0) |
|||
pin 61 (44e108f4.0) |
|||
pin 62 (44e108f8.0) |
|||
pin 63 (44e108fc.0) |
|||
pin 88 (44e10960.0) |
|||
|
|||
group: emmc_pins_default |
|||
pin 0 (44e10800.0) |
|||
pin 1 (44e10804.0) |
|||
pin 2 (44e10808.0) |
|||
pin 3 (44e1080c.0) |
|||
pin 4 (44e10810.0) |
|||
pin 5 (44e10814.0) |
|||
pin 6 (44e10818.0) |
|||
pin 7 (44e1081c.0) |
|||
|
|||
group: emmc_pins_sleep |
|||
pin 0 (44e10800.0) |
|||
pin 1 (44e10804.0) |
|||
pin 2 (44e10808.0) |
|||
pin 3 (44e1080c.0) |
|||
pin 4 (44e10810.0) |
|||
pin 5 (44e10814.0) |
|||
pin 6 (44e10818.0) |
|||
pin 7 (44e1081c.0) |
|||
pin 32 (44e10880.0) |
|||
pin 33 (44e10884.0) |
|||
|
|||
group: leds_pins_default |
|||
pin 24 (44e10860.0) |
|||
pin 25 (44e10864.0) |
|||
pin 26 (44e10868.0) |
|||
pin 27 (44e1086c.0) |
|||
|
|||
group: i2c0_pins |
|||
pin 98 (44e10988.0) |
|||
pin 99 (44e1098c.0) |
|||
|
|||
group: i2c1_pins_default |
|||
pin 144 (44e10a40.0) |
|||
pin 146 (44e10a48.0) |
|||
|
|||
group: i2c1_pins_sleep |
|||
pin 87 (44e1095c.0) |
|||
pin 86 (44e10958.0) |
|||
|
|||
group: keys_pins_default |
|||
pin 145 (44e10a44.0) |
|||
pin 147 (44e10a4c.0) |
|||
|
|||
@ -1,30 +0,0 @@ |
|||
function: ddr_vtt_toggle_default, groups = [ ddr_vtt_toggle_default ] |
|||
function: pinmux_debugss_pins, groups = [ pinmux_debugss_pins ] |
|||
function: unused_pins, groups = [ unused_pins ] |
|||
function: dss_pinctrl_default, groups = [ dss_pinctrl_default ] |
|||
function: dss_pinctrl_sleep, groups = [ dss_pinctrl_sleep ] |
|||
function: uart0_pins_default, groups = [ uart0_pins_default ] |
|||
function: uart0_pins_sleep, groups = [ uart0_pins_sleep ] |
|||
function: qspi_pins_default, groups = [ qspi_pins_default ] |
|||
function: qspi_pins_sleep, groups = [ qspi_pins_sleep ] |
|||
function: dcan0_default_pins, groups = [ dcan0_default_pins ] |
|||
function: dcan0_sleep_pins, groups = [ dcan0_sleep_pins ] |
|||
function: dcan1_default_pins, groups = [ dcan1_default_pins ] |
|||
function: dcan1_sleep_pins, groups = [ dcan1_sleep_pins ] |
|||
function: cpsw_default, groups = [ cpsw_default ] |
|||
function: cpsw_sleep, groups = [ cpsw_sleep ] |
|||
function: davinci_mdio_default, groups = [ davinci_mdio_default ] |
|||
function: davinci_mdio_sleep, groups = [ davinci_mdio_sleep ] |
|||
function: usb1_pins_default, groups = [ usb1_pins_default ] |
|||
function: usb1_pins_sleep, groups = [ usb1_pins_sleep ] |
|||
function: usb2_pins_default, groups = [ usb2_pins_default ] |
|||
function: usb2_pins_sleep, groups = [ usb2_pins_sleep ] |
|||
function: mmc1_pins_default, groups = [ mmc1_pins_default ] |
|||
function: mmc1_pins_sleep, groups = [ mmc1_pins_sleep ] |
|||
function: emmc_pins_default, groups = [ emmc_pins_default ] |
|||
function: emmc_pins_sleep, groups = [ emmc_pins_sleep ] |
|||
function: leds_pins_default, groups = [ leds_pins_default ] |
|||
function: i2c0_pins, groups = [ i2c0_pins ] |
|||
function: i2c1_pins_default, groups = [ i2c1_pins_default ] |
|||
function: i2c1_pins_sleep, groups = [ i2c1_pins_sleep ] |
|||
function: keys_pins_default, groups = [ keys_pins_default ] |
|||
@ -1,201 +0,0 @@ |
|||
Pinmux settings per pin |
|||
Format: pin (name): mux_owner gpio_owner hog? |
|||
pin 0 (44e10800.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 1 (44e10804.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 2 (44e10808.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 3 (44e1080c.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 4 (44e10810.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 5 (44e10814.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 6 (44e10818.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 7 (44e1081c.0): 481d8000.mmc (GPIO UNCLAIMED) function emmc_pins_default group emmc_pins_default |
|||
pin 8 (44e10820.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 9 (44e10824.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 10 (44e10828.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 11 (44e1082c.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 12 (44e10830.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 13 (44e10834.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 14 (44e10838.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 15 (44e1083c.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 16 (44e10840.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 17 (44e10844.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 18 (44e10848.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 19 (44e1084c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 20 (44e10850.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 21 (44e10854.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 22 (44e10858.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 23 (44e1085c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 24 (44e10860.0): gpio_leds (GPIO UNCLAIMED) function leds_pins_default group leds_pins_default |
|||
pin 25 (44e10864.0): gpio_leds (GPIO UNCLAIMED) function leds_pins_default group leds_pins_default |
|||
pin 26 (44e10868.0): gpio_leds (GPIO UNCLAIMED) function leds_pins_default group leds_pins_default |
|||
pin 27 (44e1086c.0): gpio_leds (GPIO UNCLAIMED) function leds_pins_default group leds_pins_default |
|||
pin 28 (44e10870.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 29 (44e10874.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 30 (44e10878.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 31 (44e1087c.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 32 (44e10880.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 33 (44e10884.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 34 (44e10888.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 35 (44e1088c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 36 (44e10890.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 37 (44e10894.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 38 (44e10898.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 39 (44e1089c.0): 47900000.qspi (GPIO UNCLAIMED) function qspi_pins_default group qspi_pins_default |
|||
pin 40 (44e108a0.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 41 (44e108a4.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 42 (44e108a8.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 43 (44e108ac.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 44 (44e108b0.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 45 (44e108b4.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 46 (44e108b8.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 47 (44e108bc.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 48 (44e108c0.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 49 (44e108c4.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 50 (44e108c8.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 51 (44e108cc.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 52 (44e108d0.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 53 (44e108d4.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 54 (44e108d8.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 55 (44e108dc.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 56 (44e108e0.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 57 (44e108e4.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 58 (44e108e8.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 59 (44e108ec.0): 4832a000.dss (GPIO UNCLAIMED) function dss_pinctrl_sleep group dss_pinctrl_sleep |
|||
pin 60 (44e108f0.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 61 (44e108f4.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 62 (44e108f8.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 63 (44e108fc.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 64 (44e10900.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 65 (44e10904.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 66 (44e10908.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 67 (44e1090c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 68 (44e10910.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 69 (44e10914.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 70 (44e10918.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 71 (44e1091c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 72 (44e10920.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 73 (44e10924.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 74 (44e10928.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 75 (44e1092c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 76 (44e10930.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 77 (44e10934.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 78 (44e10938.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 79 (44e1093c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 80 (44e10940.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default |
|||
pin 81 (44e10944.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 82 (44e10948.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default |
|||
pin 83 (44e1094c.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default |
|||
pin 84 (44e10950.0): 44e10800.pinmux (GPIO UNCLAIMED) function unused_pins group unused_pins |
|||
pin 85 (44e10954.0): 44e10800.pinmux (GPIO UNCLAIMED) function unused_pins group unused_pins |
|||
pin 86 (44e10958.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 87 (44e1095c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 88 (44e10960.0): 48060000.mmc (GPIO UNCLAIMED) function mmc1_pins_default group mmc1_pins_default |
|||
pin 89 (44e10964.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 90 (44e10968.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 91 (44e1096c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 92 (44e10970.0): 44e09000.serial (GPIO UNCLAIMED) function uart0_pins_default group uart0_pins_default |
|||
pin 93 (44e10974.0): 44e09000.serial (GPIO UNCLAIMED) function uart0_pins_default group uart0_pins_default |
|||
pin 94 (44e10978.0): 481cc000.can (GPIO UNCLAIMED) function dcan0_sleep_pins group dcan0_sleep_pins |
|||
pin 95 (44e1097c.0): 481cc000.can (GPIO UNCLAIMED) function dcan0_sleep_pins group dcan0_sleep_pins |
|||
pin 96 (44e10980.0): 481d0000.can (GPIO UNCLAIMED) function dcan1_sleep_pins group dcan1_sleep_pins |
|||
pin 97 (44e10984.0): 481d0000.can (GPIO UNCLAIMED) function dcan1_sleep_pins group dcan1_sleep_pins |
|||
pin 98 (44e10988.0): 44e0b000.i2c (GPIO UNCLAIMED) function i2c0_pins group i2c0_pins |
|||
pin 99 (44e1098c.0): 44e0b000.i2c (GPIO UNCLAIMED) function i2c0_pins group i2c0_pins |
|||
pin 100 (44e10990.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 101 (44e10994.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 102 (44e10998.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 103 (44e1099c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 104 (44e109a0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 105 (44e109a4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 106 (44e109a8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 107 (44e109ac.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 108 (44e109b0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 109 (44e109b4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 110 (44e109b8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 111 (44e109bc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 112 (44e109c0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 113 (44e109c4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 114 (44e109c8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 115 (44e109cc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 116 (44e109d0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 117 (44e109d4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 118 (44e109d8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 119 (44e109dc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 120 (44e109e0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 121 (44e109e4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 122 (44e109e8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 123 (44e109ec.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 124 (44e109f0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 125 (44e109f4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 126 (44e109f8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 127 (44e109fc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 128 (44e10a00.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 129 (44e10a04.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 130 (44e10a08.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 131 (44e10a0c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 132 (44e10a10.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 133 (44e10a14.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 134 (44e10a18.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 135 (44e10a1c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 136 (44e10a20.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 137 (44e10a24.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 138 (44e10a28.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 139 (44e10a2c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 140 (44e10a30.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 141 (44e10a34.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 142 (44e10a38.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 143 (44e10a3c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 144 (44e10a40.0): 4802a000.i2c (GPIO UNCLAIMED) function i2c1_pins_default group i2c1_pins_default |
|||
pin 145 (44e10a44.0): gpio_keys (GPIO UNCLAIMED) function keys_pins_default group keys_pins_default |
|||
pin 146 (44e10a48.0): 4802a000.i2c (GPIO UNCLAIMED) function i2c1_pins_default group i2c1_pins_default |
|||
pin 147 (44e10a4c.0): gpio_keys (GPIO UNCLAIMED) function keys_pins_default group keys_pins_default |
|||
pin 148 (44e10a50.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 149 (44e10a54.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 150 (44e10a58.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 151 (44e10a5c.0): 44e10800.pinmux (GPIO UNCLAIMED) function ddr_vtt_toggle_default group ddr_vtt_toggle_default |
|||
pin 152 (44e10a60.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 153 (44e10a64.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 154 (44e10a68.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 155 (44e10a6c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 156 (44e10a70.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 157 (44e10a74.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 158 (44e10a78.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 159 (44e10a7c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 160 (44e10a80.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 161 (44e10a84.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 162 (44e10a88.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 163 (44e10a8c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 164 (44e10a90.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 165 (44e10a94.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 166 (44e10a98.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 167 (44e10a9c.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 168 (44e10aa0.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 169 (44e10aa4.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 170 (44e10aa8.0): 44e10800.pinmux (GPIO UNCLAIMED) function pinmux_debugss_pins group pinmux_debugss_pins |
|||
pin 171 (44e10aac.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 172 (44e10ab0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 173 (44e10ab4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 174 (44e10ab8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 175 (44e10abc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 176 (44e10ac0.0): 48390000.usb (GPIO UNCLAIMED) function usb1_pins_default group usb1_pins_default |
|||
pin 177 (44e10ac4.0): 483d0000.usb (GPIO UNCLAIMED) function usb2_pins_default group usb2_pins_default |
|||
pin 178 (44e10ac8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 179 (44e10acc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 180 (44e10ad0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 181 (44e10ad4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 182 (44e10ad8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 183 (44e10adc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 184 (44e10ae0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 185 (44e10ae4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 186 (44e10ae8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 187 (44e10aec.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 188 (44e10af0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 189 (44e10af4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 190 (44e10af8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 191 (44e10afc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 192 (44e10b00.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 193 (44e10b04.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 194 (44e10b08.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 195 (44e10b0c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 196 (44e10b10.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 197 (44e10b14.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
pin 198 (44e10b18.0): (MUX UNCLAIMED) (GPIO UNCLAIMED) |
|||
@ -1,200 +0,0 @@ |
|||
registered pins: 199 |
|||
pin 0 (44e10800.0) 00060001 pinctrl-single |
|||
pin 1 (44e10804.0) 00060001 pinctrl-single |
|||
pin 2 (44e10808.0) 00060001 pinctrl-single |
|||
pin 3 (44e1080c.0) 00060001 pinctrl-single |
|||
pin 4 (44e10810.0) 00060001 pinctrl-single |
|||
pin 5 (44e10814.0) 00060001 pinctrl-single |
|||
pin 6 (44e10818.0) 00060001 pinctrl-single |
|||
pin 7 (44e1081c.0) 00060001 pinctrl-single |
|||
pin 8 (44e10820.0) 08040007 pinctrl-single |
|||
pin 9 (44e10824.0) 08040007 pinctrl-single |
|||
pin 10 (44e10828.0) 08040007 pinctrl-single |
|||
pin 11 (44e1082c.0) 08040007 pinctrl-single |
|||
pin 12 (44e10830.0) 08040007 pinctrl-single |
|||
pin 13 (44e10834.0) 08040007 pinctrl-single |
|||
pin 14 (44e10838.0) 08040007 pinctrl-single |
|||
pin 15 (44e1083c.0) 08040007 pinctrl-single |
|||
pin 16 (44e10840.0) 08040007 pinctrl-single |
|||
pin 17 (44e10844.0) 08040007 pinctrl-single |
|||
pin 18 (44e10848.0) 08040007 pinctrl-single |
|||
pin 19 (44e1084c.0) 08040007 pinctrl-single |
|||
pin 20 (44e10850.0) 08040007 pinctrl-single |
|||
pin 21 (44e10854.0) 08040007 pinctrl-single |
|||
pin 22 (44e10858.0) 08040007 pinctrl-single |
|||
pin 23 (44e1085c.0) 08040007 pinctrl-single |
|||
pin 24 (44e10860.0) 00010007 pinctrl-single |
|||
pin 25 (44e10864.0) 00010007 pinctrl-single |
|||
pin 26 (44e10868.0) 00010007 pinctrl-single |
|||
pin 27 (44e1086c.0) 00010007 pinctrl-single |
|||
pin 28 (44e10870.0) 08060007 pinctrl-single |
|||
pin 29 (44e10874.0) 08060007 pinctrl-single |
|||
pin 30 (44e10878.0) 08060007 pinctrl-single |
|||
pin 31 (44e1087c.0) 00020003 pinctrl-single |
|||
pin 32 (44e10880.0) 08050002 pinctrl-single |
|||
pin 33 (44e10884.0) 08060002 pinctrl-single |
|||
pin 34 (44e10888.0) 00010002 pinctrl-single |
|||
pin 35 (44e1088c.0) 08040007 pinctrl-single |
|||
pin 36 (44e10890.0) 00060003 pinctrl-single |
|||
pin 37 (44e10894.0) 00060003 pinctrl-single |
|||
pin 38 (44e10898.0) 00060003 pinctrl-single |
|||
pin 39 (44e1089c.0) 00060003 pinctrl-single |
|||
pin 40 (44e108a0.0) 08050007 pinctrl-single |
|||
pin 41 (44e108a4.0) 08050007 pinctrl-single |
|||
pin 42 (44e108a8.0) 08050007 pinctrl-single |
|||
pin 43 (44e108ac.0) 08050007 pinctrl-single |
|||
pin 44 (44e108b0.0) 08050007 pinctrl-single |
|||
pin 45 (44e108b4.0) 08050007 pinctrl-single |
|||
pin 46 (44e108b8.0) 08050007 pinctrl-single |
|||
pin 47 (44e108bc.0) 08040007 pinctrl-single |
|||
pin 48 (44e108c0.0) 08040007 pinctrl-single |
|||
pin 49 (44e108c4.0) 08050007 pinctrl-single |
|||
pin 50 (44e108c8.0) 08040007 pinctrl-single |
|||
pin 51 (44e108cc.0) 08040007 pinctrl-single |
|||
pin 52 (44e108d0.0) 08050007 pinctrl-single |
|||
pin 53 (44e108d4.0) 08050007 pinctrl-single |
|||
pin 54 (44e108d8.0) 08050007 pinctrl-single |
|||
pin 55 (44e108dc.0) 08040007 pinctrl-single |
|||
pin 56 (44e108e0.0) 08040007 pinctrl-single |
|||
pin 57 (44e108e4.0) 08040007 pinctrl-single |
|||
pin 58 (44e108e8.0) 08040007 pinctrl-single |
|||
pin 59 (44e108ec.0) 08040007 pinctrl-single |
|||
pin 60 (44e108f0.0) 00060000 pinctrl-single |
|||
pin 61 (44e108f4.0) 00060000 pinctrl-single |
|||
pin 62 (44e108f8.0) 00060000 pinctrl-single |
|||
pin 63 (44e108fc.0) 00060000 pinctrl-single |
|||
pin 64 (44e10900.0) 00060000 pinctrl-single |
|||
pin 65 (44e10904.0) 00060000 pinctrl-single |
|||
pin 66 (44e10908.0) 08040007 pinctrl-single |
|||
pin 67 (44e1090c.0) 08040007 pinctrl-single |
|||
pin 68 (44e10910.0) 08040007 pinctrl-single |
|||
pin 69 (44e10914.0) 00000002 pinctrl-single |
|||
pin 70 (44e10918.0) 00040002 pinctrl-single |
|||
pin 71 (44e1091c.0) 00000002 pinctrl-single |
|||
pin 72 (44e10920.0) 00000002 pinctrl-single |
|||
pin 73 (44e10924.0) 00000002 pinctrl-single |
|||
pin 74 (44e10928.0) 00000002 pinctrl-single |
|||
pin 75 (44e1092c.0) 00000002 pinctrl-single |
|||
pin 76 (44e10930.0) 00040002 pinctrl-single |
|||
pin 77 (44e10934.0) 00040002 pinctrl-single |
|||
pin 78 (44e10938.0) 00040002 pinctrl-single |
|||
pin 79 (44e1093c.0) 00040002 pinctrl-single |
|||
pin 80 (44e10940.0) 00040002 pinctrl-single |
|||
pin 81 (44e10944.0) 08040007 pinctrl-single |
|||
pin 82 (44e10948.0) 00060000 pinctrl-single |
|||
pin 83 (44e1094c.0) 00020000 pinctrl-single |
|||
pin 84 (44e10950.0) 00040007 pinctrl-single |
|||
pin 85 (44e10954.0) 00040000 pinctrl-single |
|||
pin 86 (44e10958.0) 08060007 pinctrl-single |
|||
pin 87 (44e1095c.0) 08060007 pinctrl-single |
|||
pin 88 (44e10960.0) 00050007 pinctrl-single |
|||
pin 89 (44e10964.0) 00000007 pinctrl-single |
|||
pin 90 (44e10968.0) 08060007 pinctrl-single |
|||
pin 91 (44e1096c.0) 08060007 pinctrl-single |
|||
pin 92 (44e10970.0) 08060000 pinctrl-single |
|||
pin 93 (44e10974.0) 08050000 pinctrl-single |
|||
pin 94 (44e10978.0) 00060007 pinctrl-single |
|||
pin 95 (44e1097c.0) 00060007 pinctrl-single |
|||
pin 96 (44e10980.0) 00060007 pinctrl-single |
|||
pin 97 (44e10984.0) 00060007 pinctrl-single |
|||
pin 98 (44e10988.0) 00060000 pinctrl-single |
|||
pin 99 (44e1098c.0) 00060000 pinctrl-single |
|||
pin 100 (44e10990.0) 08040007 pinctrl-single |
|||
pin 101 (44e10994.0) 08040007 pinctrl-single |
|||
pin 102 (44e10998.0) 08040007 pinctrl-single |
|||
pin 103 (44e1099c.0) 08040007 pinctrl-single |
|||
pin 104 (44e109a0.0) 08040007 pinctrl-single |
|||
pin 105 (44e109a4.0) 08040007 pinctrl-single |
|||
pin 106 (44e109a8.0) 08040007 pinctrl-single |
|||
pin 107 (44e109ac.0) 08040007 pinctrl-single |
|||
pin 108 (44e109b0.0) 08040007 pinctrl-single |
|||
pin 109 (44e109b4.0) 08040007 pinctrl-single |
|||
pin 110 (44e109b8.0) 08040007 pinctrl-single |
|||
pin 111 (44e109bc.0) 08040007 pinctrl-single |
|||
pin 112 (44e109c0.0) 08040007 pinctrl-single |
|||
pin 113 (44e109c4.0) 08040007 pinctrl-single |
|||
pin 114 (44e109c8.0) 08040007 pinctrl-single |
|||
pin 115 (44e109cc.0) 08040007 pinctrl-single |
|||
pin 116 (44e109d0.0) 08040007 pinctrl-single |
|||
pin 117 (44e109d4.0) 08040007 pinctrl-single |
|||
pin 118 (44e109d8.0) 08040007 pinctrl-single |
|||
pin 119 (44e109dc.0) 08040007 pinctrl-single |
|||
pin 120 (44e109e0.0) 08040007 pinctrl-single |
|||
pin 121 (44e109e4.0) 08040007 pinctrl-single |
|||
pin 122 (44e109e8.0) 08040007 pinctrl-single |
|||
pin 123 (44e109ec.0) 08060007 pinctrl-single |
|||
pin 124 (44e109f0.0) 08040007 pinctrl-single |
|||
pin 125 (44e109f4.0) 08040007 pinctrl-single |
|||
pin 126 (44e109f8.0) 08040007 pinctrl-single |
|||
pin 127 (44e109fc.0) 08060007 pinctrl-single |
|||
pin 128 (44e10a00.0) 08040007 pinctrl-single |
|||
pin 129 (44e10a04.0) 08040007 pinctrl-single |
|||
pin 130 (44e10a08.0) 08040007 pinctrl-single |
|||
pin 131 (44e10a0c.0) 08040007 pinctrl-single |
|||
pin 132 (44e10a10.0) 08040007 pinctrl-single |
|||
pin 133 (44e10a14.0) 08040007 pinctrl-single |
|||
pin 134 (44e10a18.0) 08040007 pinctrl-single |
|||
pin 135 (44e10a1c.0) 08040007 pinctrl-single |
|||
pin 136 (44e10a20.0) 08040007 pinctrl-single |
|||
pin 137 (44e10a24.0) 08040007 pinctrl-single |
|||
pin 138 (44e10a28.0) 08060007 pinctrl-single |
|||
pin 139 (44e10a2c.0) 08060007 pinctrl-single |
|||
pin 140 (44e10a30.0) 08060007 pinctrl-single |
|||
pin 141 (44e10a34.0) 08060007 pinctrl-single |
|||
pin 142 (44e10a38.0) 08040007 pinctrl-single |
|||
pin 143 (44e10a3c.0) 08040007 pinctrl-single |
|||
pin 144 (44e10a40.0) 00060001 pinctrl-single |
|||
pin 145 (44e10a44.0) 00010007 pinctrl-single |
|||
pin 146 (44e10a48.0) 00060001 pinctrl-single |
|||
pin 147 (44e10a4c.0) 00010007 pinctrl-single |
|||
pin 148 (44e10a50.0) 08040007 pinctrl-single |
|||
pin 149 (44e10a54.0) 08040007 pinctrl-single |
|||
pin 150 (44e10a58.0) 08040007 pinctrl-single |
|||
pin 151 (44e10a5c.0) 09020007 pinctrl-single |
|||
pin 152 (44e10a60.0) 08040007 pinctrl-single |
|||
pin 153 (44e10a64.0) 08040007 pinctrl-single |
|||
pin 154 (44e10a68.0) 08060007 pinctrl-single |
|||
pin 155 (44e10a6c.0) 08060007 pinctrl-single |
|||
pin 156 (44e10a70.0) 00060003 pinctrl-single |
|||
pin 157 (44e10a74.0) 00060003 pinctrl-single |
|||
pin 158 (44e10a78.0) 00060000 pinctrl-single |
|||
pin 159 (44e10a7c.0) 00060000 pinctrl-single |
|||
pin 160 (44e10a80.0) 00050000 pinctrl-single |
|||
pin 161 (44e10a84.0) 00060000 pinctrl-single |
|||
pin 162 (44e10a88.0) 00050000 pinctrl-single |
|||
pin 163 (44e10a8c.0) 00050000 pinctrl-single |
|||
pin 164 (44e10a90.0) 00040000 pinctrl-single |
|||
pin 165 (44e10a94.0) 00040000 pinctrl-single |
|||
pin 166 (44e10a98.0) 00040000 pinctrl-single |
|||
pin 167 (44e10a9c.0) 00040000 pinctrl-single |
|||
pin 168 (44e10aa0.0) 00040000 pinctrl-single |
|||
pin 169 (44e10aa4.0) 00040000 pinctrl-single |
|||
pin 170 (44e10aa8.0) 00040000 pinctrl-single |
|||
pin 171 (44e10aac.0) 00050000 pinctrl-single |
|||
pin 172 (44e10ab0.0) 00050000 pinctrl-single |
|||
pin 173 (44e10ab4.0) 00050000 pinctrl-single |
|||
pin 174 (44e10ab8.0) 00050000 pinctrl-single |
|||
pin 175 (44e10abc.0) 00050000 pinctrl-single |
|||
pin 176 (44e10ac0.0) 08040000 pinctrl-single |
|||
pin 177 (44e10ac4.0) 08040000 pinctrl-single |
|||
pin 178 (44e10ac8.0) 00050000 pinctrl-single |
|||
pin 179 (44e10acc.0) 00050000 pinctrl-single |
|||
pin 180 (44e10ad0.0) 00050000 pinctrl-single |
|||
pin 181 (44e10ad4.0) 00050000 pinctrl-single |
|||
pin 182 (44e10ad8.0) 00040000 pinctrl-single |
|||
pin 183 (44e10adc.0) 00040000 pinctrl-single |
|||
pin 184 (44e10ae0.0) 00040000 pinctrl-single |
|||
pin 185 (44e10ae4.0) 00040000 pinctrl-single |
|||
pin 186 (44e10ae8.0) 00040000 pinctrl-single |
|||
pin 187 (44e10aec.0) 00040000 pinctrl-single |
|||
pin 188 (44e10af0.0) 00040000 pinctrl-single |
|||
pin 189 (44e10af4.0) 00040000 pinctrl-single |
|||
pin 190 (44e10af8.0) 00040000 pinctrl-single |
|||
pin 191 (44e10afc.0) 00040000 pinctrl-single |
|||
pin 192 (44e10b00.0) 00040000 pinctrl-single |
|||
pin 193 (44e10b04.0) 00040000 pinctrl-single |
|||
pin 194 (44e10b08.0) 00040000 pinctrl-single |
|||
pin 195 (44e10b0c.0) 00040000 pinctrl-single |
|||
pin 196 (44e10b10.0) 00040000 pinctrl-single |
|||
pin 197 (44e10b14.0) 00040000 pinctrl-single |
|||
pin 198 (44e10b18.0) 00050000 pinctrl-single |
|||
1347
Projects/DirectMemo/popa.txt
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,45 +0,0 @@ |
|||
Compatible PTZ Protocols |
|||
|
|||
SAMSUNG MPT-230 |
|||
SONY EVI-D30 |
|||
DYNACOLOR DSCP |
|||
WON WOO |
|||
DONGYANG DSC-230S |
|||
DONGYANG DSC-230M |
|||
DONGYANG DPC-100 |
|||
DONGYANG DSC-240 |
|||
DONGYANG DRX-500 |
|||
DONGYANG DRX-502A |
|||
PELCO D-PROTOCOL |
|||
PELCO P-PROTOCOL |
|||
PELCO CM6700 |
|||
COSTAR 2500 |
|||
VICON V2311RB3 |
|||
VICON VPS1300 |
|||
VICON 422R |
|||
CNB PTZ 102N |
|||
KALATEL KTD-312 |
|||
SENSOMATIC PTZ |
|||
ELMO PTC-200 |
|||
CANNON VC-C4 |
|||
HITRON SCANDOMEII |
|||
WOOJU (DRX-502A) |
|||
SAMSUNG MRX-1000 |
|||
KCC-PT400 |
|||
VIDO B-01 |
|||
LG LPT-A100L |
|||
TSC |
|||
PIH-302 |
|||
DS-120 |
|||
SCC-641 |
|||
WV-CS850 |
|||
VC-C50i |
|||
NIKO NK-97 |
|||
NEWBORN DOME |
|||
SJ-100 |
|||
DY-255 |
|||
HRX-700 |
|||
VCL |
|||
KD6i |
|||
BOSCH |
|||
HONEYWELL SCANDOMEII |
|||
@ -1,53 +0,0 @@ |
|||
#include "pru0Window.h"
|
|||
#include "../../source/lib/hardware/soc/modules/pru/pru_ss.h"
|
|||
|
|||
pru0Window::pru0Window() : WindowCLI( NULL ){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 0, 18, 40, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
pru0Window::~pru0Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void pru0Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 0, 18, 40, 17, "PRUSS0 Info" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile pruCfg *c_pPRUSS = NULL; |
|||
volatile pruCtrl *c_pPRU = NULL; |
|||
c_pPRUSS = m_pSOC->getPRUSS_GFG( 0 ); |
|||
c_pPRU = m_pSOC->getPRU_CTRL( 0, 0 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " PRUSS%d Config at: \t%p", 0, c_pPRUSS ); |
|||
if( c_pPRUSS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2, " PRUSS%d Revision ID: \t0x%08x", 0, c_pPRUSS->REVID ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
if( c_pPRU != NULL ) { |
|||
mvwprintw( m_pWND, 4,2, " PRUSS%d_PRU%d INFO:", 0, 0 ); |
|||
mvwprintw( m_pWND, 6,2, " soft reset bit: \t%d", c_pPRU->CTRL_bit.SOFT_RST_N ); |
|||
mvwprintw( m_pWND, 7,2, " enable bit: \t\t%d", c_pPRU->CTRL_bit.ENABLE ); |
|||
mvwprintw( m_pWND, 8,2, " sleeping bit: \t%d", c_pPRU->CTRL_bit.SLEEPING ); |
|||
mvwprintw( m_pWND, 9,2, " counter enable bit: \t%d", c_pPRU->CTRL_bit.COUNTER_ENABLE ); |
|||
mvwprintw( m_pWND, 10,2, " single step bit: \t%d", c_pPRU->CTRL_bit.SINGLE_STEP ); |
|||
mvwprintw( m_pWND, 11,2, " run state bit: \t%d", c_pPRU->CTRL_bit.RUNSTATE ); |
|||
mvwprintw( m_pWND, 12,2, " PC counter init val: x%08x", c_pPRU->CTRL_bit.PCOUNTER_RST_VAL ); |
|||
mvwprintw( m_pWND, 13,2, " PC counter value: \t%d", c_pPRU->STS_bit.PCOUNTER ); |
|||
mvwprintw( m_pWND, 14,2, " cycle count value: \t%d", c_pPRU->CYCLE_bit.CYCLECOUNT ); |
|||
mvwprintw( m_pWND, 15,2, " stall count value: \t%d", c_pPRU->STALL_bit.STALLCOUNT ); |
|||
} else { |
|||
mvwprintw( m_pWND, 4,2, " NO PRU INFO" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __PRU0WINDOW_H_INCL__ |
|||
#define __PRU0WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class pru0Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
pru0Window(); |
|||
~pru0Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __PRU0WINDOW_H_INCL__ |
|||
@ -1,53 +0,0 @@ |
|||
#include "pru1Window.h"
|
|||
#include "../../source/lib/hardware/soc/modules/pru/pru_ss.h"
|
|||
|
|||
pru1Window::pru1Window() : WindowCLI( NULL ){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 40, 18, 40, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
pru1Window::~pru1Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void pru1Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 40, 18, 40, 17, "PRUSS0 Info" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile pruCfg *c_pPRUSS = NULL; |
|||
volatile pruCtrl *c_pPRU = NULL; |
|||
c_pPRUSS = m_pSOC->getPRUSS_GFG( 1 ); |
|||
c_pPRU = m_pSOC->getPRU_CTRL( 1, 0 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " PRUSS%d Config at: \t%p", 1, c_pPRUSS ); |
|||
if( c_pPRUSS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2, " PRUSS%d Revision ID: \t0x%08x", 1, c_pPRUSS->REVID ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
if( c_pPRU != NULL ) { |
|||
mvwprintw( m_pWND, 4,2, " PRUSS%d_PRU%d INFO:", 1, 0 ); |
|||
mvwprintw( m_pWND, 6,2, " soft reset bit: \t%d", c_pPRU->CTRL_bit.SOFT_RST_N ); |
|||
mvwprintw( m_pWND, 7,2, " enable bit: \t\t%d", c_pPRU->CTRL_bit.ENABLE ); |
|||
mvwprintw( m_pWND, 8,2, " sleeping bit: \t%d", c_pPRU->CTRL_bit.SLEEPING ); |
|||
mvwprintw( m_pWND, 9,2, " counter enable bit: \t%d", c_pPRU->CTRL_bit.COUNTER_ENABLE ); |
|||
mvwprintw( m_pWND, 10,2, " single step bit: \t%d", c_pPRU->CTRL_bit.SINGLE_STEP ); |
|||
mvwprintw( m_pWND, 11,2, " run state bit: \t%d", c_pPRU->CTRL_bit.RUNSTATE ); |
|||
mvwprintw( m_pWND, 12,2, " PC counter init val: x%08x", c_pPRU->CTRL_bit.PCOUNTER_RST_VAL ); |
|||
mvwprintw( m_pWND, 13,2, " PC counter value: \t%d", c_pPRU->STS_bit.PCOUNTER ); |
|||
mvwprintw( m_pWND, 14,2, " cycle count value: \t%d", c_pPRU->CYCLE_bit.CYCLECOUNT ); |
|||
mvwprintw( m_pWND, 15,2, " stall count value: \t%d", c_pPRU->STALL_bit.STALLCOUNT ); |
|||
} else { |
|||
mvwprintw( m_pWND, 4,2, " NO PRU INFO" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __PRU1WINDOW_H_INCL__ |
|||
#define __PRU1WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class pru1Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
pru1Window(); |
|||
~pru1Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __PRU0WINDOW_H_INCL__ |
|||
@ -1,285 +0,0 @@ |
|||
#include "pruCoresWindow.h"
|
|||
#include "../../source/lib/hardware/soc/modules/pru/pru_ss.h"
|
|||
|
|||
pruCoresWindow::pruCoresWindow() : WindowCLI( NULL ){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
m_x = 6; |
|||
m_y = 3; |
|||
m_w = 80; |
|||
m_h = 32; |
|||
#ifdef NEWT_CLI
|
|||
m_l1 = newtLabel( 3, 1, "--- PRU0 [Pulse Control] ---"); |
|||
m_l2 = newtLabel( 3, 2, "TUPUS[0,0]:"); |
|||
|
|||
m_t1 = newtTextbox( 3, 3, 32, 1, 0 ); |
|||
m_t2 = newtTextbox( 3, 4, 32, 1, 0 ); |
|||
m_t3 = newtTextbox( 3, 5, 32, 1, 0 ); |
|||
m_t4 = newtTextbox( 3, 6, 32, 1, 0 ); |
|||
m_t5 = newtTextbox( 3, 7, 32, 1, 0 ); |
|||
m_t6 = newtTextbox( 3, 8, 32, 1, 0 ); |
|||
m_t7 = newtTextbox( 3, 9, 32, 1, 0 ); |
|||
m_t8 = newtTextbox( 3, 10, 32, 1, 0 ); |
|||
m_t38 = newtTextbox( 3, 11, 32, 1, 0 ); |
|||
|
|||
m_l3 = newtLabel( 3, 12, "Core Status:"); |
|||
|
|||
m_t9 = newtTextbox( 3, 13, 32, 1, 0 ); |
|||
|
|||
m_l4 = newtLabel( 3, 15, "--- PRU1 [Motors Control]---"); |
|||
m_l5 = newtLabel( 3, 16, "TUPUS[0,1]:"); |
|||
|
|||
m_t10 = newtTextbox( 3, 17, 32, 1, 0 ); |
|||
m_t11 = newtTextbox( 3, 18, 32, 1, 0 ); |
|||
m_t12 = newtTextbox( 3, 19, 32, 1, 0 ); |
|||
m_t13 = newtTextbox( 3, 20, 32, 1, 0 ); |
|||
m_t14 = newtTextbox( 3, 21, 32, 1, 0 ); |
|||
m_t15 = newtTextbox( 3, 22, 32, 1, 0 ); |
|||
m_t16 = newtTextbox( 3, 23, 32, 1, 0 ); |
|||
m_t17 = newtTextbox( 3, 24, 32, 1, 0 ); |
|||
m_t39 = newtTextbox( 3, 25, 32, 1, 0 ); |
|||
|
|||
m_l6 = newtLabel( 3, 26, "Core Status:"); |
|||
|
|||
m_t18 = newtTextbox( 3, 27, 32, 1, 0 ); |
|||
|
|||
m_l7 = newtLabel( 39, 1, "--- PRU2 [ADC Control] ---"); |
|||
m_l8 = newtLabel( 39, 2, "TUPUS[1,0]:"); |
|||
|
|||
m_t19 = newtTextbox( 39, 3, 32, 1, 0 ); |
|||
m_t20 = newtTextbox( 39, 4, 32, 1, 0 ); |
|||
m_t21 = newtTextbox( 39, 5, 32, 1, 0 ); |
|||
m_t22 = newtTextbox( 39, 6, 32, 1, 0 ); |
|||
m_t23 = newtTextbox( 39, 7, 32, 1, 0 ); |
|||
m_t24 = newtTextbox( 39, 8, 32, 1, 0 ); |
|||
m_t25 = newtTextbox( 39, 9, 32, 1, 0 ); |
|||
m_t26 = newtTextbox( 39, 10, 32, 1, 0 ); |
|||
m_t40 = newtTextbox( 39, 11, 32, 1, 0 ); |
|||
|
|||
m_l9 = newtLabel( 39,12, "Core Status:"); |
|||
|
|||
m_t27 = newtTextbox( 39, 13, 32, 1, 0 ); |
|||
|
|||
m_l10 = newtLabel(39,15, "--- PRU3 [Detector] ---"); |
|||
m_l11 = newtLabel(39,16, "TUPUS[1,1]:"); |
|||
|
|||
m_t28 = newtTextbox( 39, 17, 32, 1, 0 ); |
|||
m_t29 = newtTextbox( 39, 18, 32, 1, 0 ); |
|||
m_t30 = newtTextbox( 39, 19, 32, 1, 0 ); |
|||
m_t31 = newtTextbox( 39, 20, 32, 1, 0 ); |
|||
m_t32 = newtTextbox( 39, 21, 32, 1, 0 ); |
|||
m_t33 = newtTextbox( 39, 22, 32, 1, 0 ); |
|||
m_t34 = newtTextbox( 39, 23, 32, 1, 0 ); |
|||
m_t35 = newtTextbox( 39, 24, 32, 1, 0 ); |
|||
m_t41 = newtTextbox( 39, 25, 32, 1, 0 ); |
|||
|
|||
m_l12 = newtLabel( 39, 26, "Core Status:"); |
|||
m_t36 = newtTextbox( 39, 27, 32, 1, 0 ); |
|||
m_l13 = newtLabel( 39,28, "Detector Parameters:"); |
|||
m_t37 = newtTextbox( 39, 29, 38, 1, 0 ); |
|||
|
|||
m_b1 = newtCompactButton( 35, 30, "Close" ); |
|||
|
|||
newtFormAddComponents( m_oForm, m_l1, m_l2, |
|||
m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, |
|||
m_l3, |
|||
m_t9, |
|||
m_l4, m_l5, |
|||
m_l6, |
|||
m_t10, |
|||
m_l7, m_l8, |
|||
m_t11, m_t12, m_t13, m_t14, m_l9, m_t15, |
|||
m_l10, m_l11, m_t16, m_t17, m_t18, m_t19, m_l12, m_t20, m_b1, |
|||
m_t21, m_t22, m_t23, m_t24, m_t25, m_t26, m_t27, m_t28, m_t29, m_t30, |
|||
m_t31, m_t32, m_t33, m_t34, m_t35, m_t36, m_l13, m_t37, |
|||
m_t38, m_t39, m_t40, m_t41, |
|||
NULL ); |
|||
|
|||
#else
|
|||
create( 40, 18, 40, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
pruCoresWindow::~pruCoresWindow(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void pruCoresWindow::paint( void ){ |
|||
volatile structTUPUS *tTUPUS; |
|||
|
|||
#ifdef NEWT_CLI
|
|||
char tBuffer[245]; |
|||
newtCenteredWindow( m_w, m_h, "PRU Cores Info" ); |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 0 ); |
|||
if( tTUPUS != NULL ) { |
|||
sprintf( tBuffer, "Host status: 0x%08X", tTUPUS->HOST_status ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "Host cmd: 0x%08X", tTUPUS->HOST_command ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "Host address: 0x%08X", tTUPUS->HOST_address ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
sprintf( tBuffer, "Host data: 0x%08X", tTUPUS->HOST_data ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "PRU ID: 0x%08X", tTUPUS->PRU_id ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "PRU status: 0x%08X", tTUPUS->PRU_status ); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
sprintf( tBuffer, "PRU address: 0x%08X", tTUPUS->PRU_address ); |
|||
newtTextboxSetText( m_t7, tBuffer ); |
|||
sprintf( tBuffer, "PRU data: 0x%08X", tTUPUS->PRU_data ); |
|||
newtTextboxSetText( m_t8, tBuffer ); |
|||
sprintf( tBuffer, "Build Type: 0x%08X", tTUPUS->CORE_id ); |
|||
newtTextboxSetText( m_t38, tBuffer ); |
|||
|
|||
MO_STATUS tT; |
|||
*((uint32_t *)&tT) = m_pSOC->getMotorStatus(); |
|||
sprintf( tBuffer, "O[%s]L[%s]I[%d]M[%d:%d]M[%d:%d]S[%d]E[%d]", |
|||
(tT.online?"A":"D"), |
|||
(tT.lrf_en?"A":"D"), |
|||
tT.inter_mode, |
|||
tT.v_motor_en, |
|||
tT.v_motor_ok, |
|||
tT.h_motor_en, |
|||
tT.h_motor_ok, |
|||
tT.simulate, |
|||
tT.param_err ); |
|||
newtTextboxSetText( m_t9, tBuffer ); |
|||
|
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
}; |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 1 ); |
|||
if( tTUPUS != NULL ) { |
|||
sprintf( tBuffer, "Host status: 0x%08X", tTUPUS->HOST_status ); |
|||
newtTextboxSetText( m_t10, tBuffer ); |
|||
sprintf( tBuffer, "Host cmd: 0x%08X", tTUPUS->HOST_command ); |
|||
newtTextboxSetText( m_t11, tBuffer ); |
|||
sprintf( tBuffer, "Host address: 0x%08X", tTUPUS->HOST_address ); |
|||
newtTextboxSetText( m_t12, tBuffer ); |
|||
sprintf( tBuffer, "Host data: 0x%08X", tTUPUS->HOST_data ); |
|||
newtTextboxSetText( m_t13, tBuffer ); |
|||
sprintf( tBuffer, "PRU ID: 0x%08X", tTUPUS->PRU_id ); |
|||
newtTextboxSetText( m_t14, tBuffer ); |
|||
sprintf( tBuffer, "PRU status: 0x%08X", tTUPUS->PRU_status ); |
|||
newtTextboxSetText( m_t15, tBuffer ); |
|||
sprintf( tBuffer, "PRU address: 0x%08X", tTUPUS->PRU_address ); |
|||
newtTextboxSetText( m_t16, tBuffer ); |
|||
sprintf( tBuffer, "PRU data: 0x%08X", tTUPUS->PRU_data ); |
|||
newtTextboxSetText( m_t17, tBuffer ); |
|||
sprintf( tBuffer, "Build Type: 0x%08X", tTUPUS->CORE_id ); |
|||
newtTextboxSetText( m_t39, tBuffer ); |
|||
|
|||
sprintf( tBuffer, "-- No Status of This Core --" ); |
|||
newtTextboxSetText( m_t18, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t10, tBuffer ); |
|||
}; |
|||
tTUPUS = m_pSOC->getTUPUS( 1 , 0 ); |
|||
if( tTUPUS != NULL ) { |
|||
sprintf( tBuffer, "Host status: 0x%08X", tTUPUS->HOST_status ); |
|||
newtTextboxSetText( m_t19, tBuffer ); |
|||
sprintf( tBuffer, "Host cmd: 0x%08X", tTUPUS->HOST_command ); |
|||
newtTextboxSetText( m_t20, tBuffer ); |
|||
sprintf( tBuffer, "Host address: 0x%08X", tTUPUS->HOST_address ); |
|||
newtTextboxSetText( m_t21, tBuffer ); |
|||
sprintf( tBuffer, "Host data: 0x%08X", tTUPUS->HOST_data ); |
|||
newtTextboxSetText( m_t22, tBuffer ); |
|||
sprintf( tBuffer, "PRU ID: 0x%08X", tTUPUS->PRU_id ); |
|||
newtTextboxSetText( m_t23, tBuffer ); |
|||
sprintf( tBuffer, "PRU status: 0x%08X", tTUPUS->PRU_status ); |
|||
newtTextboxSetText( m_t24, tBuffer ); |
|||
sprintf( tBuffer, "PRU address: 0x%08X", tTUPUS->PRU_address ); |
|||
newtTextboxSetText( m_t25, tBuffer ); |
|||
sprintf( tBuffer, "PRU data: 0x%08X", tTUPUS->PRU_data ); |
|||
newtTextboxSetText( m_t26, tBuffer ); |
|||
sprintf( tBuffer, "Build Type: 0x%08X", tTUPUS->CORE_id ); |
|||
newtTextboxSetText( m_t40, tBuffer ); |
|||
|
|||
sprintf( tBuffer, "Base Shift: %d Mirror Shift: %d", m_pSOC->getBaseShift(), m_pSOC->getMirrorShift()); |
|||
newtTextboxSetText( m_t27, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t19, tBuffer ); |
|||
}; |
|||
tTUPUS = m_pSOC->getTUPUS( 1 , 1 ); |
|||
if( tTUPUS != NULL ) { |
|||
sprintf( tBuffer, "Host status: 0x%08X", tTUPUS->HOST_status ); |
|||
newtTextboxSetText( m_t28, tBuffer ); |
|||
sprintf( tBuffer, "Host cmd: 0x%08X", tTUPUS->HOST_command ); |
|||
newtTextboxSetText( m_t29, tBuffer ); |
|||
sprintf( tBuffer, "Host address: 0x%08X", tTUPUS->HOST_address ); |
|||
newtTextboxSetText( m_t30, tBuffer ); |
|||
sprintf( tBuffer, "Host data: 0x%08X", tTUPUS->HOST_data ); |
|||
newtTextboxSetText( m_t31, tBuffer ); |
|||
sprintf( tBuffer, "PRU ID: 0x%08X", tTUPUS->PRU_id ); |
|||
newtTextboxSetText( m_t32, tBuffer ); |
|||
sprintf( tBuffer, "PRU status: 0x%08X", tTUPUS->PRU_status ); |
|||
newtTextboxSetText( m_t33, tBuffer ); |
|||
sprintf( tBuffer, "PRU address: 0x%08X", tTUPUS->PRU_address ); |
|||
newtTextboxSetText( m_t34, tBuffer ); |
|||
sprintf( tBuffer, "PRU data: 0x%08X", tTUPUS->PRU_data ); |
|||
newtTextboxSetText( m_t35, tBuffer ); |
|||
sprintf( tBuffer, "Build Type: 0x%08X", tTUPUS->CORE_id ); |
|||
newtTextboxSetText( m_t41, tBuffer ); |
|||
|
|||
DT_STATUS tT; |
|||
TH_PARAMS tP; |
|||
uint32_t tVal; |
|||
tVal = m_pSOC->getThCoreStatus(); |
|||
memcpy( &tT, &tVal, sizeof(DT_STATUS)); |
|||
sprintf( tBuffer, "O[%s]W[%s]M[%d]R[%d]E[%d]", |
|||
(tT.online?"A":"D"), |
|||
(tT.work_en?"A":"D"), |
|||
tT.mode, |
|||
tT.req, |
|||
tT.param_err ); |
|||
newtTextboxSetText( m_t36, tBuffer ); |
|||
tVal = m_pSOC->getThCoreParams(); |
|||
memcpy( &tP, &tVal, sizeof(TH_PARAMS)); |
|||
sprintf( tBuffer, "Flip:%d GP:%d Off:%d Ord:%d A_TH:%d", |
|||
tP.flip_size, |
|||
tP.good_points, |
|||
tP.offset, |
|||
tP.order, |
|||
tP.self_build_ena ); |
|||
newtTextboxSetText( m_t37, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t28, tBuffer ); |
|||
}; |
|||
newtDrawForm( m_oForm ); |
|||
newtRefresh(); |
|||
#else
|
|||
volatile pruCfg *c_pPRUSS = NULL; |
|||
volatile pruCtrl *c_pPRU = NULL; |
|||
c_pPRUSS = m_pSOC->getPRUSS_GFG( 1 ); |
|||
c_pPRU = m_pSOC->getPRU_CTRL( 1, 0 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " PRUSS%d Config at: \t%p", 1, c_pPRUSS ); |
|||
if( c_pPRUSS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2, " PRUSS%d Revision ID: \t0x%08x", 1, c_pPRUSS->REVID ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
if( c_pPRU != NULL ) { |
|||
mvwprintw( m_pWND, 4,2, " PRUSS%d_PRU%d INFO:", 1, 0 ); |
|||
mvwprintw( m_pWND, 6,2, " soft reset bit: \t%d", c_pPRU->CTRL_bit.SOFT_RST_N ); |
|||
mvwprintw( m_pWND, 7,2, " enable bit: \t\t%d", c_pPRU->CTRL_bit.ENABLE ); |
|||
mvwprintw( m_pWND, 8,2, " sleeping bit: \t%d", c_pPRU->CTRL_bit.SLEEPING ); |
|||
mvwprintw( m_pWND, 9,2, " counter enable bit: \t%d", c_pPRU->CTRL_bit.COUNTER_ENABLE ); |
|||
mvwprintw( m_pWND, 10,2, " single step bit: \t%d", c_pPRU->CTRL_bit.SINGLE_STEP ); |
|||
mvwprintw( m_pWND, 11,2, " run state bit: \t%d", c_pPRU->CTRL_bit.RUNSTATE ); |
|||
mvwprintw( m_pWND, 12,2, " PC counter init val: x%08x", c_pPRU->CTRL_bit.PCOUNTER_RST_VAL ); |
|||
mvwprintw( m_pWND, 13,2, " PC counter value: \t%d", c_pPRU->STS_bit.PCOUNTER ); |
|||
mvwprintw( m_pWND, 14,2, " cycle count value: \t%d", c_pPRU->CYCLE_bit.CYCLECOUNT ); |
|||
mvwprintw( m_pWND, 15,2, " stall count value: \t%d", c_pPRU->STALL_bit.STALLCOUNT ); |
|||
} else { |
|||
mvwprintw( m_pWND, 4,2, " NO PRU INFO" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,29 +0,0 @@ |
|||
#ifndef __PRU_CORES_WINDOW_H_INCL__ |
|||
#define __PRU_CORES_WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class pruCoresWindow : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
newtComponent m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_l8, m_l9, m_l10, m_l11, m_l12, m_l13; |
|||
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_t12, m_t13, |
|||
m_t14, m_t15, m_t16, m_t17, m_t18, m_t19, m_t20, m_b1; |
|||
newtComponent m_t21, m_t22, m_t23, m_t24, m_t25, m_t26, m_t27, m_t28, m_t29, m_t30; |
|||
newtComponent m_t31, m_t32, m_t33, m_t34, m_t35, m_t36, m_t37, m_t38, m_t39, m_t40, m_t41; |
|||
|
|||
public: |
|||
pruCoresWindow(); |
|||
~pruCoresWindow(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __PRU_CORES_WINDOW_H_INCL__ |
|||
@ -1,185 +0,0 @@ |
|||
#include "pwmInfoWindow.h"
|
|||
|
|||
pwmInfoWindow::pwmInfoWindow() : WindowCLI( NULL ){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
m_x = 26; |
|||
m_y = 3; |
|||
m_w = 80; |
|||
m_h = 17; |
|||
#ifdef NEWT_CLI
|
|||
m_l1 = newtLabel( 3, 1, "PWMSS0 Config:"); |
|||
m_l2 = newtLabel( 39, 1, "PWMSS1 Config:"); |
|||
m_t1 = newtTextbox( 3, 2, 38, 1, 0 ); |
|||
m_t2 = newtTextbox( 3, 3, 38, 1, 0 ); |
|||
m_t3 = newtTextbox( 3, 4, 38, 1, 0 ); |
|||
m_t4 = newtTextbox( 3, 5, 38, 1, 0 ); |
|||
m_t5 = newtTextbox( 3, 6, 38, 1, 0 ); |
|||
m_t6 = newtTextbox( 3, 7, 38, 1, 0 ); |
|||
m_t7 = newtTextbox( 3, 8, 38, 1, 0 ); |
|||
m_t8 = newtTextbox( 3, 9, 38, 1, 0 ); |
|||
m_t9 = newtTextbox( 3, 10, 38, 1, 0 ); |
|||
m_t10 = newtTextbox( 3, 11, 38, 1, 0 ); |
|||
m_t11 = newtTextbox( 3, 12, 38, 1, 0 ); |
|||
m_t12 = newtTextbox( 3, 13, 38, 1, 0 ); |
|||
m_t13 = newtTextbox( 3, 14, 38, 1, 0 ); |
|||
|
|||
m_t14 = newtTextbox( 39, 2, 38, 1, 0 ); |
|||
m_t15 = newtTextbox( 39, 3, 38, 1, 0 ); |
|||
m_t16 = newtTextbox( 39, 4, 38, 1, 0 ); |
|||
m_t17 = newtTextbox( 39, 5, 38, 1, 0 ); |
|||
m_t18 = newtTextbox( 39, 6, 38, 1, 0 ); |
|||
m_t19 = newtTextbox( 39, 7, 38, 1, 0 ); |
|||
m_t20 = newtTextbox( 39, 8, 38, 1, 0 ); |
|||
m_t21 = newtTextbox( 39, 9, 38, 1, 0 ); |
|||
m_t22 = newtTextbox( 39, 10, 38, 1, 0 ); |
|||
m_t23 = newtTextbox( 39, 11, 38, 1, 0 ); |
|||
m_t24 = newtTextbox( 39, 12, 38, 1, 0 ); |
|||
m_t25 = newtTextbox( 39, 13, 38, 1, 0 ); |
|||
m_t26 = newtTextbox( 39, 14, 38, 1, 0 ); |
|||
newtFormAddComponents( m_oForm, m_l1, m_l2, m_t1, m_t2, m_t3, m_t4, |
|||
m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, |
|||
m_t12, m_t13,m_t14,m_t15,m_t16,m_t17,m_t18, |
|||
m_t19,m_t20,m_t21,m_t22,m_t23,m_t24,m_t25,m_t26, NULL ); |
|||
//paint();
|
|||
#else
|
|||
create( m_x, m_y, m_w, m_h ); |
|||
#endif
|
|||
}; |
|||
|
|||
pwmInfoWindow::~pwmInfoWindow(){ |
|||
newtPopWindow(); |
|||
}; |
|||
|
|||
void pwmInfoWindow::paint( void ){ |
|||
volatile sysPwmss *c_pPWM = NULL; |
|||
#ifdef NEWT_CLI
|
|||
char tBuffer[245]; |
|||
//newtOpenWindow( m_x, m_y, m_w, m_h, "PWM Info" );
|
|||
newtCenteredWindow( m_w, m_h, "PWM Info" ); |
|||
c_pPWM = m_pSOC->getPWMSS_CTRL( 1 ); |
|||
if( c_pPWM != NULL ) { |
|||
sprintf( tBuffer, "PWMSS0 Signature: 0x%08x",c_pPWM->IDVER ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, " Scheme: %d Func: %d", |
|||
c_pPWM->IDVER_bit.SCHEME, |
|||
c_pPWM->IDVER_bit.FUNC ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "RTL: %d Revision ID: %d.%d Custom:%d", |
|||
c_pPWM->IDVER_bit.R_RTL, |
|||
c_pPWM->IDVER_bit.X_MAJOR, |
|||
c_pPWM->IDVER_bit.Y_MINOR, |
|||
c_pPWM->IDVER_bit.CUSTOM ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "ID: \t0x%08X", c_pPWM->ECAP_REVID ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "Polarity: \t%s",((c_pPWM->ECAP_ECCTL2_bit.APWMPOL==0)?"High":"Low") ); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
sprintf( tBuffer, "ECCTL1: \t0x%08X", c_pPWM->ECAP_ECCTL1 ); |
|||
newtTextboxSetText( m_t7, tBuffer ); |
|||
sprintf( tBuffer, "ECCTL2: \t0x%08X", c_pPWM->ECAP_ECCTL2 ); |
|||
newtTextboxSetText( m_t8, tBuffer ); |
|||
sprintf( tBuffer, "Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP1, c_pPWM->ECAP_CAP1*10 ); |
|||
newtTextboxSetText( m_t9, tBuffer ); |
|||
sprintf( tBuffer, "PRESCALE: \t%d", c_pPWM->ECAP_ECCTL1_bit.PRESCALE ); |
|||
newtTextboxSetText( m_t10, tBuffer ); |
|||
sprintf( tBuffer, "Duty Cycle: \t\t%d (%d nSec)", c_pPWM->ECAP_CAP2, c_pPWM->ECAP_CAP2*10 ); |
|||
newtTextboxSetText( m_t11, tBuffer ); |
|||
sprintf( tBuffer, "S_Period: \t\t%d (%d nSec)", c_pPWM->ECAP_CAP3, c_pPWM->ECAP_CAP3*10 ); |
|||
newtTextboxSetText( m_t12, tBuffer ); |
|||
sprintf( tBuffer, "S_Duty Cycle: \t\t%d (%d nSec)", c_pPWM->ECAP_CAP4, c_pPWM->ECAP_CAP4*10 ); |
|||
newtTextboxSetText( m_t13, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized" ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
}; |
|||
c_pPWM = m_pSOC->getPWMSS_CTRL( 2 ); |
|||
if( c_pPWM != NULL ) { |
|||
sprintf( tBuffer, "PWMSS1 Signature: 0x%08x", c_pPWM->IDVER ); |
|||
newtTextboxSetText( m_t14, tBuffer ); |
|||
sprintf( tBuffer, " Scheme: %d Func: %d", |
|||
c_pPWM->IDVER_bit.SCHEME, |
|||
c_pPWM->IDVER_bit.FUNC ); |
|||
newtTextboxSetText( m_t15, tBuffer ); |
|||
sprintf( tBuffer, "RTL: %d Revision ID: %d.%d Custom:%d", |
|||
c_pPWM->IDVER_bit.R_RTL, |
|||
c_pPWM->IDVER_bit.X_MAJOR, |
|||
c_pPWM->IDVER_bit.Y_MINOR, |
|||
c_pPWM->IDVER_bit.CUSTOM ); |
|||
newtTextboxSetText( m_t17, tBuffer ); |
|||
sprintf( tBuffer, "ID: \t0x%08x", c_pPWM->ECAP_REVID ); |
|||
newtTextboxSetText( m_t18, tBuffer ); |
|||
sprintf( tBuffer, "Polarity: %s",((c_pPWM->ECAP_ECCTL2_bit.APWMPOL==0)?"High":"Low") ); |
|||
newtTextboxSetText( m_t19, tBuffer ); |
|||
sprintf( tBuffer, "Time Stamp (TSCTR): %s",((c_pPWM->ECAP_ECCTL2_bit.TSCTRSTOP==0)?"Stoped":"Free-Run") ); |
|||
newtTextboxSetText( m_t20, tBuffer ); |
|||
sprintf( tBuffer, "Mode: %s", ((c_pPWM->ECAP_ECCTL2_bit.CAP_APWM==0)?"eCAP":"APWM") ); |
|||
newtTextboxSetText( m_t21, tBuffer ); |
|||
sprintf( tBuffer, "Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP1, c_pPWM->ECAP_CAP1*10 ); |
|||
newtTextboxSetText( m_t22, tBuffer ); |
|||
sprintf( tBuffer, "PRESCALE: \t%d", c_pPWM->ECAP_ECCTL1_bit.PRESCALE ); |
|||
newtTextboxSetText( m_t23, tBuffer ); |
|||
sprintf( tBuffer, "Duty Cycle: \t%d (%d nSec)", c_pPWM->ECAP_CAP2, c_pPWM->ECAP_CAP2*10 ); |
|||
newtTextboxSetText( m_t24, tBuffer ); |
|||
sprintf( tBuffer, "S_Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP3, c_pPWM->ECAP_CAP3*10 ); |
|||
newtTextboxSetText( m_t25, tBuffer ); |
|||
sprintf( tBuffer, "S_Duty Cycle: %d (%d nSec)", c_pPWM->ECAP_CAP4, c_pPWM->ECAP_CAP4*10 ); |
|||
newtTextboxSetText( m_t26, tBuffer ); |
|||
} else { |
|||
sprintf( tBuffer, "Not Initialized"); |
|||
newtTextboxSetText( m_t14, tBuffer ); |
|||
}; |
|||
newtDrawForm( m_oForm ); |
|||
newtRefresh(); |
|||
#else
|
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2,"PWMSS%d Config at: \t%p", 0, 0 ); |
|||
c_pPWM = m_pSOC->getPWMSS_CTRL( 1 ); |
|||
if( c_pPWM != NULL ) { |
|||
mvwprintw( m_pWND, 3,2,"PWMSS%d val: 0x%08x", 0, c_pPWM->IDVER ); |
|||
mvwprintw( m_pWND, 4,2," Scheme: %d Func: %d", |
|||
c_pPWM->IDVER_bit.SCHEME, |
|||
c_pPWM->IDVER_bit.FUNC ); |
|||
mvwprintw( m_pWND, 5,2,"RTL: %d Revision ID: %d.%d Custom:%d", |
|||
c_pPWM->IDVER_bit.R_RTL, |
|||
c_pPWM->IDVER_bit.X_MAJOR, |
|||
c_pPWM->IDVER_bit.Y_MINOR, |
|||
c_pPWM->IDVER_bit.CUSTOM ); |
|||
mvwprintw( m_pWND, 7,2,"ID: \t0x%08x", c_pPWM->ECAP_REVID ); |
|||
mvwprintw( m_pWND, 8,2,"Polarity: %s",((c_pPWM->ECAP_ECCTL2_bit.APWMPOL==0)?"High":"Low") ); |
|||
mvwprintw( m_pWND, 9,2,"ECCTL1: \t\t%08X", c_pPWM->ECAP_ECCTL1 ); |
|||
mvwprintw( m_pWND, 10,2,"ECCTL2: \t\t%08X", c_pPWM->ECAP_ECCTL2 ); |
|||
mvwprintw( m_pWND, 11,2,"Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP1, c_pPWM->ECAP_CAP1*10 ); |
|||
mvwprintw( m_pWND, 12,2,"PRESCALE: \t%d", c_pPWM->ECAP_ECCTL1_bit.PRESCALE ); |
|||
mvwprintw( m_pWND, 13,2,"Duty Cycle: \t%d (%d nSec)", c_pPWM->ECAP_CAP2, c_pPWM->ECAP_CAP2*10 ); |
|||
mvwprintw( m_pWND, 14,2,"S_Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP3, c_pPWM->ECAP_CAP3*10 ); |
|||
mvwprintw( m_pWND, 15,2,"S_Duty Cycle: %d (%d nSec)", c_pPWM->ECAP_CAP4, c_pPWM->ECAP_CAP4*10 ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
} |
|||
c_pPWM = m_pSOC->getPWMSS_CTRL( 2 ); |
|||
mvwprintw( m_pWND, 2,42,"PWMSS%d Config at: \t%p", 1, 0 ); |
|||
if( c_pPWM != NULL ) { |
|||
mvwprintw( m_pWND, 3,42,"PWMSS%d val: 0x%08x", 1, c_pPWM->IDVER ); |
|||
mvwprintw( m_pWND, 4,42," Scheme: %d Func: %d", |
|||
c_pPWM->IDVER_bit.SCHEME, |
|||
c_pPWM->IDVER_bit.FUNC ); |
|||
mvwprintw( m_pWND, 5,42,"RTL: %d Revision ID: %d.%d Custom:%d", |
|||
c_pPWM->IDVER_bit.R_RTL, |
|||
c_pPWM->IDVER_bit.X_MAJOR, |
|||
c_pPWM->IDVER_bit.Y_MINOR, |
|||
c_pPWM->IDVER_bit.CUSTOM ); |
|||
mvwprintw( m_pWND, 7,42,"ID: \t0x%08x", c_pPWM->ECAP_REVID ); |
|||
mvwprintw( m_pWND, 8,42,"Polarity: %s",((c_pPWM->ECAP_ECCTL2_bit.APWMPOL==0)?"High":"Low") ); |
|||
mvwprintw( m_pWND, 9,42,"Time Stamp (TSCTR): %s",((c_pPWM->ECAP_ECCTL2_bit.TSCTRSTOP==0)?"Stoped":"Free-Run") ); |
|||
mvwprintw( m_pWND, 10,42,"Mode: %s", ((c_pPWM->ECAP_ECCTL2_bit.CAP_APWM==0)?"eCAP":"APWM") ); |
|||
mvwprintw( m_pWND, 11,42,"Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP1, c_pPWM->ECAP_CAP1*10 ); |
|||
mvwprintw( m_pWND, 12,42,"PRESCALE: \t%d", c_pPWM->ECAP_ECCTL1_bit.PRESCALE ); |
|||
mvwprintw( m_pWND, 13,42,"Duty Cycle: \t%d (%d nSec)", c_pPWM->ECAP_CAP2, c_pPWM->ECAP_CAP2*10 ); |
|||
mvwprintw( m_pWND, 14,42,"S_Period: \t%d (%d nSec)", c_pPWM->ECAP_CAP3, c_pPWM->ECAP_CAP3*10 ); |
|||
mvwprintw( m_pWND, 15,42,"S_Duty Cycle: %d (%d nSec)", c_pPWM->ECAP_CAP4, c_pPWM->ECAP_CAP4*10 ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,42,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,28 +0,0 @@ |
|||
#ifndef __PWMINFOWINDOW_H_INCL__ |
|||
#define __PWMINFOWINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
|
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class pwmInfoWindow : public WindowCLI { |
|||
private: |
|||
classSOC *m_pSOC; |
|||
#ifdef NEWT_CLI |
|||
newtComponent m_l1, m_l2, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_t12, m_t13; |
|||
newtComponent m_t14, m_t15, m_t16, m_t17, m_t18, m_t19, m_t20, m_t21, m_t22, m_t23, m_t24, m_t25, m_t26; |
|||
#endif |
|||
public: |
|||
pwmInfoWindow(); |
|||
~pwmInfoWindow(); |
|||
void paint( void ); |
|||
}; |
|||
#endif // __PWMINFOWINDOW_H_INCL__ |
|||
@ -1,101 +0,0 @@ |
|||
#include "tgz2Window.h"
|
|||
#include "../../source/lib/hardware/soc/modules/pru/pru_ss.h"
|
|||
|
|||
tgz2Window::tgz2Window( protocolTGZ *Device ) : WindowCLI( NULL ){ |
|||
m_pDeviceProtocol = Device; |
|||
m_x = 3; |
|||
m_y = 3; |
|||
m_w = 40; |
|||
m_h = 17; |
|||
#ifdef NEWT_CLI
|
|||
m_l1 = newtLabel( 3, 1, "Bytes: 3 2 1 0"); |
|||
m_l2 = newtLabel( 3, 2, "Data : 00 00 00 00"); |
|||
m_l3 = newtLabel( 3, 3, " MSB --- LSB"); |
|||
m_t1 = newtTextbox( 10, 2, 11, 1, 0 ); |
|||
m_l4 = newtLabel( 3, 4, "M-Motors: pulses/sec."); |
|||
m_t2 = newtTextbox( 14, 4, 6, 1, 0 ); |
|||
m_l5 = newtLabel( 3, 5, "M-Motors: spins/sec."); |
|||
m_t3 = newtTextbox( 14, 5, 5, 1, 0 ); |
|||
m_l6 = newtLabel( 3, 6, "B-Motors: pulses/sec."); |
|||
m_t4 = newtTextbox( 14, 6, 6, 1, 0 ); |
|||
m_l7 = newtLabel( 3, 7, "B-Motors: spins/sec."); |
|||
m_t5 = newtTextbox( 14, 7, 5, 1, 0 ); |
|||
m_l8 = newtLabel( 3, 8, "Flags: Start[ ] Reset Error[ ]"); |
|||
m_t6 = newtTextbox( 16, 8, 1, 1, 0 ); |
|||
m_t7 = newtTextbox( 31, 8, 1, 1, 0 ); |
|||
m_oMenu = newtListbox( 3, 10, 6, NEWT_FLAG_RETURNEXIT | NEWT_FLAG_SCROLL ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Start/Stop", (void *) 1 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Reset-Error", (void *) 2 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Mirror Motor Speed",(void *) 3 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Base Motor Speed", (void *) 4 ); |
|||
newtListboxAppendEntry( m_oMenu, "Send CMD to TGZ", (void *) 5 ); |
|||
|
|||
newtListboxAppendEntry( m_oMenu, "EXIT", (void *) 255 ); |
|||
newtFormAddComponents( m_oForm, m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_l8, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_oMenu, NULL ); |
|||
#else
|
|||
create( 0, 18, 40, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tgz2Window::~tgz2Window(){ |
|||
newtPopWindow(); |
|||
}; |
|||
int tgz2Window::decodeEvent( newtComponent evt ){ |
|||
if( evt == m_oMenu ) { |
|||
void *selected; |
|||
selected = newtListboxGetCurrent( m_oMenu ); |
|||
return ( int )selected; |
|||
}; |
|||
return 0; |
|||
}; |
|||
|
|||
void tgz2Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtCenteredWindow( m_w, m_h, "TGZ New Protocol" ); |
|||
if( m_pDeviceProtocol != NULL ) { |
|||
char tBuffer[245]; |
|||
m_dwMyStatus = m_pDeviceProtocol->getPreparing(); |
|||
m_dwTGZStatus = m_pDeviceProtocol->getLastReceived(); |
|||
sprintf( tBuffer, "%02X %02X %02X %02X", ((m_dwMyStatus >> 24 )& 0xFF),((m_dwMyStatus >> 16 )& 0xFF),((m_dwMyStatus >> 8 )& 0xFF),( m_dwMyStatus & 0xFF) ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "%d", ( m_pDeviceProtocol->getQSpeed() << 2 ) ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "%0.2f",(float)( m_pDeviceProtocol->getQSpeed() << 2 ) / 8192.f ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
sprintf( tBuffer, "%d", ( m_pDeviceProtocol->getBSpeed() << 4 ) ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "%0.2f", (float)( m_pDeviceProtocol->getBSpeed() << 4 ) / 94208.f ); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "%c",(m_pDeviceProtocol->getRunFlag()?'*':' ')); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
sprintf( tBuffer, "%c",(m_pDeviceProtocol->getResetFlag()?'*':' ')); |
|||
newtTextboxSetText( m_t7, tBuffer ); |
|||
} |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " TGZ Communication " ); |
|||
if( m_pDeviceProtocol != NULL ) { |
|||
m_dwMyStatus = m_pDeviceProtocol->getPreparing(); |
|||
m_dwTGZStatus = m_pDeviceProtocol->getLastReceived(); |
|||
mvwprintw( m_pWND, 3,2, " Frame 0x200 output: \t%08X", m_dwMyStatus ); |
|||
mvwprintw( m_pWND, 4,2, " Control Byte: \t0x%02X [%s%s]", (m_dwMyStatus & 0xFF),((m_dwMyStatus & 0xFF)&2)?"Run":"Stp",((m_dwMyStatus & 0xFF)&1)?",RstErr":""); |
|||
mvwprintw( m_pWND, 5,2, " PRF: \t\t%d kHz", ((m_dwMyStatus >> 8) & 0xFF) ); |
|||
mvwprintw( m_pWND, 6,2, " Block Cycles: \t%d", ((m_dwMyStatus >> 16) & 0xFF) ); |
|||
mvwprintw( m_pWND, 7,2, " PRF Divider: \t%d", ((m_dwMyStatus >> 24) & 0xFF) ); |
|||
mvwprintw( m_pWND, 8,2, " Frame 0x201 input: \t%08X", m_dwTGZStatus ); |
|||
mvwprintw( m_pWND, 9,2, " Status Byte: \t0x%02X [%s%s%s]", (m_dwTGZStatus & 0xFF), ((m_dwTGZStatus & 0xFF)&4)?"Sync":"nSync",((m_dwTGZStatus & 0xFF)&2)?",Run":"",((m_dwTGZStatus & 0xFF)&1)?",Rdy":",Stb" ); |
|||
mvwprintw( m_pWND, 10,2, " PRF: \t\t%d kHz", ((m_dwTGZStatus >> 8) & 0xFF) ); |
|||
mvwprintw( m_pWND, 11,2, " Block Cycles: \t%d", ((m_dwTGZStatus >> 16) & 0xFF) ); |
|||
mvwprintw( m_pWND, 12,2, " PRF Divider: \t%d", ((m_dwTGZStatus >> 24) & 0xFF) ); |
|||
if( (((m_dwMyStatus & 0xFF)&2)== 0 ) && ((( m_dwTGZStatus & 0xFF)&2)== 0 ) ) { |
|||
mvwprintw( m_pWND, 15,2, " [Available to Config]" ); |
|||
} else { |
|||
mvwprintw( m_pWND, 15,2, " [Config is Disabled]" ); |
|||
} |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,35 +0,0 @@ |
|||
#ifndef __TGZ2WINDOW_H_INCL__ |
|||
#define __TGZ2WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/cli/cliClass.h" |
|||
|
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
#include "../../source/lib/components/base/basicLogCollection.h" |
|||
#include "../../source/lib/data/protocol/protocolTGZ.h" |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tgz2Window : public WindowCLI { |
|||
private: |
|||
unsigned int m_dwMyStatus; |
|||
unsigned int m_dwTGZStatus; |
|||
protocolTGZ *m_pDeviceProtocol; |
|||
#ifdef NEWT_CLI |
|||
newtComponent m_oMenu; |
|||
newtComponent m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_l8, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_t12, m_t13; |
|||
newtComponent m_t14, m_t15, m_t16, m_t17, m_t18, m_t19, m_t20, m_t21, m_t22, m_t23, m_t24, m_t25, m_t26; |
|||
#endif |
|||
public: |
|||
explicit tgz2Window( protocolTGZ *Device ); |
|||
virtual ~tgz2Window(); |
|||
int decodeEvent( newtComponent evt ); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __PRU0WINDOW_H_INCL__ |
|||
@ -1,98 +0,0 @@ |
|||
#include "tgzWindow.h"
|
|||
#include "../../source/lib/hardware/soc/modules/pru/pru_ss.h"
|
|||
|
|||
tgz1Window::tgz1Window( protocolTGZ *Device ) : WindowCLI( NULL ){ |
|||
m_pDeviceProtocol = Device; |
|||
m_x = 3; |
|||
m_y = 3; |
|||
m_w = 40; |
|||
m_h = 17; |
|||
#ifdef NEWT_CLI
|
|||
m_l1 = newtLabel( 3, 1, "Bytes: 3 2 1 0"); |
|||
m_l2 = newtLabel( 3, 2, "Data : 00 00 00 00"); |
|||
m_l3 = newtLabel( 3, 3, " MSB --- LSB"); |
|||
m_t1 = newtTextbox( 10, 2, 11, 1, 0 ); |
|||
m_l4 = newtLabel( 3, 4, "PRF: KHz"); |
|||
m_t2 = newtTextbox( 8, 4, 3, 1, 0 ); |
|||
m_l5 = newtLabel( 3, 5, "Divider:"); |
|||
m_t3 = newtTextbox( 12, 5, 2, 1, 0 ); |
|||
m_l6 = newtLabel( 3, 6, "Ratio:"); |
|||
m_t4 = newtTextbox( 10, 6, 3, 1, 0 ); |
|||
m_l7 = newtLabel( 3, 7, "Flags: Start[ ] Reset Error[ ]"); |
|||
m_t5 = newtTextbox( 16, 7, 1, 1, 0 ); |
|||
m_t6 = newtTextbox( 31, 7, 1, 1, 0 ); |
|||
m_oMenu = newtListbox( 3, 9, 7, NEWT_FLAG_RETURNEXIT | NEWT_FLAG_SCROLL ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Start/Stop", (void *) 1 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Reset-Error", (void *) 2 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle PRF", (void *) 3 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Divider", (void *) 4 ); |
|||
newtListboxAppendEntry( m_oMenu, "Toggle Ratio", (void *) 5 ); |
|||
newtListboxAppendEntry( m_oMenu, "Send CMD to TGZ", (void *) 6 ); |
|||
|
|||
newtListboxAppendEntry( m_oMenu, "EXIT", (void *) 255 ); |
|||
newtFormAddComponents( m_oForm, m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_oMenu, NULL ); |
|||
#else
|
|||
create( 0, 18, 40, 17 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tgz1Window::~tgz1Window(){ |
|||
newtPopWindow(); |
|||
}; |
|||
int tgz1Window::decodeEvent( newtComponent evt ){ |
|||
if( evt == m_oMenu ) { |
|||
void *selected; |
|||
selected = newtListboxGetCurrent( m_oMenu ); |
|||
return ( int )selected; |
|||
}; |
|||
return 0; |
|||
}; |
|||
|
|||
void tgz1Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtCenteredWindow( m_w, m_h, "TGZ Old Protocol" ); |
|||
if( m_pDeviceProtocol != NULL ) { |
|||
char tBuffer[245]; |
|||
m_dwMyStatus = m_pDeviceProtocol->getPreparing(); |
|||
m_dwTGZStatus = m_pDeviceProtocol->getLastReceived(); |
|||
sprintf( tBuffer, "%02X %02X %02X %02X", ((m_dwMyStatus >> 24 )& 0xFF),((m_dwMyStatus >> 16 )& 0xFF),((m_dwMyStatus >> 8 )& 0xFF),( m_dwMyStatus & 0xFF) ); |
|||
newtTextboxSetText( m_t1, tBuffer ); |
|||
sprintf( tBuffer, "%d", m_pDeviceProtocol->getPRF() ); |
|||
newtTextboxSetText( m_t2, tBuffer ); |
|||
sprintf( tBuffer, "%d", m_pDeviceProtocol->getDivider() ); |
|||
newtTextboxSetText( m_t3, tBuffer ); |
|||
sprintf( tBuffer, "%d", m_pDeviceProtocol->getRatio() ); |
|||
newtTextboxSetText( m_t4, tBuffer ); |
|||
sprintf( tBuffer, "%c",(m_pDeviceProtocol->getRunFlag()?'*':' ')); |
|||
newtTextboxSetText( m_t5, tBuffer ); |
|||
sprintf( tBuffer, "%c",(m_pDeviceProtocol->getResetFlag()?'*':' ')); |
|||
newtTextboxSetText( m_t6, tBuffer ); |
|||
} |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2, " TGZ Communication " ); |
|||
if( m_pDeviceProtocol != NULL ) { |
|||
m_dwMyStatus = m_pDeviceProtocol->getPreparing(); |
|||
m_dwTGZStatus = m_pDeviceProtocol->getLastReceived(); |
|||
mvwprintw( m_pWND, 3,2, " Frame 0x200 output: \t%08X", m_dwMyStatus ); |
|||
mvwprintw( m_pWND, 4,2, " Control Byte: \t0x%02X [%s%s]", (m_dwMyStatus & 0xFF),((m_dwMyStatus & 0xFF)&2)?"Run":"Stp",((m_dwMyStatus & 0xFF)&1)?",RstErr":""); |
|||
mvwprintw( m_pWND, 5,2, " PRF: \t\t%d kHz", ((m_dwMyStatus >> 8) & 0xFF) ); |
|||
mvwprintw( m_pWND, 6,2, " Block Cycles: \t%d", ((m_dwMyStatus >> 16) & 0xFF) ); |
|||
mvwprintw( m_pWND, 7,2, " PRF Divider: \t%d", ((m_dwMyStatus >> 24) & 0xFF) ); |
|||
mvwprintw( m_pWND, 8,2, " Frame 0x201 input: \t%08X", m_dwTGZStatus ); |
|||
mvwprintw( m_pWND, 9,2, " Status Byte: \t0x%02X [%s%s%s]", (m_dwTGZStatus & 0xFF), ((m_dwTGZStatus & 0xFF)&4)?"Sync":"nSync",((m_dwTGZStatus & 0xFF)&2)?",Run":"",((m_dwTGZStatus & 0xFF)&1)?",Rdy":",Stb" ); |
|||
mvwprintw( m_pWND, 10,2, " PRF: \t\t%d kHz", ((m_dwTGZStatus >> 8) & 0xFF) ); |
|||
mvwprintw( m_pWND, 11,2, " Block Cycles: \t%d", ((m_dwTGZStatus >> 16) & 0xFF) ); |
|||
mvwprintw( m_pWND, 12,2, " PRF Divider: \t%d", ((m_dwTGZStatus >> 24) & 0xFF) ); |
|||
if( (((m_dwMyStatus & 0xFF)&2)== 0 ) && ((( m_dwTGZStatus & 0xFF)&2)== 0 ) ) { |
|||
mvwprintw( m_pWND, 15,2, " [Available to Config]" ); |
|||
} else { |
|||
mvwprintw( m_pWND, 15,2, " [Config is Disabled]" ); |
|||
} |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2, " Not Init" ); |
|||
} |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,35 +0,0 @@ |
|||
#ifndef __TGZ1WINDOW_H_INCL__ |
|||
#define __TGZ1WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/cli/cliClass.h" |
|||
|
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
#include "../../source/lib/components/base/basicLogCollection.h" |
|||
#include "../../source/lib/data/protocol/protocolTGZ.h" |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tgz1Window : public WindowCLI { |
|||
private: |
|||
unsigned int m_dwMyStatus; |
|||
unsigned int m_dwTGZStatus; |
|||
protocolTGZ *m_pDeviceProtocol; |
|||
#ifdef NEWT_CLI |
|||
newtComponent m_oMenu; |
|||
newtComponent m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_t12, m_t13; |
|||
newtComponent m_t14, m_t15, m_t16, m_t17, m_t18, m_t19, m_t20, m_t21, m_t22, m_t23, m_t24, m_t25, m_t26; |
|||
#endif |
|||
public: |
|||
explicit tgz1Window( protocolTGZ *Device ); |
|||
virtual ~tgz1Window(); |
|||
int decodeEvent( newtComponent evt ); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __PRU0WINDOW_H_INCL__ |
|||
@ -1,42 +0,0 @@ |
|||
#include "tupus0_0Window.h"
|
|||
|
|||
tupus0_0Window::tupus0_0Window() : WindowCLI(NULL){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 0, 36, 30, 12 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tupus0_0Window::~tupus0_0Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void tupus0_0Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 0, 36, 30, 12, "TUPUS0_0" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 0 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2,"--- TUPUS[0:0] STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2,"Host status:\t0x%08x", tTUPUS->HOST_status ); |
|||
mvwprintw( m_pWND, 4,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 5,2,"Host address:\t0x%08x", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 6,2,"Host data:\t0x%08x", tTUPUS->HOST_data ); |
|||
mvwprintw( m_pWND, 7,2,"PRU ID:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 8,2,"PRU status:\t0x%08x", tTUPUS->PRU_status ); |
|||
mvwprintw( m_pWND, 9,2,"PRU address:\t0x%08x", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 10,2,"PRU data:\t0x%08x", tTUPUS->PRU_data ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __TUPUS0_0WINDOW_H_INCL__ |
|||
#define __TUPUS0_0WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tupus0_0Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
tupus0_0Window(); |
|||
virtual ~tupus0_0Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __TUPUS0_0WINDOW_H_INCL__ |
|||
@ -1,41 +0,0 @@ |
|||
#include "tupus0_1Window.h"
|
|||
tupus0_1Window::tupus0_1Window() : WindowCLI(NULL){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 30, 36, 30, 12 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tupus0_1Window::~tupus0_1Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void tupus0_1Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 30, 36, 30, 12, "TUPUS0_1" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 0 , 1 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2,"--- TUPUS[0:1] STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2,"Host status:\t0x%08x", tTUPUS->HOST_status ); |
|||
mvwprintw( m_pWND, 4,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 5,2,"Host address:\t0x%08x", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 6,2,"Host data:\t0x%08x", tTUPUS->HOST_data ); |
|||
mvwprintw( m_pWND, 7,2,"PRU ID:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 8,2,"PRU status:\t0x%08x", tTUPUS->PRU_status ); |
|||
mvwprintw( m_pWND, 9,2,"PRU address:\t0x%08x", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 10,2,"PRU data:\t0x%08x", tTUPUS->PRU_data ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __TUPUS0_1WINDOW_H_INCL__ |
|||
#define __TUPUS0_1WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tupus0_1Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
tupus0_1Window(); |
|||
~tupus0_1Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __TUPUS0_1WINDOW_H_INCL__ |
|||
@ -1,41 +0,0 @@ |
|||
#include "tupus1_0Window.h"
|
|||
tupus1_0Window::tupus1_0Window() : WindowCLI(NULL){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 61, 36, 30, 12 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tupus1_0Window::~tupus1_0Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void tupus1_0Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 61, 36, 30, 12, "TUPUS1_0" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 1 , 0 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2,"--- TUPUS[1:0] STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2,"Host status:\t0x%08x", tTUPUS->HOST_status ); |
|||
mvwprintw( m_pWND, 4,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 5,2,"Host address:\t0x%08x", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 6,2,"Host data:\t0x%08x", tTUPUS->HOST_data ); |
|||
mvwprintw( m_pWND, 7,2,"PRU ID:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 8,2,"PRU status:\t0x%08x", tTUPUS->PRU_status ); |
|||
mvwprintw( m_pWND, 9,2,"PRU address:\t0x%08x", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 10,2,"PRU data:\t0x%08x", tTUPUS->PRU_data ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __TUPUS1_0WINDOW_H_INCL__ |
|||
#define __TUPUS1_0WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tupus1_0Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
tupus1_0Window(); |
|||
~tupus1_0Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __TUPUS1_0WINDOW_H_INCL__ |
|||
@ -1,41 +0,0 @@ |
|||
#include "tupus1_1Window.h"
|
|||
tupus1_1Window::tupus1_1Window() : WindowCLI(NULL){ |
|||
m_pSOC = classSOC::getInstance(); |
|||
#ifdef NEWT_CLI
|
|||
|
|||
#else
|
|||
create( 91, 36, 30, 12 ); |
|||
#endif
|
|||
}; |
|||
|
|||
tupus1_1Window::~tupus1_1Window(){ |
|||
#ifdef NEWT_CLI
|
|||
newtPopWindow(); |
|||
#else
|
|||
#endif
|
|||
}; |
|||
|
|||
void tupus1_1Window::paint( void ){ |
|||
#ifdef NEWT_CLI
|
|||
newtOpenWindow( 91, 36, 30, 12, "TUPUS1_1" ); |
|||
newtDrawForm( m_oForm ); |
|||
#else
|
|||
volatile structTUPUS *tTUPUS; |
|||
tTUPUS = m_pSOC->getTUPUS( 1 , 1 ); |
|||
createBox( true ); |
|||
mvwprintw( m_pWND, 2,2,"--- TUPUS[1:1] STATUS ---" ); |
|||
if( tTUPUS != NULL ) { |
|||
mvwprintw( m_pWND, 3,2,"Host status:\t0x%08x", tTUPUS->HOST_status ); |
|||
mvwprintw( m_pWND, 4,2,"Host cmd:\t0x%08x", tTUPUS->HOST_command ); |
|||
mvwprintw( m_pWND, 5,2,"Host address:\t0x%08x", tTUPUS->HOST_address ); |
|||
mvwprintw( m_pWND, 6,2,"Host data:\t0x%08x", tTUPUS->HOST_data ); |
|||
mvwprintw( m_pWND, 7,2,"PRU ID:\t0x%08x", tTUPUS->PRU_id ); |
|||
mvwprintw( m_pWND, 8,2,"PRU status:\t0x%08x", tTUPUS->PRU_status ); |
|||
mvwprintw( m_pWND, 9,2,"PRU address:\t0x%08x", tTUPUS->PRU_address ); |
|||
mvwprintw( m_pWND, 10,2,"PRU data:\t0x%08x", tTUPUS->PRU_data ); |
|||
} else { |
|||
mvwprintw( m_pWND, 3,2,"Not Initialized"); |
|||
}; |
|||
wrefresh( m_pWND ); |
|||
#endif
|
|||
}; |
|||
@ -1,23 +0,0 @@ |
|||
#ifndef __TUPUS1_1WINDOW_H_INCL__ |
|||
#define __TUPUS1_1WINDOW_H_INCL__ |
|||
|
|||
#include "../../source/lib/hardware/soc/classSOC.h" |
|||
#include "../../source/lib/cli/cliClass.h" |
|||
#ifndef NEWT_CLI |
|||
#include "../../source/lib/components/base/basicNCursesEngine.h" |
|||
#endif |
|||
|
|||
/** |
|||
* TODO: Add class description |
|||
* |
|||
* @author gagua |
|||
*/ |
|||
class tupus1_1Window : public WindowCLI { |
|||
classSOC *m_pSOC; |
|||
public: |
|||
tupus1_1Window(); |
|||
~tupus1_1Window(); |
|||
void paint( void ); |
|||
}; |
|||
|
|||
#endif // __TUPUS1_1WINDOW_H_INCL__ |
|||
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue