├── visualgdb ├── CMake │ ├── CMakeDebugger │ │ ├── version.txt │ │ ├── toolchain.cmake │ │ ├── CMakeDebugger.cpp │ │ └── CMakeLists.txt │ ├── CustomCMakeTargetDemo │ │ ├── Source.cpp │ │ ├── Library4.cpp │ │ ├── TargetDefinitions │ │ │ ├── templates │ │ │ │ └── target │ │ │ │ │ └── MyCustomTarget │ │ │ │ │ ├── $$TARGETNAME$$.h │ │ │ │ │ ├── $$TARGETNAME$$.cpp │ │ │ │ │ ├── wizard.png │ │ │ │ │ └── template.xml │ │ │ ├── shared.prop │ │ │ ├── custom.prop │ │ │ ├── custom.tgt │ │ │ └── custom.stmt │ │ ├── Library2.cpp │ │ ├── Library1.cpp │ │ ├── Library3.cpp │ │ ├── CustomCMakeTargetDemo.cpp │ │ ├── toolchain.cmake │ │ ├── functions.cmake │ │ └── CMakeLists.txt │ └── CMakeMultiplatformDemo │ │ ├── CMakeMultiplatformDemo.cpp │ │ └── CMakeLists.txt ├── esp32 │ ├── .gitignore │ ├── SPIFFSDemo │ │ ├── sdkconfig.defaults │ │ ├── spiffs_image │ │ │ └── program.txt │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── Kconfig.projbuild │ │ ├── README.md │ │ ├── Makefile │ │ ├── CMakeLists.txt │ │ └── partitions.csv │ ├── ESPIDFTestDemo │ │ ├── sdkconfig.defaults │ │ ├── main │ │ │ ├── test │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── test_main.c │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── Kconfig.projbuild │ │ ├── components │ │ │ └── AnotherComponent │ │ │ │ ├── AnotherComponent.cpp │ │ │ │ ├── test │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── test_AnotherComponent.cpp │ │ │ │ └── CMakeLists.txt │ │ ├── README.md │ │ ├── Makefile │ │ └── CMakeLists.txt │ ├── ESPADFDemo │ │ ├── Makefile │ │ ├── main │ │ │ ├── adf_music.mp3 │ │ │ └── component.mk │ │ └── README.md │ ├── ESP32LyratJTAGDemo │ │ ├── Makefile │ │ ├── main │ │ │ ├── adf_music.mp3 │ │ │ └── component.mk │ │ └── README.md │ ├── ESP32LCDDemo │ │ ├── main │ │ │ ├── image.jpg │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── decode_image.h │ │ │ ├── pretty_effect.h │ │ │ └── Kconfig.projbuild │ │ ├── Makefile │ │ ├── CMakeLists.txt │ │ └── README.md │ └── CameraToLCDDemo │ │ ├── LCD │ │ ├── main │ │ │ ├── image.jpg │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── decode_image.h │ │ │ ├── pretty_effect.h │ │ │ └── Kconfig.projbuild │ │ ├── Makefile │ │ ├── toolchain.cmake │ │ ├── CMakeLists.txt │ │ └── README.md │ │ └── Camera │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── Kconfig.projbuild │ │ ├── Makefile │ │ └── CMakeLists.txt ├── mbed │ ├── SharedRepositoryDemo │ │ ├── .mbed │ │ └── main.cpp │ └── MbedUnitTestDemo │ │ ├── DemoLibrary.lib │ │ ├── DemoLibrary │ │ └── DemoLibrary.cpp │ │ ├── .gitignore │ │ ├── mbed-os.lib │ │ ├── CONTRIBUTING.md │ │ └── main.cpp ├── tracing │ ├── .gitignore │ ├── NetworkPacketTracingDemo │ │ ├── readme.txt │ │ └── Inc │ │ │ ├── httpserver-netconn.h │ │ │ └── ethernetif.h │ ├── TestTracingDemo │ │ ├── MathFunctions.vgdbtrace │ │ ├── trace.bat │ │ ├── TestTracingDemo.cpp │ │ ├── TestTracingDemo.xml │ │ └── CMakeLists.txt │ ├── FreeRTOSTracingDemo │ │ ├── UARTFunctions.h │ │ ├── trace.bat │ │ └── CMakeLists.txt │ ├── BasicTracingDemo │ │ └── CMakeLists.txt │ ├── FastEventTracingDemo │ │ └── CMakeLists.txt │ ├── CircularTracingDemo │ │ └── CMakeLists.txt │ ├── USBReplyComparison │ │ ├── USBCDCDemo_New │ │ │ └── CMakeLists.txt │ │ └── USBCDCDemo_Old │ │ │ └── CMakeLists.txt │ └── USBOptimizationDemo │ │ └── CMakeLists.txt ├── Linux │ ├── PrecompiledHeaderDemo │ │ ├── pch.cpp │ │ ├── Source.cpp │ │ ├── pch.h │ │ └── PrecompiledHeaderDemo-Debug.bat │ ├── CMakeUnitTestDemo │ │ ├── Sum.h │ │ ├── Sum.cpp │ │ ├── MathLibrary.cpp │ │ ├── CMakeUnitTestDemo.cpp │ │ ├── TestExecutable.cpp │ │ └── CMakeLists.txt │ ├── BasicRefactorScriptDemo │ │ ├── data.csv │ │ ├── CMakeLists.txt │ │ └── GenerateOutputOperator.refscript │ ├── Qt5CMakeDemo │ │ ├── test.png │ │ ├── test.qrc │ │ ├── NewDialog.cpp │ │ ├── Qt5CMakeDemo.cpp │ │ ├── NewDialog.h │ │ ├── toolchain.cmake │ │ ├── MainWindow.h │ │ ├── NewDialog.ui │ │ ├── MainWindow.cpp │ │ └── CMakeLists.txt │ ├── SymbolManagementDemo │ │ ├── SharedLibrary2.cpp │ │ ├── SharedLibrary1.cpp │ │ ├── toolchain.cmake │ │ ├── SymbolManagementDemo.cpp │ │ └── CMakeLists.txt │ ├── GoogleMockDemo │ │ ├── GoogleMockDemo.cpp │ │ ├── CMakeLists.txt │ │ └── GoogleMockDemoTests.cpp │ ├── QtMSBuild-Cross │ │ ├── QtMSBuild-Cross.cpp │ │ ├── debug.pro │ │ ├── release.pro │ │ ├── MainWindow.h │ │ ├── MainWindow.cpp │ │ ├── QtProjectItems.xml │ │ └── QtMSBuild-Cross.pro │ ├── CoreDumpDemo │ │ └── CoreDumpDemo.cpp │ ├── TargetLinkLibrariesDemo │ │ ├── toolchain.cmake │ │ ├── TargetLinkLibrariesDemo.cpp │ │ └── CMakeLists.txt │ └── STM32MP1LinuxDemo │ │ └── STM32MP1LinuxDemo.cpp ├── ARM │ ├── EmbeddedCoverageDemo │ │ ├── .gitignore │ │ └── EmbeddedCoverageDemo.cpp │ ├── CMake │ │ ├── ImportedProjectDemo │ │ │ ├── ExistingProject │ │ │ │ ├── .gitignore │ │ │ │ ├── build.bat │ │ │ │ ├── StandaloneSTM32Test.cpp │ │ │ │ └── CMakeLists.txt │ │ │ └── stm32.xml │ │ ├── StandaloneFrameworkDemo │ │ │ ├── USBFramework │ │ │ │ └── framework.cmake.ver │ │ │ └── CMakeLists.txt │ │ ├── MultiTargetDemo │ │ │ └── MultiTargetDemo │ │ │ │ ├── libs │ │ │ │ ├── DemoLibrary.cpp │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── Executable.cpp │ │ │ │ ├── OSAL │ │ │ │ ├── Win32 │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── OSAL.h │ │ │ │ │ └── OSAL.cpp │ │ │ │ └── STM32 │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── OSAL.h │ │ │ │ │ └── OSAL.cpp │ │ │ │ ├── MultiTargetDemo.cpp │ │ │ │ └── CMakeLists.txt │ │ ├── EmbeddedSimulationDemo │ │ │ ├── TinyEmbeddedTest │ │ │ │ ├── AnotherTestExecutable.cpp │ │ │ │ ├── EmbeddedSimulationDemo.cpp │ │ │ │ └── CMakeLists.txt │ │ │ └── GoogleTest │ │ │ │ ├── EmbeddedSimulationDemo.cpp │ │ │ │ ├── EmbeddedSimulationDemoTests.cpp │ │ │ │ └── CMakeLists.txt │ │ ├── EmbeddedCMakeDemo │ │ │ ├── StaticLibrary.cpp │ │ │ └── CMakeLists.txt │ │ ├── LinuxPlatformDemo │ │ │ ├── CMakeLists.txt │ │ │ └── LinuxPlatformDemo.cpp │ │ └── BootloaderDemo │ │ │ ├── CMakeLists.txt │ │ │ └── TargetApplication.cpp │ ├── stm32 │ │ ├── OpenAMP_H7 │ │ │ ├── OpenAMPDemo_M4 │ │ │ │ └── Common │ │ │ │ │ └── Inc │ │ │ │ │ └── openamp │ │ │ │ │ ├── fcntl.h │ │ │ │ │ ├── libgen.h │ │ │ │ │ └── unistd.h │ │ │ └── OpenAMPDemo_M7 │ │ │ │ └── Common │ │ │ │ └── Inc │ │ │ │ └── openamp │ │ │ │ ├── fcntl.h │ │ │ │ ├── libgen.h │ │ │ │ └── unistd.h │ │ ├── AzureRTOS │ │ │ └── ThreadXDemo │ │ │ │ ├── app_azure_rtos_config.h │ │ │ │ ├── app_threadx.h │ │ │ │ └── CMakeLists.txt │ │ ├── STM32H7S │ │ │ └── STM32H7S_CDC │ │ │ │ └── STM32H7S_CDC │ │ │ │ └── README.md │ │ ├── STM32WL55 │ │ │ ├── Sensor │ │ │ │ └── .visualgdb │ │ │ │ │ └── CodeExplorer │ │ │ │ │ └── NodeFlags.dat │ │ │ └── Concentrator │ │ │ │ └── .visualgdb │ │ │ │ └── CodeExplorer │ │ │ │ └── NodeFlags.dat │ │ ├── STM32WB │ │ │ └── HRSDemo │ │ │ │ └── .extSettings │ │ ├── STM32UnitTestTutorial │ │ │ ├── STM32UnitTestTutorial.cpp │ │ │ └── STM32UnitTestTutorialTests.cpp │ │ ├── stm32mp1-blink │ │ │ └── stm32mp1-blink.cpp │ │ └── STM32MultiCoreDemo │ │ │ ├── LEDBlink-CM4 │ │ │ └── LEDBlink-CM4.cpp │ │ │ └── LEDBlink-CM7 │ │ │ └── LEDBlink-CM7.cpp │ ├── PicoSDK │ │ ├── PicoSDKProfilerDemo │ │ │ ├── .gitignore │ │ │ ├── hello_usb.c │ │ │ └── CMakeLists.txt │ │ ├── LEDBlink │ │ │ ├── PicoSDKConfig.cmake │ │ │ ├── blink.c │ │ │ └── CMakeLists.txt │ │ ├── PicoW │ │ │ ├── PicoWDemo │ │ │ │ ├── PicoSDKConfig.cmake │ │ │ │ └── lwipopts.h │ │ │ └── FreeRTOSDemo │ │ │ │ ├── PicoSDKConfig.cmake │ │ │ │ ├── lwipopts.h │ │ │ │ └── CMakeLists.txt │ │ └── PIODebuggerDemo │ │ │ ├── CMakeLists.txt │ │ │ └── hello.pio │ ├── BSPRelocationTest │ │ └── RelocatedBSP │ │ │ ├── SDK │ │ │ ├── ti_rtos │ │ │ │ └── ti_rtos_config │ │ │ │ │ ├── ewarm │ │ │ │ │ └── iar │ │ │ │ │ │ └── tirtos │ │ │ │ │ │ ├── ti │ │ │ │ │ │ ├── targets │ │ │ │ │ │ │ ├── ITarget.h │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── catalog │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ ├── arm │ │ │ │ │ │ │ │ ├── cortexm4 │ │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ │ │ └── tiva │ │ │ │ │ │ │ │ │ │ └── ce │ │ │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ │ └── peripherals │ │ │ │ │ │ │ │ │ └── timers │ │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ └── peripherals │ │ │ │ │ │ │ │ └── hdvicp2 │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ │ └── hdvicp2.h │ │ │ │ │ │ ├── sysbios │ │ │ │ │ │ │ ├── rts │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ ├── family │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ ├── utils │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ └── platforms │ │ │ │ │ │ │ └── simplelink │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── iar │ │ │ │ │ │ └── targets │ │ │ │ │ │ │ └── arm │ │ │ │ │ │ │ ├── ITarget.h │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ └── rts │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── app │ │ │ │ │ │ └── package │ │ │ │ │ │ │ ├── package.defs.h │ │ │ │ │ │ │ └── cfg │ │ │ │ │ │ │ └── app_prm4.h │ │ │ │ │ │ └── xdc │ │ │ │ │ │ ├── package │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── bld │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── cfg │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── rov │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── shelf │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── corevers │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── platform │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── services │ │ │ │ │ │ ├── io │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── spec │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── getset │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ ├── global │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ └── intern │ │ │ │ │ │ │ ├── cmd │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ ├── gen │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ │ └── xsr │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── package.defs.h │ │ │ │ │ │ └── runtime │ │ │ │ │ │ ├── Registry__prologue.h │ │ │ │ │ │ └── Types__prologue.h │ │ │ │ │ └── gcc │ │ │ │ │ └── configPkg │ │ │ │ │ └── package │ │ │ │ │ ├── package.defs.h │ │ │ │ │ ├── cfg │ │ │ │ │ ├── app_pm4g.h │ │ │ │ │ ├── app_pem4.h │ │ │ │ │ └── ti_rtos_config_pm4g.h │ │ │ │ │ └── package_configPkg.c │ │ │ ├── simplelink │ │ │ │ └── include │ │ │ │ │ └── netapp.h │ │ │ └── simplelink_extlib │ │ │ │ └── include │ │ │ │ └── ota_api.h │ │ │ ├── Samples │ │ │ ├── httpserver │ │ │ │ └── html │ │ │ │ │ ├── httpserver.ucf │ │ │ │ │ ├── images │ │ │ │ │ └── demo-lightswitch.jpg │ │ │ │ │ └── httpserver_session │ │ │ │ │ └── templates │ │ │ │ │ └── CC3xxx_token.xml │ │ │ ├── out_of_box │ │ │ │ └── html │ │ │ │ │ ├── out_of_box.ucf │ │ │ │ │ ├── param_online.html │ │ │ │ │ ├── images │ │ │ │ │ ├── hw-sbd.gif │ │ │ │ │ ├── sw-sbd.gif │ │ │ │ │ ├── ti-logo.png │ │ │ │ │ ├── tab-line.gif │ │ │ │ │ ├── icon_l_html_a.png │ │ │ │ │ ├── demo-lightswitch.jpg │ │ │ │ │ ├── demo-sprinkler-on.jpg │ │ │ │ │ ├── demo-washerDryer.jpg │ │ │ │ │ ├── icon-demo-safety.gif │ │ │ │ │ ├── ticom3-tab-left.gif │ │ │ │ │ ├── ticom3-tab-right.gif │ │ │ │ │ ├── demo-sprinkler-off.jpg │ │ │ │ │ ├── demo-security-alarmOff.jpg │ │ │ │ │ ├── demo-security-alarmOn.jpg │ │ │ │ │ ├── icon-demo-smartEnergy.gif │ │ │ │ │ ├── icon-demo-smartEnergy.jpg │ │ │ │ │ ├── icon-demo-homeAppliances.gif │ │ │ │ │ └── icon-demo-homeAutomation.gif │ │ │ │ │ ├── param_demos.html │ │ │ │ │ ├── param_about.html │ │ │ │ │ └── js │ │ │ │ │ └── jquery.rwdImageMaps.min.js │ │ │ ├── blinky │ │ │ │ └── sample.xml │ │ │ └── serial_wifi │ │ │ │ └── sample.xml │ │ │ ├── DeviceDefinitions │ │ │ └── CC_3200.xml.gz │ │ │ └── netapps │ │ │ ├── mqtt │ │ │ ├── include │ │ │ │ ├── sl_mqtt_client.h │ │ │ │ └── sl_mqtt_server.h │ │ │ └── platform │ │ │ │ └── cc32xx_platform.c │ │ │ └── http │ │ │ ├── client │ │ │ ├── logging.h │ │ │ └── ssnull.c │ │ │ └── server │ │ │ ├── sha1.h │ │ │ └── strlib.h │ ├── TestResourcesDemo │ │ └── TestResources │ │ │ ├── inputs.dat │ │ │ └── outputs.dat │ ├── AdvancedRegistersDemo │ │ ├── empty.xml │ │ ├── AdvancedRegistersDemo.cpp │ │ ├── cp15.xml │ │ └── mcu.props │ ├── Renesas │ │ └── RenesasARMDemo │ │ │ ├── ra_gen │ │ │ ├── main.cpp │ │ │ ├── vector_data.h │ │ │ ├── common_data.c │ │ │ ├── vector_data.cpp │ │ │ ├── common_data.h │ │ │ ├── bsp_clock_cfg.h │ │ │ └── hal_data.h │ │ │ └── ra_cfg │ │ │ └── fsp_cfg │ │ │ ├── bsp │ │ │ ├── board_cfg.h │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ └── bsp_mcu_device_pn_cfg.h │ │ │ ├── r_adc_cfg.h │ │ │ └── r_ioport_cfg.h │ ├── MemoryExplorer │ │ ├── StaticStackAnalyzerDemo │ │ │ └── StaticStackAnalyzerDemo.stackrules │ │ └── DifferenceAnalysisTutorial │ │ │ └── LEDBlink.cpp │ ├── boards │ │ ├── msp432 │ │ │ └── MSP432Demo │ │ │ │ └── LEDBlink.cpp │ │ └── imxrt │ │ │ └── IMXRTDemo │ │ │ └── imxrt1050.cfg │ ├── legacy │ │ └── SAM9G25Demo │ │ │ └── CMakeLists.txt │ ├── IAR │ │ └── IARStackAndHeapDemo │ │ │ └── IARStackAndHeapDemo │ │ │ ├── Source.cpp │ │ │ └── MCU.xml │ ├── ITMTraceDemo │ │ └── ITMTraceDemo.cpp │ ├── UnitTests │ │ └── EmbeddedCppUTestDemo │ │ │ ├── CMakeLists.txt │ │ │ ├── EmbeddedCppUTestDemoTests.cpp │ │ │ └── EmbeddedCppUTestDemo.cpp │ ├── LiveWatch │ │ └── LiveRTOSDemo │ │ │ └── SemaphoreTests.c │ ├── BootloaderDemo │ │ └── MainApplication │ │ │ └── LEDBlink.cpp │ ├── RemoteEmbeddedDebugDemo │ │ └── RemoteEmbeddedDebugDemo.cpp │ ├── LiveCoverageDemo │ │ └── CMakeLists.txt │ ├── SemihostingDemo │ │ └── SemihostingDemo.cpp │ └── nxp │ │ └── MultiCore │ │ └── LPC55S69_Core0 │ │ └── incbin.S ├── keil │ ├── ImportTroubleshootingDemo │ │ ├── .gitignore │ │ └── EventRecorderStub.scvd │ ├── LEDBlink │ │ ├── RTE │ │ │ └── RTE_Components.h │ │ └── LEDBlink.sln │ ├── KeilUnitTestDemo │ │ └── RTE │ │ │ └── RTE_Components.h │ ├── InstrumentingProfilerDemo │ │ ├── ProfilingReports │ │ │ └── RTXDemo.profilersettings │ │ └── RTE │ │ │ └── RTE_Components.h │ ├── RTXRealTimeWatch │ │ └── RTE │ │ │ └── RTE_Components.h │ ├── RTXDemo │ │ ├── RTE │ │ │ └── RTE_Components.h │ │ └── RTXDemo.sln │ └── SamplingProfilerDemo │ │ └── RTE │ │ └── RTE_Components.h ├── porting │ └── multiplatform │ │ ├── tmp │ │ ├── TemporaryAndroidProject │ │ │ ├── jni │ │ │ │ ├── Application.mk │ │ │ │ ├── TemporaryAndroidProject.c │ │ │ │ └── Android.mk │ │ │ └── TemporaryAndroidProject.vcxproj.filters │ │ ├── TemporaryLinuxProject │ │ │ ├── TemporaryLinuxProject.cpp │ │ │ └── TemporaryLinuxProject.sln │ │ └── TemporaryEmbeddedProject │ │ │ ├── LEDBlink.cpp │ │ │ └── TemporaryEmbeddedProject.sln │ │ └── MultiPlatformTest │ │ ├── jni │ │ ├── Application.mk │ │ ├── TemopraryAndroidProject.c │ │ └── Android.mk │ │ └── MultiPlatformTest.cpp ├── Arduino │ ├── Libraries │ │ └── MyDemoLibrary │ │ │ ├── src │ │ │ └── MyDemoLibrary.h │ │ │ └── library.properties │ ├── teensy │ │ └── TeensyDemo │ │ │ └── sketches │ │ │ └── TeensyDemo.ino │ ├── ArduinoESP32Tutorial │ │ └── sketches │ │ │ └── ArduinoESP32Tutorial.ino │ ├── ArduinoDueDemo │ │ └── sketches │ │ │ └── ArduinoDueDemo.ino │ ├── ArduinoUnoDemo │ │ └── sketches │ │ │ └── ArduinoUnoDemo.ino │ ├── ArduinoESP8266Demo │ │ └── sketches │ │ │ └── ArduinoESP8266Demo.ino │ └── ArduinoLibraryDemo │ │ └── sketches │ │ └── ArduinoLibraryDemo.ino ├── profiler │ └── linux │ │ └── coverage │ │ ├── CodeCoverageDemo.cpp │ │ ├── CodeCoverageDemo.vgdbsettings │ │ ├── TestFramework.props │ │ └── CodeCoverageDemo.sln └── iot │ ├── NRFConnect │ ├── ATCommandsDemo │ │ ├── sample.yaml │ │ ├── CMakeLists.txt │ │ ├── prj.conf │ │ └── src │ │ │ └── main.c │ └── nRF53 │ │ ├── NRF53NetworkCoreDemo │ │ ├── CMakeLists.txt │ │ ├── sample.yaml │ │ └── prj.conf │ │ └── NRF53ApplicationCoreDemo │ │ ├── sample.yaml │ │ ├── Kconfig │ │ ├── CMakeLists.txt │ │ └── prj.conf │ ├── maixduino │ └── camera │ │ └── MAIXDuinoCameraDemo │ │ ├── MAIXDuinoCameraDemo.adeps │ │ └── sketches │ │ └── selfie.ino │ └── CC3220 │ └── CC3220Demo │ └── uart_term.h ├── visualkernel └── raspberry │ └── LEDBlink │ ├── Makefile │ └── LEDBlink.sln ├── CodeVROOM └── trivial │ └── TrivialExample.cpp └── .gitignore /visualgdb/CMake/CMakeDebugger/version.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /visualgdb/esp32/.gitignore: -------------------------------------------------------------------------------- 1 | Tests__Debug_ -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/Source.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/mbed/SharedRepositoryDemo/.mbed: -------------------------------------------------------------------------------- 1 | ROOT=. -------------------------------------------------------------------------------- /visualgdb/tracing/.gitignore: -------------------------------------------------------------------------------- 1 | TraceReports 2 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/Linux/PrecompiledHeaderDemo/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/ARM/EmbeddedCoverageDemo/.gitignore: -------------------------------------------------------------------------------- 1 | CoverageReports 2 | -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/DemoLibrary.lib: -------------------------------------------------------------------------------- 1 | DemoLibrary/ 2 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/ImportedProjectDemo/ExistingProject/.gitignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M4/Common/Inc/openamp/fcntl.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M4/Common/Inc/openamp/libgen.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M4/Common/Inc/openamp/unistd.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M7/Common/Inc/openamp/fcntl.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M7/Common/Inc/openamp/libgen.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/OpenAMP_H7/OpenAMPDemo_M7/Common/Inc/openamp/unistd.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualgdb/Linux/PrecompiledHeaderDemo/Source.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoSDKProfilerDemo/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | *.sprofreport 3 | -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/Sum.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int sum(int a, int b); -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/spiffs_image/program.txt: -------------------------------------------------------------------------------- 1 | on 2 | wait 1000 3 | off 4 | wait 500 -------------------------------------------------------------------------------- /visualgdb/keil/ImportTroubleshootingDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.uvguix.* 2 | Listings 3 | Objects 4 | -------------------------------------------------------------------------------- /visualgdb/Linux/BasicRefactorScriptDemo/data.csv: -------------------------------------------------------------------------------- 1 | 3;10;100 2 | 3;20;200 3 | 2;30;300 4 | 1;40;400 -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/DemoLibrary/DemoLibrary.cpp: -------------------------------------------------------------------------------- 1 | //TODO: place your library code here -------------------------------------------------------------------------------- /visualgdb/esp32/ESPADFDemo/Makefile: -------------------------------------------------------------------------------- 1 | PROJECT_NAME := play_mp3 2 | include $(ADF_PATH)/project.mk 3 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LyratJTAGDemo/Makefile: -------------------------------------------------------------------------------- 1 | PROJECT_NAME := play_mp3 2 | include $(ADF_PATH)/project.mk 3 | -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/.gitignore: -------------------------------------------------------------------------------- 1 | .build 2 | .mbed 3 | projectfiles 4 | *.py* 5 | mbed-os 6 | Build 7 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/StandaloneFrameworkDemo/USBFramework/framework.cmake.ver: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB. API Version = 3 -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/ImportedProjectDemo/ExistingProject/build.bat: -------------------------------------------------------------------------------- 1 | mkdir build 2 | cd build 3 | cmake .. -G Ninja 4 | ninja -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/Sum.cpp: -------------------------------------------------------------------------------- 1 | #include "Sum.h" 2 | 3 | int sum(int a, int b) 4 | { 5 | return a + b; 6 | } -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/main/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS test_main.c 2 | REQUIRES unity main) -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/Linux/Qt5CMakeDemo/test.png -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/mbed-os.lib: -------------------------------------------------------------------------------- 1 | https://github.com/ARMmbed/mbed-os/#679d24833acf0a0b5b0d528576bb37c70863bc4e 2 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryAndroidProject/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # Generated by VisualGDB 2 | APP_ABI := all 3 | -------------------------------------------------------------------------------- /visualgdb/Arduino/Libraries/MyDemoLibrary/src/MyDemoLibrary.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | //TODO: add your function declarations here 4 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "blink.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/esp32/ESP32LCDDemo/main/image.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/AzureRTOS/ThreadXDemo/app_azure_rtos_config.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define TX_APP_MEM_POOL_SIZE 3 * 512 4 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPADFDemo/main/adf_music.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/esp32/ESPADFDemo/main/adf_music.mp3 -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/libs/DemoLibrary.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void DoSleep() 4 | { 5 | delay(500); 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/main/test/test_main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | TEST_CASE("main_test", "") 4 | { 5 | TEST_ASSERT_EQUAL(2 * 2, 5); 6 | } -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/MultiPlatformTest/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # Generated by VisualGDB 2 | APP_ABI := armeabi x86 3 | APP_STL := gnustl_static 4 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/Executable.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | asm("nop"); 4 | //TODO: add your logic here 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/esp32/CameraToLCDDemo/LCD/main/image.jpg -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/test.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | test.png 5 | 6 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LyratJTAGDemo/main/adf_music.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/esp32/ESP32LyratJTAGDemo/main/adf_music.mp3 -------------------------------------------------------------------------------- /visualgdb/tracing/NetworkPacketTracingDemo/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/tracing/NetworkPacketTracingDemo/readme.txt -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/targets/ITarget.h: -------------------------------------------------------------------------------- 1 | /* this file was generated by xdc/bld/stddefs.xdt */ 2 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/LEDBlink/PicoSDKConfig.cmake: -------------------------------------------------------------------------------- 1 | #This file was generated by VisualGDB and will be overwritten when you change the configuration via GUI. 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/ARM/TestResourcesDemo/TestResources/inputs.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/TestResourcesDemo/TestResources/inputs.dat -------------------------------------------------------------------------------- /visualgdb/ARM/TestResourcesDemo/TestResources/outputs.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/TestResourcesDemo/TestResources/outputs.dat -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/Library4.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void StaticLibraryFunction4() 4 | { 5 | printf("Hello from static library"); 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/templates/target/MyCustomTarget/$$TARGETNAME$$.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void Sample$$TARGETNAME$$Function(); 4 | -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/MathLibrary.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void StaticLibraryFunction() 4 | { 5 | printf("Hello from static library"); 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/components/AnotherComponent/AnotherComponent.cpp: -------------------------------------------------------------------------------- 1 | //TODO: add code for your component here 2 | 3 | extern "C" void MyFunc() 4 | { 5 | } -------------------------------------------------------------------------------- /visualgdb/tracing/TestTracingDemo/MathFunctions.vgdbtrace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/tracing/TestTracingDemo/MathFunctions.vgdbtrace -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/iar/targets/arm/ITarget.h: -------------------------------------------------------------------------------- 1 | /* this file was generated by xdc/bld/stddefs.xdt */ 2 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoW/PicoWDemo/PicoSDKConfig.cmake: -------------------------------------------------------------------------------- 1 | #This file was generated by VisualGDB and will be overwritten when you change the configuration via GUI. 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/Library2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | 4 | void StaticLibraryFunction2() 5 | { 6 | printf("Hello from static library"); 7 | } 8 | -------------------------------------------------------------------------------- /visualgdb/Linux/SymbolManagementDemo/SharedLibrary2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void SharedLibraryFunction2() 4 | { 5 | printf("Hello from shared library"); 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/components/AnotherComponent/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS test_AnotherComponent.cpp 2 | REQUIRES unity AnotherComponent) -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoW/FreeRTOSDemo/PicoSDKConfig.cmake: -------------------------------------------------------------------------------- 1 | #This file was generated by VisualGDB and will be overwritten when you change the configuration via GUI. 2 | 3 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/Camera/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "station_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32H7S/STM32H7S_CDC/STM32H7S_CDC/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/stm32/STM32H7S/STM32H7S_CDC/STM32H7S_CDC/README.md -------------------------------------------------------------------------------- /visualgdb/esp32/ESPADFDemo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | 5 | COMPONENT_EMBED_TXTFILES := adf_music.mp3 6 | -------------------------------------------------------------------------------- /visualgdb/tracing/FreeRTOSTracingDemo/UARTFunctions.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void SystemClock_Config(void); 4 | extern UART_HandleTypeDef UartHandle; 5 | void UART_Init(); 6 | 7 | -------------------------------------------------------------------------------- /visualgdb/Linux/PrecompiledHeaderDemo/pch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LyratJTAGDemo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | 5 | COMPONENT_EMBED_TXTFILES := adf_music.mp3 6 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/httpserver/html/httpserver.ucf: -------------------------------------------------------------------------------- 1 | #Tue Jun 10 16:31:37 IST 2014 2 | com=54 3 | interface=CC31x Flash Connections 4 | device=CC31x Flash Devices 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/out_of_box.ucf: -------------------------------------------------------------------------------- 1 | #Tue Jun 10 16:31:37 IST 2014 2 | com=54 3 | interface=CC31x Flash Connections 4 | device=CC31x Flash Devices 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/Win32/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_bsp_based_library(NAME OSAL 2 | SOURCES OSAL.cpp OSAL.h) 3 | 4 | target_include_directories(OSAL PUBLIC .) 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/DeviceDefinitions/CC_3200.xml.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/DeviceDefinitions/CC_3200.xml.gz -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/simplelink/include/netapp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/simplelink/include/netapp.h -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/components/AnotherComponent/test/test_AnotherComponent.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | 4 | TEST_CASE("AnotherComponent_test", "") 5 | { 6 | TEST_ASSERT_EQUAL(2 * 2, 4); 7 | } -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "blink.c" 2 | INCLUDE_DIRS ".") 3 | spiffs_create_partition_image(storage ../spiffs_image FLASH_IN_PROJECT) 4 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/param_online.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

__SL_G_UIC

4 |

__SL_G_USS

5 | 6 | -------------------------------------------------------------------------------- /visualgdb/Linux/SymbolManagementDemo/SharedLibrary1.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void SharedLibraryFunction1() 4 | { 5 | printf("Hello from shared library"); 6 | int **p = 0; 7 | p[0] = 0; 8 | } 9 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/README.md: -------------------------------------------------------------------------------- 1 | # Blink Example 2 | 3 | Starts a FreeRTOS task to blink an LED 4 | 5 | See the README.md file in the upper level 'examples' directory for more information about examples. 6 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/mqtt/include/sl_mqtt_client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/mqtt/include/sl_mqtt_client.h -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/mqtt/include/sl_mqtt_server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/mqtt/include/sl_mqtt_server.h -------------------------------------------------------------------------------- /visualgdb/Linux/GoogleMockDemo/GoogleMockDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) 4 | { 5 | testing::InitGoogleTest(&argc, argv); 6 | return RUN_ALL_TESTS(); 7 | return 0; 8 | } -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/README.md: -------------------------------------------------------------------------------- 1 | # Blink Example 2 | 3 | Starts a FreeRTOS task to blink an LED 4 | 5 | See the README.md file in the upper level 'examples' directory for more information about examples. 6 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/simplelink_extlib/include/ota_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/simplelink_extlib/include/ota_api.h -------------------------------------------------------------------------------- /visualgdb/profiler/linux/coverage/CodeCoverageDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) 4 | { 5 | testing::InitGoogleTest(&argc, argv); 6 | return RUN_ALL_TESTS(); 7 | return 0; 8 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/hw-sbd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/hw-sbd.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/sw-sbd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/sw-sbd.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ti-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ti-logo.png -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/tab-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/tab-line.gif -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/templates/target/MyCustomTarget/$$TARGETNAME$$.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void Sample$$TARGETNAME$$Function() 4 | { 5 | printf("Hello from $$TARGETNAME$$!\n"); 6 | } 7 | -------------------------------------------------------------------------------- /visualgdb/mbed/SharedRepositoryDemo/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mbed.h" 2 | 3 | DigitalOut g_LED(LED1); 4 | 5 | int main() 6 | { 7 | for (;;) 8 | { 9 | g_LED = !g_LED; 10 | wait(0.5f); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/CMakeUnitTestDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "Sum.h" 3 | 4 | using namespace std; 5 | 6 | int main(int argc, char *argv[]) 7 | { 8 | cout << sum(1,2) << endl; 9 | return 0; 10 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon_l_html_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon_l_html_a.png -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/ATCommandsDemo/sample.yaml: -------------------------------------------------------------------------------- 1 | sample: 2 | name: at_client Sample 3 | tests: 4 | test_build: 5 | build_only: true 6 | build_on_all: true 7 | platform_whitelist: nrf9160_pca10090ns 8 | tags: ci_build 9 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/httpserver/html/images/demo-lightswitch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/httpserver/html/images/demo-lightswitch.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-lightswitch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-lightswitch.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-sprinkler-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-sprinkler-on.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-washerDryer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-washerDryer.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-safety.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-safety.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ticom3-tab-left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ticom3-tab-left.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ticom3-tab-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/ticom3-tab-right.gif -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/ImportedProjectDemo/ExistingProject/StandaloneSTM32Test.cpp: -------------------------------------------------------------------------------- 1 | extern "C" void SystemInit(void) 2 | { 3 | 4 | } 5 | 6 | int main(void) 7 | { 8 | for (;;) 9 | { 10 | asm("nop"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/Library1.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifndef TESTMACRO 3 | #error TESTMACRO is not defined 4 | #endif 5 | 6 | void StaticLibraryFunction1() 7 | { 8 | printf("Hello from static library"); 9 | } 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/AdvancedRegistersDemo/empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-sprinkler-off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-sprinkler-off.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/main.cpp: -------------------------------------------------------------------------------- 1 | /* This file is not yet automatically regenerated by VisualGDB and can be edited manually. */ 2 | 3 | #include "hal_data.h" 4 | int main(void) 5 | { 6 | hal_entry (); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/templates/target/MyCustomTarget/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/templates/target/MyCustomTarget/wizard.png -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/MultiPlatformTest/jni/TemopraryAndroidProject.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | printf("Hello, World!\n"); //Set a breakpoint here or press F10 to step into. 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-security-alarmOff.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-security-alarmOff.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-security-alarmOn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/demo-security-alarmOn.jpg -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-smartEnergy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-smartEnergy.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-smartEnergy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-smartEnergy.jpg -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/Library3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifndef TESTMACRO 4 | #error TESTMACRO is not defined 5 | #endif 6 | 7 | void StaticLibraryFunction3() 8 | { 9 | printf("Hello from static library"); 10 | } 11 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := blink 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-homeAppliances.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-homeAppliances.gif -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-homeAutomation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/tutorials/HEAD/visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/images/icon-demo-homeAutomation.gif -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := blink 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryAndroidProject/jni/TemporaryAndroidProject.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | printf("Hello, World!\n"); //Set a breakpoint here or press F10 to step into. 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/param_demos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

__SL_G_UTP

4 |

__SL_G_UAC

5 |

__SL_G_ULD

6 | 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_master 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_master 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/components/AnotherComponent/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Created by VisualGDB. Right-click on the component in Solution Explorer to edit properties using convenient GUI. 2 | 3 | idf_component_register(SRCS "AnotherComponent.cpp" INCLUDE_DIRS ".") 4 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/STM32/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_bsp_based_library(NAME OSAL 3 | SOURCES OSAL.cpp OSAL.h system_stm32f4xx.c stm32f4xx_hal_conf.h) 4 | 5 | target_include_directories(OSAL PUBLIC .) 6 | 7 | bsp_include_directories(.) 8 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/Camera/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := wifi_station 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/QtMSBuild-Cross.cpp: -------------------------------------------------------------------------------- 1 | #include "MainWindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe") 4 | -------------------------------------------------------------------------------- /visualgdb/tracing/FreeRTOSTracingDemo/trace.bat: -------------------------------------------------------------------------------- 1 | "%VISUALGDB_DIR%\VisualGDB.exe" /trace FreeRTOSTracingDemo.vgdbcmake /traceconfig:TracepointSets\UARTFunctions.xml /tracereport:UARTFunctions.vgdbtrace /xmltracereport:UARTFunctions.xml /targetpath:build\VisualGDB\Debug\FreeRTOSTracingDemo -------------------------------------------------------------------------------- /visualgdb/Arduino/Libraries/MyDemoLibrary/library.properties: -------------------------------------------------------------------------------- 1 | name=MyDemoLibrary 2 | version=0.0.1 3 | author=sysprogs 4 | maintainer=sysprogs 5 | sentence=A basic library created with VisualGDB 6 | paragraph= 7 | category=Other 8 | url= 9 | architectures= 10 | dot_a_linkage=false 11 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/MultiTargetDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void DoSleep(); 4 | 5 | int main(void) 6 | { 7 | led_init(); 8 | 9 | for (;;) 10 | { 11 | led_on(); 12 | DoSleep(); 13 | led_off(); 14 | DoSleep(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_master) 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(blink) 7 | -------------------------------------------------------------------------------- /visualgdb/tracing/NetworkPacketTracingDemo/Inc/httpserver-netconn.h: -------------------------------------------------------------------------------- 1 | #ifndef __HTTPSERVER_NETCONN_H__ 2 | #define __HTTPSERVER_NETCONN_H__ 3 | 4 | #include "lwip/api.h" 5 | void http_server_netconn_init(void); 6 | void DynWebPage(struct netconn *conn); 7 | 8 | #endif /* __HTTPSERVER_NETCONN_H__ */ 9 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_master) 7 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53NetworkCoreDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: Apache-2.0 2 | 3 | cmake_minimum_required(VERSION 3.13.1) 4 | 5 | include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) 6 | project(hci_rpmsg) 7 | 8 | target_sources(app PRIVATE src/main.c) 9 | -------------------------------------------------------------------------------- /visualgdb/tracing/TestTracingDemo/trace.bat: -------------------------------------------------------------------------------- 1 | "%VISUALGDB_DIR%\VisualGDB.exe" /runtests TestTracingDemo.vgdbcmake /output:TestTracingDemo.xml /traceconfig:TracepointSets\MathFunctions.xml /tracereport:MathFunctions.vgdbtrace /xmltracereport:MathFunctions.xml /targetpath:build\VisualGDB\Debug\TestTracingDemo -------------------------------------------------------------------------------- /visualgdb/ARM/MemoryExplorer/StaticStackAnalyzerDemo/StaticStackAnalyzerDemo.stackrules: -------------------------------------------------------------------------------- 1 | #This file stores explicit relations between functions 2 | #Format: 3 | #:[] 4 | #:[] 5 | LED_Thread2 6 | UseStack 7 | -------------------------------------------------------------------------------- /visualgdb/CMake/CMakeDebugger/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Linux) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-g++.exe") 4 | SET(CMAKE_SYSROOT "$ENV{TOOLCHAIN_ROOT}/arm-linux-gnueabihf/sysroot") 5 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "decode_image.c" 2 | "pretty_effect.c" 3 | "spi_master_example_main.c") 4 | set(COMPONENT_ADD_INCLUDEDIRS ".") 5 | 6 | 7 | set(COMPONENT_EMBED_FILES image.jpg) 8 | 9 | register_component() 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/TinyEmbeddedTest/AnotherTestExecutable.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | TEST_GROUP(AnotherTestGroup) 4 | { 5 | }; 6 | 7 | TEST(AnotherTestGroup, AnotherTest) 8 | { 9 | } 10 | 11 | int main() 12 | { 13 | RunAllTests(); 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/shared.prop: -------------------------------------------------------------------------------- 1 | @internal 2 | target.decl: register_shared_library() 3 | target.name = target.decl.NAME 4 | target.sources = target.decl.SOURCES 5 | self.cflags = target.decl.CFLAGS 6 | 7 | %include $(VISUALGDB_DIR)\rules\PropertyEngine\common\cflags.prop 8 | -------------------------------------------------------------------------------- /visualgdb/Linux/CoreDumpDemo/CoreDumpDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) 4 | { 5 | srand(123); 6 | for (;;) 7 | { 8 | int randomVar = rand(); 9 | if ((randomVar % 10) == 0) 10 | *((int *)0) = 1; 11 | } 12 | return 0; 13 | } -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/Camera/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(wifi_station) 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "decode_image.c" 2 | "pretty_effect.c" 3 | "spi_master_example_main.c") 4 | set(COMPONENT_ADD_INCLUDEDIRS ".") 5 | 6 | 7 | set(COMPONENT_EMBED_FILES image.jpg) 8 | 9 | register_component() 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_cfg/fsp_cfg/bsp/board_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/NewDialog.cpp: -------------------------------------------------------------------------------- 1 | #include "NewDialog.h" 2 | #include "ui_NewDialog.h" 3 | 4 | NewDialog::NewDialog(QWidget *parent) : 5 | QDialog(parent), 6 | ui(new Ui::NewDialog) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | NewDialog::~NewDialog() 12 | { 13 | delete ui; 14 | } 15 | -------------------------------------------------------------------------------- /visualgdb/Linux/TargetLinkLibrariesDemo/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Linux) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-g++.exe") 4 | SET(CMAKE_SYSROOT "$ENV{TOOLCHAIN_ROOT}/arm-linux-gnueabihf/sysroot") 5 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/STM32/OSAL.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef __cplusplus 4 | extern "C" 5 | { 6 | #endif 7 | 8 | void led_init(); 9 | void led_on(); 10 | void led_off(); 11 | void delay(int msec); 12 | 13 | #ifndef __cplusplus 14 | } 15 | #endif 16 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/Win32/OSAL.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef __cplusplus 4 | extern "C" 5 | { 6 | #endif 7 | 8 | void led_init(); 9 | void led_on(); 10 | void led_off(); 11 | void delay(int msec); 12 | 13 | #ifndef __cplusplus 14 | } 15 | #endif 16 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/custom.prop: -------------------------------------------------------------------------------- 1 | @internal 2 | target.decl: register_static_library() 3 | target.name = target.decl.name 4 | target.sources = target.decl.sources 5 | self.cflags: set_static_library_cflags() 6 | 7 | %include $(VISUALGDB_DIR)\rules\PropertyEngine\common\cflags.prop 8 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #define BSP_CFG_MCU_PART_SERIES (2) 7 | 8 | -------------------------------------------------------------------------------- /visualgdb/Linux/STM32MP1LinuxDemo/STM32MP1LinuxDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | char sz[] = "Hello, World!"; //Hover mouse over "sz" while debugging to see its contents 8 | cout << sz << endl; //<================= Put a breakpoint here 9 | return 0; 10 | } -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | 7 | #Compile image file into the resulting firmware binary 8 | COMPONENT_EMBED_FILES := image.jpg 9 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/CustomCMakeTargetDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | char sz[] = "Hello, World!"; //Hover mouse over "sz" while debugging to see its contents 8 | cout << sz << endl; //<================= Put a breakpoint here 9 | return 0; 10 | } -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53NetworkCoreDemo/sample.yaml: -------------------------------------------------------------------------------- 1 | sample: 2 | description: Allows Zephyr to provide Bluetooth connectivity 3 | via RPMsg. 4 | name: Bluetooth HCI RPMsg 5 | tests: 6 | sample.bluetooth.hci_rpmsg: 7 | harness: bluetooth 8 | platform_whitelist: nrf5340_dk_nrf5340_cpunet 9 | tags: bluetooth 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_cfg/fsp_cfg/r_adc_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #define ADC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 7 | 8 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 7 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | 7 | #Compile image file into the resulting firmware binary 8 | COMPONENT_EMBED_FILES := image.jpg 9 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/README.md: -------------------------------------------------------------------------------- 1 | ## SPI master example 2 | 3 | This code displays a simple graphics with varying pixel colors on the 320x240 LCD on an ESP-WROVER-KIT board. 4 | 5 | If you like to adopt this example to another type of display or pinout, check [manin/spi_master_example_main.c] for comments that explain some of implementation details. 6 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set(EXTRA_COMPONENT_DIRS $ENV{SYSPROGS_COMPONENTS_DIR}) 7 | project(blink) 8 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/app/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef app__ 9 | #define app__ 10 | 11 | 12 | 13 | #endif /* app__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc__ 9 | #define xdc__ 10 | 11 | 12 | 13 | #endif /* xdc__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/README.md: -------------------------------------------------------------------------------- 1 | ## SPI master example 2 | 3 | This code displays a simple graphics with varying pixel colors on the 320x240 LCD on an ESP-WROVER-KIT board. 4 | 5 | If you like to adopt this example to another type of display or pinout, check [manin/spi_master_example_main.c] for comments that explain some of implementation details. 6 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, , 0x6000, 4 | phy_init, data, phy, , 0x1000, 5 | factory, app, factory, , 1M, 6 | 7 | storage, data, spiffs, , 0x40000, 8 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryLinuxProject/TemporaryLinuxProject.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | char sz[] = "Hello, World!"; //Hover mouse over "sz" while debugging to see its contents 8 | cout << sz << endl; //<================= Put a breakpoint here 9 | return 0; 10 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/gcc/configPkg/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-A32 6 | */ 7 | 8 | #ifndef configPkg__ 9 | #define configPkg__ 10 | 11 | 12 | 13 | #endif /* configPkg__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/bld/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_bld__ 9 | #define xdc_bld__ 10 | 11 | 12 | 13 | #endif /* xdc_bld__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/cfg/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_cfg__ 9 | #define xdc_cfg__ 10 | 11 | 12 | 13 | #endif /* xdc_cfg__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/rov/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_rov__ 9 | #define xdc_rov__ 10 | 11 | 12 | 13 | #endif /* xdc_rov__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoW/PicoWDemo/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/vector_data.h: -------------------------------------------------------------------------------- 1 | /* This file is not yet automatically regenerated by VisualGDB and can be edited manually. */ 2 | 3 | #pragma once 4 | /* Number of interrupts allocated */ 5 | #ifndef VECTOR_DATA_IRQ_COUNT 6 | #define VECTOR_DATA_IRQ_COUNT (0) 7 | #endif 8 | /* ISR prototypes */ 9 | 10 | /* Vector table allocations */ 11 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/Qt5CMakeDemo.cpp: -------------------------------------------------------------------------------- 1 | #include "MainWindow.h" 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | QApplication a(argc, argv); 8 | MainWindow w; 9 | 10 | QFile file(":test.png"); 11 | int len = file.size(); 12 | 13 | w.show(); 14 | 15 | return a.exec(); 16 | } 17 | -------------------------------------------------------------------------------- /visualkernel/raspberry/LEDBlink/Makefile: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB [https://visualgdb.com/]. 2 | #Use VisualGDB Project Properties to edit. 3 | 4 | KERNEL_MODULE_NAME := LEDBlink 5 | KERNEL_MODULE_OBJECT_FILE_LIST := LEDBlink_main.o 6 | 7 | obj-m := $(KERNEL_MODULE_NAME).o 8 | $(KERNEL_MODULE_NAME)-y += $(KERNEL_MODULE_OBJECT_FILE_LIST) 9 | ccflags-y := -ggdb -O0 10 | 11 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/shelf/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_shelf__ 9 | #define xdc_shelf__ 10 | 11 | 12 | 13 | #endif /* xdc_shelf__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/custom.tgt: -------------------------------------------------------------------------------- 1 | CustomStaticLibrary 2 | match register_static_library() 3 | priority 1000 4 | props custom.prop 5 | statements custom.stmt 6 | spelling_regex Static(.*) 7 | 8 | CustomSharedLibrary 9 | match register_shared_library() 10 | priority 1000 11 | props shared.prop 12 | statements custom.stmt 13 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/NewDialog.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | namespace Ui { 5 | class NewDialog; 6 | } 7 | 8 | class NewDialog : public QDialog 9 | { 10 | Q_OBJECT 11 | 12 | public: 13 | explicit NewDialog(QWidget *parent = 0); 14 | ~NewDialog(); 15 | 16 | protected slots: 17 | 18 | private: 19 | Ui::NewDialog *ui; 20 | }; 21 | 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_catalog__ 9 | #define ti_catalog__ 10 | 11 | 12 | 13 | #endif /* ti_catalog__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/targets/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_targets__ 9 | #define ti_targets__ 10 | 11 | 12 | 13 | #endif /* ti_targets__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/libs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_bsp_based_library(NAME DemoLibrary 3 | SOURCES DemoLibrary.cpp) 4 | 5 | if (NOT SIMULATION) 6 | set(MY_MACROS MYMACRO) 7 | else() 8 | set(MY_MACROS) 9 | endif() 10 | 11 | target_compile_definitions(DemoLibrary PRIVATE ${MY_MACROS}) 12 | 13 | 14 | target_link_libraries(DemoLibrary PRIVATE OSAL) 15 | -------------------------------------------------------------------------------- /CodeVROOM/trivial/TrivialExample.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | struct Coordinates 4 | { 5 | int X, Y; 6 | }; 7 | 8 | struct Size 9 | { 10 | int Width, Height; 11 | }; 12 | 13 | struct Rectangle 14 | { 15 | Coordinates TopLeft; 16 | struct Size Size; 17 | }; 18 | 19 | int main() 20 | { 21 | Rectangle rect = {{10, 20}, {100, 200}}; 22 | 23 | return 0; 24 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/corevers/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_corevers__ 9 | #define xdc_corevers__ 10 | 11 | 12 | 13 | #endif /* xdc_corevers__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/platform/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_platform__ 9 | #define xdc_platform__ 10 | 11 | 12 | 13 | #endif /* xdc_platform__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/debug.pro: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB (http://visualgdb.com) 2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO 3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD 4 | 5 | DESTDIR = Debug 6 | CONFIG += debug 7 | 8 | DEFINES += 9 | LIBS += 10 | INCLUDEPATH += 11 | QMAKE_LFLAGS += 12 | QMAKE_CXXFLAGS += -ggdb 13 | QMAKE_CFLAGS += -ggdb 14 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/release.pro: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB (http://visualgdb.com) 2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO 3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD 4 | 5 | DESTDIR = Release 6 | CONFIG += release 7 | 8 | DEFINES += 9 | LIBS += 10 | INCLUDEPATH += 11 | QMAKE_LFLAGS += 12 | QMAKE_CXXFLAGS += -ggdb 13 | QMAKE_CFLAGS += -ggdb 14 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/Camera/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main component makefile. 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/sysbios/rts/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_sysbios_rts__ 9 | #define ti_sysbios_rts__ 10 | 11 | 12 | 13 | #endif /* ti_sysbios_rts__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/iar/targets/arm/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef iar_targets_arm__ 9 | #define iar_targets_arm__ 10 | 11 | 12 | 13 | #endif /* iar_targets_arm__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/io/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_io__ 9 | #define xdc_services_io__ 10 | 11 | 12 | 13 | #endif /* xdc_services_io__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/sysbios/family/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-A71 6 | */ 7 | 8 | #ifndef ti_sysbios_family__ 9 | #define ti_sysbios_family__ 10 | 11 | 12 | 13 | #endif /* ti_sysbios_family__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/spec/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_spec__ 9 | #define xdc_services_spec__ 10 | 11 | 12 | 13 | #endif /* xdc_services_spec__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/gcc/configPkg/package/cfg/app_pm4g.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #include 9 | 10 | extern int xdc_runtime_Startup__EXECFXN__C; 11 | 12 | extern int xdc_runtime_Startup__RESETFXN__C; 13 | 14 | -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/TestExecutable.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "Sum.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | testing::InitGoogleTest(&argc, argv); 8 | return RUN_ALL_TESTS(); 9 | } 10 | 11 | TEST(DemoTestGroup, SumTest) 12 | { 13 | ASSERT_EQ(3, sum(1, 2)); 14 | ASSERT_EQ(-4, sum(1, -5)); 15 | ASSERT_EQ(4, sum(-1, 5)); 16 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/app/package/cfg/app_prm4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #include 9 | 10 | extern int xdc_runtime_Startup__EXECFXN__C; 11 | 12 | extern int xdc_runtime_Startup__RESETFXN__C; 13 | 14 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPADFDemo/README.md: -------------------------------------------------------------------------------- 1 | # Play mp3 file with a custom callback 2 | 3 | This example plays a sample 7 second mp3 file provided in 'main' folder. The file gets embedded in the application during compilation. After application upload the file is then played from ESP32's internal flash. 4 | 5 | To run this example you need ESP32 LyraT, ESP32-LyraTD-MSC or compatible board with speakers or headphones connected. 6 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53ApplicationCoreDemo/sample.yaml: -------------------------------------------------------------------------------- 1 | sample: 2 | name: BLE LED Button service 3 | description: Bluetooth Low Energy LED Button service sample 4 | tests: 5 | test_build: 6 | build_only: true 7 | build_on_all: true 8 | platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056 nrf52810_pca10040 nrf5340_dk_nrf5340_cpuapp 9 | tags: bluetooth ci_build 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/getset/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_getset__ 9 | #define xdc_services_getset__ 10 | 11 | 12 | 13 | #endif /* xdc_services_getset__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/global/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_global__ 9 | #define xdc_services_global__ 10 | 11 | 12 | 13 | #endif /* xdc_services_global__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/Win32/OSAL.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | extern "C" void SysTick_Handler(void) 5 | { 6 | } 7 | 8 | void led_init() 9 | { 10 | } 11 | 12 | void led_on() 13 | { 14 | printf("[LED ON]\n"); 15 | } 16 | 17 | void led_off() 18 | { 19 | printf("[LED OFF]\n"); 20 | } 21 | 22 | void delay(int msec) 23 | { 24 | Sleep(msec); 25 | } 26 | -------------------------------------------------------------------------------- /visualgdb/CMake/CMakeMultiplatformDemo/CMakeMultiplatformDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main(int argc, char *argv[]) 7 | { 8 | char tmp[512]; 9 | #ifdef IS_WINDOWS_BUILD 10 | strcpy(tmp, "Windows"); 11 | #else 12 | gethostname(tmp, sizeof(tmp)); 13 | #endif 14 | cout << "The current host name is " << tmp << std::endl; 15 | return 0; 16 | } -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LyratJTAGDemo/README.md: -------------------------------------------------------------------------------- 1 | # Play mp3 file with a custom callback 2 | 3 | This example plays a sample 7 second mp3 file provided in 'main' folder. The file gets embedded in the application during compilation. After application upload the file is then played from ESP32's internal flash. 4 | 5 | To run this example you need ESP32 LyraT, ESP32-LyraTD-MSC or compatible board with speakers or headphones connected. 6 | -------------------------------------------------------------------------------- /visualgdb/keil/ImportTroubleshootingDemo/EventRecorderStub.scvd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/arm/cortexm4/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_catalog_arm_cortexm4__ 9 | #define ti_catalog_arm_cortexm4__ 10 | 11 | 12 | 13 | #endif /* ti_catalog_arm_cortexm4__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/platforms/simplelink/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_platforms_simplelink__ 9 | #define ti_platforms_simplelink__ 10 | 11 | 12 | 13 | #endif /* ti_platforms_simplelink__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/intern/cmd/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_intern_cmd__ 9 | #define xdc_services_intern_cmd__ 10 | 11 | 12 | 13 | #endif /* xdc_services_intern_cmd__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/intern/gen/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_intern_gen__ 9 | #define xdc_services_intern_gen__ 10 | 11 | 12 | 13 | #endif /* xdc_services_intern_gen__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/services/intern/xsr/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef xdc_services_intern_xsr__ 9 | #define xdc_services_intern_xsr__ 10 | 11 | 12 | 13 | #endif /* xdc_services_intern_xsr__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/boards/msp432/MSP432Demo/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | int main(void) 7 | { 8 | volatile uint32_t ii; 9 | 10 | WDT_A_holdTimer(); 11 | GPIO_setAsOutputPin(GPIO_PORT_P1, GPIO_PIN0); 12 | 13 | while (1) 14 | { 15 | for(ii=0; ii < 10000; ii++); 16 | GPIO_toggleOutputOnPin(GPIO_PORT_P1, GPIO_PIN0); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Linux) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-g++.exe") 4 | SET(CMAKE_SYSROOT "$ENV{TOOLCHAIN_ROOT}/arm-linux-gnueabihf/sysroot") 5 | 6 | if(EXISTS "$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 7 | include("$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 8 | endif() 9 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/LEDBlink/blink.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause 5 | */ 6 | 7 | #include "pico/stdlib.h" 8 | 9 | int main() { 10 | const uint LED_PIN = 25; 11 | gpio_init(LED_PIN); 12 | gpio_set_dir(LED_PIN, GPIO_OUT); 13 | while (true) { 14 | gpio_put(LED_PIN, 1); 15 | sleep_ms(250); 16 | gpio_put(LED_PIN, 0); 17 | sleep_ms(250); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /visualgdb/Linux/SymbolManagementDemo/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Linux) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-g++.exe") 4 | SET(CMAKE_SYSROOT "$ENV{TOOLCHAIN_ROOT}/arm-linux-gnueabihf/sysroot") 5 | 6 | if(EXISTS "$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 7 | include("$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 8 | endif() 9 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Linux) 2 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe") 3 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-g++.exe") 4 | SET(CMAKE_SYSROOT "$ENV{TOOLCHAIN_ROOT}/arm-linux-gnueabihf/sysroot") 5 | 6 | if(EXISTS "$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 7 | include("$ENV{TOOLCHAIN_ROOT}/Qt/v5-CMake/Qt5Cross.cmake") 8 | endif() 9 | -------------------------------------------------------------------------------- /visualgdb/tracing/TestTracingDemo/TestTracingDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | void SysTick_Handler(void) 9 | { 10 | HAL_IncTick(); 11 | HAL_SYSTICK_IRQHandler(); 12 | } 13 | 14 | int main(void) 15 | { 16 | HAL_Init(); 17 | 18 | if (IsRunningUnitTests()) 19 | { 20 | RunAllTests(); 21 | } 22 | return 0; 23 | } 24 | -------------------------------------------------------------------------------- /visualgdb/ARM/EmbeddedCoverageDemo/EmbeddedCoverageDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | void SysTick_Handler(void) 9 | { 10 | HAL_IncTick(); 11 | HAL_SYSTICK_IRQHandler(); 12 | } 13 | 14 | int main(void) 15 | { 16 | HAL_Init(); 17 | 18 | if (IsRunningUnitTests()) 19 | { 20 | RunAllTests(); 21 | } 22 | return 0; 23 | } 24 | -------------------------------------------------------------------------------- /visualgdb/CMake/CMakeDebugger/CMakeDebugger.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if PROJECT_VERSION == 1 4 | #error Version 1 5 | #endif 6 | #if PROJECT_VERSION == 2 7 | #error Version 2 8 | #endif 9 | 10 | using namespace std; 11 | 12 | int main(int argc, char *argv[]) 13 | { 14 | char sz[] = "Hello, World!"; //Hover mouse over "sz" while debugging to see its contents 15 | cout << sz << endl; //<================= Put a breakpoint here 16 | return 0; 17 | } -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/peripherals/hdvicp2/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_catalog_peripherals_hdvicp2__ 9 | #define ti_catalog_peripherals_hdvicp2__ 10 | 11 | 12 | 13 | #endif /* ti_catalog_peripherals_hdvicp2__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32WL55/Sensor/.visualgdb/CodeExplorer/NodeFlags.dat: -------------------------------------------------------------------------------- 1 | XXNODEFLAGSAC:\tutorials\visualgdb\ARM\stm32\STM32WL55\Sensor\Core\Src\main.c 2 | -$comment.cpp.long.dash.1.7/SystemClock_Config"$comment.cpp.long.dash.1.7/LedsOff#$comment.cpp.long.dash.1.7/LedBlink,$comment.cpp.long.dash.1.7/WriteDataCallbackmainSystemClock_ConfigWriteDataCallbackLedsOffLedBlink Error_Handler -------------------------------------------------------------------------------- /visualgdb/Arduino/teensy/TeensyDemo/sketches/TeensyDemo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | const int Radius = 300; 4 | int X, Y; 5 | double Arg; 6 | 7 | void setup() 8 | { 9 | Arg = 0; 10 | } 11 | 12 | void loop() 13 | { 14 | int newX = Radius + Radius * cos(Arg); 15 | int newY = Radius - Radius * sin(Arg); 16 | 17 | Mouse.move(newX - X, newY - Y); 18 | 19 | X = newX; 20 | Y = newY; 21 | Arg += 0.01; 22 | 23 | delay(10); 24 | } 25 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/arm/peripherals/timers/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_catalog_arm_peripherals_timers__ 9 | #define ti_catalog_arm_peripherals_timers__ 10 | 11 | 12 | 13 | #endif /* ti_catalog_arm_peripherals_timers__ */ 14 | -------------------------------------------------------------------------------- /visualgdb/Linux/BasicRefactorScriptDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(BasicRefactorScriptDemo) 6 | set(LIBRARIES_FROM_REFERENCES "") 7 | 8 | add_executable(BasicRefactorScriptDemo BasicRefactorScriptDemo.cpp) 9 | target_link_libraries(BasicRefactorScriptDemo "${LIBRARIES_FROM_REFERENCES}") 10 | -------------------------------------------------------------------------------- /visualgdb/esp32/SPIFFSDemo/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config BLINK_GPIO 4 | int "Blink GPIO number" 5 | range 0 34 6 | default 5 7 | help 8 | GPIO number (IOxx) to blink on and off. 9 | 10 | Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink. 11 | 12 | GPIOs 35-39 are input-only so cannot be used as outputs. 13 | 14 | endmenu 15 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESPIDFTestDemo/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config BLINK_GPIO 4 | int "Blink GPIO number" 5 | range 0 34 6 | default 5 7 | help 8 | GPIO number (IOxx) to blink on and off. 9 | 10 | Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink. 11 | 12 | GPIOs 35-39 are input-only so cannot be used as outputs. 13 | 14 | endmenu 15 | -------------------------------------------------------------------------------- /visualgdb/ARM/legacy/SAM9G25Demo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(SAM9G25Demo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | SOURCE bsp 7 | DISABLE_GNU_EXTENSIONS) 8 | 9 | add_bsp_based_executable( 10 | NAME SAM9G25Demo 11 | GENERATE_BIN 12 | GENERATE_MAP 13 | OUTPUT_RELOCATION_RECORDS 14 | SOURCES ../../../../../SDKs/atmel-software-package/examples/usart/main.c ../../../../../SDKs/atmel-software-package/target/sam9xx5/toolchain/gnu/cstartup.S) 15 | -------------------------------------------------------------------------------- /visualgdb/Linux/GoogleMockDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(GoogleMockDemo) 6 | find_test_framework() 7 | set(LIBRARIES_FROM_REFERENCES TESTFW) 8 | add_executable(GoogleMockDemo 9 | GoogleMockDemoTests.cpp 10 | GoogleMockDemo.cpp) 11 | target_link_libraries(GoogleMockDemo "${LIBRARIES_FROM_REFERENCES}") 12 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53ApplicationCoreDemo/Kconfig: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018 Nordic Semiconductor 3 | # 4 | # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | # 6 | 7 | source "$ZEPHYR_BASE/Kconfig.zephyr" 8 | 9 | menu "Nordic LED-Button BLE GATT service sample" 10 | 11 | config BT_GATT_LBS_SECURITY_ENABLED 12 | bool "Enable security" 13 | default y 14 | select BT_SMP 15 | help 16 | "Enable BLE security for the LED-Button service" 17 | 18 | endmenu 19 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoSDKProfilerDemo/hello_usb.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause 5 | */ 6 | 7 | #include 8 | #include "pico/stdlib.h" 9 | #include 10 | 11 | int main() { 12 | stdio_init_all(); 13 | InitializeInstrumentingProfiler(); 14 | 15 | while (true) { 16 | printf("Hello, world!\n"); 17 | sleep_ms(1000); 18 | } 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /visualgdb/Arduino/ArduinoESP32Tutorial/sketches/ArduinoESP32Tutorial.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void setup() 4 | { 5 | pinMode(LED_BUILTIN, OUTPUT); 6 | Serial.begin(115200); 7 | } 8 | 9 | int g_Iter = 0; 10 | 11 | void loop() 12 | { 13 | digitalWrite(LED_BUILTIN, HIGH); 14 | delay(1000); 15 | digitalWrite(LED_BUILTIN, LOW); 16 | delay(1000); 17 | 18 | char tmp[32]; 19 | sprintf(tmp, "Iteration %d\r\n", g_Iter++); 20 | Serial.write(tmp); 21 | } 22 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/MainWindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class MainWindow; 8 | } 9 | 10 | class MainWindow : public QMainWindow 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit MainWindow(QWidget *parent = 0); 16 | ~MainWindow(); 17 | 18 | protected slots: 19 | void ButtonClicked(); 20 | 21 | private: 22 | Ui::MainWindow *ui; 23 | }; 24 | 25 | #endif // MAINWINDOW_H 26 | -------------------------------------------------------------------------------- /visualgdb/Linux/SymbolManagementDemo/SymbolManagementDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | void SharedLibraryFunction1(); 6 | void SharedLibraryFunction2(); 7 | 8 | int main(int argc, char *argv[]) 9 | { 10 | SharedLibraryFunction1(); 11 | SharedLibraryFunction2(); 12 | 13 | char sz[] = "Hello, World!"; //Hover mouse over "sz" while debugging to see its contents 14 | cout << sz << endl; //<================= Put a breakpoint here 15 | return 0; 16 | } -------------------------------------------------------------------------------- /visualgdb/Arduino/ArduinoDueDemo/sketches/ArduinoDueDemo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void setup() 4 | { 5 | pinMode(LED_BUILTIN, OUTPUT); 6 | SerialUSB.begin(115200); 7 | } 8 | 9 | int g_Iter = 0; 10 | 11 | void loop() 12 | { 13 | digitalWrite(LED_BUILTIN, HIGH); 14 | delay(1000); 15 | digitalWrite(LED_BUILTIN, LOW); 16 | delay(1000); 17 | 18 | char tmp[32]; 19 | sprintf(tmp, "Iteration %d\r\n", g_Iter++); 20 | SerialUSB.write(tmp); 21 | } 22 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/MainWindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class MainWindow; 8 | } 9 | 10 | class MainWindow : public QMainWindow 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit MainWindow(QWidget *parent = 0); 16 | ~MainWindow(); 17 | 18 | protected slots: 19 | void ButtonClicked(); 20 | 21 | private: 22 | Ui::MainWindow *ui; 23 | }; 24 | 25 | #endif // MAINWINDOW_H 26 | -------------------------------------------------------------------------------- /visualgdb/tracing/NetworkPacketTracingDemo/Inc/ethernetif.h: -------------------------------------------------------------------------------- 1 | #ifndef __ETHERNETIF_H__ 2 | #define __ETHERNETIF_H__ 3 | 4 | 5 | #include "lwip/err.h" 6 | #include "lwip/netif.h" 7 | #include "cmsis_os.h" 8 | 9 | /* Exported types ------------------------------------------------------------*/ 10 | /* Exported functions ------------------------------------------------------- */ 11 | err_t ethernetif_init(struct netif *netif); 12 | void ethernet_link_thread( void const * argument ); 13 | #endif 14 | -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Mbed OS 2 | 3 | Mbed OS is an open-source, device software platform for the Internet of Things. Contributions are an important part of the platform, and our goal is to make it as simple as possible to become a contributor. 4 | 5 | To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/mbed-os/latest/contributing/index.html). 6 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/iar/targets/arm/rts/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef iar_targets_arm_rts__ 9 | #define iar_targets_arm_rts__ 10 | 11 | 12 | /* 13 | * ======== module iar.targets.arm.rts.Settings ======== 14 | */ 15 | 16 | 17 | 18 | #endif /* iar_targets_arm_rts__ */ 19 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/MultiPlatformTest/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Generated by VisualGDB 2 | 3 | LOCAL_PATH := $(call my-dir) 4 | 5 | include $(CLEAR_VARS) 6 | LOCAL_MODULE := MultiPlatformTest 7 | LOCAL_SRC_FILES := ../MultiPlatformTest.cpp 8 | LOCAL_C_INCLUDES := 9 | LOCAL_STATIC_LIBRARIES := 10 | LOCAL_SHARED_LIBRARIES := 11 | LOCAL_LDLIBS := 12 | LOCAL_CFLAGS := 13 | LOCAL_CPPFLAGS := 14 | LOCAL_LDFLAGS := 15 | COMMON_SRC_FILES := $(LOCAL_SRC_FILES) 16 | 17 | include $(BUILD_EXECUTABLE) 18 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/NewDialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | NewDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | NewDialog 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #define BSP_MCU_R7FA2E1A92DFM 7 | #define BSP_ROM_SIZE_BYTES (131072) 8 | #define BSP_RAM_SIZE_BYTES (16384) 9 | #define BSP_DATA_FLASH_SIZE_BYTES (4096) 10 | #define BSP_PACKAGE_LQFP 11 | #define BSP_PACKAGE_PINS (64) 12 | 13 | -------------------------------------------------------------------------------- /visualgdb/keil/LEDBlink/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 4 | 5 | 6 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 7 | 8 | 9 | #define RTE_DEVICE_HAL_COMMON 10 | 11 | 12 | #define RTE_DEVICE_HAL_CORTEX 13 | 14 | 15 | #define RTE_DEVICE_HAL_GPIO 16 | 17 | 18 | #define RTE_DEVICE_HAL_PWR 19 | 20 | 21 | #define RTE_DEVICE_HAL_RCC 22 | 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/AzureRTOS/ThreadXDemo/app_threadx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "tx_api.h" 4 | 5 | #define APP_STACK_SIZE 512 6 | #define APP_BYTE_POOL_SIZE (2 * 1024) 7 | 8 | #define THREAD_ONE_PRIO 10 9 | #define THREAD_ONE_PREEMPTION_THRESHOLD THREAD_ONE_PRIO 10 | 11 | #define THREAD_TWO_PRIO 10 12 | #define THREAD_TWO_PREEMPTION_THRESHOLD THREAD_TWO_PRIO 13 | 14 | #define DEFAULT_TIME_SLICE 5 15 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32WB/HRSDemo/.extSettings: -------------------------------------------------------------------------------- 1 | [ProjectFiles] 2 | HeaderPath=..\..\..\..\..\..\Drivers\BSP\P-NUCLEO-WB55.Nucleo 3 | [Others] 4 | Define= 5 | HALModule=IPCC 6 | [Groups] 7 | Application/User=../Core/Src/app_entry.c;../STM32_WPAN/App/app_ble.c;../Core/Src/main.c;../Core/Src/stm32wbxx_it.c;../Core/Src/stm32wbxx_hal_msp.c;../STM32_WPAN/App/dis_app.c;../STM32_WPAN/App/hrs_app.c; 8 | Drivers/BSP/P-NUCLEO-WB55.Nucleo=../../../../../../Drivers/BSP/P-NUCLEO-WB55.Nucleo/stm32wbxx_nucleo.c; 9 | Doc=../readme.txt; 10 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/custom.stmt: -------------------------------------------------------------------------------- 1 | register_static_library() 2 | from: register_static_library() 3 | format: register_static_library(@*) 4 | subformat: %name @sources 5 | 6 | set_static_library_cflags() 7 | from: register_static_library().file 8 | format: set_static_library_cflags(%target @*) 9 | insert: after register_static_library() 10 | 11 | register_shared_library() 12 | from: register_shared_library() 13 | format: register_shared_library(@*) 14 | groups: !NAME SOURCES !CFLAGS -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/ATCommandsDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018 Nordic Semiconductor 3 | # 4 | # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | # 6 | 7 | cmake_minimum_required(VERSION 3.8.2) 8 | 9 | include($ENV{ZEPHYR_BASE}/../nrf/cmake/boilerplate.cmake) 10 | include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) 11 | project(NONE) 12 | 13 | # NORDIC SDK APP START 14 | target_sources(app PRIVATE src/main.c) 15 | zephyr_compile_definitions(TESTMACRO) 16 | # NORDIC SDK APP END 17 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53NetworkCoreDemo/prj.conf: -------------------------------------------------------------------------------- 1 | CONFIG_LOG=y 2 | CONFIG_OPENAMP=y 3 | 4 | CONFIG_IPM=y 5 | CONFIG_IPM_NRFX=y 6 | 7 | CONFIG_IPM_MSG_CH_1_ENABLE=y 8 | CONFIG_IPM_MSG_CH_1_TX=y 9 | CONFIG_IPM_MSG_CH_0_ENABLE=y 10 | CONFIG_IPM_MSG_CH_0_RX=y 11 | 12 | CONFIG_HEAP_MEM_POOL_SIZE=8192 13 | 14 | CONFIG_MAIN_STACK_SIZE=512 15 | CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512 16 | CONFIG_BT=y 17 | CONFIG_BT_HCI_RAW=y 18 | CONFIG_BT_MAX_CONN=16 19 | CONFIG_BT_CTLR_ASSERT_HANDLER=y 20 | CONFIG_BT_HCI_RAW_RESERVE=1 21 | -------------------------------------------------------------------------------- /visualgdb/Linux/BasicRefactorScriptDemo/GenerateOutputOperator.refscript: -------------------------------------------------------------------------------- 1 | [Main] 2 | generator GenerateOutputOperator(Record class) 3 | { 4 | >template inline basic_ostream& 5 | > operator<<(basic_ostream& stream, const $class.ShortName &row) 6 | >{ 7 | > stream << "["; 8 | foreach(field in class.Fields) 9 | { 10 | >> stream << "$field.ShortName = " << row.$field.ShortName 11 | if (!field.IsLast) 12 | >> << ", " 13 | >; 14 | } 15 | > stream << "]" << endl; 16 | > return stream; 17 | >} 18 | } -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53ApplicationCoreDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018 Nordic Semiconductor 3 | # 4 | # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | # 6 | cmake_minimum_required(VERSION 3.8) 7 | 8 | include($ENV{ZEPHYR_BASE}/../nrf/cmake/boilerplate.cmake) 9 | include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) 10 | project(NONE) 11 | 12 | # NORDIC SDK APP START 13 | target_sources(app PRIVATE 14 | src/main.c 15 | ) 16 | # NORDIC SDK APP END 17 | zephyr_library_include_directories(.) 18 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryAndroidProject/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Generated by VisualGDB 2 | 3 | LOCAL_PATH := $(call my-dir) 4 | 5 | include $(CLEAR_VARS) 6 | LOCAL_MODULE := TemporaryAndroidProject 7 | #VisualGDBAndroid: AutoUpdateSourcesInNextLine 8 | LOCAL_SRC_FILES := TemporaryAndroidProject.c 9 | LOCAL_C_INCLUDES := 10 | LOCAL_STATIC_LIBRARIES := 11 | LOCAL_SHARED_LIBRARIES := 12 | LOCAL_LDLIBS := 13 | LOCAL_CFLAGS := 14 | LOCAL_CPPFLAGS := 15 | LOCAL_LDFLAGS := 16 | COMMON_SRC_FILES := $(LOCAL_SRC_FILES) 17 | include $(BUILD_EXECUTABLE) -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/arm/cortexm4/tiva/ce/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_catalog_arm_cortexm4_tiva_ce__ 9 | #define ti_catalog_arm_cortexm4_tiva_ce__ 10 | 11 | 12 | /* 13 | * ======== module ti.catalog.arm.cortexm4.tiva.ce.Boot ======== 14 | */ 15 | 16 | 17 | 18 | #endif /* ti_catalog_arm_cortexm4_tiva_ce__ */ 19 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/MainWindow.cpp: -------------------------------------------------------------------------------- 1 | #include "MainWindow.h" 2 | #include "ui_MainWindow.h" 3 | #include 4 | 5 | MainWindow::MainWindow(QWidget *parent) : 6 | QMainWindow(parent), 7 | ui(new Ui::MainWindow) 8 | { 9 | ui->setupUi(this); 10 | 11 | } 12 | 13 | MainWindow::~MainWindow() 14 | { 15 | delete ui; 16 | } 17 | 18 | void MainWindow::ButtonClicked() 19 | { 20 | QMessageBox msgBox; 21 | msgBox.setText("Hello, World!"); 22 | msgBox.setWindowTitle("VisualGDB Qt Demo"); 23 | msgBox.exec(); 24 | } 25 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* This file has been generated by VisualGDB. 2 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 3 | Use VisualGDB Project Properties window to edit these settings instead. */ 4 | 5 | #include "common_data.h" 6 | ioport_instance_ctrl_t g_ioport_ctrl; 7 | const ioport_instance_t g_ioport = 8 | { 9 | .p_api = &g_ioport_on_ioport, 10 | .p_ctrl = &g_ioport_ctrl, 11 | .p_cfg = &g_bsp_pin_cfg, 12 | }; 13 | 14 | void g_common_init(void) 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /visualgdb/keil/KeilUnitTestDemo/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define CMSIS_device_header "stm32f4xx.h" 3 | 4 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 5 | 6 | 7 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 8 | 9 | 10 | #define RTE_DEVICE_HAL_COMMON 11 | 12 | 13 | #define RTE_DEVICE_HAL_CORTEX 14 | 15 | 16 | #define RTE_DEVICE_HAL_GPIO 17 | 18 | 19 | #define RTE_DEVICE_HAL_PWR 20 | 21 | 22 | #define RTE_DEVICE_HAL_RCC 23 | 24 | -------------------------------------------------------------------------------- /visualgdb/CMake/CMakeMultiplatformDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(CMakeMultiplatformDemo) 6 | set(LIBRARIES_FROM_REFERENCES "") 7 | add_executable(CMakeMultiplatformDemo CMakeMultiplatformDemo.cpp) 8 | 9 | if(IS_WINDOWS_BUILD) 10 | target_compile_definitions(CMakeMultiplatformDemo PRIVATE IS_WINDOWS_BUILD) 11 | endif() 12 | 13 | target_link_libraries(CMakeMultiplatformDemo "${LIBRARIES_FROM_REFERENCES}") 14 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/ATCommandsDemo/prj.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019 Nordic Semiconductor ASA 3 | # 4 | # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | # 6 | # General config 7 | CONFIG_ASSERT=y 8 | 9 | # Network 10 | CONFIG_NETWORKING=y 11 | CONFIG_NET_NATIVE=n 12 | CONFIG_NET_SOCKETS=y 13 | CONFIG_NET_SOCKETS_OFFLOAD=y 14 | 15 | # BSD library 16 | CONFIG_BSD_LIBRARY=y 17 | 18 | # AT host library 19 | CONFIG_AT_HOST_LIBRARY=y 20 | CONFIG_UART_INTERRUPT_DRIVEN=y 21 | 22 | # Stacks and heaps 23 | CONFIG_MAIN_STACK_SIZE=3072 24 | CONFIG_HEAP_MEM_POOL_SIZE=16384 25 | -------------------------------------------------------------------------------- /visualgdb/Arduino/ArduinoUnoDemo/sketches/ArduinoUnoDemo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | SoftwareSerial serial(10, 11); 4 | 5 | void setup() 6 | { 7 | pinMode(LED_BUILTIN, OUTPUT); 8 | 9 | Serial.begin(57600); 10 | while (!Serial) 11 | { 12 | } 13 | } 14 | 15 | int g_Iteration; 16 | 17 | void loop() 18 | { 19 | digitalWrite(LED_BUILTIN, HIGH); 20 | delay(1000); 21 | digitalWrite(LED_BUILTIN, LOW); 22 | delay(1000); 23 | 24 | char tmp[32]; 25 | sprintf(tmp, "Iteration %d\r\n", g_Iteration++); 26 | Serial.write(tmp); 27 | } 28 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/functions.cmake: -------------------------------------------------------------------------------- 1 | function(register_static_library NAME) 2 | add_library(Static${NAME} ${ARGN}) 3 | endfunction(register_static_library) 4 | 5 | function(set_static_library_cflags NAME) 6 | target_compile_options(Static${NAME} PRIVATE ${ARGN}) 7 | endfunction(set_static_library_cflags) 8 | 9 | function(register_shared_library) 10 | cmake_parse_arguments(_ "" "NAME" "SOURCES;CFLAGS" ${ARGN}) 11 | 12 | add_library(Shared${__NAME} SHARED ${__SOURCES}) 13 | target_compile_options(Shared${__NAME} PRIVATE ${__CFLAGS}) 14 | endfunction(register_shared_library) -------------------------------------------------------------------------------- /visualgdb/ARM/AdvancedRegistersDemo/AdvancedRegistersDemo.cpp: -------------------------------------------------------------------------------- 1 | /* Some embedded simulators crash unless the file has .bss and .data sections. 2 | We provide both by introducing two dummy variables below. */ 3 | 4 | static volatile int s_SimFix1, s_SimFix2 = 1; 5 | 6 | int TestFunc(int a, int b) 7 | { 8 | volatile char sz[] = "Hello, world!"; /* Hover the mouse over sz to see its value in Visual Studio */ 9 | asm("nop"); /*Put a breakpoint here to test debugging*/ 10 | return a + b; 11 | } 12 | 13 | int main() 14 | { 15 | s_SimFix1 = s_SimFix2 = 0; 16 | 17 | TestFunc(1, 2); 18 | return 0; 19 | } -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/vector_data.cpp: -------------------------------------------------------------------------------- 1 | /* This file is not yet automatically regenerated by VisualGDB and can be edited manually. */ 2 | 3 | #include "bsp_api.h" 4 | /* Do not build these data structures if no interrupts are currently allocated because IAR will have build errors. */ 5 | #if VECTOR_DATA_IRQ_COUNT > 0 6 | BSP_DONT_REMOVE const fsp_vector_t g_vector_table[BSP_ICU_VECTOR_MAX_ENTRIES] BSP_PLACE_IN_SECTION(BSP_SECTION_APPLICATION_VECTORS) = 7 | { 8 | }; 9 | const bsp_interrupt_event_t g_interrupt_event_link_select[BSP_ICU_VECTOR_MAX_ENTRIES] = 10 | { 11 | }; 12 | #endif 13 | -------------------------------------------------------------------------------- /visualgdb/Linux/SymbolManagementDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(SymbolManagementDemo) 6 | set(LIBRARIES_FROM_REFERENCES SharedLibrary1 SharedLibrary2) 7 | add_executable(SymbolManagementDemo SymbolManagementDemo.cpp) 8 | target_link_libraries(SymbolManagementDemo "${LIBRARIES_FROM_REFERENCES}") 9 | 10 | add_library(SharedLibrary1 SHARED SharedLibrary1.cpp) 11 | 12 | add_library(SharedLibrary2 SHARED SharedLibrary2.cpp) 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Fortran module files 17 | *.mod 18 | 19 | # Compiled Static libraries 20 | *.lai 21 | *.la 22 | *.a 23 | *.lib 24 | 25 | # Executables 26 | *.exe 27 | *.out 28 | *.app 29 | *.pdb 30 | *.exp 31 | Debug 32 | Release 33 | bin 34 | obj 35 | *.vs 36 | *.user 37 | *.suo 38 | 39 | #Other 40 | CodeDB 41 | VisualGDBCache 42 | *.vc.db 43 | *.old 44 | .visualgdb 45 | TraceReports 46 | ProfilingReports 47 | build 48 | -------------------------------------------------------------------------------- /visualgdb/ARM/IAR/IARStackAndHeapDemo/IARStackAndHeapDemo/Source.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | struct mallinfo IARHeapInfo; 6 | 7 | void RecursionTest(int level) 8 | { 9 | volatile int test = 123; 10 | if (level > 0) 11 | RecursionTest(level - 1); 12 | } 13 | 14 | int main() 15 | { 16 | RecursionTest(1); 17 | RecursionTest(2); 18 | RecursionTest(3); 19 | 20 | IARHeapInfo = __iar_dlmallinfo(); 21 | void *p = malloc(123); 22 | IARHeapInfo = __iar_dlmallinfo(); 23 | free(p); 24 | IARHeapInfo = __iar_dlmallinfo(); 25 | 26 | } -------------------------------------------------------------------------------- /visualgdb/tracing/BasicTracingDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(BasicTracingDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME BasicTracingDemo 15 | SOURCES BasicTracingDemo.cpp system_stm32f4xx.c stm32f4xx_hal_conf.h 16 | GENERATE_BIN 17 | GENERATE_MAP 18 | OUTPUT_RELOCATION_RECORDS) 19 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/LEDBlink/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.12) 2 | include(${PICO_SDK_PATH}/pico_sdk_init.cmake) 3 | 4 | project(LEDBlink C CXX ASM) 5 | include(PicoSDKConfig.cmake) 6 | pico_sdk_init() 7 | 8 | set(CMAKE_C_STANDARD 11) 9 | set(CMAKE_CXX_STANDARD 17) 10 | add_executable(blink 11 | blink.c 12 | ) 13 | 14 | # Pull in our pico_stdlib which pulls in commonly used features 15 | target_link_libraries(blink pico_stdlib) 16 | 17 | # create map/bin/hex file etc. 18 | pico_add_extra_outputs(blink) 19 | 20 | # add url via pico_set_program_url 21 | # example_auto_set_url(blink) 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/common_data.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #pragma once 7 | #include 8 | #include "bsp_api.h" 9 | #include "r_ioport.h" 10 | #include "bsp_pin_cfg.h" 11 | 12 | FSP_HEADER 13 | /* IOPORT Instance */ 14 | extern const ioport_instance_t g_ioport; 15 | 16 | /* IOPORT control structure. */ 17 | extern ioport_instance_ctrl_t g_ioport_ctrl; 18 | 19 | void g_common_init(void); 20 | FSP_FOOTER 21 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/Camera/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config ESP_WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config ESP_WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "mypassword" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | config ESP_MAXIMUM_RETRY 16 | int "Maximum retry" 17 | default 5 18 | help 19 | Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent. 20 | endmenu 21 | -------------------------------------------------------------------------------- /visualgdb/tracing/FastEventTracingDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(FastEventTracingDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME FastEventTracingDemo 15 | SOURCES FastEventTracingDemo.cpp system_stm32f4xx.c stm32f4xx_hal_conf.h 16 | GENERATE_BIN 17 | GENERATE_MAP 18 | OUTPUT_RELOCATION_RECORDS) 19 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/gcc/configPkg/package/package_configPkg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-A32 6 | */ 7 | 8 | #include 9 | 10 | __FAR__ char configPkg__dummy__; 11 | 12 | #define __xdc_PKGVERS null 13 | #define __xdc_PKGNAME configPkg 14 | #define __xdc_PKGPREFIX configPkg_ 15 | 16 | #ifdef __xdc_bld_pkg_c__ 17 | #define __stringify(a) #a 18 | #define __local_include(a) __stringify(a) 19 | #include __local_include(__xdc_bld_pkg_c__) 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/GoogleTest/EmbeddedSimulationDemo.cpp: -------------------------------------------------------------------------------- 1 | #ifndef SIMULATION 2 | #include 3 | #endif 4 | #include 5 | 6 | #ifndef SIMULATION 7 | extern "C" void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | #endif 13 | 14 | #ifdef SIMULATION 15 | int main(int argc, char *argv[]) 16 | { 17 | #else 18 | int main(void) 19 | { 20 | HAL_Init(); 21 | char *pargv = (char *)""; 22 | char **argv = &pargv; 23 | int argc = 1; 24 | #endif 25 | 26 | testing::InitGoogleTest(&argc, argv); 27 | return RUN_ALL_TESTS(); 28 | } 29 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/TinyEmbeddedTest/EmbeddedSimulationDemo.cpp: -------------------------------------------------------------------------------- 1 | #ifndef SIMULATION 2 | #include 3 | #endif 4 | 5 | #include 6 | #include 7 | 8 | #ifdef __cplusplus 9 | extern "C" 10 | #endif 11 | void 12 | SysTick_Handler(void) 13 | { 14 | #ifndef SIMULATION 15 | HAL_IncTick(); 16 | HAL_SYSTICK_IRQHandler(); 17 | #endif 18 | } 19 | 20 | int main(void) 21 | { 22 | #ifndef SIMULATION 23 | HAL_Init(); 24 | #endif 25 | 26 | if (IsRunningUnitTests()) 27 | { 28 | RunAllTests(); 29 | } 30 | return 0; 31 | } 32 | -------------------------------------------------------------------------------- /visualgdb/Linux/TargetLinkLibrariesDemo/TargetLinkLibrariesDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main(int argc, char *argv[]) 7 | { 8 | int rc = sqlite3_initialize(); 9 | if (rc != SQLITE_OK) 10 | { 11 | printf("sqlite3_initialize() failed: error %d\n", rc); 12 | return 1; 13 | } 14 | sqlite3 *db = nullptr; 15 | rc = sqlite3_open("test.db", &db); 16 | if (rc != SQLITE_OK) 17 | { 18 | printf("sqlite3_open() failed: error %d\n", rc); 19 | return 1; 20 | } 21 | 22 | sqlite3_close(db); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /visualgdb/iot/maixduino/camera/MAIXDuinoCameraDemo/MAIXDuinoCameraDemo.adeps: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Platform 6 | 7 | Maixduino 8 | k210 9 | 0.3.11 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /visualgdb/mbed/MbedUnitTestDemo/main.cpp: -------------------------------------------------------------------------------- 1 | /* mbed Microcontroller Library 2 | * Copyright (c) 2019 ARM Limited 3 | * SPDX-License-Identifier: Apache-2.0 4 | */ 5 | 6 | #include "mbed.h" 7 | #include "platform/mbed_thread.h" 8 | 9 | 10 | // Blinking rate in milliseconds 11 | #define BLINKING_RATE_MS 500 12 | 13 | #ifndef MBED_TEST_MODE 14 | 15 | int main() 16 | { 17 | // Initialise the digital pin LED1 as an output 18 | DigitalOut led(LED1); 19 | 20 | while (true) { 21 | led = !led; 22 | thread_sleep_for(BLINKING_RATE_MS); 23 | } 24 | } 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/nRF53/NRF53ApplicationCoreDemo/prj.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018 Nordic Semiconductor 3 | # 4 | # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | # 6 | CONFIG_NCS_SAMPLES_DEFAULTS=y 7 | 8 | CONFIG_BT=y 9 | CONFIG_BT_PERIPHERAL=y 10 | CONFIG_BT_DEVICE_NAME="Nordic_Blinky" 11 | 12 | # Enable the LBS service 13 | CONFIG_BT_GATT_LBS=y 14 | CONFIG_BT_GATT_LBS_POLL_BUTTON=y 15 | CONFIG_DK_LIBRARY=y 16 | 17 | # Enable bonding 18 | CONFIG_BT_SETTINGS=y 19 | CONFIG_FLASH=y 20 | CONFIG_FLASH_PAGE_LAYOUT=y 21 | CONFIG_FLASH_MAP=y 22 | CONFIG_NVS=y 23 | CONFIG_SETTINGS=y 24 | 25 | CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 26 | -------------------------------------------------------------------------------- /visualgdb/tracing/TestTracingDemo/TestTracingDemo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | DemoTestGroup::MathTest 6 | 7 | E:\tutorials\visualgdb\tracing\TestTracingDemo\TestTracingDemoTests.cpp:67 8 | DemoTestGroup::MathTest 9 | Succeeded 10 | 5 11 |
12 | 13 | 14 | TestTracingDemo 15 | -------------------------------------------------------------------------------- /visualgdb/Linux/TargetLinkLibrariesDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(TargetLinkLibrariesDemo) 6 | set(LIBRARIES_FROM_REFERENCES "") 7 | add_executable(TargetLinkLibrariesDemo TargetLinkLibrariesDemo.cpp) 8 | 9 | find_library(sqlite3 libsqlite3.a) 10 | 11 | add_library(sqlite3 STATIC IMPORTED) 12 | set_target_properties(sqlite3 PROPERTIES IMPORTED_LOCATION ${sqlite3}) 13 | target_link_libraries(sqlite3 INTERFACE pthread dl) 14 | 15 | target_link_libraries(TargetLinkLibrariesDemo sqlite3) 16 | -------------------------------------------------------------------------------- /visualgdb/tracing/CircularTracingDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(CircularTracingDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F446RE 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.arm.stm32.freertos 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f446xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME CircularTracingDemo 15 | SOURCES CircularTracingDemo.c FreeRTOSConfig.h system_stm32f4xx.c stm32f4xx_hal_conf.h 16 | GENERATE_BIN 17 | GENERATE_MAP 18 | OUTPUT_RELOCATION_RECORDS) 19 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/gcc/configPkg/package/cfg/app_pem4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-A46 6 | */ 7 | 8 | #include 9 | 10 | extern int xdc_runtime_Startup__EXECFXN__C; 11 | 12 | extern int xdc_runtime_Startup__RESETFXN__C; 13 | 14 | #ifndef ti_sysbios_knl_Task__include 15 | #ifndef __nested__ 16 | #define __nested__ 17 | #include 18 | #undef __nested__ 19 | #else 20 | #include 21 | #endif 22 | #endif 23 | 24 | extern ti_sysbios_knl_Task_Struct TSK_idle; 25 | 26 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32WL55/Concentrator/.visualgdb/CodeExplorer/NodeFlags.dat: -------------------------------------------------------------------------------- 1 | XXNODEFLAGSGC:\tutorials\visualgdb\ARM\stm32\STM32WL55\Concentrator\Core\Src\main.c*$comment.cpp.long.dash.1.7/launch_CMD_task-$comment.cpp.long.dash.1.7/SystemClock_ConfigSystemClock_Config Error_Handler*$comment.cpp.long.dash.1.8/launch_CMD_taskmainTC:\tutorials\visualgdb\ARM\stm32\STM32WL55\Concentrator\SubGHz_Phy\App\demo_report.c CheckAndUpdateLengthReport_1_0_RCVReport_1_1_RCVCONC_Report_LOSTCONC_Report_MOD_OKCheckAndUpdateLength.2Report_1_1_RCV.2Report_1_0_RCV.2CONC_Report_RCV -------------------------------------------------------------------------------- /visualgdb/Linux/CMakeUnitTestDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(CMakeUnitTestDemo) 6 | find_test_framework() 7 | set(LIBRARIES_FROM_REFERENCES MathLibrary) 8 | 9 | add_executable(CMakeUnitTestDemo 10 | CMakeUnitTestDemo.cpp 11 | ) 12 | 13 | target_link_libraries(CMakeUnitTestDemo "${LIBRARIES_FROM_REFERENCES}") 14 | 15 | add_executable(TestExecutable TestExecutable.cpp) 16 | 17 | target_link_libraries(TestExecutable PRIVATE MathLibrary TESTFW) 18 | add_library(MathLibrary STATIC Sum.cpp 19 | Sum.h) 20 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/GoogleTest/EmbeddedSimulationDemoTests.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | /* 5 | This is a very basic sample demonstrating the GoogleTest framework. 6 | Read more about CppUTest syntax here: https://github.com/google/googletest 7 | */ 8 | 9 | TEST(DemoTestGroup, FailingTest) 10 | { 11 | EXPECT_EQ(1, 1); 12 | EXPECT_EQ(1, 2); //<= This test should fail here 13 | } 14 | 15 | TEST(DemoTestGroup, SuccessfulTest1) 16 | { 17 | //This test should succeed 18 | EXPECT_EQ(1, 1); 19 | } 20 | 21 | TEST(DemoTestGroup, SuccessfulTest2) 22 | { 23 | //This test should succeed; 24 | printf("Hello from Test #2"); 25 | } 26 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/gcc/configPkg/package/cfg/ti_rtos_config_pm4g.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-A32 6 | */ 7 | 8 | #include 9 | 10 | extern int xdc_runtime_Startup__EXECFXN__C; 11 | 12 | extern int xdc_runtime_Startup__RESETFXN__C; 13 | 14 | #ifndef ti_sysbios_knl_Task__include 15 | #ifndef __nested__ 16 | #define __nested__ 17 | #include 18 | #undef __nested__ 19 | #else 20 | #include 21 | #endif 22 | #endif 23 | 24 | extern ti_sysbios_knl_Task_Struct TSK_idle; 25 | 26 | -------------------------------------------------------------------------------- /visualgdb/Arduino/ArduinoESP8266Demo/sketches/ArduinoESP8266Demo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //Comment out the definition below if you don't want to use the ESP8266 gdb stub. 4 | #define ESP8266_USE_GDB_STUB 5 | 6 | #ifdef ESP8266_USE_GDB_STUB 7 | extern "C" int gdbstub_init(); 8 | extern "C" int gdbstub_do_break(); 9 | #endif 10 | 11 | void setup() 12 | { 13 | pinMode(LED_BUILTIN, OUTPUT); 14 | Serial.begin(74880); 15 | 16 | #ifdef ESP8266_USE_GDB_STUB 17 | gdbstub_init(); 18 | gdbstub_do_break(); 19 | #endif 20 | } 21 | 22 | void loop() 23 | { 24 | digitalWrite(LED_BUILTIN, HIGH); 25 | delay(1000); 26 | digitalWrite(LED_BUILTIN, LOW); 27 | delay(1000); 28 | } 29 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/TargetDefinitions/templates/target/MyCustomTarget/template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sample Custom Target Template 4 | MyCustomTarget 5 | register_static_library($$TARGETNAME$$ $$TARGETSOURCES$$) 6 | 7 | $$TARGETNAME$$.cpp 8 | 9 | 10 | $$TARGETNAME$$.h 11 | 12 | wizard.png 13 | -------------------------------------------------------------------------------- /visualgdb/Arduino/ArduinoLibraryDemo/sketches/ArduinoLibraryDemo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | void setup() 15 | { 16 | pinMode(LED_BUILTIN, OUTPUT); 17 | CRC32 crc; 18 | crc.update("Test"); 19 | uint32_t result = crc.finalize(); 20 | } 21 | 22 | void loop() 23 | { 24 | digitalWrite(LED_BUILTIN, HIGH); 25 | delay(1000); 26 | digitalWrite(LED_BUILTIN, LOW); 27 | delay(1000); 28 | } 29 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/MultiPlatformTest/MultiPlatformTest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef _WIN32 4 | #include 5 | #pragma comment (lib, "ws2_32") 6 | #else 7 | #include 8 | #endif 9 | 10 | #if defined(__arm__) && !defined(__linux__) 11 | #include 12 | 13 | static void gethostname(char *pBuffer, int size) 14 | { 15 | strncpy(pBuffer, "(embedded)", size); 16 | } 17 | #endif 18 | 19 | 20 | int main() 21 | { 22 | #ifdef _WIN32 23 | WSADATA data; 24 | WSAStartup(MAKEWORD(2, 0), &data); 25 | #endif 26 | char name[512]; 27 | gethostname(name, sizeof(name)); 28 | std::cout << "Hello, " << name << std::endl; 29 | return 0; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/http/client/logging.h: -------------------------------------------------------------------------------- 1 | #ifndef _LOGGING_H_ 2 | #define _LOGGING_H_ 3 | #if 0 4 | 5 | /* This define must precede inclusion of any xdc header files */ 6 | #define Registry_CURDESC ti_net_http_HTTPSrv_desc 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | extern Registry_Desc ti_net_http_HTTPSrv_desc; 15 | #endif 16 | #define Log_print1(...) 17 | #define Log_print2(...) 18 | #define Log_print3(...) 19 | #define Log_print4(...) 20 | #define Log_print5(...) 21 | #define Log_print6(...) 22 | #define Log_print0(...) 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedCMakeDemo/StaticLibrary.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include <../CMSIS_RTOS/cmsis_os.h> 3 | 4 | extern osThreadId LEDThread1Handle, LEDThread2Handle; 5 | 6 | /** 7 | * @brief Toggle LED1 8 | * @param thread not used 9 | * @retval None 10 | */ 11 | extern "C" void LED_Thread1(void const *argument) 12 | { 13 | (void)argument; 14 | 15 | for (;;) 16 | { 17 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_SET); 18 | osDelay(2000); 19 | 20 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_RESET); 21 | osThreadSuspend(LEDThread2Handle); 22 | osDelay(2000); 23 | 24 | osThreadResume(LEDThread2Handle); 25 | } 26 | } -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/decode_image.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include "esp_err.h" 4 | 5 | /** 6 | * @brief Decode the jpeg ``image.jpg`` embedded into the program file into pixel data. 7 | * 8 | * @param pixels A pointer to a pointer for an array of rows, which themselves are an array of pixels. 9 | * Effectively, you can get the pixel data by doing ``decode_image(&myPixels); pixelval=myPixels[ypos][xpos];`` 10 | * @return - ESP_ERR_NOT_SUPPORTED if image is malformed or a progressive jpeg file 11 | * - ESP_ERR_NO_MEM if out of memory 12 | * - ESP_OK on succesful decode 13 | */ 14 | esp_err_t decode_image(const void *buffer, size_t size, uint16_t ***pixels); -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/AzureRTOS/ThreadXDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(ThreadXDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2022.01 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.arm.stm32.threadx 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME ThreadXDemo 15 | SOURCES 16 | ThreadXDemo.c 17 | app_azure_rtos_config.h 18 | app_threadx.h 19 | tx_initialize_low_level.S 20 | tx_user.h 21 | system_stm32f4xx.c 22 | stm32f4xx_hal_conf.h 23 | GENERATE_BIN 24 | GENERATE_MAP) 25 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/decode_image.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include "esp_err.h" 4 | 5 | /** 6 | * @brief Decode the jpeg ``image.jpg`` embedded into the program file into pixel data. 7 | * 8 | * @param pixels A pointer to a pointer for an array of rows, which themselves are an array of pixels. 9 | * Effectively, you can get the pixel data by doing ``decode_image(&myPixels); pixelval=myPixels[ypos][xpos];`` 10 | * @return - ESP_ERR_NOT_SUPPORTED if image is malformed or a progressive jpeg file 11 | * - ESP_ERR_NO_MEM if out of memory 12 | * - ESP_OK on succesful decode 13 | */ 14 | esp_err_t decode_image(const void *pBuffer, size_t size, uint16_t ***pixels); -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/pretty_effect.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include "esp_err.h" 4 | 5 | 6 | /** 7 | * @brief Calculate the effect for a bunch of lines. 8 | * 9 | * @param dest Destination for the pixels. Assumed to be LINECT * 320 16-bit pixel values. 10 | * @param line Starting line of the chunk of lines. 11 | * @param frame Current frame, used for animation 12 | * @param linect Amount of lines to calculate 13 | */ 14 | void pretty_effect_calc_lines(uint16_t *dest, int line, int frame, int linect); 15 | 16 | 17 | /** 18 | * @brief Initialize the effect 19 | * 20 | * @return ESP_OK on success, an error from the jpeg decoder otherwise. 21 | */ 22 | esp_err_t pretty_effect_init(); 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/sysbios/utils/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_sysbios_utils__ 9 | #define ti_sysbios_utils__ 10 | 11 | 12 | /* 13 | * ======== module ti.sysbios.utils.Load ======== 14 | */ 15 | 16 | typedef struct ti_sysbios_utils_Load_Stat ti_sysbios_utils_Load_Stat; 17 | typedef struct ti_sysbios_utils_Load_HookContext ti_sysbios_utils_Load_HookContext; 18 | typedef struct ti_sysbios_utils_Load_Module_State ti_sysbios_utils_Load_Module_State; 19 | 20 | 21 | #endif /* ti_sysbios_utils__ */ 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/param_about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

__SL_G_S.A

4 |

__SL_G_V.A

5 |

__SL_G_V.B

6 |

__SL_G_V.C

7 |

__SL_G_V.D

8 |

__SL_G_N.A

9 |

__SL_G_N.B

10 |

__SL_G_N.C

11 |

__SL_G_N.D

12 |

__SL_G_N.E

13 |

__SL_G_N.F

14 |

__SL_G_N.G

15 |

__SL_G_W.A

16 |

__SL_G_W.B

17 | 18 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/MainWindow.cpp: -------------------------------------------------------------------------------- 1 | #include "MainWindow.h" 2 | #include "ui_MainWindow.h" 3 | #include 4 | #include 5 | 6 | MainWindow::MainWindow(QWidget *parent) : 7 | QMainWindow(parent), 8 | ui(new Ui::MainWindow) 9 | { 10 | ui->setupUi(this); 11 | 12 | QWidget *frame = new QWidget(this); 13 | frame->setGeometry(32, 32, 128, 128); 14 | frame->setStyleSheet("background-image: url(:test.png)"); 15 | } 16 | 17 | MainWindow::~MainWindow() 18 | { 19 | delete ui; 20 | } 21 | 22 | void MainWindow::ButtonClicked() 23 | { 24 | QMessageBox msgBox; 25 | msgBox.setText("Hello, World!"); 26 | msgBox.setWindowTitle("VisualGDB Qt Demo"); 27 | msgBox.exec(); 28 | } 29 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/pretty_effect.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include "esp_err.h" 4 | 5 | 6 | /** 7 | * @brief Calculate the effect for a bunch of lines. 8 | * 9 | * @param dest Destination for the pixels. Assumed to be LINECT * 320 16-bit pixel values. 10 | * @param line Starting line of the chunk of lines. 11 | * @param frame Current frame, used for animation 12 | * @param linect Amount of lines to calculate 13 | */ 14 | void pretty_effect_calc_lines(uint16_t *dest, int line, int frame, int linect); 15 | 16 | 17 | /** 18 | * @brief Initialize the effect 19 | * 20 | * @return ESP_OK on success, an error from the jpeg decoder otherwise. 21 | */ 22 | esp_err_t pretty_effect_init(); 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(MultiTargetDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.06 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | 11 | add_bsp_based_executable(NAME MultiTargetDemo 12 | SOURCES MultiTargetDemo.cpp 13 | GENERATE_BIN 14 | GENERATE_MAP) 15 | 16 | target_link_libraries(MultiTargetDemo PRIVATE OSAL DemoLibrary) 17 | 18 | if(SIMULATION) 19 | add_subdirectory(OSAL/Win32) 20 | else() 21 | add_subdirectory(OSAL/STM32) 22 | endif() 23 | 24 | 25 | add_subdirectory(libs) 26 | -------------------------------------------------------------------------------- /visualgdb/tracing/FreeRTOSTracingDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(FreeRTOSTracingDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F446RE 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.arm.stm32.freertos 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME FreeRTOSTracingDemo 15 | SOURCES 16 | FreeRTOSTracingDemo.c 17 | FreeRTOSConfig.h 18 | system_stm32f4xx.c 19 | stm32f4xx_hal_conf.h 20 | UARTFunctions.c 21 | UARTFunctions.h 22 | GENERATE_BIN 23 | GENERATE_MAP 24 | OUTPUT_RELOCATION_RECORDS) 25 | -------------------------------------------------------------------------------- /visualgdb/profiler/linux/coverage/CodeCoverageDemo.vgdbsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.unittest.googletest 4 | TestFramework 5 | 6 | 7 | 8 | com.sysprogs.testsettings.timeout 9 | 1800 10 | 11 | 12 | com.sysprogs.tests.shortnames 13 | 0 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /visualgdb/Linux/Qt5CMakeDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(Qt5CMakeDemo) 6 | set(LIBRARIES_FROM_REFERENCES "") 7 | 8 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 9 | set(CMAKE_AUTOMOC ON) 10 | set(CMAKE_AUTOUIC ON) 11 | find_package(Qt5 COMPONENTS Core Widgets REQUIRED) 12 | 13 | qt_add_resources(ALL_RESOURCES test.qrc) 14 | 15 | add_executable(Qt5CMakeDemo 16 | Qt5CMakeDemo.cpp 17 | MainWindow.cpp 18 | MainWindow.ui 19 | ${ALL_RESOURCES} 20 | NewDialog.cpp 21 | NewDialog.h 22 | NewDialog.ui) 23 | 24 | target_link_libraries(Qt5CMakeDemo Qt5::Widgets "${LIBRARIES_FROM_REFERENCES}") 25 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/QtProjectItems.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /visualgdb/tracing/TestTracingDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(TestTracingDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F446RE 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.embedded.semihosting_and_profiler 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f446xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | find_test_framework( 14 | ID com.sysprogs.unittest.tinyembtest) 15 | 16 | add_bsp_based_executable( 17 | NAME TestTracingDemo 18 | SOURCES TestTracingDemoTests.cpp TestTracingDemo.cpp system_stm32f4xx.c stm32f4xx_hal_conf.h 19 | GENERATE_BIN 20 | GENERATE_MAP 21 | BUILD_UNIT_TESTS 22 | OUTPUT_RELOCATION_RECORDS) 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/LinuxPlatformDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(LinuxPlatformDemo LANGUAGES C CXX ASM) 4 | 5 | if(USE_LINUX) 6 | 7 | add_executable(LinuxPlatformDemo LinuxPlatformDemo.cpp) 8 | target_compile_definitions(LinuxPlatformDemo PRIVATE USE_LINUX) 9 | 10 | else() 11 | 12 | find_bsp(ID com.sysprogs.arm.stm32 13 | VERSION 2020.10 14 | MCU STM32H747XI 15 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.embedded.semihosting_and_profiler 16 | HWREGISTER_LIST_FILE STM32H7xxxx/DeviceDefinitions/stm32h747xx.xml) 17 | 18 | add_bsp_based_executable(NAME LinuxPlatformDemo 19 | SOURCES LinuxPlatformDemo.cpp system_stm32h7xx.c stm32h7xx_hal_conf.h 20 | GENERATE_BIN 21 | GENERATE_MAP) 22 | 23 | endif() -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PIODebuggerDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.12) 2 | include(${PICO_SDK_PATH}/pico_sdk_init.cmake) 3 | 4 | project(PIODebuggerDemo C CXX ASM) 5 | pico_sdk_init() 6 | 7 | if(DEFINED SYSPROGS_FRAMEWORKS_FILE) 8 | include(${SYSPROGS_FRAMEWORKS_FILE}) 9 | endif() 10 | set(CMAKE_C_STANDARD 11) 11 | set(CMAKE_CXX_STANDARD 17) 12 | add_executable(hello_pio) 13 | 14 | pico_generate_pio_header(hello_pio ${CMAKE_CURRENT_LIST_DIR}/hello.pio) 15 | 16 | target_sources(hello_pio PRIVATE hello.c) 17 | 18 | target_link_libraries(hello_pio PRIVATE 19 | pico_stdlib 20 | hardware_pio 21 | Profiler) 22 | 23 | pico_add_extra_outputs(hello_pio) 24 | 25 | # add url via pico_set_program_url 26 | # example_auto_set_url(hello_pio) 27 | -------------------------------------------------------------------------------- /visualgdb/CMake/CMakeDebugger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | project(CMakeDebugger) 6 | 7 | function(set_version_from_file target) 8 | file(READ "version.txt" VERSION_FROM_FILE) 9 | 10 | if (${VERSION_FROM_FILE} LESS "2") 11 | message(FATAL_ERROR "Invalid version") 12 | endif() 13 | 14 | target_compile_definitions(${target} PRIVATE PROJECT_VERSION=${VERSION_FROM_FILE}) 15 | endfunction() 16 | 17 | set(LIBRARIES_FROM_REFERENCES "") 18 | add_executable(CMakeDebugger CMakeDebugger.cpp) 19 | set_version_from_file(CMakeDebugger) 20 | 21 | target_link_libraries(CMakeDebugger "${LIBRARIES_FROM_REFERENCES}") 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/bsp_clock_cfg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #define BSP_CFG_CLOCKS_SECURE (0) 7 | #define BSP_CFG_CLOCKS_OVERRIDE (0) 8 | #define BSP_CFG_XTAL_HZ (20000000) 9 | #define BSP_CFG_HOCO_FREQUENCY (4) 10 | #define BSP_CFG_CLOCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_HOCO) 11 | #define BSP_CFG_ICLK_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) 12 | #define BSP_CFG_PCLKB_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_2) 13 | #define BSP_CFG_PCLKD_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) 14 | #define BSP_CFG_CLKOUT_SOURCE (BSP_CLOCKS_CLOCK_DISABLED) 15 | #define BSP_CFG_CLKOUT_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) 16 | -------------------------------------------------------------------------------- /visualgdb/keil/InstrumentingProfilerDemo/ProfilingReports/RTXDemo.profilersettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 0 7 | 0 8 | 0 9 | 10 | Instrumentation 11 | 12 | C:\tutorials\visualgdb\keil\InstrumentingProfilerDemo\ProfilingReports\RTXDemo 13 | 11/19/2018 9:58:53 PM 14 | -------------------------------------------------------------------------------- /visualgdb/tracing/USBReplyComparison/USBCDCDemo_New/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(USBCDCDemo_New LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.arm.stm32.usbdev 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | add_bsp_based_executable( 14 | NAME USBCDCDemo_New 15 | SOURCES 16 | USBCDCDemo_New.cpp 17 | usbd_cdc_if.c 18 | usbd_cdc_if.h 19 | usbd_conf.c 20 | usbd_conf.h 21 | usbd_desc.c 22 | usbd_desc.h 23 | system_stm32f4xx.c 24 | stm32f4xx_hal_conf.h 25 | GENERATE_BIN 26 | GENERATE_MAP 27 | OUTPUT_RELOCATION_RECORDS) 28 | -------------------------------------------------------------------------------- /visualgdb/ARM/AdvancedRegistersDemo/cp15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CP15 registers 6 | 7 | 8 | IDCODE 9 | 32 10 | 11 | mon cp15 0,0,0,0 12 | Reading CP15 register \([^=]+ = (0x[0-9a-fA-F]+)\) 13 | mon cp15 0,0,0,0 = 0x{0:x} 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /visualgdb/Linux/PrecompiledHeaderDemo/PrecompiledHeaderDemo-Debug.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Run this file to build the project outside of the IDE. 3 | REM WARNING: if using a different machine, copy the .rsp files together with this script. 4 | echo pch.h 5 | C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe @"VisualGDB/Debug/PCH/pch.h-CXX.gcc.rsp" || exit 1 6 | echo PrecompiledHeaderDemo.cpp 7 | C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe @"VisualGDB/Debug/PrecompiledHeaderDemo.gcc.rsp" || exit 1 8 | echo Source.cpp 9 | C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe @"VisualGDB/Debug/Source.gcc.rsp" || exit 1 10 | echo Linking VisualGDB/Debug/PrecompiledHeaderDemo... 11 | C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe @VisualGDB/Debug/PrecompiledHeaderDemo.link.rsp || exit 1 12 | -------------------------------------------------------------------------------- /visualgdb/ARM/ITMTraceDemo/ITMTraceDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "nrf_delay.h" 9 | #include "nrf_gpio.h" 10 | #include "boards.h" 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | const uint8_t leds_list[LEDS_NUMBER] = LEDS_LIST; 17 | 18 | extern "C" int _write(int fd, char *pBuffer, int size) 19 | { 20 | for (int i = 0; i < size; i++) 21 | ITM_SendChar(pBuffer[i]); 22 | return size; 23 | } 24 | 25 | int main(void) 26 | { 27 | LEDS_CONFIGURE(LEDS_MASK); 28 | 29 | for (;;) 30 | { 31 | for (int i = 0; i < LEDS_NUMBER; i++) 32 | { 33 | printf("LED #%d\r\n", i); 34 | LEDS_INVERT(1 << leds_list[i]); 35 | nrf_delay_ms(500); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /visualgdb/iot/NRFConnect/ATCommandsDemo/src/main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018 Nordic Semiconductor ASA 3 | * 4 | * SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic 5 | */ 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | /**@brief Recoverable BSD library error. */ 13 | void bsd_recoverable_error_handler(uint32_t err) 14 | { 15 | printk("bsdlib recoverable error: %u\n", err); 16 | } 17 | 18 | void __attribute__((noinline)) SysprogsWaitForDebugger() 19 | { 20 | static volatile int SysprogsDebuggerAttached = 0; 21 | while (!SysprogsDebuggerAttached) 22 | { 23 | } 24 | } 25 | 26 | void main(void) 27 | { 28 | SysprogsWaitForDebugger(); 29 | printk("The AT host sample started (with reset fix)\n"); 30 | } 31 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32UnitTestTutorial/STM32UnitTestTutorial.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | void SysTick_Handler(void) 9 | { 10 | HAL_IncTick(); 11 | HAL_SYSTICK_IRQHandler(); 12 | } 13 | 14 | void MeasureSinTime() 15 | { 16 | volatile double arg = 0.1; 17 | CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; 18 | DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; 19 | DWT->CYCCNT = 0; 20 | volatile float result = sinf(arg); 21 | volatile unsigned cycles = DWT->CYCCNT; 22 | asm("nop"); 23 | } 24 | 25 | int main(void) 26 | { 27 | HAL_Init(); 28 | 29 | MeasureSinTime(); 30 | 31 | if (IsRunningUnitTests()) 32 | { 33 | RunAllTests(); 34 | } 35 | return 0; 36 | } 37 | -------------------------------------------------------------------------------- /visualgdb/ARM/AdvancedRegistersDemo/mcu.props: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /visualgdb/ARM/UnitTests/EmbeddedCppUTestDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(EmbeddedCppUTestDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.embedded.semihosting_and_profiler 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | DISABLE_GNU_EXTENSIONS) 12 | 13 | find_test_framework( 14 | ID com.sysprogs.unittest.CppUTest) 15 | 16 | add_bsp_based_executable( 17 | NAME EmbeddedCppUTestDemo 18 | SOURCES 19 | EmbeddedCppUTestDemoTests.cpp 20 | EmbeddedCppUTestDemo.cpp 21 | system_stm32f4xx.c 22 | stm32f4xx_hal_conf.h 23 | GENERATE_BIN 24 | GENERATE_MAP 25 | BUILD_UNIT_TESTS 26 | OUTPUT_RELOCATION_RECORDS) 27 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/StandaloneFrameworkDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(StandaloneFrameworkDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.10 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | import_framework(NAME USBFramework PATH USBFramework) 11 | 12 | add_bsp_based_executable(NAME StandaloneFrameworkDemo 13 | SOURCES 14 | StandaloneFrameworkDemo.cpp 15 | usbd_cdc_if.c 16 | usbd_cdc_if.h 17 | usbd_conf.c 18 | usbd_conf.h 19 | usbd_desc.c 20 | usbd_desc.h 21 | system_stm32f4xx.c 22 | stm32f4xx_hal_conf.h 23 | GENERATE_BIN 24 | GENERATE_MAP) 25 | target_link_libraries(StandaloneFrameworkDemo PRIVATE USBFramework) 26 | -------------------------------------------------------------------------------- /visualgdb/ARM/UnitTests/EmbeddedCppUTestDemo/EmbeddedCppUTestDemoTests.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | /* 5 | This is a very basic sample demonstrating the CppUTest framework. 6 | Read more about CppUTest syntax here: https://cpputest.github.io/manual.html 7 | */ 8 | 9 | TEST_GROUP(DemoTestGroup) 10 | { 11 | }; 12 | 13 | TEST(DemoTestGroup, FailingTest) 14 | { 15 | LONGS_EQUAL(1, 1); 16 | LONGS_EQUAL(1, 2); //<= This test should fail here 17 | } 18 | 19 | TEST(DemoTestGroup, SuccessfulTest1) 20 | { 21 | //This test should succeed 22 | UtestShell::getCurrent()->print("Hello from Test #1", __FILE__, __LINE__); 23 | LONGS_EQUAL(1, 1); 24 | } 25 | 26 | TEST(DemoTestGroup, SuccessfulTest2) 27 | { 28 | //This test should succeed; 29 | printf("Hello from Test #2"); 30 | } 31 | -------------------------------------------------------------------------------- /visualgdb/ARM/LiveWatch/LiveRTOSDemo/SemaphoreTests.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | static xSemaphoreHandle s_DemoSemaphore; 5 | 6 | static void SenderThreadBody() 7 | { 8 | for (;;) 9 | { 10 | for (int i = 0; i < 5; i++) 11 | xSemaphoreGive(s_DemoSemaphore); 12 | 13 | osDelay(10000); 14 | } 15 | } 16 | 17 | static void ReceiverThreadBody() 18 | { 19 | for (;;) 20 | { 21 | xSemaphoreTake(s_DemoSemaphore, portMAX_DELAY); 22 | osDelay(1000); 23 | } 24 | } 25 | 26 | void StartSemaphoreTestThreads() 27 | { 28 | TaskHandle_t task; 29 | 30 | s_DemoSemaphore = xSemaphoreCreateCounting(100, 0); 31 | 32 | xTaskCreate(SenderThreadBody, "Sender", 128, 0, 1, &task); 33 | xTaskCreate(ReceiverThreadBody, "Receiver", 128, 0, 1, &task); 34 | } -------------------------------------------------------------------------------- /visualgdb/ARM/UnitTests/EmbeddedCppUTestDemo/EmbeddedCppUTestDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | class MyClass 14 | { 15 | private: 16 | int ThisField; 17 | MyClass *Next; 18 | 19 | public: 20 | void Test(int byValue, int *byPointer, int &byRef, int &&byMove, int byArr[4]); 21 | MyClass(int x, int y, int z) 22 | { 23 | } 24 | }; 25 | 26 | class Child : MyClass 27 | { 28 | public: 29 | Child() 30 | : MyClass(1, 2, 3) 31 | { 32 | } 33 | }; 34 | 35 | int main(void) 36 | { 37 | HAL_Init(); 38 | 39 | const char *p = ""; 40 | CommandLineTestRunner::RunAllTests(0, &p); 41 | return 0; 42 | } 43 | -------------------------------------------------------------------------------- /visualgdb/ARM/BootloaderDemo/MainApplication/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOC_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_12; 21 | 22 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 23 | GPIO_InitStructure.Speed = GPIO_SPEED_HIGH; 24 | GPIO_InitStructure.Pull = GPIO_NOPULL; 25 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 30 | HAL_Delay(500); 31 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 32 | HAL_Delay(500); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/BootloaderDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(BootloaderDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.10 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | 11 | add_bsp_based_executable(NAME BootloaderDemo 12 | SOURCES BootloaderDemo.cpp system_stm32f4xx.c stm32f4xx_hal_conf.h 13 | GENERATE_BIN 14 | GENERATE_MAP 15 | LINKER_SCRIPT bootloader.lds) 16 | 17 | add_bsp_based_executable(NAME TargetApplication 18 | SOURCES TargetApplication.cpp system_stm32f4xx.c 19 | GENERATE_BIN 20 | GENERATE_MAP 21 | LINKER_SCRIPT application.lds) 22 | 23 | embed_target_output(FROM_TARGET BootloaderDemo IN_TARGETS TargetApplication SECTION .bootldr) 24 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/stm32mp1-blink/stm32mp1-blink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOH_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_7; 21 | 22 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 23 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 24 | GPIO_InitStructure.Pull = GPIO_NOPULL; 25 | HAL_GPIO_Init(GPIOH, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin(GPIOH, GPIO_PIN_7, GPIO_PIN_SET); 30 | HAL_Delay(500); 31 | HAL_GPIO_WritePin(GPIOH, GPIO_PIN_7, GPIO_PIN_RESET); 32 | HAL_Delay(500); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/Linux/QtMSBuild-Cross/QtMSBuild-Cross.pro: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Feel free to modify any flags you want. 3 | #Visit http://visualgdb.com/makefiles for more details. 4 | 5 | QT += core gui 6 | 7 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 8 | 9 | TARGET = QtMSBuild-Cross 10 | TEMPLATE = app 11 | 12 | #By default the following file lists are updated automatically by VisualGDB. 13 | 14 | SOURCES += QtMSBuild-Cross.cpp MainWindow.cpp 15 | HEADERS += MainWindow.h 16 | FORMS += MainWindow.ui 17 | RESOURCES += 18 | 19 | include($$lower($$join(CONFIGNAME,,,.pro))) 20 | 21 | QMAKE_CFLAGS += $$COMMONFLAGS 22 | QMAKE_CXXFLAGS += $$COMMONFLAGS 23 | QMAKE_LFLAGS += $$COMMONFLAGS 24 | 25 | OBJECTS_DIR = $$DESTDIR 26 | MOC_DIR = $$DESTDIR 27 | RCC_DIR = $$DESTDIR 28 | UI_DIR = $$DESTDIR 29 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoW/FreeRTOSDemo/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #if !NO_SYS 11 | #define TCPIP_THREAD_STACKSIZE 2048 12 | #define DEFAULT_THREAD_STACKSIZE 1024 13 | #define DEFAULT_RAW_RECVMBOX_SIZE 8 14 | #define TCPIP_MBOX_SIZE 8 15 | 16 | #define DEFAULT_UDP_RECVMBOX_SIZE TCPIP_MBOX_SIZE 17 | #define DEFAULT_TCP_RECVMBOX_SIZE TCPIP_MBOX_SIZE 18 | #define DEFAULT_ACCEPTMBOX_SIZE TCPIP_MBOX_SIZE 19 | 20 | #define LWIP_TIMEVAL_PRIVATE 0 21 | 22 | // not necessary, can be done either way 23 | #define LWIP_TCPIP_CORE_LOCKING_INPUT 1 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /visualgdb/ARM/RemoteEmbeddedDebugDemo/RemoteEmbeddedDebugDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOC_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_12; 21 | 22 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 23 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 24 | GPIO_InitStructure.Pull = GPIO_NOPULL; 25 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 30 | HAL_Delay(500); 31 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 32 | HAL_Delay(500); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/esp32/ESP32LCDDemo/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | choice LCD_TYPE 4 | prompt "LCD module type" 5 | default LCD_TYPE_AUTO 6 | help 7 | The type of LCD on the evaluation board. 8 | 9 | config LCD_TYPE_AUTO 10 | bool "Auto detect" 11 | config LCD_TYPE_ST7789V 12 | bool "ST7789V (WROVER Kit v2 or v3)" 13 | config LCD_TYPE_ILI9341 14 | bool "ILI9341 (WROVER Kit v1 or DevKitJ v1)" 15 | endchoice 16 | 17 | config LCD_OVERCLOCK 18 | bool 19 | prompt "Run LCD at higher clock speed than allowed" 20 | default "n" 21 | help 22 | The ILI9341 and ST7789 specify that the maximum clock speed for the SPI interface is 10MHz. However, 23 | in practice the driver chips work fine with a higher clock rate, and using that gives a better framerate. 24 | Select this to try using the out-of-spec clock rate. 25 | 26 | endmenu 27 | -------------------------------------------------------------------------------- /visualgdb/ARM/boards/imxrt/IMXRTDemo/imxrt1050.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP i.MX RT1050 family (Arm Cortex-M7 @ 600 MHz) 3 | # 4 | 5 | if { [info exists CHIPNAME] } { 6 | set _CHIPNAME $CHIPNAME 7 | } else { 8 | set _CHIPNAME imxrt1050 9 | } 10 | 11 | source [find target/swj-dp.tcl] 12 | 13 | if { [info exists CPU_SWD_TAPID] } { 14 | set _CPU_SWD_TAPID $CPU_SWD_TAPID 15 | } else { 16 | set _CPU_SWD_TAPID 0x0bd11477 17 | } 18 | 19 | if { [using_jtag] } { 20 | set _CPU_TAPID 0 21 | } else { 22 | set _CPU_TAPID $_CPU_SWD_TAPID 23 | } 24 | 25 | swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID 26 | 27 | set _TARGETNAME $_CHIPNAME.cpu 28 | dap create $_CHIPNAME.dap -chain-position $_TARGETNAME 29 | target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap 30 | 31 | 32 | if { ![using_hla] } { 33 | cortex_m reset_config sysresetreq 34 | } 35 | 36 | adapter_khz 1000 -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32MultiCoreDemo/LEDBlink-CM4/LEDBlink-CM4.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOI_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_13; 21 | 22 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 23 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 24 | GPIO_InitStructure.Pull = GPIO_NOPULL; 25 | HAL_GPIO_Init(GPIOI, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin(GPIOI, GPIO_PIN_13, GPIO_PIN_SET); 30 | HAL_Delay(500); 31 | HAL_GPIO_WritePin(GPIOI, GPIO_PIN_13, GPIO_PIN_RESET); 32 | HAL_Delay(500); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/esp32/CameraToLCDDemo/LCD/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | choice LCD_TYPE 4 | prompt "LCD module type" 5 | default LCD_TYPE_AUTO 6 | help 7 | The type of LCD on the evaluation board. 8 | 9 | config LCD_TYPE_AUTO 10 | bool "Auto detect" 11 | config LCD_TYPE_ST7789V 12 | bool "ST7789V (WROVER Kit v2 or v3)" 13 | config LCD_TYPE_ILI9341 14 | bool "ILI9341 (WROVER Kit v1 or DevKitJ v1)" 15 | endchoice 16 | 17 | config LCD_OVERCLOCK 18 | bool 19 | prompt "Run LCD at higher clock speed than allowed" 20 | default "n" 21 | help 22 | The ILI9341 and ST7789 specify that the maximum clock speed for the SPI interface is 10MHz. However, 23 | in practice the driver chips work fine with a higher clock rate, and using that gives a better framerate. 24 | Select this to try using the out-of-spec clock rate. 25 | 26 | endmenu 27 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryEmbeddedProject/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOD_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_12; 21 | 22 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 23 | GPIO_InitStructure.Speed = GPIO_SPEED_HIGH; 24 | GPIO_InitStructure.Pull = GPIO_NOPULL; 25 | HAL_GPIO_Init(GPIOD, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_SET); 30 | HAL_Delay(500); 31 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_RESET); 32 | HAL_Delay(500); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/BootloaderDemo/TargetApplication.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | extern "C" void SysTick_Handler(void) 5 | { 6 | HAL_IncTick(); 7 | HAL_SYSTICK_IRQHandler(); 8 | } 9 | 10 | int main(void) 11 | { 12 | HAL_Init(); 13 | 14 | __GPIOC_CLK_ENABLE(); 15 | GPIO_InitTypeDef GPIO_InitStructure; 16 | 17 | GPIO_InitStructure.Pin = GPIO_PIN_12; 18 | 19 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 20 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 21 | GPIO_InitStructure.Pull = GPIO_NOPULL; 22 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 23 | 24 | for (;;) 25 | { 26 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 27 | HAL_Delay(500); 28 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 29 | HAL_Delay(500); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /visualgdb/tracing/USBReplyComparison/USBCDCDemo_Old/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(USBCDCDemo_Old LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 3.6 8 | MCU STM32F407VG 9 | CONFIGURATION com.sysprogs.bspoptions.arm.floatmode=-mfloat-abi=hard com.sysprogs.mcuoptions.ignore_startup_file= 10 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.usbdev 11 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 12 | DISABLE_GNU_EXTENSIONS) 13 | 14 | add_bsp_based_executable( 15 | NAME USBCDCDemo_Old 16 | SOURCES 17 | USBCDCDemo_Old.cpp 18 | usbd_cdc_if.c 19 | usbd_cdc_if.h 20 | usbd_conf.c 21 | usbd_conf.h 22 | usbd_desc.c 23 | usbd_desc.h 24 | system_stm32f4xx.c 25 | stm32f4xx_hal_conf.h 26 | GENERATE_BIN 27 | GENERATE_MAP 28 | OUTPUT_RELOCATION_RECORDS) 29 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/GoogleTest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(EmbeddedSimulationDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.10 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.embedded.semihosting_and_profiler 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | 11 | find_test_framework(ID com.sysprogs.unittest.googletest) 12 | 13 | add_bsp_based_executable(NAME EmbeddedSimulationDemo 14 | SOURCES 15 | EmbeddedSimulationDemoTests.cpp 16 | EmbeddedSimulationDemo.cpp 17 | system_stm32f4xx.c 18 | stm32f4xx_hal_conf.h 19 | GENERATE_BIN 20 | GENERATE_MAP 21 | BUILD_UNIT_TESTS) 22 | 23 | if (SIMULATION) 24 | set_source_files_properties(system_stm32f4xx.c PROPERTIES HEADER_FILE_ONLY TRUE) 25 | endif() -------------------------------------------------------------------------------- /visualgdb/ARM/LiveCoverageDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(LiveCoverageDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.10 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.arm.stm32.usbdev 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | 11 | bsp_configure_code_coverage(ENABLED 1 12 | EXCLUDE_TARGETS BSP_com.sysprogs.arm.stm32.hal 13 | EXCLUDE_FILES ${BSP_ROOT}/STM32F4xxxx/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c) 14 | 15 | add_bsp_based_executable(NAME LiveCoverageDemo 16 | SOURCES 17 | LiveCoverageDemo.cpp 18 | usbd_cdc_if.c 19 | usbd_cdc_if.h 20 | usbd_conf.c 21 | usbd_conf.h 22 | usbd_desc.c 23 | usbd_desc.h 24 | system_stm32f4xx.c 25 | stm32f4xx_hal_conf.h 26 | GENERATE_BIN 27 | GENERATE_MAP) 28 | -------------------------------------------------------------------------------- /visualgdb/profiler/linux/coverage/TestFramework.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | $(TESTFW_BASE)/com.sysprogs.unittest.googletest 4 | TestFramework 5 | 6 | 7 | 8 | TestFramework/include;TestFramework;TestFramework/Platforms;%(ClCompile.AdditionalIncludeDirectories) 9 | 10 | 11 | 12 | 13 | pthread;%(Link.AdditionalLibraryNames) 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /visualgdb/iot/maixduino/camera/MAIXDuinoCameraDemo/sketches/selfie.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | SPIClass spi_(SPI0); // MUST be SPI0 for Maix series on board LCD 5 | Sipeed_ST7789 lcd(320, 240, spi_); 6 | 7 | Sipeed_OV2640 camera(FRAMESIZE_QVGA, PIXFORMAT_RGB565); 8 | 9 | 10 | void setup() 11 | { 12 | Serial.begin(115200); 13 | lcd.begin(15000000, COLOR_RED); 14 | if(!camera.begin()) 15 | Serial.printf("camera init fail\n"); 16 | else 17 | Serial.printf("camera init success\n"); 18 | camera.run(true); 19 | } 20 | 21 | int g_FrameCounter; 22 | 23 | void loop() 24 | { 25 | g_FrameCounter++; 26 | uint8_t *img = camera.snapshot(); 27 | if (img == nullptr || img == 0) 28 | Serial.printf("snap fail\n"); 29 | else 30 | lcd.drawImage(0, 0, camera.width(), camera.height(), (uint16_t *)img); 31 | } 32 | 33 | -------------------------------------------------------------------------------- /visualgdb/ARM/MemoryExplorer/DifferenceAnalysisTutorial/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void SysTick_Handler(void) 8 | { 9 | HAL_IncTick(); 10 | HAL_SYSTICK_IRQHandler(); 11 | } 12 | 13 | int main(void) 14 | { 15 | HAL_Init(); 16 | 17 | __GPIOC_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_12; 21 | 22 | 23 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 24 | GPIO_InitStructure.Speed = GPIO_SPEED_HIGH; 25 | GPIO_InitStructure.Pull = GPIO_NOPULL; 26 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 27 | 28 | for (int i = 0;;i++) 29 | { 30 | printf("Iteration %d\n", i); 31 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 32 | HAL_Delay(500); 33 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 34 | HAL_Delay(500); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /visualgdb/iot/CC3220/CC3220Demo/uart_term.h: -------------------------------------------------------------------------------- 1 | #ifndef __UART_IF_H__ 2 | #define __UART_IF_H__ 3 | 4 | // TI-Driver includes 5 | #include 6 | #include "Board.h" 7 | 8 | //Defines 9 | 10 | #define UART_PRINT Report 11 | #define DBG_PRINT Report 12 | #define ERR_PRINT(x) Report("Error [%d] at line [%d] in function [%s] \n\r",\ 13 | x, __LINE__, \ 14 | __FUNCTION__) 15 | 16 | /* API */ 17 | 18 | UART_Handle InitTerm(void); 19 | 20 | int Report(const char *pcFormat, 21 | ...); 22 | 23 | int TrimSpace(char * pcInput); 24 | 25 | int GetCmd(char *pcBuffer, 26 | unsigned int uiBufLen); 27 | 28 | void Message(const char *str); 29 | 30 | void ClearTerm(); 31 | 32 | char getch(void); 33 | 34 | void putch(char ch); 35 | 36 | #endif // __UART_IF_H__ 37 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/runtime/Registry__prologue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008 Texas Instruments. All rights reserved. 3 | * This program and the accompanying materials are made available under the 4 | * terms of the Eclipse Public License v1.0 and Eclipse Distribution License 5 | * v. 1.0 which accompanies this distribution. The Eclipse Public License is 6 | * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse 7 | * Distribution License is available at 8 | * http://www.eclipse.org/org/documents/edl-v10.php. 9 | * 10 | * Contributors: 11 | * Texas Instruments - initial implementation 12 | * */ 13 | 14 | /* 15 | * ======== Registry__prologue.h ======== 16 | */ 17 | /* nothing needed */ 18 | /* 19 | * @(#) xdc.runtime; 2, 1, 0,0; 12-9-2015 17:36:48; /db/ztree/library/trees/xdc/xdc-B06/src/packages/ 20 | */ 21 | 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/SemihostingDemo/SemihostingDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | void SysTick_Handler(void) 9 | { 10 | HAL_IncTick(); 11 | HAL_SYSTICK_IRQHandler(); 12 | } 13 | 14 | int main(void) 15 | { 16 | HAL_Init(); 17 | 18 | __GPIOD_CLK_ENABLE(); 19 | GPIO_InitTypeDef GPIO_InitStructure; 20 | 21 | GPIO_InitStructure.Pin = GPIO_PIN_12; 22 | 23 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 24 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 25 | GPIO_InitStructure.Pull = GPIO_NOPULL; 26 | HAL_GPIO_Init(GPIOD, &GPIO_InitStructure); 27 | 28 | for (int i = 0;; i++) 29 | { 30 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_SET); 31 | printf("LED ON (%d)\n", i); 32 | HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12, GPIO_PIN_RESET); 33 | printf("LED OFF (%d)\n", i); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /visualgdb/CMake/CustomCMakeTargetDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Generated by VisualGDB project wizard. 2 | #Note: VisualGDB will automatically update this file when you add new sources to the project. 3 | 4 | cmake_minimum_required(VERSION 2.7) 5 | include(functions.cmake) 6 | 7 | project(CustomCMakeTargetDemo) 8 | set(LIBRARIES_FROM_REFERENCES "") 9 | add_executable(CustomCMakeTargetDemo CustomCMakeTargetDemo.cpp) 10 | target_link_libraries(CustomCMakeTargetDemo "${LIBRARIES_FROM_REFERENCES}") 11 | 12 | 13 | register_static_library(Library1 Library1.cpp Source.cpp) 14 | register_static_library(Library2 Library2.cpp) 15 | set_static_library_cflags(Library2 -DTESTMACRO) 16 | set_static_library_cflags(Library1 -DTESTMACRO -gdwarf-4 -Wall -Wextra -Wpedantic) 17 | 18 | register_shared_library(NAME Library3 19 | SOURCES Library3.cpp Source.cpp 20 | CFLAGS "-DTESTMACRO -IMyIncludeDir") 21 | register_shared_library(NAME Library4 SOURCES Library4.cpp) 22 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/xdc/runtime/Types__prologue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008 Texas Instruments. All rights reserved. 3 | * This program and the accompanying materials are made available under the 4 | * terms of the Eclipse Public License v1.0 and Eclipse Distribution License 5 | * v. 1.0 which accompanies this distribution. The Eclipse Public License is 6 | * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse 7 | * Distribution License is available at 8 | * http://www.eclipse.org/org/documents/edl-v10.php. 9 | * 10 | * Contributors: 11 | * Texas Instruments - initial implementation 12 | * */ 13 | /* 14 | * ======== Types__prologue.h ======== 15 | * Hand crafted definitions for Types.xdc 16 | */ 17 | /* 18 | * @(#) xdc.runtime; 2, 1, 0,0; 12-9-2015 17:36:49; /db/ztree/library/trees/xdc/xdc-B06/src/packages/ 19 | */ 20 | 21 | -------------------------------------------------------------------------------- /visualgdb/ARM/IAR/IARStackAndHeapDemo/IARStackAndHeapDemo/MCU.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.toolchains.nongnu.iar.arm 4 | 5 | 8.x 6 | 1 7 | 8 | IAR:arm/ST 9 | 8.4 10 | STM32F407VG 11 | $$SYS:TOOLCHAIN_ROOT$$/arm/config/debugger/ST/STM32F407.svd 12 | 13 | 14 | 15 | Device-specific files 16 | mcu.mak 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32MultiCoreDemo/LEDBlink-CM7/LEDBlink-CM7.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #ifdef __cplusplus 5 | extern "C" 6 | #endif 7 | void 8 | SysTick_Handler(void) 9 | { 10 | HAL_IncTick(); 11 | HAL_SYSTICK_IRQHandler(); 12 | } 13 | 14 | int main(void) 15 | { 16 | HAL_Init(); 17 | 18 | __GPIOI_CLK_ENABLE(); 19 | GPIO_InitTypeDef GPIO_InitStructure; 20 | 21 | GPIO_InitStructure.Pin = GPIO_PIN_12; 22 | 23 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 24 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 25 | GPIO_InitStructure.Pull = GPIO_NOPULL; 26 | HAL_GPIO_Init(GPIOI, &GPIO_InitStructure); 27 | 28 | for (;;) 29 | { 30 | HAL_GPIO_WritePin(GPIOI, GPIO_PIN_12, GPIO_PIN_SET); 31 | HAL_Delay(500); 32 | HAL_GPIO_WritePin(GPIOI, GPIO_PIN_12, GPIO_PIN_RESET); 33 | HAL_Delay(500); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/MultiTargetDemo/MultiTargetDemo/OSAL/STM32/OSAL.cpp: -------------------------------------------------------------------------------- 1 | #include "OSAL.h" 2 | #include 3 | #include 4 | 5 | extern "C" void SysTick_Handler(void) 6 | { 7 | HAL_IncTick(); 8 | HAL_SYSTICK_IRQHandler(); 9 | } 10 | 11 | void led_init() 12 | { 13 | HAL_Init(); 14 | 15 | __GPIOC_CLK_ENABLE(); 16 | GPIO_InitTypeDef GPIO_InitStructure; 17 | 18 | GPIO_InitStructure.Pin = GPIO_PIN_12; 19 | 20 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 21 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 22 | GPIO_InitStructure.Pull = GPIO_NOPULL; 23 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 24 | } 25 | 26 | void led_on() 27 | { 28 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 29 | } 30 | 31 | void led_off() 32 | { 33 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 34 | } 35 | 36 | void delay(int msec) 37 | { 38 | HAL_Delay(msec); 39 | } 40 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/httpserver/html/httpserver_session/templates/CC3xxx_token.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CC31xx Simple Link device 5 | 1 6 | 0 7 | 0 8 | 9 | 10 | 0x0 11 | 0x0 12 | 0x0 13 | 14 | 15 | 0x0 16 | 0x0 17 | 0x0 18 | 19 | 20 | 0x0 21 | 0x0 22 | 0x0 23 | 24 | 25 | 0x0 26 | 0x0 27 | 0x0 28 | 29 | 30 | -------------------------------------------------------------------------------- /visualgdb/tracing/USBOptimizationDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(USBOptimizationDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F746NG 9 | FRAMEWORKS com.sysprogs.arm.stm32.usbdev com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 10 | HWREGISTER_LIST_FILE STM32F7xxxx/DeviceDefinitions/stm32f746xx.xml 11 | DISABLE_GNU_EXTENSIONS 12 | FWCONFIGURATION com.sysprogs.bspoptions.stm32.usb.speed=HS) 13 | 14 | if (${CMAKE_BUILD_TYPE} STREQUAL RELWITHDEBINFO) 15 | bsp_compile_flags(-flto -O3) 16 | endif() 17 | 18 | add_bsp_based_executable( 19 | NAME USBOptimizationDemo 20 | SOURCES 21 | USBOptimizationDemo.cpp 22 | usbd_cdc_if.c 23 | usbd_cdc_if.h 24 | usbd_conf.c 25 | usbd_conf.h 26 | usbd_desc.c 27 | usbd_desc.h 28 | system_stm32f7xx.c 29 | stm32f7xx_hal_conf.h 30 | GENERATE_BIN 31 | GENERATE_MAP 32 | OUTPUT_RELOCATION_RECORDS) 33 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedCMakeDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(EmbeddedCMakeDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp( 6 | ID com.sysprogs.arm.stm32 7 | VERSION 2023.07 8 | MCU STM32F407VG 9 | FRAMEWORKS com.sysprogs.arm.stm32.freertos com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll 10 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 11 | FWCONFIGURATION com.sysprogs.bspoptions.stm32.freertos.heap=heap_1) 12 | 13 | add_bsp_based_executable(NAME EmbeddedCMakeDemo 14 | SOURCES 15 | EmbeddedCMakeDemo.c 16 | FreeRTOSConfig.h 17 | system_stm32f4xx.c 18 | stm32f4xx_hal_conf.h 19 | heap_1.c 20 | GENERATE_BIN 21 | GENERATE_MAP) 22 | 23 | target_link_libraries(EmbeddedCMakeDemo PRIVATE StaticLibrary) 24 | add_bsp_based_library(NAME StaticLibrary 25 | SOURCES StaticLibrary.cpp) 26 | set_source_files_properties(${BSP_ROOT}/FreeRTOS/Source/portable/MemMang/heap_1.c PROPERTIES HEADER_FILE_ONLY TRUE) 27 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/ImportedProjectDemo/stm32.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.visualgdb.arm-eabi 4 | 5 | 9.3.1 6 | 9.2.0 7 | 2 8 | 9 | com.sysprogs.arm.stm32 10 | 2020.06 11 | STM32F407VG 12 | STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml 13 | 14 | 15 | 16 | Device-specific files 17 | stm32.mak 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /visualgdb/keil/RTXRealTimeWatch/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define CMSIS_device_header "stm32f4xx.h" 3 | 4 | #define RTE_CMSIS_RTOS /* CMSIS-RTOS */ 5 | #define RTE_CMSIS_RTOS_RTX5 /* CMSIS-RTOS Keil RTX5 */ 6 | 7 | 8 | #define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */ 9 | #define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */ 10 | #define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */ 11 | 12 | 13 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 14 | 15 | 16 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 17 | 18 | 19 | #define RTE_DEVICE_HAL_COMMON 20 | 21 | 22 | #define RTE_DEVICE_HAL_CORTEX 23 | 24 | 25 | #define RTE_DEVICE_HAL_GPIO 26 | 27 | 28 | #define RTE_DEVICE_HAL_PWR 29 | 30 | 31 | #define RTE_DEVICE_HAL_RCC 32 | 33 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/catalog/peripherals/hdvicp2/hdvicp2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 by Texas Instruments and others. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Texas Instruments - initial implementation 10 | * 11 | * */ 12 | 13 | #ifndef ti_catalog_peripherals_hdvicp2_hdvicp2_h 14 | #define ti_catalog_peripherals_hdvicp2_hdvicp2_h 15 | 16 | #include 17 | 18 | typedef volatile struct ti_catalog_peripherals_hdvicp2_Hdvicp2Regs { 19 | } ti_catalog_peripherals_hdvicp2_Hdvicp2Regs; 20 | 21 | #endif 22 | /* 23 | * @(#) ti.catalog.peripherals.hdvicp2; 1,0,0,; 12-4-2015 21:40:23; /db/ztree/library/trees/platform/platform-q16/src/ 24 | */ 25 | 26 | -------------------------------------------------------------------------------- /visualgdb/keil/RTXDemo/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define CMSIS_device_header "stm32f4xx_hal.h" 4 | 5 | #define RTE_CMSIS_RTOS /* CMSIS-RTOS */ 6 | #define RTE_CMSIS_RTOS_RTX5 /* CMSIS-RTOS Keil RTX5 */ 7 | 8 | 9 | #define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */ 10 | #define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */ 11 | #define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */ 12 | 13 | 14 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 15 | 16 | 17 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 18 | 19 | 20 | #define RTE_DEVICE_HAL_COMMON 21 | 22 | 23 | #define RTE_DEVICE_HAL_CORTEX 24 | 25 | 26 | #define RTE_DEVICE_HAL_GPIO 27 | 28 | 29 | #define RTE_DEVICE_HAL_PWR 30 | 31 | 32 | #define RTE_DEVICE_HAL_RCC 33 | 34 | -------------------------------------------------------------------------------- /visualgdb/keil/InstrumentingProfilerDemo/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define CMSIS_device_header "stm32f4xx.h" 3 | 4 | #define RTE_CMSIS_RTOS /* CMSIS-RTOS */ 5 | #define RTE_CMSIS_RTOS_RTX5 /* CMSIS-RTOS Keil RTX5 */ 6 | 7 | 8 | #define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */ 9 | #define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */ 10 | #define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */ 11 | 12 | 13 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 14 | 15 | 16 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 17 | 18 | 19 | #define RTE_DEVICE_HAL_COMMON 20 | 21 | 22 | #define RTE_DEVICE_HAL_CORTEX 23 | 24 | 25 | #define RTE_DEVICE_HAL_GPIO 26 | 27 | 28 | #define RTE_DEVICE_HAL_PWR 29 | 30 | 31 | #define RTE_DEVICE_HAL_RCC 32 | 33 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/http/server/sha1.h: -------------------------------------------------------------------------------- 1 | //***************************************************************************** 2 | // Copyright (C) 2014 Texas Instruments Incorporated 3 | // 4 | // All rights reserved. Property of Texas Instruments Incorporated. 5 | // Restricted rights to use, duplicate or disclose this code are 6 | // granted through contract. 7 | // The program may not be used without the written permission of 8 | // Texas Instruments Incorporated or against the terms and conditions 9 | // stipulated in the agreement under which this program has been supplied, 10 | // and under no circumstances can it be used with non-TI connectivity device. 11 | // 12 | //***************************************************************************** 13 | 14 | /** 15 | * @defgroup sha1 16 | * 17 | * @{ 18 | */ 19 | 20 | int SHA1(unsigned char *puiInData,unsigned char *puiOutData); 21 | void ConvertToBase64(char *pcOutStr, const char *pccInStr, int iLen); 22 | 23 | /// @} 24 | -------------------------------------------------------------------------------- /visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/hal_data.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* This file has been generated by VisualGDB. 3 | DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN. 4 | Use VisualGDB Project Properties window to edit these settings instead. */ 5 | 6 | #pragma once 7 | #include 8 | #include "bsp_api.h" 9 | #include "common_data.h" 10 | #include "r_adc.h" 11 | #include "r_adc_api.h" 12 | 13 | FSP_HEADER 14 | /** ADC on ADC Instance. */ 15 | extern const adc_instance_t g_adc0; 16 | 17 | /** Access the ADC instance using these structures when calling API functions directly (::p_api is not used). */ 18 | extern adc_instance_ctrl_t g_adc0_ctrl; 19 | extern const adc_cfg_t g_adc0_cfg; 20 | extern const adc_channel_cfg_t g_adc0_channel_cfg; 21 | 22 | #ifndef NULL 23 | void NULL(adc_callback_args_t * p_args); 24 | #endif 25 | 26 | #ifndef NULL 27 | #define ADC_DMAC_CHANNELS_PER_BLOCK_NULL 0 28 | #endif 29 | 30 | void hal_entry(void); 31 | void g_hal_init(void); 32 | FSP_FOOTER 33 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/http/client/ssnull.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include 6 | 7 | #include 8 | 9 | static ssize_t cprecv(void * ctx, int s, void * buf, size_t len, int flags); 10 | static ssize_t cpencrypt(const void * ctx, uint8_t * cbuf, const uint8_t * buf, size_t len); 11 | static void cpdelete(void * ctx); 12 | 13 | Ssock_SecureFxns SSNullFxns = { 14 | cpencrypt, 15 | NULL, 16 | NULL, 17 | cprecv, 18 | cpdelete, 19 | 0 20 | }; 21 | 22 | void * SSNull_create(const uint8_t * ekey, const uint8_t * dkey) 23 | { 24 | return (void *)1; 25 | } 26 | 27 | static void cpdelete(void * ctx) 28 | { 29 | } 30 | 31 | static ssize_t cprecv(void * ctx, int s, void * buf, size_t len, int flags) 32 | { 33 | return recv(s, buf, len, 0); 34 | } 35 | 36 | static ssize_t cpencrypt(const void * ctx, uint8_t * cbuf, const uint8_t * buf, size_t len) 37 | { 38 | memcpy(cbuf, buf, len); 39 | 40 | return (len); 41 | } 42 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/SDK/ti_rtos/ti_rtos_config/ewarm/iar/tirtos/ti/sysbios/package/package.defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Do not modify this file; it is automatically 3 | * generated and any modifications will be overwritten. 4 | * 5 | * @(#) xdc-B06 6 | */ 7 | 8 | #ifndef ti_sysbios__ 9 | #define ti_sysbios__ 10 | 11 | 12 | /* 13 | * ======== module ti.sysbios.BIOS ======== 14 | */ 15 | 16 | typedef struct ti_sysbios_BIOS_intSize ti_sysbios_BIOS_intSize; 17 | typedef struct ti_sysbios_BIOS_Module_State ti_sysbios_BIOS_Module_State; 18 | 19 | /* 20 | * ======== module ti.sysbios.BIOS_RtsGateProxy ======== 21 | */ 22 | 23 | typedef struct ti_sysbios_BIOS_RtsGateProxy_Fxns__ ti_sysbios_BIOS_RtsGateProxy_Fxns__; 24 | typedef const ti_sysbios_BIOS_RtsGateProxy_Fxns__* ti_sysbios_BIOS_RtsGateProxy_Module; 25 | typedef struct ti_sysbios_BIOS_RtsGateProxy_Params ti_sysbios_BIOS_RtsGateProxy_Params; 26 | typedef struct xdc_runtime_IGateProvider___Object *ti_sysbios_BIOS_RtsGateProxy_Handle; 27 | 28 | 29 | #endif /* ti_sysbios__ */ 30 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoSDKProfilerDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.12) 2 | include(${PICO_SDK_PATH}/pico_sdk_init.cmake) 3 | 4 | project(PicoSDKProfilerDemo C CXX ASM) 5 | pico_sdk_init() 6 | 7 | if(DEFINED SYSPROGS_FRAMEWORKS_FILE) 8 | include(${SYSPROGS_FRAMEWORKS_FILE}) 9 | endif() 10 | set(CMAKE_C_STANDARD 11) 11 | set(CMAKE_CXX_STANDARD 17) 12 | if (TARGET tinyusb_device) 13 | add_executable(hello_usb 14 | hello_usb.c 15 | ) 16 | 17 | # pull in common dependencies 18 | target_link_libraries(hello_usb pico_stdlib Profiler) 19 | 20 | # enable usb output, disable uart output 21 | pico_enable_stdio_usb(hello_usb 1) 22 | pico_enable_stdio_uart(hello_usb 0) 23 | 24 | # create map/bin/hex/uf2 file etc. 25 | pico_add_extra_outputs(hello_usb) 26 | 27 | # add url via pico_set_program_url 28 | # example_auto_set_url(hello_usb) 29 | elseif(PICO_ON_DEVICE) 30 | message(WARNING "not building hello_usb because TinyUSB submodule is not initialized in the SDK") 31 | endif() 32 | -------------------------------------------------------------------------------- /visualkernel/raspberry/LEDBlink/LEDBlink.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29728.190 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{A3061986-218F-483F-A495-4FD7C6A4062B}") = "LEDBlink", "LEDBlink.vkrnlproj", "{AE1B4616-F8FA-481F-9390-829F922AF01C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Default|VisualKernel = Default|VisualKernel 11 | EndGlobalSection 12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 13 | {AE1B4616-F8FA-481F-9390-829F922AF01C}.Default|VisualKernel.ActiveCfg = Default|VisualKernel 14 | {AE1B4616-F8FA-481F-9390-829F922AF01C}.Default|VisualKernel.Build.0 = Default|VisualKernel 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityGlobals) = postSolution 20 | SolutionGuid = {FD98403F-8D28-411A-945D-F017401CAA0A} 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/http/server/strlib.h: -------------------------------------------------------------------------------- 1 | //***************************************************************************** 2 | // Copyright (C) 2014 Texas Instruments Incorporated 3 | // 4 | // All rights reserved. Property of Texas Instruments Incorporated. 5 | // Restricted rights to use, duplicate or disclose this code are 6 | // granted through contract. 7 | // The program may not be used without the written permission of 8 | // Texas Instruments Incorporated or against the terms and conditions 9 | // stipulated in the agreement under which this program has been supplied, 10 | // and under no circumstances can it be used with non-TI connectivity device. 11 | // 12 | //***************************************************************************** 13 | 14 | char *itoa(int n, char *s, int b); 15 | char *strrev(char *str); 16 | void WordToBytes(void *pBuff, void const*pvalue, unsigned int NumBytes); 17 | int String_utoa(int uNum, char *pString); 18 | int iptostring(unsigned char *ip, char *ipstring); 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/blinky/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Blinky 4 | false 5 | 6 | 7 | 8 | 9 | 10 | Common files 11 | 12 | 13 | 14 | 15 | 16 | 17 | com.sysprogs.arm.ti.cc3200.sdk 18 | com.sysprogs.arm.ti.cc3200.common 19 | 20 | 21 | 22 | $$SYS:BSP_ROOT$$/SDK/third_party/FreeRTOS/source/FreeRTOSConfig.h 23 | false 24 | 25 | 26 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/LinuxPlatformDemo/LinuxPlatformDemo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifndef USE_LINUX 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" 8 | #endif 9 | void SysTick_Handler(void) 10 | { 11 | HAL_IncTick(); 12 | HAL_SYSTICK_IRQHandler(); 13 | } 14 | 15 | #endif 16 | 17 | int main(void) 18 | { 19 | #ifndef USE_LINUX 20 | HAL_Init(); 21 | 22 | __GPIOC_CLK_ENABLE(); 23 | GPIO_InitTypeDef GPIO_InitStructure; 24 | 25 | GPIO_InitStructure.Pin = GPIO_PIN_12; 26 | 27 | GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 28 | GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; 29 | GPIO_InitStructure.Pull = GPIO_NOPULL; 30 | HAL_GPIO_Init(GPIOC, &GPIO_InitStructure); 31 | #endif 32 | 33 | for (int i = 0;;i++) 34 | { 35 | printf("Iteration %d\n", i); 36 | 37 | #ifndef USE_LINUX 38 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_SET); 39 | HAL_Delay(500); 40 | HAL_GPIO_WritePin(GPIOC, GPIO_PIN_12, GPIO_PIN_RESET); 41 | HAL_Delay(500); 42 | #endif 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/EmbeddedSimulationDemo/TinyEmbeddedTest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | project(EmbeddedSimulationDemo LANGUAGES C CXX ASM) 4 | 5 | find_bsp(ID com.sysprogs.arm.stm32 6 | VERSION 2020.06 7 | MCU STM32F407VG 8 | FRAMEWORKS com.sysprogs.arm.stm32.hal com.sysprogs.arm.stm32.ll com.sysprogs.embedded.semihosting_and_profiler 9 | HWREGISTER_LIST_FILE STM32F4xxxx/DeviceDefinitions/stm32f407xx.xml) 10 | 11 | find_test_framework(ID com.sysprogs.unittest.tinyembtest) 12 | 13 | add_bsp_based_executable(NAME EmbeddedSimulationDemo 14 | SOURCES 15 | EmbeddedSimulationDemoTests.cpp 16 | EmbeddedSimulationDemo.cpp 17 | system_stm32f4xx.c 18 | stm32f4xx_hal_conf.h 19 | GENERATE_BIN 20 | GENERATE_MAP 21 | BUILD_UNIT_TESTS) 22 | 23 | if(SIMULATION) 24 | set_source_files_properties(system_stm32f4xx.c PROPERTIES HEADER_FILE_ONLY TRUE) 25 | endif() 26 | 27 | add_bsp_based_executable(NAME AnotherTestExecutable 28 | SOURCES AnotherTestExecutable.cpp 29 | GENERATE_BIN 30 | GENERATE_MAP 31 | BUILD_UNIT_TESTS 32 | EXCLUDED_PLATFORMS Hardware) 33 | -------------------------------------------------------------------------------- /visualgdb/keil/SamplingProfilerDemo/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define CMSIS_device_header "stm32f4xx.h" 3 | 4 | #define RTE_CMSIS_RTOS /* CMSIS-RTOS */ 5 | #define RTE_CMSIS_RTOS_RTX5 /* CMSIS-RTOS Keil RTX5 */ 6 | 7 | 8 | #define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */ 9 | #define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */ 10 | #define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */ 11 | 12 | 13 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 14 | 15 | 16 | #define RTE_DEVICE_FRAMEWORK_CLASSIC 17 | 18 | 19 | #define RTE_DEVICE_HAL_COMMON 20 | 21 | 22 | #define RTE_DEVICE_HAL_CORTEX 23 | 24 | 25 | #define RTE_DEVICE_HAL_DMA 26 | 27 | 28 | #define RTE_DEVICE_HAL_GPIO 29 | 30 | 31 | #define RTE_DEVICE_HAL_PWR 32 | 33 | 34 | #define RTE_DEVICE_HAL_RCC 35 | 36 | 37 | #define RTE_DEVICE_HAL_TIM 38 | 39 | -------------------------------------------------------------------------------- /visualgdb/ARM/nxp/MultiCore/LPC55S69_Core0/incbin.S: -------------------------------------------------------------------------------- 1 | ;/* 2 | ; * Copyright 2016 Freescale Semiconductor, Inc. 3 | ; * Copyright 2016 - 2017 NXP 4 | ; * 5 | ; * All rights reserved. 6 | ; * 7 | ; * SPDX-License-Identifier: BSD-3-Clause 8 | ; */ 9 | 10 | #if defined(__CC_ARM) 11 | 12 | AREA M0CODE, DATA, READONLY, PREINIT_ARRAY, ALIGN=3 13 | EXPORT m0_image_start 14 | EXPORT m0_image_end 15 | m0_image_start 16 | INCBIN core1_image.bin 17 | m0_image_end 18 | END 19 | 20 | #elif defined(__GNUC__) || defined(__ARMCC_VERSION) 21 | 22 | .section .m0code , "ax" @progbits @preinit_array 23 | .global m0_image_start 24 | .type m0_image_start, %object 25 | .align 4 26 | m0_image_start: 27 | .incbin "../LPC55S69_Core1/VisualGDB/Debug/LPC55S69_Core1.bin" 28 | .global m0_image_end 29 | .type m0_image_end, %object 30 | m0_image_end: 31 | .global m0_image_size 32 | .type m0_image_size, %object 33 | .align 4 34 | m0_image_size: 35 | .int m0_image_end - m0_image_start 36 | .end 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /visualgdb/ARM/CMake/ImportedProjectDemo/ExistingProject/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | 3 | SET(TOOLCHAIN_ROOT c:/SysGCC/arm-eabi) 4 | 5 | SET(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-none-eabi-gcc.exe") 6 | SET(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-none-eabi-g++.exe") 7 | SET(CMAKE_ASM_COMPILER "${TOOLCHAIN_ROOT}/bin/arm-none-eabi-g++.exe") 8 | SET(CMAKE_AR "${TOOLCHAIN_ROOT}/bin/arm-none-eabi-ar.exe") 9 | SET(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 10 | SET(CMAKE_SYSTEM_NAME Generic) 11 | 12 | project(StandaloneSTM32Test LANGUAGES C CXX ASM) 13 | 14 | add_executable( StandaloneSTM32Test StandaloneSTM32Test.cpp startup_stm32f407xx.c) 15 | 16 | target_compile_options(StandaloneSTM32Test PRIVATE --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard) 17 | target_link_libraries(StandaloneSTM32Test PRIVATE --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -T${CMAKE_CURRENT_SOURCE_DIR}/STM32F407VG_flash.lds) 18 | target_compile_definitions(StandaloneSTM32Test PRIVATE ARM_MATH_CM4 flash_layout STM32F407VG) -------------------------------------------------------------------------------- /visualgdb/profiler/linux/coverage/CodeCoverageDemo.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CodeCoverageDemo", "CodeCoverageDemo.vcxproj", "{CC600464-2D9A-4E08-8046-D66F7A3BC35F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|VisualGDB = Debug|VisualGDB 11 | Release|VisualGDB = Release|VisualGDB 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {CC600464-2D9A-4E08-8046-D66F7A3BC35F}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {CC600464-2D9A-4E08-8046-D66F7A3BC35F}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {CC600464-2D9A-4E08-8046-D66F7A3BC35F}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {CC600464-2D9A-4E08-8046-D66F7A3BC35F}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PicoW/FreeRTOSDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.12) 2 | include(${PICO_SDK_PATH}/pico_sdk_init.cmake) 3 | 4 | project(FreeRTOSDemo C CXX ASM) 5 | include(PicoSDKConfig.cmake) 6 | add_subdirectory("${PICO_SDK_PATH}/FreeRTOS/portable/ThirdParty/GCC/RP2040" FREERTOS_KERNEL) 7 | pico_sdk_init() 8 | 9 | if(DEFINED SYSPROGS_FRAMEWORKS_FILE) 10 | include(${SYSPROGS_FRAMEWORKS_FILE}) 11 | endif() 12 | SET(CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1) 13 | 14 | set(CMAKE_C_STANDARD 11) 15 | set(CMAKE_CXX_STANDARD 17) 16 | 17 | add_executable(tcp_demo 18 | tcp_demo.c) 19 | 20 | target_compile_definitions(tcp_demo PRIVATE 21 | WIFI_SSID=\"${WIFI_SSID}\" 22 | WIFI_PASSWORD=\"${WIFI_PASSWORD}\" 23 | NO_SYS=0) 24 | target_include_directories(tcp_demo PRIVATE 25 | ${CMAKE_CURRENT_LIST_DIR} 26 | ${CMAKE_CURRENT_LIST_DIR}/../..) 27 | 28 | target_link_libraries(tcp_demo 29 | pico_cyw43_arch_lwip_sys_freertos 30 | pico_stdlib 31 | pico_lwip_iperf 32 | FreeRTOS-Kernel-Heap4 33 | Profiler) 34 | 35 | pico_add_extra_outputs(tcp_demo) 36 | -------------------------------------------------------------------------------- /visualgdb/ARM/PicoSDK/PIODebuggerDemo/hello.pio: -------------------------------------------------------------------------------- 1 | ; 2 | ; Copyright (c) 2020 Raspberry Pi (Trading) Ltd. 3 | ; 4 | ; SPDX-License-Identifier: BSD-3-Clause 5 | ; 6 | 7 | .program hello 8 | 9 | ; Repeatedly get one word of data from the TX FIFO, stalling when the FIFO is 10 | ; empty. Write the least significant bit to the OUT pin group. 11 | 12 | loop: 13 | mov x, pins 14 | pull 15 | out pins, 1 16 | jmp loop 17 | 18 | % c-sdk { 19 | static inline void hello_program_init(PIO pio, uint sm, uint offset, uint pin) { 20 | pio_sm_config c = hello_program_get_default_config(offset); 21 | 22 | // Map the state machine's OUT pin group to one pin, namely the `pin` 23 | // parameter to this function. 24 | sm_config_set_out_pins(&c, pin, 1); 25 | // Set this pin's GPIO function (connect PIO to the pad) 26 | pio_gpio_init(pio, pin); 27 | // Set the pin direction to output at the PIO 28 | pio_sm_set_consecutive_pindirs(pio, sm, pin, 1, true); 29 | 30 | // Load our configuration, and jump to the start of the program 31 | pio_sm_init(pio, sm, offset, &c); 32 | // Set the state machine running 33 | } 34 | %} 35 | -------------------------------------------------------------------------------- /visualgdb/ARM/stm32/STM32UnitTestTutorial/STM32UnitTestTutorialTests.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | TEST_GROUP(TimingTests) 7 | { 8 | void setup() 9 | { 10 | CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; 11 | DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; 12 | } 13 | }; 14 | 15 | class TimingValidator 16 | { 17 | private: 18 | unsigned m_Timeout; 19 | 20 | public: 21 | TimingValidator(unsigned timeout) 22 | : m_Timeout(timeout) 23 | { 24 | DWT->CYCCNT = 0; 25 | } 26 | 27 | ~TimingValidator() 28 | { 29 | unsigned cycles = DWT->CYCCNT; 30 | if (cycles < m_Timeout) 31 | printf("Timing OK: %d < %d\n", cycles, m_Timeout); 32 | else 33 | { 34 | char sz[64]; 35 | sprintf(sz, "Timing violation: %d > %d", cycles, m_Timeout); 36 | FAIL(sz); 37 | } 38 | } 39 | }; 40 | 41 | TEST(TimingTests, sinf) 42 | { 43 | volatile double arg = 0.1; 44 | TimingValidator validator(120); 45 | volatile float result = sinf(arg); 46 | } -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryLinuxProject/TemporaryLinuxProject.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TemporaryLinuxProject", "TemporaryLinuxProject.vcxproj", "{270FE77B-CCB7-49B9-8938-18D85BD56B2B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|VisualGDB = Debug|VisualGDB 11 | Release|VisualGDB = Release|VisualGDB 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {270FE77B-CCB7-49B9-8938-18D85BD56B2B}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {270FE77B-CCB7-49B9-8938-18D85BD56B2B}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {270FE77B-CCB7-49B9-8938-18D85BD56B2B}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {270FE77B-CCB7-49B9-8938-18D85BD56B2B}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryEmbeddedProject/TemporaryEmbeddedProject.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TemporaryEmbeddedProject", "TemporaryEmbeddedProject.vcxproj", "{F03F4977-B6E6-45D6-B9CF-0F17E37B64CC}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|VisualGDB = Debug|VisualGDB 11 | Release|VisualGDB = Release|VisualGDB 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F03F4977-B6E6-45D6-B9CF-0F17E37B64CC}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {F03F4977-B6E6-45D6-B9CF-0F17E37B64CC}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {F03F4977-B6E6-45D6-B9CF-0F17E37B64CC}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {F03F4977-B6E6-45D6-B9CF-0F17E37B64CC}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/netapps/mqtt/platform/cc32xx_platform.c: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * 3 | * Copyright (C) 2014 Texas Instruments Incorporated 4 | * 5 | * All rights reserved. Property of Texas Instruments Incorporated. 6 | * Restricted rights to use, duplicate or disclose this code are 7 | * granted through contract. 8 | * 9 | * The program may not be used without the written permission of 10 | * Texas Instruments Incorporated or against the terms and conditions 11 | * stipulated in the agreement under which this program has been supplied, 12 | * and under no circumstances can it be used with non-TI connectivity device. 13 | * 14 | ******************************************************************************/ 15 | 16 | #include "platform.h" 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | void platform_timer_init() 23 | { 24 | MAP_PRCMRTCInUseSet(); 25 | } 26 | 27 | u32 platform_get_time_in_secs() 28 | { 29 | u32 Secs = 0; 30 | u16 Msec = 0; 31 | 32 | MAP_PRCMRTCGet((u32*) &Secs, &Msec); 33 | return (Secs); 34 | } 35 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/serial_wifi/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | serial_wifi 4 | false 5 | 6 | 7 | 8 | 9 | 10 | Common files 11 | 12 | 13 | 14 | 15 | 16 | 17 | com.sysprogs.arm.ti.cc3200.sdk 18 | com.sysprogs.arm.ti.cc3200.simplelink 19 | com.sysprogs.arm.ti.cc3200.free_rtos 20 | com.sysprogs.arm.ti.cc3200.common 21 | 22 | 23 | 24 | $$SYS:BSP_ROOT$$/SDK/third_party/FreeRTOS/source/FreeRTOSConfig.h 25 | false 26 | 27 | 28 | -------------------------------------------------------------------------------- /visualgdb/ARM/BSPRelocationTest/RelocatedBSP/Samples/out_of_box/html/js/jquery.rwdImageMaps.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * rwdImageMaps jQuery plugin v1.5 3 | * 4 | * Allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize 5 | * 6 | * Copyright (c) 2013 Matt Stow 7 | * https://github.com/stowball/jQuery-rwdImageMaps 8 | * http://mattstow.com 9 | * Licensed under the MIT license 10 | */ 11 | ;(function(a){a.fn.rwdImageMaps=function(){var c=this;var b=function(){c.each(function(){if(typeof(a(this).attr("usemap"))=="undefined"){return}var e=this,d=a(e);a("").load(function(){var g="width",m="height",n=d.attr(g),j=d.attr(m);if(!n||!j){var o=new Image();o.src=d.attr("src");if(!n){n=o.width}if(!j){j=o.height}}var f=d.width()/100,k=d.height()/100,i=d.attr("usemap").replace("#",""),l="coords";a('map[name="'+i+'"]').find("area").each(function(){var r=a(this);if(!r.data(l)){r.data(l,r.attr(l))}var q=r.data(l).split(","),p=new Array(q.length);for(var h=0;h 2 | #include 3 | #include 4 | 5 | struct Vector 6 | { 7 | double X, Y; 8 | 9 | Vector(double x, double y) 10 | : X(x) 11 | , Y(y) 12 | { 13 | } 14 | }; 15 | 16 | class IMath 17 | { 18 | public: 19 | virtual double Square(double arg) = 0; 20 | }; 21 | 22 | class MockMath : public IMath 23 | { 24 | public: 25 | MOCK_METHOD(double, Square, (double), (override)); 26 | }; 27 | 28 | class Math : public IMath 29 | { 30 | public: 31 | double Square(double arg) override 32 | { 33 | return arg * arg; 34 | } 35 | }; 36 | 37 | double GetDistance(IMath *pMath, const Vector &a, const Vector &b) 38 | { 39 | return sqrt(pMath->Square(a.X - b.X) + pMath->Square(a.Y - b.Y)); 40 | } 41 | 42 | using ::testing::Return; 43 | 44 | TEST(DemoTestGroup, SquareTest) 45 | { 46 | Vector left(0, 0); 47 | Vector right(3, 4); 48 | MockMath math; 49 | 50 | EXPECT_CALL(math, Square(-3)).WillOnce(Return(9)); 51 | EXPECT_CALL(math, Square(-4)).WillOnce(Return(16)); 52 | 53 | double distance = GetDistance(&math, left, right); 54 | 55 | EXPECT_EQ(distance, 5); 56 | } 57 | -------------------------------------------------------------------------------- /visualgdb/keil/LEDBlink/LEDBlink.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2048 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LEDBlink", "LEDBlink.vcxproj", "{490D17EB-D7BE-4677-920A-CF7A38D3E576}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|VisualGDB = Debug|VisualGDB 11 | Release|VisualGDB = Release|VisualGDB 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {490D17EB-D7BE-4677-920A-CF7A38D3E576}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {490D17EB-D7BE-4677-920A-CF7A38D3E576}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {490D17EB-D7BE-4677-920A-CF7A38D3E576}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {490D17EB-D7BE-4677-920A-CF7A38D3E576}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {1356B837-5BB4-4632-9980-245F46BE8AFA} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /visualgdb/keil/RTXDemo/RTXDemo.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2048 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RTXDemo", "RTXDemo.vcxproj", "{435AF036-789D-48B7-A7B2-2B3DCDA98613}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|VisualGDB = Debug|VisualGDB 11 | Release|VisualGDB = Release|VisualGDB 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {435AF036-789D-48B7-A7B2-2B3DCDA98613}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {435AF036-789D-48B7-A7B2-2B3DCDA98613}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {435AF036-789D-48B7-A7B2-2B3DCDA98613}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {435AF036-789D-48B7-A7B2-2B3DCDA98613}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {39D8D118-7745-42BC-A6A2-02F34A563CBA} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /visualgdb/porting/multiplatform/tmp/TemporaryAndroidProject/TemporaryAndroidProject.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {0a7ea92a-dafa-4c4f-8d6c-cb1012184c10} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {238ccc3f-9d92-45f5-bde9-217e543ac975} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {f7117897-f6fd-44b1-9e0a-ff46fa0640d3} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | Source files 20 | 21 | 22 | 23 | 24 | 25 | 26 | --------------------------------------------------------------------------------