├── generators ├── rs14100 │ ├── .gitignore │ ├── App.config │ └── rs14100.validatejob ├── mbed │ ├── data │ │ ├── samples │ │ │ ├── .mbedignore │ │ │ ├── 01_LEDBlink │ │ │ │ └── LEDBlink.cpp │ │ │ ├── 02_RTOS │ │ │ │ └── LEDBlink.cpp │ │ │ ├── 03_USB_CDC │ │ │ │ ├── sample.xml │ │ │ │ └── USB_CDC.cpp │ │ │ └── 04_BLE_UART │ │ │ │ └── sample.xml │ │ ├── DeviceNameRules.txt │ │ ├── stubs.cpp │ │ ├── log_file.log │ │ ├── bsp_template.xml │ │ ├── test_ledblink.xml │ │ └── test_usbcd.xml │ └── App.config ├── Atmel │ ├── rules │ │ ├── Samples │ │ │ ├── LEDBlink_SAM4L │ │ │ │ ├── board.h │ │ │ │ ├── conf_clock.h │ │ │ │ └── LEDBlink.c │ │ │ ├── LEDBlink_SAMB │ │ │ │ └── LEDBlink.c │ │ │ ├── LEDBlink_SAMD │ │ │ │ └── LEDBlink.c │ │ │ ├── LEDBlink_SAM0 │ │ │ │ └── LEDBlink.c │ │ │ └── LEDBlink_SAM │ │ │ │ └── LEDBlink.c │ │ └── ServicesFrimwork.txt │ ├── App.config │ └── AtmelLedBlinkJob.validatejob ├── TI │ ├── CC3220 │ │ ├── rules │ │ │ ├── os │ │ │ │ └── freertos │ │ │ │ │ └── posix │ │ │ │ │ └── time.h │ │ │ ├── error.c │ │ │ ├── Samples │ │ │ │ ├── pwmled │ │ │ │ │ └── sample.xml │ │ │ │ └── network_terminal │ │ │ │ │ └── sample.xml │ │ │ └── families │ │ │ │ └── CC3220.xml │ │ ├── App.config │ │ └── cc3220.validatejob │ ├── Tiva │ │ ├── rules │ │ │ ├── Tivadevices.csv │ │ │ ├── SystemInit │ │ │ │ └── SystemInit.c │ │ │ └── Samples │ │ │ │ └── LEDBlink │ │ │ │ └── LEDBlink.cpp │ │ ├── App.config │ │ └── TivaLedBlinkJob.validatejob │ ├── msp432 │ │ ├── rules │ │ │ ├── msp432p401r.h │ │ │ ├── SystemInit │ │ │ │ └── SystemInit.c │ │ │ ├── Samples │ │ │ │ └── LEDBlink │ │ │ │ │ └── LEDBlink.cpp │ │ │ ├── Families │ │ │ │ └── MSP432P4xx.xml │ │ │ └── msp432devices.csv │ │ └── App.config │ ├── CC3200 │ │ ├── rules │ │ │ ├── Samples │ │ │ │ ├── httpserver │ │ │ │ │ ├── html │ │ │ │ │ │ ├── httpserver.ucf │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── demo-lightswitch.jpg │ │ │ │ │ │ └── httpserver_session │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ └── CC3xxx_token.xml │ │ │ │ │ └── sample.xml │ │ │ │ ├── out_of_box │ │ │ │ │ ├── html │ │ │ │ │ │ ├── out_of_box.ucf │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── hw-sbd.gif │ │ │ │ │ │ │ ├── sw-sbd.gif │ │ │ │ │ │ │ ├── tab-line.gif │ │ │ │ │ │ │ ├── ti-logo.png │ │ │ │ │ │ │ ├── icon_l_html_a.png │ │ │ │ │ │ │ ├── ticom3-tab-left.gif │ │ │ │ │ │ │ ├── demo-lightswitch.jpg │ │ │ │ │ │ │ ├── demo-sprinkler-off.jpg │ │ │ │ │ │ │ ├── demo-sprinkler-on.jpg │ │ │ │ │ │ │ ├── demo-washerDryer.jpg │ │ │ │ │ │ │ ├── icon-demo-safety.gif │ │ │ │ │ │ │ ├── ticom3-tab-right.gif │ │ │ │ │ │ │ ├── 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_online.html │ │ │ │ │ │ ├── param_demos.html │ │ │ │ │ │ ├── param_about.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── jquery.rwdImageMaps.min.js │ │ │ │ │ └── sample.xml │ │ │ │ ├── blinky │ │ │ │ │ └── sample.xml │ │ │ │ ├── serial_wifi │ │ │ │ │ └── sample.xml │ │ │ │ ├── old_simples │ │ │ │ │ └── serial_wifi │ │ │ │ │ │ └── sample.xml │ │ │ │ ├── tcp_socket │ │ │ │ │ └── sample.xml │ │ │ │ └── email │ │ │ │ │ └── sample.xml │ │ │ └── EmbFrameworks.txt │ │ └── App.config │ ├── RM57x │ │ ├── App.config │ │ └── rules │ │ │ ├── families │ │ │ └── RM57x.xml │ │ │ └── rm57x.dat │ └── mspm0 │ │ ├── App.config │ │ └── Properties │ │ └── AssemblyInfo.cs ├── Efm32 │ ├── rules │ │ ├── rulesfamaly.txt │ │ └── Samples │ │ │ └── LEDBlink │ │ │ └── LEDBlink.c │ ├── App.config │ └── Efm32.validatejob ├── esp32 │ ├── bsp-template │ │ └── sysprogs │ │ │ ├── samples │ │ │ ├── 02_LEDBlink │ │ │ │ └── user_config.h │ │ │ ├── 04_BLE_Adv │ │ │ │ └── user_config.h │ │ │ ├── 01_Hello_world │ │ │ │ ├── user_config.h │ │ │ │ └── $$PROJECTNAME$$.c │ │ │ ├── 03_HTTPServer │ │ │ │ └── user_config.h │ │ │ └── NoFLASH │ │ │ │ ├── $$PROJECTNAME$$.cpp │ │ │ │ └── sample.xml │ │ │ ├── extras │ │ │ ├── bootloader.bin │ │ │ └── partitions_singleapp.bin │ │ │ ├── flashprog │ │ │ ├── ESP32FlashProg.bin │ │ │ └── ramonly.ld │ │ │ ├── flashless_entry.c │ │ │ └── ramonly.ld │ └── app.config ├── esp8266 │ ├── bsp-template │ │ └── sysprogs │ │ │ ├── samples │ │ │ ├── HTTP_IoT_SDK │ │ │ │ └── user_config.h │ │ │ ├── HTTP_RTOS_SDK │ │ │ │ └── user_config.h │ │ │ ├── OTA_IoT_SDK │ │ │ │ ├── user_config.h │ │ │ │ └── sample.xml │ │ │ ├── LEDBlink_IoT_SDK │ │ │ │ ├── user_config.h │ │ │ │ └── sample.xml │ │ │ ├── LEDBlink_RTOS_SDK │ │ │ │ ├── user_config.h │ │ │ │ └── sample.xml │ │ │ └── LEDBlink_NoFLASH │ │ │ │ ├── LEDBlink.cpp │ │ │ │ └── sample.xml │ │ │ ├── flashprog │ │ │ └── ESP8266FlashProg.bin │ │ │ └── flashless_entry.c │ └── App.config ├── nrf5x │ ├── rules │ │ ├── SoftdeviceLibraries │ │ │ ├── empty.c │ │ │ └── ConvertSoftdevice.bat │ │ ├── Samples │ │ │ ├── BLEUart │ │ │ │ └── config.h │ │ │ ├── LEDBlink_BSP │ │ │ │ └── $$PROJECTNAME$$.c │ │ │ ├── LEDBlink │ │ │ │ └── $$PROJECTNAME$$.c │ │ │ ├── BLEWithCrypto.xml │ │ │ ├── BLEAppTemplate │ │ │ │ └── sample.xml │ │ │ └── BLEMultilinkCentral │ │ │ │ └── sample.xml │ │ ├── softdevices.txt │ │ ├── CommonFiles.xml │ │ └── FramworkSamples │ │ │ └── $$PROJECTNAME$$.c │ └── App.config ├── stm32 │ ├── rules │ │ ├── stm32h7rs │ │ │ ├── FrameworkTemplates.txt │ │ │ ├── SamplePriorities.txt │ │ │ ├── BSPTemplate.xml │ │ │ └── Samples │ │ │ │ └── LEDBlink │ │ │ │ └── $$PROJECTNAME$$.c │ │ ├── stm32mp1 │ │ │ ├── FrameworkTemplates.txt │ │ │ ├── SamplePriorities.txt │ │ │ ├── BSPTemplate.xml │ │ │ └── Samples │ │ │ │ └── LEDBlink │ │ │ │ └── $$PROJECTNAME$$.c │ │ ├── stm32wb │ │ │ ├── FrameworkTemplates.txt │ │ │ ├── SamplePriorities.txt │ │ │ ├── BSPTemplate.xml │ │ │ └── Samples │ │ │ │ └── LEDBlink │ │ │ │ └── $$PROJECTNAME$$.c │ │ ├── stm32wl │ │ │ ├── FrameworkTemplates.txt │ │ │ ├── SamplePriorities.txt │ │ │ ├── BSPTemplate.xml │ │ │ └── Samples │ │ │ │ └── LEDBlink │ │ │ │ └── $$PROJECTNAME$$.c │ │ ├── classic │ │ │ ├── SamplePriorities.txt │ │ │ ├── Samples │ │ │ │ ├── AzureRTOS │ │ │ │ │ ├── app_azure_rtos_config.h │ │ │ │ │ └── app_threadx.h │ │ │ │ ├── USB_CDC_STM32L1X │ │ │ │ │ ├── usbd_desc.c │ │ │ │ │ ├── usbd_desc.h │ │ │ │ │ └── sample.xml │ │ │ │ ├── UnitTests │ │ │ │ │ └── TestHAL │ │ │ │ │ │ ├── $$PROJECTNAME$$.c │ │ │ │ │ │ └── sample.xml │ │ │ │ ├── HTTP_Netconn_STM32F2X │ │ │ │ │ └── sample.xml │ │ │ │ ├── HTTP_Netconn_STM32F4X │ │ │ │ │ └── sample.xml │ │ │ │ ├── HTTP_Netconn_STM32F7X │ │ │ │ │ └── sample.xml │ │ │ │ ├── LEDBlink_STM32W1X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── LEDBlink_STM32F4X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── LEDBlink_STM32F1X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── LCD_STM32F7X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32F2X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32F7X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32H7X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32L4X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32F1X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32L0X │ │ │ │ │ └── sample.xml │ │ │ │ ├── USB_CDC_STM32F3X │ │ │ │ │ └── sample.xml │ │ │ │ ├── LEDBlink_STM32F0X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── LEDBlink_STM32L1X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── LEDBlink_STM32F2X │ │ │ │ │ └── LEDBlink.c │ │ │ │ ├── USB_CDC_STM32F0X │ │ │ │ │ └── sample.xml │ │ │ │ ├── LEDBlink_STM32F3X │ │ │ │ │ └── LEDBlink.c │ │ │ │ └── LEDBlink │ │ │ │ │ └── $$PROJECTNAME$$.c │ │ │ └── BSPTemplate.xml │ │ ├── MissingMCUs.txt │ │ └── bluenrg-lp │ │ │ ├── BSPTemplate.xml │ │ │ └── Samples │ │ │ └── LEDBlink │ │ │ └── $$PROJECTNAME$$.c │ ├── settings.reg │ ├── app.config │ ├── stm32_compat.h │ ├── Peripherals │ │ └── ManualPeripheralRegisterRules.cs │ ├── Rulesets │ │ ├── STM32WLFamilyBuilder.cs │ │ └── STM32ClassicFamilyBuilder.cs │ ├── stm32mp1.validatejob │ ├── stm32wb.validatejob │ ├── stm32h7rs.validatejob │ ├── enums.txt │ └── stm32.validatejob ├── NXP │ ├── rules │ │ ├── SystemInit │ │ │ ├── sys_config.h │ │ │ └── startup.c │ │ ├── McuNXPLpcDevices.csv │ │ ├── McuNXPLpcDevicesold.csv │ │ ├── CommonFiles.xml │ │ ├── Families │ │ │ ├── LPC8xx.xml │ │ │ ├── LPC15xx.xml │ │ │ └── LPC11xxM0P.xml │ │ └── Samples │ │ │ ├── LEDBlink_LPCOpen │ │ │ └── LEDBlink.c │ │ │ └── LEDBlink_LPC12xx │ │ │ └── LEDBlink.c │ ├── App.config │ └── nxp_lpc.validatejob ├── special │ ├── msp430 │ │ ├── msp430.csv │ │ ├── App.config │ │ └── msp430.sln │ ├── stm8 │ │ └── app.config │ ├── avr │ │ ├── App.config │ │ └── avr.sln │ └── pic32 │ │ ├── App.config │ │ ├── rules │ │ ├── Samples-MIPS │ │ │ └── Blink │ │ │ │ └── $$PROJECTNAME$$.c │ │ ├── Samples-ARM │ │ │ └── Blink │ │ │ │ └── $$PROJECTNAME$$.c │ │ └── pic32-arm.xml │ │ └── pic32.validatejob ├── CoreReg │ ├── Rules │ │ ├── core_m0mpu.txt │ │ └── core_m7ppb.txt │ └── App.config ├── Kinetis │ ├── rules │ │ └── Samples │ │ │ ├── UnitTest │ │ │ ├── $$PROJECTNAME$$.c │ │ │ └── sample.xml │ │ │ └── LEDBlink │ │ │ └── LEDBlink.c │ ├── App.config │ └── Program.cs ├── risc-v │ ├── App.config │ └── _buildall.sh ├── Infineon │ ├── App.config │ ├── InfineonXMLedblink.validatejob │ └── rules │ │ ├── Samples │ │ ├── LEDBLink_XMC1X │ │ │ └── main.c │ │ └── LEDBlink_XMC4X │ │ │ └── main.c │ │ └── veneers.c └── renesas │ └── RA │ ├── App.config │ └── Rules │ ├── FixedFiles │ ├── baremetal │ │ └── ra_gen │ │ │ └── main.c │ ├── freertos │ │ └── ra_gen │ │ │ └── blinky_thread.h │ └── threadx │ │ └── ra_gen │ │ └── blinky_thread.h │ └── KnownTemplates │ ├── config.bsp.pin.txt │ └── config.bsp.pin.xml ├── ILMerge.exe ├── BSPEngine.dll ├── VendorSampleParsers ├── stm32 │ ├── Rules │ │ ├── stm32h7rs │ │ │ └── blacklist.txt │ │ └── bluenrg-lp │ │ │ └── blacklist.txt │ └── App.config ├── RS14100 │ ├── Cache │ │ └── RelocationReport.txt │ ├── App.config │ └── KnownProblems.xml ├── CC3220 │ ├── App.config │ └── KnownProblems.xml ├── Nordic │ ├── App.config │ └── KnownProblems.xml └── TI │ └── MSPM0 │ ├── App.config │ └── Properties │ └── AssemblyInfo.cs ├── DebugPackages ├── OpenOCDPackage2.dll ├── TiXDSDebugPackage │ ├── icons │ │ ├── add16.png │ │ ├── clear16.png │ │ └── open16.png │ └── FLASH │ │ └── CC3220SF │ │ └── CC3220SF.sln ├── RISCVDebugPackage │ ├── GUI │ │ └── Icons │ │ │ ├── bulb16.png │ │ │ ├── chip16.png │ │ │ ├── excl16.png │ │ │ ├── help16.png │ │ │ ├── open16.png │ │ │ ├── usb16.png │ │ │ ├── check16.png │ │ │ ├── clear16.png │ │ │ ├── reset16.png │ │ │ └── script16.png │ └── _merge.bat ├── ESP8266DebugPackage │ ├── GUI │ │ └── Icons │ │ │ ├── add16.png │ │ │ ├── bulb16.png │ │ │ ├── check16.png │ │ │ ├── chip16.png │ │ │ ├── clear16.png │ │ │ ├── excl16.png │ │ │ ├── help16.png │ │ │ ├── open16.png │ │ │ ├── reset16.png │ │ │ ├── usb16.png │ │ │ ├── warn16.png │ │ │ └── script16.png │ ├── _merge.bat │ ├── ESPImageTool │ │ └── app.config │ └── Properties │ │ └── AssemblyInfo.cs ├── RedLinkDebugPackage │ ├── GUI │ │ └── Icons │ │ │ ├── PlayHS.png │ │ │ ├── StopHS.png │ │ │ ├── check16.png │ │ │ ├── chip16.png │ │ │ ├── open16.png │ │ │ ├── pause16.png │ │ │ ├── reload.png │ │ │ ├── redwarn16.png │ │ │ ├── whitebulb.png │ │ │ ├── chipcheck16.png │ │ │ └── greenbulb16.png │ ├── RegistrySettings.cs │ └── RedLinkDebugSettings.cs ├── RenesasDebugPackage │ ├── RenesasDebugSettings.cs │ └── RenesasDebugPackage.sln ├── AVaRICEDebugPackage │ └── Properties │ │ └── AssemblyInfo.cs └── OpenOCDPackage.targets ├── libraries ├── VendorSampleParserEngine │ └── settings.reg ├── LinkerScriptGenerator │ ├── app.config │ └── Templates │ │ ├── XCC3200HZ.mcux │ │ ├── XCC3200JR.mcux │ │ ├── STM32F100VB.mcux │ │ └── KL25Z128.mcux └── BSPGenerationTools │ ├── VendorSample.cs │ └── Parsing │ └── SimpleTokenReader.cs ├── tools ├── VendorSampleReportViewer │ ├── Icons │ │ ├── ban16.png │ │ ├── cancel.png │ │ ├── log16.png │ │ └── check16.png │ ├── App.config │ ├── Properties │ │ ├── Settings.settings │ │ └── Settings.Designer.cs │ ├── App.xaml.cs │ └── App.xaml ├── BSPComparer │ ├── App.config │ └── BSPComparer.sln ├── ESP32ToolchainUpdater │ └── App.config └── PeripheralRegisterConverter │ ├── App.config │ └── PeripheralRegisterConverter.sln ├── ExtraDeviceSupport └── Renesas │ └── RenesasToolchainManager │ ├── check16.png │ ├── Open_6529.png │ ├── _merge.bat │ ├── Properties │ ├── Settings.settings │ └── Settings.Designer.cs │ ├── App.xaml.cs │ └── App.xaml ├── SDKImporters ├── ImportedSDKValidator │ └── app.config ├── KSDK2xImporter │ ├── App.config │ └── main.c └── AtmelStartSDKImporter │ └── Program.cs ├── .gitmodules ├── TestFrameworkGenerator └── Rules │ ├── GoogleTest │ ├── platforms │ │ └── Embedded │ │ │ └── GoogleTestEmbeddedStubs.cpp │ └── samples │ │ └── $$PROJECTNAME$$Tests.cpp │ ├── TinyEmbeddedTest │ └── rules.xml │ └── CppUTest │ └── samples │ └── $$PROJECTNAME$$Tests.cpp ├── FLASHPatchers ├── STM32 │ └── Firmware │ │ ├── FLASHPatcherAPI.h │ │ └── startup.S └── BSPEngine.targets ├── BSPEngine.targets ├── .gitignore ├── ProjectImporters ├── IARProjectImporter │ └── GUI │ │ └── IARImporterSettingsControl.xaml.cs ├── KeilProjectImporter │ ├── GUI │ │ └── KeilImporterSettingsControl.xaml.cs │ └── KeilProjectImporter.sln └── MbedProjectImporter │ └── MbedProjectImporter.sln └── StandaloneBSPValidator ├── NxpLpcJob.xml └── StandaloneBSPValidator.sln /generators/rs14100/.gitignore: -------------------------------------------------------------------------------- 1 | logs -------------------------------------------------------------------------------- /generators/mbed/data/samples/.mbedignore: -------------------------------------------------------------------------------- 1 | * -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAM4L/board.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/TI/CC3220/rules/os/freertos/posix/time.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAM4L/conf_clock.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/Efm32/rules/rulesfamaly.txt: -------------------------------------------------------------------------------- 1 | sky66107 2 | em3 3 | simulation -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/02_LEDBlink/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/04_BLE_Adv/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ILMerge.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/ILMerge.exe -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/01_Hello_world/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/03_HTTPServer/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/HTTP_IoT_SDK/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/HTTP_RTOS_SDK/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/OTA_IoT_SDK/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BSPEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/BSPEngine.dll -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_IoT_SDK/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_RTOS_SDK/user_config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/SoftdeviceLibraries/empty.c: -------------------------------------------------------------------------------- 1 | void dummyfunc() 2 | { 3 | } -------------------------------------------------------------------------------- /VendorSampleParsers/stm32/Rules/stm32h7rs/blacklist.txt: -------------------------------------------------------------------------------- 1 | STM32H7S78-DK-Examples-BSP 2 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32h7rs/FrameworkTemplates.txt: -------------------------------------------------------------------------------- 1 | ..\classic\FrameworkTemplates.xml -------------------------------------------------------------------------------- /generators/stm32/rules/stm32h7rs/SamplePriorities.txt: -------------------------------------------------------------------------------- 1 | ^LEDBlink$ 2 | ^LEDBlink_LL$ 3 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32mp1/FrameworkTemplates.txt: -------------------------------------------------------------------------------- 1 | ..\classic\FrameworkTemplates.xml -------------------------------------------------------------------------------- /generators/stm32/rules/stm32mp1/SamplePriorities.txt: -------------------------------------------------------------------------------- 1 | ^LEDBlink$ 2 | ^LEDBlink_LL$ 3 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wb/FrameworkTemplates.txt: -------------------------------------------------------------------------------- 1 | ..\classic\FrameworkTemplates.xml -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wb/SamplePriorities.txt: -------------------------------------------------------------------------------- 1 | ^LEDBlink$ 2 | ^LEDBlink_LL$ 3 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wl/FrameworkTemplates.txt: -------------------------------------------------------------------------------- 1 | ..\classic\FrameworkTemplates.xml -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wl/SamplePriorities.txt: -------------------------------------------------------------------------------- 1 | ^LEDBlink$ 2 | ^LEDBlink_LL$ 3 | -------------------------------------------------------------------------------- /generators/NXP/rules/SystemInit/sys_config.h: -------------------------------------------------------------------------------- 1 | //Nothing here. CHIP_XXX is defined via Make flags. -------------------------------------------------------------------------------- /generators/TI/CC3220/rules/error.c: -------------------------------------------------------------------------------- 1 | void __attribute__((weak)) __error__() 2 | { 3 | __asm("bkpt 255"); 4 | } 5 | -------------------------------------------------------------------------------- /generators/stm32/settings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/stm32/settings.reg -------------------------------------------------------------------------------- /DebugPackages/OpenOCDPackage2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/OpenOCDPackage2.dll -------------------------------------------------------------------------------- /generators/special/msp430/msp430.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/special/msp430/msp430.csv -------------------------------------------------------------------------------- /generators/TI/Tiva/rules/Tivadevices.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/Tiva/rules/Tivadevices.csv -------------------------------------------------------------------------------- /generators/TI/msp432/rules/msp432p401r.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/msp432/rules/msp432p401r.h -------------------------------------------------------------------------------- /generators/NXP/rules/McuNXPLpcDevices.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/NXP/rules/McuNXPLpcDevices.csv -------------------------------------------------------------------------------- /VendorSampleParsers/stm32/Rules/bluenrg-lp/blacklist.txt: -------------------------------------------------------------------------------- 1 | BLE_Examples-BLE_SensorDemo_Central 2 | BLE_Examples-BLE_SensorDemo_StaticStack 3 | -------------------------------------------------------------------------------- /generators/NXP/rules/McuNXPLpcDevicesold.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/NXP/rules/McuNXPLpcDevicesold.csv -------------------------------------------------------------------------------- /DebugPackages/TiXDSDebugPackage/icons/add16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/TiXDSDebugPackage/icons/add16.png -------------------------------------------------------------------------------- /libraries/VendorSampleParserEngine/settings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/libraries/VendorSampleParserEngine/settings.reg -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Icons/ban16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/tools/VendorSampleReportViewer/Icons/ban16.png -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Icons/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/tools/VendorSampleReportViewer/Icons/cancel.png -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Icons/log16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/tools/VendorSampleReportViewer/Icons/log16.png -------------------------------------------------------------------------------- /DebugPackages/TiXDSDebugPackage/icons/clear16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/TiXDSDebugPackage/icons/clear16.png -------------------------------------------------------------------------------- /DebugPackages/TiXDSDebugPackage/icons/open16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/TiXDSDebugPackage/icons/open16.png -------------------------------------------------------------------------------- /generators/mbed/data/DeviceNameRules.txt: -------------------------------------------------------------------------------- 1 | (DISCO|NUCLEO)_(.*) = STM32\2 2 | (KL?[0-9].*)=M\1 3 | (LPC.{4}) = \1 4 | (NRF51.*) = nRF51 5 | (NRF52.*) = nRF52 -------------------------------------------------------------------------------- /generators/stm32/rules/classic/SamplePriorities.txt: -------------------------------------------------------------------------------- 1 | ^LEDBlink$ 2 | ^LEDBlink_LL$ 3 | ^LEDBlink_STM 4 | ^FreeRTOS 5 | ^USB_CDC_ 6 | ^LCD 7 | Netconn -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Icons/check16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/tools/VendorSampleReportViewer/Icons/check16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/bulb16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/bulb16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/chip16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/chip16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/excl16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/excl16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/help16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/help16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/open16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/open16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/usb16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/usb16.png -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/AzureRTOS/app_azure_rtos_config.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define TX_APP_MEM_POOL_SIZE 3 * 512 4 | -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/add16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/add16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/bulb16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/bulb16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/check16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/check16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/chip16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/chip16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/clear16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/clear16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/excl16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/excl16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/help16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/help16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/open16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/open16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/reset16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/reset16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/usb16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/usb16.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/warn16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/warn16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/check16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/check16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/clear16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/clear16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/reset16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/reset16.png -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/GUI/Icons/script16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RISCVDebugPackage/GUI/Icons/script16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/PlayHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/PlayHS.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/StopHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/StopHS.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/check16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/check16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/chip16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/chip16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/open16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/open16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/pause16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/pause16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/reload.png -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/GUI/Icons/script16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/ESP8266DebugPackage/GUI/Icons/script16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/redwarn16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/redwarn16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/whitebulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/whitebulb.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/chipcheck16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/chipcheck16.png -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/GUI/Icons/greenbulb16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/DebugPackages/RedLinkDebugPackage/GUI/Icons/greenbulb16.png -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/extras/bootloader.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/esp32/bsp-template/sysprogs/extras/bootloader.bin -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/_merge.bat: -------------------------------------------------------------------------------- 1 | ..\..\ilmerge bin\Release\ESPxxDebugPackage.dll bin\Release\OpenOCDPackage2.dll /out:bin\ESPxxDebugPackage.dll /targetplatform:2.0 -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/check16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/ExtraDeviceSupport/Renesas/RenesasToolchainManager/check16.png -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/Open_6529.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/ExtraDeviceSupport/Renesas/RenesasToolchainManager/Open_6529.png -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/_merge.bat: -------------------------------------------------------------------------------- 1 | ..\..\..\ilmerge bin\Release\RenesasToolchainManager.exe bin\Release\BSPEngine.dll /out:bin\RenesasToolchainManager.exe -------------------------------------------------------------------------------- /generators/CoreReg/Rules/core_m0mpu.txt: -------------------------------------------------------------------------------- 1 | MPU 2 | 0xE000ED90 MPU_TYPE RO 3 | 0xE000ED94 MPU_CTRL RW 4 | 0xE000ED98 MPU_RNR RW 5 | 0xE000ED9C MPU_RBAR RW 6 | 0xE000EDA0 MPU_RASR RW 7 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | -------------------------------------------------------------------------------- /generators/stm32/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /generators/Kinetis/rules/Samples/UnitTest/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include "M$$SYS:FAMILY_ID$$.h" 2 | $$UNITTEST:INCLUDES$$ 3 | 4 | int main() 5 | { 6 | $$UNITTEST:INIT$$ 7 | return 0; 8 | } -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/flashprog/ESP32FlashProg.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/esp32/bsp-template/sysprogs/flashprog/ESP32FlashProg.bin -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32L1X/usbd_desc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/stm32/rules/classic/Samples/USB_CDC_STM32L1X/usbd_desc.c -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32L1X/usbd_desc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/stm32/rules/classic/Samples/USB_CDC_STM32L1X/usbd_desc.h -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/hw-sbd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/hw-sbd.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/sw-sbd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/sw-sbd.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/tab-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/tab-line.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/ti-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/ti-logo.png -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/param_online.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

__SL_G_UIC

4 |

__SL_G_USS

5 | 6 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/extras/partitions_singleapp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/esp32/bsp-template/sysprogs/extras/partitions_singleapp.bin -------------------------------------------------------------------------------- /VendorSampleParsers/RS14100/Cache/RelocationReport.txt: -------------------------------------------------------------------------------- 1 | BSP generation completed with 0 warnings and 0 errors 2 | -------------------------------------- 3 | -------------------------------------- 4 | -------------------------------------------------------------------------------- /generators/Atmel/rules/ServicesFrimwork.txt: -------------------------------------------------------------------------------- 1 | \Adp 2 | \Calendar 3 | \Clock 4 | \Cpu 5 | \Crc32 6 | \Delay 7 | \Fifo 8 | \Gpio 9 | \Hugemem 10 | \Ioport 11 | \Isp 12 | \Serial 13 | \Sleepmgr -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/flashprog/ESP8266FlashProg.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/esp8266/bsp-template/sysprogs/flashprog/ESP8266FlashProg.bin -------------------------------------------------------------------------------- /libraries/LinkerScriptGenerator/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/ESPImageTool/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon_l_html_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon_l_html_a.png -------------------------------------------------------------------------------- /generators/esp32/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/ticom3-tab-left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/ticom3-tab-left.gif -------------------------------------------------------------------------------- /generators/special/stm8/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/EmbFrameworks.txt: -------------------------------------------------------------------------------- 1 | http/client|HTTP Client 2 | http/server|HTTP Server 3 | json|JSON library 4 | mqtt|MQTT client and broker 5 | smtp|SMTP client 6 | tftp|FTP client 7 | xmpp|XMPP client -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/httpserver/html/images/demo-lightswitch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/httpserver/html/images/demo-lightswitch.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-lightswitch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-lightswitch.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-sprinkler-off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-sprinkler-off.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-sprinkler-on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-sprinkler-on.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-washerDryer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-washerDryer.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-safety.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-safety.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/ticom3-tab-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/ticom3-tab-right.gif -------------------------------------------------------------------------------- /SDKImporters/ImportedSDKValidator/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /SDKImporters/KSDK2xImporter/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-security-alarmOff.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-security-alarmOff.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-security-alarmOn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/demo-security-alarmOn.jpg -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-smartEnergy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-smartEnergy.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-smartEnergy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-smartEnergy.jpg -------------------------------------------------------------------------------- /DebugPackages/RISCVDebugPackage/_merge.bat: -------------------------------------------------------------------------------- 1 | E:\projects\sysprogs\products\VisualGDB\_MergedBinaries\ILMerge.exe bin\Release\RISCVDebugPackage.dll bin\Release\OpenOCDPackage2.dll /out:bin\RISCVDebugPackage.dll /targetplatform:2.0 -------------------------------------------------------------------------------- /generators/Atmel/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/NXP/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-homeAppliances.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-homeAppliances.gif -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-homeAutomation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprogs/BSPTools/HEAD/generators/TI/CC3200/rules/Samples/out_of_box/html/images/icon-demo-homeAutomation.gif -------------------------------------------------------------------------------- /generators/mbed/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/risc-v/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/rs14100/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/BSPComparer/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/CoreReg/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/Efm32/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/Infineon/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/Kinetis/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/CC3200/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/RM57x/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/Tiva/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/msp432/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /generators/esp8266/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/nrf5x/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/renesas/RA/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/special/avr/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/RS14100/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/stm32/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /generators/TI/CC3220/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/mspm0/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/special/msp430/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/CC3220/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/Nordic/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/TI/MSPM0/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/special/pic32/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/ESP32ToolchainUpdater/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/html/param_demos.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

__SL_G_UTP

4 |

__SL_G_UAC

5 |

__SL_G_ULD

6 | 7 | -------------------------------------------------------------------------------- /tools/PeripheralRegisterConverter/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /VendorSampleParsers/RS14100/KnownProblems.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /generators/renesas/RA/Rules/FixedFiles/baremetal/ra_gen/main.c: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/flashless_entry.c: -------------------------------------------------------------------------------- 1 | int main(); 2 | 3 | extern int _bss_start, _bss_end; 4 | 5 | void flashless_entry() 6 | { 7 | int *p = &_bss_start; 8 | while (p < &_bss_end) 9 | *p++ = 0; 10 | 11 | main(); 12 | } -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/flashless_entry.c: -------------------------------------------------------------------------------- 1 | int main(); 2 | 3 | extern int _bss_start, _bss_end; 4 | 5 | void flashless_entry() 6 | { 7 | int *p = &_bss_start; 8 | while (p < &_bss_end) 9 | *p++ = 0; 10 | 11 | main(); 12 | } -------------------------------------------------------------------------------- /VendorSampleParsers/Nordic/KnownProblems.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /generators/risc-v/_buildall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd bsp 3 | targets=`ls -1` 4 | cd .. 5 | for target in $targets 6 | do 7 | make PROGRAM=hello TARGET=$target CONFIGURATION=debug clean 8 | make PROGRAM=hello TARGET=$target CONFIGURATION=debug software > $target.log 2>&1 9 | done -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/BLEUart/config.h: -------------------------------------------------------------------------------- 1 | #ifndef NRF_LOG_BACKEND_UART_BAUDRATE 2 | #define NRF_LOG_BACKEND_UART_BAUDRATE 30801920 3 | #endif 4 | // NRF_LOG_BACKEND_UART_TX_PIN - UART TX pin 5 | #ifndef NRF_LOG_BACKEND_UART_TX_PIN 6 | #define NRF_LOG_BACKEND_UART_TX_PIN 6 7 | #endif 8 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "generators/esp8266/rules/gdbstub"] 2 | path = generators/esp8266/rules/gdbstub 3 | url = https://github.com/espressif/esp-gdbstub.git 4 | [submodule "tools/ESP32ToolchainUpdater/esp32-svd"] 5 | path = tools/ESP32ToolchainUpdater/esp32-svd 6 | url = https://github.com/espressif/svd 7 | -------------------------------------------------------------------------------- /SDKImporters/KSDK2xImporter/main.c: -------------------------------------------------------------------------------- 1 | #include "board.h" 2 | #include "pin_mux.h" 3 | #include "clock_config.h" 4 | 5 | int main() 6 | { 7 | BOARD_InitPins(); 8 | BOARD_BootClockRUN(); 9 | BOARD_InitDebugConsole(); 10 | 11 | asm("bkpt 255"); //TODO: insert your application code here 12 | return 0; 13 | } -------------------------------------------------------------------------------- /generators/nrf5x/rules/softdevices.txt: -------------------------------------------------------------------------------- 1 | #The information here is manually gathered from the Nordic website 2 | S112: nRF52810, nRF52811, nRF52820, nRF52832 3 | S113: nRF52810, nRF52811, nRF52820, nRF52832, nRF52833, nRF52840 4 | S122: nRF52811, nRF52820, nRF52833 5 | S132: nRF52810, nRF52832 6 | S140: nRF52811, nRF52820, nRF52833, nRF52840 7 | -------------------------------------------------------------------------------- /generators/NXP/rules/SystemInit/startup.c: -------------------------------------------------------------------------------- 1 | /* 2 | This file contains the entry point (Reset_Handler) of your firmware project. 3 | The reset handled initializes the RAM and calls system library initializers as well as 4 | the platform-specific initializer and the main() function. 5 | */ 6 | void SystemInit(void) 7 | { 8 | Chip_SystemInit(); 9 | } -------------------------------------------------------------------------------- /generators/mbed/data/samples/01_LEDBlink/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | DigitalOut g_LED(LED$$com.sysprogs.examples.ledblink.LEDNUM$$); 4 | 5 | int main() 6 | { 7 | for (;;) 8 | { 9 | g_LED = 1; 10 | wait_ms($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 11 | g_LED = 0; 12 | wait_ms($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 13 | } 14 | } -------------------------------------------------------------------------------- /TestFrameworkGenerator/Rules/GoogleTest/platforms/Embedded/GoogleTestEmbeddedStubs.cpp: -------------------------------------------------------------------------------- 1 | extern "C" 2 | { 3 | char *getcwd(char *buf, int size) 4 | { 5 | if (size > 0) 6 | buf[0] = '/'; 7 | if (size > 1) 8 | buf[1] = 0; 9 | return buf; 10 | } 11 | 12 | int mkdir() 13 | { 14 | return 1; 15 | } 16 | } -------------------------------------------------------------------------------- /generators/TI/msp432/rules/SystemInit/SystemInit.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void SystemInit() 5 | { 6 | SCB->CPACR |= ((3UL << 10 * 2) | /* Set CP10 Full Access */ 7 | (3UL << 11 * 2)); /* Set CP11 Full Access */ 8 | } 9 | 10 | #ifdef DEBUG 11 | void 12 | __error__(char *pcFilename, uint32_t ui32Line) 13 | { 14 | asm("bkpt 255"); 15 | } 16 | #endif 17 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/NoFLASH/$$PROJECTNAME$$.cpp: -------------------------------------------------------------------------------- 1 | int g_Counter; 2 | 3 | int main() 4 | { 5 | for (;;) 6 | { 7 | asm("nop"); 8 | asm("nop"); 9 | g_Counter++; 10 | asm("nop"); 11 | asm("nop"); 12 | } 13 | } 14 | 15 | #ifdef __cplusplus 16 | extern "C" 17 | #endif 18 | int flashless_entry() 19 | { 20 | main(); 21 | return 0; 22 | } -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/UnitTests/TestHAL/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 2 | $$UNITTEST:INCLUDES$$ 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 | $$UNITTEST:INIT$$ 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Windows; 7 | 8 | namespace RenesasToolchainManager 9 | { 10 | /// 11 | /// Interaction logic for App.xaml 12 | /// 13 | public partial class App : Application 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /generators/stm32/stm32_compat.h: -------------------------------------------------------------------------------- 1 | /* 2 | This file is a part of VisualGDB [http://visualgdb.com/]. 3 | It prevents IntelliSense errors specific to STM32 by hiding them via empty preprocessor definitions. 4 | This file overrides some of the default definitions in gcc_compat.h in VisualGDB directory. 5 | NEVER INCLUDE THIS FILE IN YOUR ACTUAL SOURCE CODE. 6 | */ 7 | 8 | #ifndef __SYSPROGS_CODESENSE__ 9 | #define __asm 10 | #endif 11 | -------------------------------------------------------------------------------- /libraries/LinkerScriptGenerator/Templates/XCC3200HZ.mcux: -------------------------------------------------------------------------------- 1 | 2 | 3 | KL25Z128 4 | 5 | 6 | RAM 7 | RAM 8 | 0x20004000 9 | 176K 10 | 11 | 12 | -------------------------------------------------------------------------------- /libraries/LinkerScriptGenerator/Templates/XCC3200JR.mcux: -------------------------------------------------------------------------------- 1 | 2 | 3 | KL25Z128 4 | 5 | 6 | RAM 7 | RAM 8 | 0x20004000 9 | 240K 10 | 11 | 12 | -------------------------------------------------------------------------------- /generators/Kinetis/rules/Samples/UnitTest/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | This as very basic unit test project 5 | false 6 | 7 | com.sysprogs.arm.kinetis.platform 8 | 9 | -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace VendorSampleReportViewer 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /libraries/BSPGenerationTools/VendorSample.cs: -------------------------------------------------------------------------------- 1 | using BSPEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace BSPGenerationTools 8 | { 9 | public class ConstructedVendorSampleDirectory : VendorSampleDirectory 10 | { 11 | public string SourceDirectory; 12 | public string ToolchainDirectory; 13 | public string BSPDirectory; 14 | public string BSPVersion; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /generators/TI/RM57x/rules/families/RM57x.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | RM57x 4 | .* 5 | $$BSPGEN:INPUT_DIR$$\NonRTOS\source 6 | $$BSPGEN:INPUT_DIR$$\NonRTOS\source 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /generators/TI/Tiva/rules/SystemInit/SystemInit.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | void SystemInit() 6 | { 7 | HWREG(NVIC_CPAC) = ((HWREG(NVIC_CPAC) & 8 | ~(NVIC_CPAC_CP10_M | NVIC_CPAC_CP11_M)) | 9 | NVIC_CPAC_CP10_FULL | NVIC_CPAC_CP11_FULL); 10 | } 11 | 12 | #ifdef DEBUG 13 | void 14 | __error__(char *pcFilename, uint32_t ui32Line) 15 | { 16 | asm("bkpt 255"); 17 | } 18 | #endif 19 | -------------------------------------------------------------------------------- /generators/renesas/RA/Rules/FixedFiles/freertos/ra_gen/blinky_thread.h: -------------------------------------------------------------------------------- 1 | /* This file is not yet automatically regenerated by VisualGDB and can be edited manually. */ 2 | 3 | #pragma once 4 | #include "bsp_api.h" 5 | #include "FreeRTOS.h" 6 | #include "task.h" 7 | #include "semphr.h" 8 | #include "hal_data.h" 9 | #ifdef __cplusplus 10 | extern "C" void blinky_thread_entry(void * pvParameters); 11 | #else 12 | extern void blinky_thread_entry(void *pvParameters); 13 | #endif 14 | FSP_HEADER 15 | FSP_FOOTER 16 | 17 | -------------------------------------------------------------------------------- /generators/rs14100/rs14100.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | [SysGCC-arm-eabi-9.2.1] 4 | $$JOBDIR$$\Output 5 | .* 6 | 7 | 8 | Access Point 9 | true 10 | false 11 | 12 | 13 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/AzureRTOS/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 | -------------------------------------------------------------------------------- /generators/renesas/RA/Rules/FixedFiles/threadx/ra_gen/blinky_thread.h: -------------------------------------------------------------------------------- 1 | /* This file is not yet automatically regenerated by VisualGDB and can be edited manually. */ 2 | #ifndef BLINKY_THREAD_H_ 3 | #define BLINKY_THREAD_H_ 4 | #include "bsp_api.h" 5 | #include "tx_api.h" 6 | #include "hal_data.h" 7 | #ifdef __cplusplus 8 | extern "C" void blinky_thread_entry(void); 9 | #else 10 | extern void blinky_thread_entry(void); 11 | #endif 12 | FSP_HEADER 13 | FSP_FOOTER 14 | #endif /* BLINKY_THREAD_H_ */ 15 | -------------------------------------------------------------------------------- /generators/stm32/rules/MissingMCUs.txt: -------------------------------------------------------------------------------- 1 | STM32C051C6Ux 2 | STM32C051K6Tx 3 | STM32C092ECYx 4 | STM32U073C8Tx 5 | STM32U073C8Ux 6 | STM32U073CBTx 7 | STM32U073CBUx 8 | STM32U073CCTx 9 | STM32U073CCUx 10 | STM32U073H8Yx 11 | STM32U073HBYx 12 | STM32U073HCYx 13 | STM32U073K8Ux 14 | STM32U073KCUx 15 | STM32U073M8Ix 16 | STM32U073M8Tx 17 | STM32U073MBIx 18 | STM32U073MBTx 19 | STM32U073MCIx 20 | STM32U073MCTx 21 | STM32U073R8Ix 22 | STM32U073R8Tx 23 | STM32U073RBIx 24 | STM32U073RBTx 25 | STM32U073RCIx 26 | STM32U073RCTx 27 | STM32U5A5QIIxQ 28 | -------------------------------------------------------------------------------- /generators/renesas/RA/Rules/KnownTemplates/config.bsp.pin.txt: -------------------------------------------------------------------------------- 1 | 2 | /* generated configuration header file - do not edit */ 3 | #ifndef BSP_PIN_CFG_H_ 4 | #define BSP_PIN_CFG_H_ 5 | #include "r_ioport.h" 6 | [#list pins as pin] 7 | #define ${pin.name} (IOPORT_PORT_${pin.port}_PIN_${pin.pin})[#if pin.comment??] /* ${pin.comment} */[/#if] 8 | [/#list] 9 | [#list configs as config] 10 | extern const ioport_cfg_t ${config.symbol}; /* ${config.name} */ 11 | [/#list] 12 | 13 | void BSP_PinConfigSecurityInit(); 14 | #endif /* BSP_PIN_CFG_H_ */ 15 | -------------------------------------------------------------------------------- /generators/stm32/Peripherals/ManualPeripheralRegisterRules.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace stm32_bsp_generator 8 | { 9 | static class ManualPeripheralRegisterRules 10 | { 11 | internal static void ApplyKnownNameTransformations(ref string[] nameForMatching) 12 | { 13 | if (nameForMatching[0] == "OSPEEDER") 14 | nameForMatching[0] = "OSPEEDR"; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /generators/mbed/data/stubs.cpp: -------------------------------------------------------------------------------- 1 | extern "C" 2 | { 3 | int __attribute__((weak)) _kill() 4 | { 5 | return 0; 6 | } 7 | 8 | int __attribute__((weak)) _getpid() 9 | { 10 | return 0; 11 | } 12 | 13 | int __attribute__((weak)) initialise_monitor_handles() 14 | { 15 | return 0; 16 | } 17 | 18 | //Only needed for nRF5x-based targets. Will get overridden once the BLE-related frameworks are added. 19 | void __attribute__((weak)) assert_nrf_callback(unsigned short line_num, const unsigned char *p_file_name) 20 | { 21 | asm("bkpt 255"); 22 | } 23 | } -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/NoFLASH/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Empty project (no FLASH) 4 | This is an empty project that does not involve programming any FLASH memory. 5 | ESP32_NOFLASH 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32mp1/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32mp1 4 | STM32MP Devices 5 | arm-eabi 6 | stm32mp1.mak 7 | stm32_compat.h 8 | 5.1 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wb/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32wb 4 | STM32WB Devices 5 | arm-eabi 6 | stm32wb.mak 7 | stm32_compat.h 8 | 5.1 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wl/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32wl 4 | STM32WL55 Devices 5 | arm-eabi 6 | stm32wl.mak 7 | stm32_compat.h 8 | 5.1 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32h7rs/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32.h7rs 4 | STM32H7R/S Devices 5 | arm-eabi 6 | stm32h7rs.mak 7 | stm32_compat.h 8 | 5.1 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/rules/bluenrg-lp/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32.bluenrg-lp 4 | BlueNRG-LP Devices 5 | arm-eabi 6 | bluenrg.mak 7 | stm32_compat.h 8 | 5.1 9 | 10 | -------------------------------------------------------------------------------- /generators/stm32/Rulesets/STM32WLFamilyBuilder.cs: -------------------------------------------------------------------------------- 1 | using BSPEngine; 2 | using BSPGenerationTools; 3 | using LinkerScriptGenerator; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.IO; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace stm32_bsp_generator.Rulesets 12 | { 13 | class STM32WLFamilyBuilder : MCUFamilyBuilder 14 | { 15 | public STM32WLFamilyBuilder(BSPBuilder bspBuilder, FamilyDefinition definition) 16 | : base(bspBuilder, definition) 17 | { 18 | } 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /generators/mbed/data/samples/02_RTOS/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | DigitalOut g_LED1(LED$$com.sysprogs.examples.ledblink.LED1NUM$$); 5 | DigitalOut g_LED2(LED$$com.sysprogs.examples.ledblink.LED2NUM$$); 6 | 7 | static void ThreadBody(const void *) 8 | { 9 | for (;;) 10 | { 11 | g_LED1 = !g_LED1; 12 | Thread::wait($$com.sysprogs.examples.ledblink.DELAY1MSEC$$); 13 | } 14 | } 15 | 16 | int main() 17 | { 18 | Thread thread(ThreadBody); 19 | for (;;) 20 | { 21 | g_LED2 = !g_LED2; 22 | Thread::wait($$com.sysprogs.examples.ledblink.DELAY2MSEC$$); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/CommonFiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | int[ \t]+main[ \t]*\([ \t]*(void|)[ \t]*\)[ \t\r\n]*\{[^\};]*\n([ \t]+)([^\t]*;) 6 | 3 7 | 2 8 | false 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/FramworkSamples/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 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 | int main(void) 19 | { 20 | LEDS_CONFIGURE(LEDS_MASK); 21 | 22 | for (;;) 23 | { 24 | for (int i = 0; i < LEDS_NUMBER; i++) 25 | { 26 | LEDS_INVERT(1 << leds_list[i]); 27 | nrf_delay_ms(500); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/BSPTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.stm32 4 | STM32 Devices 5 | arm-eabi 6 | stm32.mak 7 | 2020.01 8 | stm32_compat.h 9 | 5.1 10 | 11 | -------------------------------------------------------------------------------- /libraries/LinkerScriptGenerator/Templates/STM32F100VB.mcux: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F100VB 4 | 5 | 6 | FLASH 7 | FLASH 8 | 0x08000000 9 | 128K 10 | 11 | 12 | RAM 13 | RAM 14 | 0x20000000 15 | 8K 16 | 17 | 18 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/LEDBlink_BSP/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 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 | int main(void) 19 | { 20 | LEDS_CONFIGURE(LEDS_MASK); 21 | 22 | for (;;) 23 | { 24 | for (int i = 0; i < LEDS_NUMBER; i++) 25 | { 26 | LEDS_INVERT(1 << leds_list[i]); 27 | nrf_delay_ms(500); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/TI/Tiva/TivaLedBlinkJob.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | [SysGCC-arm-eabi-9.2.1] 4 | $$JOBDIR$$\Output 5 | .* 6 | 7 | 8 | LEDBlink 9 | true 10 | `false 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /generators/CoreReg/Rules/core_m7ppb.txt: -------------------------------------------------------------------------------- 1 | PF-Processor features 2 | 0xE000ED78 CLIDR RO 3 | 0xE000ED7C CTR RO 4 | 0xE000ED80 CCSIDR RO 5 | 0xE000ED84 CSSELR RW 6 | CMO-Cache maintenance operations 7 | 0xE000EF50 ICIALLU WO 8 | 0xE000EF54 Reserved WO 9 | 0xE000EF58 ICIMVAU WO 10 | 0xE000EF5C DCIMVAC WO 11 | 0xE000EF60 DCISW WO 12 | 0xE000EF64 DCCMVAU WO 13 | 0xE000EF68 DCCMVAC WO 14 | 0xE000EF6C DCCSW WO 15 | 0xE000EF70 DCCIMVAC WO 16 | 0xE000EF74 DCCISW WO 17 | 0xE000EF78 BPIALL RAZ/WI 18 | AC-Access_control 19 | 0xE000EF90 ITCMCR RW 20 | 0xE000EF94 DTCMCR RW 21 | 0xE000EF98 AHBPCR RW 22 | 0xE000EF9C CACR RW 23 | 0xE000EFA0 AHBSCR RW 24 | 0xE000EFA8 ABFSR RW 25 | -------------------------------------------------------------------------------- /generators/Infineon/InfineonXMLedblink.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | [SysGCC-arm-eabi-7.2.0] 4 | $$JOBDIR$$\Output 5 | ^XMC.* 6 | 7 | 8 | LEDBlink 9 | true 10 | false 11 | -LEDBlink 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /generators/Infineon/rules/Samples/LEDBLink_XMC1X/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef __cplusplus 4 | extern "C" 5 | #endif 6 | void SysTick_Handler(void) 7 | { 8 | XMC_GPIO_ToggleOutput(XMC_GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$); 9 | } 10 | 11 | int main(void) 12 | { 13 | XMC_GPIO_SetMode(XMC_GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, XMC_GPIO_MODE_OUTPUT_PUSH_PULL); 14 | unsigned periodInMsec = $$com.sysprogs.examples.ledblink.DELAYMSEC$$; 15 | SysTick_Config((SystemCoreClock / 1000) * periodInMsec); 16 | 17 | for (;;) 18 | { 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /generators/special/pic32/rules/Samples-MIPS/Blink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void Delay() 4 | { 5 | for (volatile int x = 0; x < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; x++) 6 | { 7 | asm("nop"); 8 | } 9 | } 10 | 11 | int main() 12 | { 13 | TRIS$$com.sysprogs.examples.ledblink.LEDPORT$$CLR = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 14 | for (;;) 15 | { 16 | PORT$$com.sysprogs.examples.ledblink.LEDPORT$$SET = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 17 | Delay(); 18 | PORT$$com.sysprogs.examples.ledblink.LEDPORT$$CLR = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 19 | Delay(); 20 | } 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /TestFrameworkGenerator/Rules/GoogleTest/samples/$$PROJECTNAME$$Tests.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 | -------------------------------------------------------------------------------- /generators/mbed/data/samples/03_USB_CDC/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | This is a basic USB CDC device based on the mbed USB library 5 | 6 | 7 | false 8 | 9 | com.sysprogs.arm.mbed.rtos 10 | com.sysprogs.arm.mbed.usb 11 | com.sysprogs.arm.mbed.drivers 12 | 13 | -------------------------------------------------------------------------------- /generators/TI/CC3220/rules/Samples/pwmled/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | PWMLED 4 | A very basic sample demonstrating how to control the LEDs using the PWM functions. 5 | false 6 | 7 | 8 | com.sysprogs.arm.ti.cc3220.device_drivers 9 | com.sysprogs.arm.ti.cc3220.periph_drivers 10 | com.sysprogs.arm.ti.cc3220.nortos 11 | 12 | -------------------------------------------------------------------------------- /DebugPackages/RenesasDebugPackage/RenesasDebugSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using BSPEngine; 6 | 7 | namespace RenesasDebugPackage 8 | { 9 | public class RenesasDebugSettings 10 | { 11 | public string CommandLineArguments = "-umFreq= 0 -usFreq= 0 -umClock= 1 -usecurityID= 00000000000000000000 -upermitFlash= 1 -uuseWideVoltageMode= 1 -ueraseRom= 1 -uresetOnReload= 1 -ustopTimerEmu= 0 -ustopSerialEmu= 0 -umaskInternalResetSignal= 0 -umaskTargetResetSignal= 0 -n 0 -uverifyOnWritingMemory= 1 -uTraceCapture= 0 --english"; 12 | public ProgramMode ProgramMode = ProgramMode.Enabled; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /FLASHPatchers/STM32/Firmware/FLASHPatcherAPI.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static const int FLASHPatcher_ProgramBurstSizeInWords = 8; 4 | 5 | extern "C" 6 | { 7 | int __attribute__((noinline, noclone)) FLASHPatcher_Init(); 8 | int __attribute__((noinline, noclone)) FLASHPatcher_EraseSectors(int bank, int firstSector, int count); 9 | int __attribute__((noinline, noclone)) FLASHPatcher_ProgramWords(int bank, void *address, const uint32_t *words, int wordCount); 10 | int __attribute__((noinline, noclone)) FLASHPatcher_ProgramRepeatedWords(int bank, void *address, const uint32_t *words, int wordCount, int totalWordCount); 11 | int __attribute__((noinline, noclone)) FLASHPatcher_Complete(); 12 | } 13 | -------------------------------------------------------------------------------- /generators/stm32/Rulesets/STM32ClassicFamilyBuilder.cs: -------------------------------------------------------------------------------- 1 | using BSPGenerationTools; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace stm32_bsp_generator.Rulesets 9 | { 10 | class STM32ClassicFamilyBuilder : MCUFamilyBuilder 11 | { 12 | public STM32ClassicFamilyBuilder(BSPBuilder bspBuilder, FamilyDefinition definition) : base(bspBuilder, definition) 13 | { 14 | } 15 | 16 | protected override void OnMissingSampleFile(MissingSampleFileArgs args) 17 | { 18 | return; 19 | base.OnMissingSampleFile(args); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAMB/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include "$$com.sysprogs.atmel.sam32._header_prefix$$.h" 2 | #include "gpio.h" 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | 12 | 13 | int main() 14 | { 15 | struct gpio_config config; 16 | config.direction = GPIO_PIN_DIR_OUTPUT ; 17 | 18 | gpio_pin_set_config(PIN_LP_GPIO_1, &config); 19 | 20 | for (;;) 21 | { 22 | gpio_pin_set_output_level(PIN_LP_GPIO_$$com.sysprogs.examples.ledblink.LEDBIT$$,false); 23 | Delay(); 24 | gpio_pin_set_output_level(PIN_LP_GPIO_$$com.sysprogs.examples.ledblink.LEDBIT$$,true); 25 | Delay(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 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 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | 16 | int main(void) 17 | { 18 | nrf_gpio_cfg_output($$com.sysprogs.examples.ledblink.LEDBIT$$); 19 | 20 | for (;;) 21 | { 22 | nrf_gpio_pin_set($$com.sysprogs.examples.ledblink.LEDBIT$$); 23 | nrf_delay_ms($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 24 | nrf_gpio_pin_clear($$com.sysprogs.examples.ledblink.LEDBIT$$); 25 | nrf_delay_ms($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAM4L/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include "sam4l.h" 2 | #include "ioport.h" 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < 1000000; i++) 8 | asm("nop"); 9 | } 10 | 11 | #define LED1 PIN_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$ 12 | 13 | int main() 14 | { 15 | sysclk_init(); 16 | ioport_set_pin_dir(LED1, IOPORT_DIR_OUTPUT); 17 | ioport_set_pin_level(LED1, IOPORT_PIN_LEVEL_LOW); 18 | for (;;) 19 | { 20 | Delay(); 21 | ioport_set_pin_level(LED1, IOPORT_PIN_LEVEL_LOW); 22 | Delay(); 23 | ioport_set_pin_level(LED1, IOPORT_PIN_LEVEL_HIGH); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/HTTP_Netconn_STM32F2X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F207ZG-Nucleo HTTP Server 4 | This example shows how accept HTTP connections over Ethernet using the lwIP library 5 | STM32F2.* 6 | 7 | com.sysprogs.arm.stm32.freertos 8 | com.sysprogs.arm.stm32.LwIP 9 | com.sysprogs.arm.stm32.hal 10 | com.sysprogs.arm.stm32.ll 11 | 12 | -------------------------------------------------------------------------------- /FLASHPatchers/STM32/Firmware/startup.S: -------------------------------------------------------------------------------- 1 | .section .text 2 | .cpu cortex-m4 3 | .thumb 4 | .syntax unified 5 | .text 6 | 7 | .global Reset_Handler 8 | .global EndOfProgram 9 | 10 | Reset_Handler: 11 | ldr r0, =0x20002000 12 | ldr r1, =end 13 | ldr r2, =0x55555555 14 | .FillStack: 15 | str r2, [r1, #0] 16 | add r1, #4 17 | cmp r1, r0 18 | bne .FillStack 19 | mov sp, r0 20 | 21 | ldr r0, =g_pBuffer 22 | blx FLASHPatcher_RunRequestLoop 23 | bkpt 0 24 | //The calls below are needed to prevent the link-time optimizer from hardcoding values implied from the async handler 25 | b FLASHPatcher_Init 26 | b FLASHPatcher_EraseSectors 27 | b FLASHPatcher_ProgramWords 28 | b FLASHPatcher_Complete 29 | b FLASHPatcher_ProgramRepeatedWords 30 | -------------------------------------------------------------------------------- /generators/mbed/data/log_file.log: -------------------------------------------------------------------------------- 1 | Processing target: ARCH_BLE [0%] 2 | Traceback (most recent call last): 3 | File "E:\projects\sysprogs-github\BSPTools\generators\mbed\data\visualgdb_bsp.py", line 25, in 4 | import defines_parser 5 | File "E:\projects\sysprogs-github\BSPTools\generators\mbed\data\defines_parser.py", line 51, in 6 | proc = sp.Popen('mbed compile -c -t GCC_ARM -m ' + target, stdout=sys.stdout, stderr=sys.stderr) 7 | File "E:\ware\Python27\lib\subprocess.py", line 711, in __init__ 8 | errread, errwrite) 9 | File "E:\ware\Python27\lib\subprocess.py", line 959, in _execute_child 10 | startupinfo) 11 | WindowsError: [Error 2] The system cannot find the file specified 12 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_NoFLASH/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" 3 | { 4 | #endif 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | void delay(int cycles) 15 | { 16 | volatile int i; 17 | for (i = 0; i < cycles; i++) {} 18 | } 19 | 20 | int main() 21 | { 22 | gpio_init(); 23 | PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_GPIO1); 24 | 25 | for (;;) 26 | { 27 | gpio_output_set(BIT1, 0, BIT1, 0); 28 | delay($$com.sysprogs.esp8266.ledblink.DELAYCYCLES$$); 29 | gpio_output_set(0, BIT1, BIT1, 0); 30 | delay($$com.sysprogs.esp8266.ledblink.DELAYCYCLES$$); 31 | } 32 | } -------------------------------------------------------------------------------- /generators/mbed/data/samples/04_BLE_UART/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Bluetooth LE UART Console 4 | This is a basic Bluetooth LE virtual UART console that works on Nordic nRF5x devices with the Nordic UART app 5 | 6 | 7 | false 8 | 9 | com.sysprogs.arm.mbed.drivers 10 | com.sysprogs.arm.mbed.feature.BLE 11 | com.sysprogs.arm.mbed.mbedtls 12 | 13 | -------------------------------------------------------------------------------- /generators/Atmel/AtmelLedBlinkJob.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output 4 | SAM.* 5 | 6 | Reserved 7 | 8 | SMAP_ADDR 9 | 10 | 11 | 12 | 13 | LEDBlink 14 | true 15 | `true 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /TestFrameworkGenerator/Rules/TinyEmbeddedTest/rules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $$BSPGEN:RULES_DIR$$\Framework 6 | * 7 | 8 | . 9 | -* 10 | 11 | 12 | $$BSPGEN:RULES_DIR$$\..\common 13 | * 14 | 15 | -* 16 | 17 | 18 | -------------------------------------------------------------------------------- /generators/TI/msp432/rules/Samples/LEDBlink/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | int main(void) 7 | { 8 | volatile uint32_t ii; 9 | 10 | $$com.sysprogs.examples.msp432.ROMPREFIX$$WDT_A_holdTimer(); 11 | $$com.sysprogs.examples.msp432.ROMPREFIX$$GPIO_setAsOutputPin(GPIO_PORT_$$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN$$com.sysprogs.examples.ledblink.LEDBIT$$); 12 | 13 | while (1) 14 | { 15 | for(ii=0; ii < $$com.sysprogs.examples.ledblink.DELAY$$; ii++); 16 | $$com.sysprogs.examples.msp432.ROMPREFIX$$GPIO_toggleOutputOnPin(GPIO_PORT_$$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN$$com.sysprogs.examples.ledblink.LEDBIT$$); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /generators/special/pic32/rules/Samples-ARM/Blink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void Delay() 4 | { 5 | for (volatile int x = 0; x < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; x++) 6 | { 7 | asm("nop"); 8 | } 9 | } 10 | 11 | int main() 12 | { 13 | PORT_REGS->GROUP[$$com.sysprogs.examples.ledblink.LEDPORT$$].PORT_DIRSET = (1U << $$com.sysprogs.examples.ledblink.LEDBIT$$); 14 | 15 | for (;;) 16 | { 17 | PORT_REGS->GROUP[$$com.sysprogs.examples.ledblink.LEDPORT$$].PORT_OUTSET = (1U << $$com.sysprogs.examples.ledblink.LEDBIT$$); 18 | Delay(); 19 | PORT_REGS->GROUP[$$com.sysprogs.examples.ledblink.LEDPORT$$].PORT_OUTCLR = (1U << $$com.sysprogs.examples.ledblink.LEDBIT$$); 20 | Delay(); 21 | } 22 | 23 | return 0; 24 | } -------------------------------------------------------------------------------- /generators/renesas/RA/Rules/KnownTemplates/config.bsp.pin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | #include "r_ioport.h" 6 | 7 | 8 | 9 | com.renesas.ra.device.pins.macros 10 | 11 | 12 | 13 | 14 | extern const ioport_cfg_t g_bsp_pin_cfg; 15 | 16 | void BSP_PinConfigSecurityInit(); 17 | 18 | 19 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAMD/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define LED1 PIN_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$ 5 | 6 | void Delay() 7 | { 8 | int i; 9 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 10 | asm("nop"); 11 | } 12 | 13 | int main(void) 14 | { 15 | system_init(); 16 | 17 | struct port_config pin_conf; 18 | port_get_config_defaults(&pin_conf); 19 | 20 | pin_conf.direction = PORT_PIN_DIR_OUTPUT; 21 | port_pin_set_config(LED1, &pin_conf); 22 | for (;;) 23 | { 24 | port_pin_set_output_level(LED1, false); 25 | Delay(); 26 | port_pin_set_output_level(LED1, true); 27 | Delay(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /generators/mbed/data/samples/03_USB_CDC/USB_CDC.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | USBSerial g_USBSerial; 5 | 6 | #ifdef DEBUG 7 | /* 8 | Defining DEBUG will enable a LOT of debug output in the USBDevice.cpp file inside mbed. 9 | This may prevent the device from answering to USB requests in time and will make it unrecognizable. 10 | Please replace #ifdef DEBUG with #ifdef DEBUG_USBDEVICE in USBDevice.cpp and remove the error directive below. 11 | */ 12 | #error Please fix USBDevice.cpp as described above 13 | #endif 14 | 15 | int main() 16 | { 17 | for (;;) 18 | { 19 | while (!g_USBSerial.readable()) 20 | ; 21 | char ch = g_USBSerial.getc(); 22 | while (!g_USBSerial.writeable()) 23 | ; 24 | g_USBSerial.putc(ch + 1); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | 18 | com.sysprogs.arm.ti.cc3200.sdk 19 | com.sysprogs.arm.ti.cc3200.common 20 | 21 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/HTTP_Netconn_STM32F4X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F429ZI-Nucleo HTTP Server 4 | This example shows how accept HTTP connections over Ethernet using the lwIP library 5 | STM32F4.* 6 | 7 | com.sysprogs.arm.stm32.freertos 8 | com.sysprogs.arm.stm32.LwIP 9 | com.sysprogs.arm.stm32.hal 10 | com.sysprogs.arm.stm32.ll 11 | com.sysprogs.arm.stm32.bspdrv.lan8742 12 | 13 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/HTTP_Netconn_STM32F7X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F7-Discovery HTTP Server 4 | This example shows how accept HTTP connections over Ethernet using the lwIP library 5 | STM32F7.* 6 | 7 | com.sysprogs.arm.stm32.freertos 8 | com.sysprogs.arm.stm32.LwIP 9 | com.sysprogs.arm.stm32.hal 10 | com.sysprogs.arm.stm32.ll 11 | com.sysprogs.arm.stm32.bspdrv.lan8742 12 | 13 | -------------------------------------------------------------------------------- /BSPEngine.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(MSBuildThisFileDirectory)BSPEngine.dll 6 | 7 | 8 | 9 | 10 | 11 | {583896AC-11C2-4FD3-990B-07E215C5382D} 12 | BSPEngine 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /generators/stm32/stm32mp1.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output\stm32mp1 4 | STM32.* 5 | 6 | 7 | LEDBlink (HAL) 8 | true 9 | true 10 | -LEDBlink 11 | .* 12 | 13 | 14 | 15 | com.sysprogs.examples.ledblink.LEDPORT 16 | GPIOA 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /generators/stm32/stm32wb.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output\stm32wb 4 | STM32.* 5 | 6 | 7 | LEDBlink (HAL) 8 | true 9 | true 10 | -LEDBlink 11 | .* 12 | 13 | 14 | 15 | com.sysprogs.examples.ledblink.LEDPORT 16 | GPIOA 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /generators/stm32/stm32h7rs.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output\stm32h7rs 4 | STM32.* 5 | 6 | 7 | LEDBlink (HAL) 8 | true 9 | true 10 | -LEDBlink 11 | .* 12 | 13 | 14 | 15 | com.sysprogs.examples.ledblink.LEDPORT 16 | GPIOA 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /FLASHPatchers/BSPEngine.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(MSBuildThisFileDirectory)BSPEngine.dll 6 | 7 | 8 | 9 | 10 | 11 | {583896AC-11C2-4FD3-990B-07E215C5382D} 12 | BSPEngine 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAM0/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define LED1 PIN_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$ 5 | 6 | void Delay() 7 | { 8 | int i; 9 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 10 | asm("nop"); 11 | } 12 | 13 | int main(void) 14 | { 15 | system_init(); 16 | 17 | struct port_config pin_conf; 18 | port_get_config_defaults(&pin_conf); 19 | 20 | pin_conf.direction = PORT_PIN_DIR_OUTPUT; 21 | port_pin_set_config(LED1, &pin_conf); 22 | for (;;) 23 | { 24 | port_pin_set_output_level(LED1, false); 25 | Delay(); 26 | port_pin_set_output_level(LED1, true); 27 | Delay(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /.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 | Output 39 | /generators/mbed/data/*.pyc 40 | /DebugPackages/TiXDSDebugPackage/FLASH/CC3220SF/VisualGDB/VisualGDBCache/CC3220SF-Debug 41 | /VendorSampleParsers/stm32/Cache 42 | /VendorSampleParsers/Nordic/Cache 43 | BSPReport.txt 44 | RelocationReport.txt 45 | .visualgdb 46 | build 47 | *.log 48 | -------------------------------------------------------------------------------- /generators/TI/msp432/rules/Families/MSP432P4xx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | MSP432 4 | ^MSP432P4.* 5 | MSP432P4xx 6 | $$BSPGEN:INPUT_DIR$$ 7 | 8 | 9 | 10 | TARGET_IS_MSP432P4XX 11 | __MSP432P401R__ 12 | 13 | 14 | 15 | 16 | com.sysprogs.examples.msp432.ROMPREFIX 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /generators/Atmel/rules/Samples/LEDBlink_SAM/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include "$$com.sysprogs.atmel.sam32._header_prefix$$.h" 2 | #include "sam_gpio.h" 3 | #include "pio.h" 4 | 5 | void Delay() 6 | { 7 | int i; 8 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 9 | asm("nop"); 10 | } 11 | 12 | int main() 13 | { 14 | gpio_configure_pin(PIO_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$_IDX, PIO_TYPE_PIO_OUTPUT_1 | PIO_DEFAULT); 15 | 16 | for (;;) 17 | { 18 | gpio_set_pin_low(PIO_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$_IDX); 19 | Delay(); 20 | gpio_set_pin_high(PIO_P$$com.sysprogs.examples.ledblink.LEDPORT$$$$com.sysprogs.examples.ledblink.LEDBIT$$_IDX); 21 | Delay(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /generators/TI/CC3220/rules/Samples/network_terminal/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Network Terminal 4 | A comprehensive demo of the Wi-Fi functionality controlled via an on-board UART port. 5 | false 6 | 7 | 8 | com.sysprogs.arm.ti.cc3220.device_drivers 9 | com.sysprogs.arm.ti.cc3220.periph_drivers 10 | com.sysprogs.arm.ti.cc3220.freertos 11 | 12 | c99 13 | c++11 14 | -------------------------------------------------------------------------------- /generators/mbed/data/bsp_template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.sysprogs.arm.mbed 4 | ARM mbed 5 | 1.0 6 | arm-eabi 7 | mbed.mak 8 | 5.1 9 | mbed Files 10 | 11 | 12 | MBED_CORE 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /generators/Kinetis/Program.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2015 Sysprogs OU. All Rights Reserved. 2 | This software is licensed under the Sysprogs BSP Generator License. 3 | https://github.com/sysprogs/BSPTools/blob/master/LICENSE 4 | */ 5 | 6 | using BSPGenerationTools; 7 | using System; 8 | using System.Linq; 9 | 10 | namespace kinetis_bsp_generator { 11 | 12 | class Program { 13 | 14 | static void Main(string[] args) { 15 | 16 | if (args.Length < 1) { 17 | throw new Exception("Usage: kinetis_bsp_generator.exe "); 18 | } 19 | 20 | var bspBuilder = new KinetisBuilder(new BSPDirectories(args[0], @"..\..\Output", @"..\..\rules"), !args.Contains("/noperiph")); 21 | bspBuilder.GeneratePackage(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/BLEWithCrypto.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | BLEConfiguration.xml 4 | 5 | com.sysprogs.arm.nordic.nrf5x.libraries.external 6 | com.sysprogs.arm.nordic.nrf5x.mbedtls 7 | 8 | 9 | 10 | 11 | com.sysprogs.bspoptions.nrf5x.libraries.crypto 12 | yes 13 | 14 | 15 | com.sysprogs.bspoptions.nrf5x.libraries.external.nrf_cc310 16 | yes 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /TestFrameworkGenerator/Rules/CppUTest/samples/$$PROJECTNAME$$Tests.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 | -------------------------------------------------------------------------------- /DebugPackages/AVaRICEDebugPackage/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("AVaRICEDebugPackage")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("AVaRICEDebugPackage")] 13 | [assembly: AssemblyCopyright("Copyright © Sysprogs 2015-2017")] 14 | [assembly: Guid("31A11D6B-C971-49F1-8102-3CD75DC80CF6")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | [assembly: ComVisible(false)] 18 | -------------------------------------------------------------------------------- /DebugPackages/ESP8266DebugPackage/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ESPxxDebugPackage")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ESPxxDebugPackage")] 13 | [assembly: AssemblyCopyright("Copyright © Sysprogs 2015-2018")] 14 | [assembly: Guid("6480005c-0955-4d7b-a6d4-789feb6ef3dc")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | [assembly: ComVisible(false)] 18 | 19 | -------------------------------------------------------------------------------- /ProjectImporters/IARProjectImporter/GUI/IARImporterSettingsControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace IARProjectFileImporter.GUI 16 | { 17 | /// 18 | /// Interaction logic for IARImporterSettingsControl.xaml 19 | /// 20 | public partial class IARImporterSettingsControl : UserControl 21 | { 22 | public IARImporterSettingsControl() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ProjectImporters/KeilProjectImporter/GUI/KeilImporterSettingsControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace KeilProjectImporter.GUI 16 | { 17 | /// 18 | /// Interaction logic for KeilImporterSettingsControl.xaml 19 | /// 20 | public partial class KeilImporterSettingsControl : UserControl 21 | { 22 | public KeilImporterSettingsControl() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/RegistrySettings.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Win32; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace RedLinkDebugPackage 8 | { 9 | class RegistrySettings 10 | { 11 | static RegistryKey _Key; 12 | 13 | static RegistryKey Key 14 | { 15 | get 16 | { 17 | if (_Key == null) 18 | _Key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\Sysprogs\DebugPackages\RedLink"); 19 | 20 | return _Key; 21 | } 22 | } 23 | 24 | public static string MCUXpressoPath 25 | { 26 | get => Key.GetValue(nameof(MCUXpressoPath)) as string; 27 | set => Key.SetValue(nameof(MCUXpressoPath), value ?? ""); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/special/pic32/pic32.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output 4 | PIC32* 5 | F:\tools\xc32\v3.01 6 | .* 7 | 8 | 9 | Blink 10 | false 11 | false 12 | .* 13 | 14 | 15 | 16 | com.sysprogs.examples.ledblink.LEDPORT 17 | $$com.sysprogs.pic32.default_port$$ 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DebugPackages/OpenOCDPackage.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildThisFileDirectory)..\..\..\..\products\VisualGDB\support\OpenOCDPackage\OpenOCDPackage.csproj 5 | 6 | 7 | 8 | 9 | $(MSBuildThisFileDirectory)OpenOCDPackage2.dll 10 | 11 | 12 | 13 | 14 | 15 | {84589BB6-390B-49EC-A412-D7CADC0EE289} 16 | OpenOCDPackage 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32W1X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void Delay() 4 | { 5 | int i; 6 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 7 | asm("nop"); 8 | } 9 | 10 | int main() 11 | { 12 | GPIO_InitTypeDef GPIO_InitStructure; 13 | 14 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 15 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT_PP; 16 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 17 | 18 | for (;;) 19 | { 20 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 21 | Delay(); 22 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 23 | Delay(); 24 | } 25 | } -------------------------------------------------------------------------------- /generators/Kinetis/rules/Samples/LEDBlink/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include "M$$SYS:FAMILY_ID$$.h" 2 | 3 | void Delay() 4 | { 5 | int i; 6 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 7 | asm("nop"); 8 | } 9 | 10 | int main() 11 | { 12 | SIM_BASE_PTR->SCGC5 |= SIM_SCGC5_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$_MASK; 13 | PORT$$com.sysprogs.examples.ledblink.LEDPORT$$_BASE_PTR->PCR[$$com.sysprogs.examples.ledblink.LEDBIT$$] = PORT_PCR_MUX(1); 14 | 15 | GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$_PDDR = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 16 | 17 | for(;;) 18 | { 19 | GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$_PSOR = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 20 | Delay(); 21 | GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$_PCOR = 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$; 22 | Delay(); 23 | } 24 | 25 | return 0; 26 | } -------------------------------------------------------------------------------- /generators/special/pic32/rules/pic32-arm.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $$com.sysprogs.pic32.legacy_libc$$ -fno-common 5 | 6 | 7 | 8 | 9 | 10 | 11 | Enable legacy libc 12 | com.sysprogs.pic32.legacy_libc 13 | -legacy-libc 14 | true 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/serial_wifi/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | serial_wifi 4 | false 5 | 6 | 7 | com.sysprogs.arm.ti.cc3200.sdk 8 | com.sysprogs.arm.ti.cc3200.simplelink 9 | com.sysprogs.arm.ti.cc3200.free_rtos 10 | com.sysprogs.arm.ti.cc3200.common 11 | 12 | 13 | 14 | 15 | 16 | 17 | Common files 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /VendorSampleParsers/CC3220/KnownProblems.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | OTA_VENDOR_TOKEN1 6 | error: #error "Please define your personal cloud account token in OTA_VENDOR_TOKEN above 7 | Define your personal cloud account token in OTA_VENDOR_TOKEN above 8 | 9 | 10 | -std=c99 11 | error: #error "When compiling with TI-POSIX, you must define -std=c99 (or later). 12 | error: #error "When compiling with TI-POSIX, you must define -std=c99 (or later). 13 | 14 | 15 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/old_simples/serial_wifi/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | serial_wifi 4 | false 5 | 6 | 7 | com.sysprogs.arm.ti.cc3200.sdk 8 | com.sysprogs.arm.ti.cc3200.simplelink 9 | com.sysprogs.arm.ti.cc3200.free_rtos 10 | com.sysprogs.arm.ti.cc3200.common 11 | 12 | 13 | 14 | 15 | 16 | 17 | Common files 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /libraries/LinkerScriptGenerator/Templates/KL25Z128.mcux: -------------------------------------------------------------------------------- 1 | 2 | 3 | KL25Z128 4 | 5 | 6 | FLASH 7 | FLASH 8 | 0x410 9 | 0x1FBF0 10 | 11 | 12 | FLASH_Interrupts 13 | FLASH 14 | 0 15 | 0x400 16 | 17 | 18 | FLASH_Security 19 | FLASH 20 | 0x400 21 | 0x10 22 | 23 | 24 | RAM 25 | RAM 26 | 0x1FFFF000 27 | 16K 28 | 29 | 30 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/tcp_socket/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | tcp_socket 4 | false 5 | 6 | 7 | 8 | 9 | 10 | Common files 11 | 12 | 13 | $$SYS:BSP_ROOT$$/common/uart_if.c 14 | $$SYS:BSP_ROOT$$/common/udma_if.c 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | com.sysprogs.arm.ti.cc3200.sdk 25 | com.sysprogs.arm.ti.cc3200.simplelink 26 | 27 | 28 | -------------------------------------------------------------------------------- /generators/NXP/rules/CommonFiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $$BSPGEN:RULES_DIR$$\SystemInit 7 | * 8 | Common 9 | * 10 | 11 | 12 | 13 | 14 | 15 | 16 | $$BSPGEN:RULES_DIR$$\Samples\LEDBlink_LPCOpen 17 | Samples\LEDBlink_LPCOpen 18 | 19 | 20 | $$BSPGEN:RULES_DIR$$\Samples\LEDBlink_LPC12xx 21 | Samples\LEDBlink_LPC12xx 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /generators/TI/CC3220/cc3220.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output 4 | CC.* 5 | 6 | 7 | PWMLED 8 | true 9 | true 10 | false 11 | -pwmled 12 | 13 | 14 | 15 | 16 | Network Terminal 17 | true 18 | false 19 | false 20 | -networkterm 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /SDKImporters/AtmelStartSDKImporter/Program.cs: -------------------------------------------------------------------------------- 1 | using BSPEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace AtmelStartSDKImporter 8 | { 9 | class Program 10 | { 11 | class ConsoleWarningSink : IWarningSink 12 | { 13 | public void LogWarning(string warning) 14 | { 15 | Console.WriteLine("Warning: " + warning); 16 | } 17 | } 18 | 19 | static void Main(string[] args) 20 | { 21 | if (args.Length < 1) 22 | { 23 | Console.WriteLine("Usage: AtmelStartSDKImporter "); 24 | Environment.ExitCode = 1; 25 | return; 26 | } 27 | 28 | string sdkDir = args[0]; 29 | AtmelStartPackageParser.GenerateBSPForSTARTProject(args[0], new ConsoleWarningSink()); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /generators/Efm32/Efm32.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output 4 | EFM32.* 5 | 6 | RESERVED 7 | 8 | 9 | LEDBlink 10 | true 11 | true 12 | 13 | 14 | 15 | com.sysprogs.examples.ledblink.LEDPORT 16 | PortA 17 | 18 | 19 | 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.cmse 24 | -mcmse 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /generators/NXP/nxp_lpc.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | e:\SysGCC\arm-eabi 4 | $$JOBDIR$$\Output 5 | ^LPC.* 6 | 7 | 8 | LEDBlink 9 | true 10 | false 11 | 12 | 13 | 14 | com.sysprogs.examples.ledblink.LEDPORT 15 | 1 16 | 17 | 18 | com.sysprogs.examples.ledblink.LEDBIT 19 | 2 20 | 21 | 22 | com.sysprogs.examples.ledblink.DELAYMSEC 23 | 300 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /generators/mbed/data/test_ledblink.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | [SysGCC-arm-eabi-5.3.0] 4 | 5 | 6 | LEDBlink 7 | false 8 | false 9 | 10 | 11 | 12 | com.sysprogs.toolchainoptions.arm.libctype 13 | --specs=nano.specs 14 | 15 | 16 | com.sysprogs.toolchainoptions.arm.compactcpp 17 | compactcpp 18 | 19 | 20 | com.sysprogs.toolchainoptions.arm.libnosys 21 | --specs=nosys.specs 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/email/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | email 4 | false 5 | 6 | 7 | com.sysprogs.arm.ti.cc3200.common 8 | com.sysprogs.arm.ti.cc3200.sdk 9 | com.sysprogs.arm.ti.cc3200.simplelink 10 | com.sysprogs.arm.ti.cc3200.free_rtos 11 | com.sysprogs.arm.ti.cc3200.cl.netapps.smtp 12 | com.sysprogs.arm.ti.cc3200.netapps.base64encoder 13 | 14 | 15 | 16 | 17 | 18 | Common files 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /StandaloneBSPValidator/NxpLpcJob.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | F:\SysGCC\arm-eabi 4 | E:\projects\sysprogs-github\BSPTools\generators\NXP\Output 5 | ^LPC.* 6 | 7 | 8 | LEDBlink 9 | true 10 | false 11 | 12 | 13 | 14 | com.sysprogs.examples.ledblink.LEDPORT 15 | 1 16 | 17 | 18 | com.sysprogs.examples.ledblink.LEDBIT 19 | 2 20 | 21 | 22 | com.sysprogs.examples.ledblink.DELAYMSEC 23 | 300 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /generators/TI/RM57x/rules/rm57x.dat: -------------------------------------------------------------------------------- 1 | # config version=3.5 2 | $ sepk 3 | pod_drvr=jioxds110.dll 4 | pod_port=0 5 | pod_supply=0 6 | pod_voltage_selection=0 7 | pod_voltage=0 8 | $ / 9 | $ product 10 | title="Texas Instruments XDS110 USB" 11 | alias=TI_XDS110_USB 12 | name=XDS110 13 | $ / 14 | $ uscif 15 | tdoedge=FALL 16 | tclk_program=DEFAULT 17 | tclk_frequency=2.5MHz 18 | jtag_isolate=enable 19 | $ / 20 | $ dot7 21 | dts_usage=nothing 22 | $ / 23 | $ swd 24 | swd_debug=disabled 25 | swo_data=aux_uart 26 | $ / 27 | @ icepick family=icepick_c irbits=6 drbits=1 subpaths=2 28 | & port17 address=17 default=no custom=no force=yes pseudo=no 29 | & port16 address=16 default=no custom=no force=yes pseudo=no 30 | @ dap family=cs_dap irbits=4 drbits=1 subpaths=1 identify=0 revision=Legacy systemresetwhileconnected=1 31 | & portr5 type=debug address=0 default=no custom=no force=no pseudo=no 32 | @ cortexr5 family=cortex_rxx irbits=0 drbits=0 address=0x80001000 identify=0x02000100 traceid=0x1 33 | & / 34 | & / 35 | # / 36 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/SoftdeviceLibraries/ConvertSoftdevice.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Usage: ConvertSoftdevice.bat 3 | set ARM_GCC_PREFIX=arm-none-eabi- 4 | cd /d %~dp0 5 | 6 | if not exist soft mkdir soft 7 | if not exist hard mkdir hard 8 | 9 | %ARM_GCC_PREFIX%objcopy.exe --gap-fill 0xFF -I ihex -O binary %2 %1_softdevice.bin 10 | 11 | %ARM_GCC_PREFIX%gcc empty.c -c -o hard\%1_softdevice.o -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 12 | %ARM_GCC_PREFIX%objcopy.exe --add-section .softdevice=%1_softdevice.bin --set-section-flags .softdevice=CONTENTS,ALLOC,LOAD,READONLY,CODE hard\%1_softdevice.o --remove-section .text --remove-section .data --remove-section .bss 13 | 14 | %ARM_GCC_PREFIX%gcc empty.c -c -o soft\%1_softdevice.o -mcpu=cortex-m4 -mthumb -mfloat-abi=soft 15 | %ARM_GCC_PREFIX%objcopy.exe --add-section .softdevice=%1_softdevice.bin --set-section-flags .softdevice=CONTENTS,ALLOC,LOAD,READONLY,CODE soft\%1_softdevice.o --remove-section .text --remove-section .data --remove-section .bss 16 | -------------------------------------------------------------------------------- /generators/special/avr/avr.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.24720.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "avr_bsp_generator", "avr_bsp_generator.csproj", "{5ECFB26E-EB79-408C-9D6C-29885C145D47}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {5ECFB26E-EB79-408C-9D6C-29885C145D47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {5ECFB26E-EB79-408C-9D6C-29885C145D47}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {5ECFB26E-EB79-408C-9D6C-29885C145D47}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {5ECFB26E-EB79-408C-9D6C-29885C145D47}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /generators/TI/msp432/rules/msp432devices.csv: -------------------------------------------------------------------------------- 1 | Part Number,Description,Status,CPU,Frequency(MHz),Non-volatile Memory (KB),RAM(KB),GPIO,I2C,SPI,DMA,ADC,Comparators,Timers - 16-bit,Timers - 32-bit,UART,Multiplier,AES,BSL,Min VCC,Max VCC,Active Power (uA/MHz),Standby Power (LPM3-uA),Wakeup Time (us),Special I/O,Additional Features 2 | MSP432P401M,Low-power + high performance 32-bit ARM Cortex M4F with 128KB Flash and 32KB RAM,PREVIEW,ARM Cortex-M4,48,128,32,"84, 64, 48","4, 4, 3","8, 7, 6",8,"ADC14 - 24ch, ADC14 - 16ch, ADC14 - 12ch",2,4,2,"4, 3, 3",32x32,AES256,"UART, I2C, SPI",1.62,3.7,90,0.85,10,"20mA High Drive I/O, Capacative Touch I/O","IP Protection, Real-Time Clock, Watchdog, Temp Sensor, Brown Out Reset, IrDA" 3 | MSP432P401R,Low-power + high performance 32-bit ARM Cortex M4F with 256KB Flash and 64KB RAM,ACTIVE,ARM Cortex-M4,48,256,64,"84, 64, 48","4, 4, 3","8, 7, 6",8,"ADC14 - 24ch, ADC14 - 16ch, ADC14 - 12ch",2,4,2,"4, 3, 3",32x32,AES256,"UART, I2C, SPI",1.62,3.7,90,0.85,10,"20mA High Drive I/O, Capacative Touch I/O","IP Protection, Real-Time Clock, Watchdog, Temp Sensor, Brown Out Reset, IrDA" 4 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32F4X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; 20 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 21 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 22 | 23 | for (;;) 24 | { 25 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 26 | Delay(); 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 28 | Delay(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/NXP/rules/Families/LPC8xx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LPC8xx 4 | ^LPC8.* 5 | LPC8xx 6 | $$BSPGEN:INPUT_DIR$$ 7 | $$BSPGEN:INPUT_DIR$$\lpc8xx\startup_code 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | $$BSPGEN:INPUT_DIR$$\lpc8xx 21 | -*sys_config.h;-*startup_code\*;*.h;*.c 22 | lpc_chip 23 | CORE_M0PLUS;CHIP_LPC8XX 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32F1X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; 20 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 21 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 22 | 23 | for (;;) 24 | { 25 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 26 | Delay(); 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 28 | Delay(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/NXP/rules/Families/LPC15xx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LPC15xx 4 | ^LPC15.* 5 | LPC15xx 6 | $$BSPGEN:INPUT_DIR$$ 7 | $$BSPGEN:INPUT_DIR$$\lpc15xx\startup_code 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | $$BSPGEN:INPUT_DIR$$\lpc15xx 21 | -*sys_config.h;-*startup_code\*;*.h;*.c 22 | lpc_chip 23 | CORE_M3;CHIP_LPC15XX 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/samples/01_Hello_world/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | /* Hello World Example 2 | 3 | This example code is in the Public Domain (or CC0 licensed, at your option.) 4 | 5 | Unless required by applicable law or agreed to in writing, this 6 | software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 7 | CONDITIONS OF ANY KIND, either express or implied. 8 | */ 9 | #include 10 | #include "freertos/FreeRTOS.h" 11 | #include "freertos/task.h" 12 | #include "esp_system.h" 13 | #include "nvs_flash.h" 14 | 15 | void hello_task(void *pvParameter) 16 | { 17 | printf("Hello world!\n"); 18 | for (int i = 10; i >= 0; i--) { 19 | printf("Restarting in %d seconds...\n", i); 20 | vTaskDelay(1000 / portTICK_RATE_MS); 21 | } 22 | printf("Restarting now.\n"); 23 | fflush(stdout); 24 | system_restart(); 25 | } 26 | 27 | #ifdef __cplusplus 28 | extern "C" 29 | #endif 30 | void app_main() 31 | { 32 | nvs_flash_init(); 33 | xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL); 34 | } 35 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/UnitTests/TestHAL/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | HAL 4 | This test project is based on the new HAL framework 5 | .* 6 | false 7 | 8 | com.sysprogs.arm.stm32.hal 9 | com.sysprogs.arm.stm32.ll 10 | 11 | 12 | 13 | $$SYS:BSP_ROOT$$/$$com.sysprogs.bspoptions.stm32.hal_system_file$$ 14 | 15 | 16 | $$SYS:BSP_ROOT$$/$$com.sysprogs.bspoptions.stm32.hal_config_template_file$$ 17 | $$com.sysprogs.stm32.hal_header_prefix$$_hal_conf.h 18 | 19 | 20 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_IoT_SDK/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LEDBlink (IoT SDK) 4 | This project demonstrates how to control an LED using the ESP8266 timer API. 5 | ESP8266$ 6 | 7 | 8 | 9 | 10 | 11 | Delay (msec) 12 | com.sysprogs.esp8266.ledblink.DELAYMSEC 13 | Specifies the delay (in milliseconds) between LED toggling events 14 | 300 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | com.sysprogs.esp8266.iot_sdk 23 | 24 | -------------------------------------------------------------------------------- /StandaloneBSPValidator/StandaloneBSPValidator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.23107.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StandaloneBSPValidator", "StandaloneBSPValidator.csproj", "{ADD117B0-6AC5-4E07-BA8B-8FDF35BDF421}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {ADD117B0-6AC5-4E07-BA8B-8FDF35BDF421}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {ADD117B0-6AC5-4E07-BA8B-8FDF35BDF421}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {ADD117B0-6AC5-4E07-BA8B-8FDF35BDF421}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {ADD117B0-6AC5-4E07-BA8B-8FDF35BDF421}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LCD_STM32F7X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F7-Discovery LCD Demo 4 | This example shows how to display a static image using the STM32F7-Discovery LCD. 5 | STM32F7.* 6 | 7 | com.sysprogs.arm.stm32.hal 8 | com.sysprogs.arm.stm32.ll 9 | com.sysprogs.arm.stm32.bspdrv.stm32746g-discovery 10 | com.sysprogs.arm.stm32.hal_systeminit 11 | 12 | 13 | 14 | 15 | com.sysprogs.bspoptions.stm32746g-discovery.lcd 16 | 1 17 | 18 | 19 | com.sysprogs.bspoptions.stm32746g-discovery.sdram 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /DebugPackages/RedLinkDebugPackage/RedLinkDebugSettings.cs: -------------------------------------------------------------------------------- 1 | using BSPEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Xml.Serialization; 7 | 8 | namespace RedLinkDebugPackage 9 | { 10 | [XmlType("com.visualgdb.edp.nxp.redlink")] 11 | public class RedLinkDebugSettings 12 | { 13 | public const string DefaultCommandLineArguments = "--server :$$SYS:GDB_PORT$$ -g -mi -2 -p$$REDLINK:DEVICE_ID$$ -vendor=$$REDLINK:VENDOR_ID$$ $$REDLINK:DEBUG_OPTIONS$$ -CoreIndex=$$REDLINK:CORE_INDEX$$ -x $$REDLINK:DEVICE_DIRECTORY$$ --flash-dir $$REDLINK:FLASH_DRIVER_DIRECTORY$$"; 14 | public const string DefaultStartupCommands = "target remote :$$SYS:GDB_PORT$$"; 15 | 16 | public string CommandLineArguments = DefaultCommandLineArguments; 17 | public string[] StartupCommands = DefaultStartupCommands.Split('\n'); 18 | public ProgramMode ProgramMode = ProgramMode.Enabled; 19 | public bool AlwaysUseProbeSerialNumber; 20 | 21 | public RedLinkDebugSettings ShallowClone() => (RedLinkDebugSettings)MemberwiseClone(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_NoFLASH/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LEDBlink (no FLASH) 4 | This project demonstrates how to control an LED without programming anything to the SPI FLASH. 5 | ESP8266_NOFLASH 6 | 7 | 8 | 9 | 10 | 11 | Delay cycles 12 | com.sysprogs.esp8266.ledblink.DELAYCYCLES 13 | Specifies the delay (in empty loop cycles) between LED toggling events 14 | 300000 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | com.sysprogs.esp8266.iot_sdk 23 | 24 | -------------------------------------------------------------------------------- /generators/stm32/enums.txt: -------------------------------------------------------------------------------- 1 | #Empty line - next register 2 | GPIO.->MODER->MODER[0-9]+ 3 | Prefix: GPIO_Mode_ 4 | GPIO_Mode_IN = 0x00 5 | GPIO_Mode_OUT = 0x01 6 | GPIO_Mode_AF = 0x02 7 | GPIO_Mode_AN = 0x03 8 | 9 | GPIO.->OSPEEDR->OSPEEDR[0-9]+ 10 | GPIO_Low_Speed = 0x00, /*!< Low speed */ 11 | GPIO_Medium_Speed = 0x01, /*!< Medium speed */ 12 | GPIO_Fast_Speed = 0x02, /*!< Fast speed */ 13 | GPIO_High_Speed = 0x03 /*!< High speed */ 14 | 15 | GPIO.->PUPDR->PUPDR[0-9]+ 16 | GPIO_PuPd_NOPULL = 0x00, 17 | GPIO_PuPd_UP = 0x01, 18 | GPIO_PuPd_DOWN = 0x02 19 | GPIO_PuPd_RESERVED = 0x03 20 | 21 | TIM[0-9]->CR1->CMS 22 | EDGE = 0x0 23 | CENTER1 = 0x1 24 | CENTER2 = 0x2 25 | CENTER3 = 0x3 26 | 27 | TIM[0-9]->CR1->CKD 28 | DIV1 = 0x0 29 | DIV2 = 0x1 30 | DIV3 = 0x2 31 | RESERVED = 0x3 32 | 33 | TIM[0-9]->CR2->MMS$ 34 | Reset 0x000 35 | Enable 0x001 36 | Update 0x002 37 | OC1 0x003 38 | OC1Ref 0x004 39 | OC2Ref 0x005 40 | OC3Ref 0x006 41 | OC4Ref 0x007 42 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32F2X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32F2.* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | true 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 24 | 1 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32F7X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32F7.* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | 20 | 21 | 22 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 23 | 1 24 | 25 | 26 | 27 | true 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32H7X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32H7.* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | 20 | 21 | 22 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 23 | 1 24 | 25 | 26 | 27 | true 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32L1X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32L1.* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | true 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 24 | 1 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32L4X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32L4.* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | true 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 24 | 1 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/LEDBlink_RTOS_SDK/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LEDBlink (RTOS SDK) 4 | This project demonstrates how to control an LED under FreeRTOS 5 | ESP8266$ 6 | 7 | 8 | 9 | 10 | 11 | Delay (msec) 12 | com.sysprogs.esp8266.ledblink.DELAYMSEC 13 | Specifies the delay (in milliseconds) between LED toggling events 14 | 300 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | com.sysprogs.esp8266.rtos_sdk 23 | com.sysprogs.esp8266.rtos_sdk_drivers 24 | 25 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32F1X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32F10[2-7].* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | 20 | 21 | 22 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 23 | 1 24 | 25 | 26 | 27 | true 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32L0X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32L0[56][23].* 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | 20 | 21 | 22 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 23 | 1 24 | 25 | 26 | 27 | true 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32F3X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32F3(02.*|03.[BCDE]|73) 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | 15 | com.sysprogs.arm.stm32.hal 16 | com.sysprogs.arm.stm32.ll 17 | com.sysprogs.arm.stm32.usbdev 18 | 19 | true 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 24 | 1 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32F0X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_AHBPeriphClockCmd(RCC_AHBPeriph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; 20 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; 21 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; 22 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 23 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 24 | 25 | for (;;) 26 | { 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 28 | Delay(); 29 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 30 | Delay(); 31 | } 32 | } -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32L1X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_AHBPeriphClockCmd(RCC_AHBPeriph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; 20 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; 21 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; 22 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_40MHz; 23 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 24 | 25 | for (;;) 26 | { 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 28 | Delay(); 29 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 30 | Delay(); 31 | } 32 | } -------------------------------------------------------------------------------- /libraries/BSPGenerationTools/Parsing/SimpleTokenReader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace BSPGenerationTools.Parsing 4 | { 5 | class SimpleTokenReader 6 | { 7 | private int _Index; 8 | private List _Tokens; 9 | 10 | public SimpleTokenReader(List tokens) 11 | { 12 | _Index = -1; 13 | _Tokens = tokens; 14 | } 15 | 16 | public bool EOF => _Index >= _Tokens.Count; 17 | 18 | public SimpleToken ReadNext(bool skipComments) 19 | { 20 | if (!EOF) 21 | { 22 | _Index++; 23 | while (skipComments && Current.Type == CppTokenizer.TokenType.Comment) 24 | { 25 | _Index++; 26 | } 27 | } 28 | 29 | return Current; 30 | } 31 | 32 | public SimpleToken Current 33 | { 34 | get 35 | { 36 | if (EOF) 37 | return new SimpleToken(); 38 | else 39 | return _Tokens[_Index]; 40 | } 41 | } 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32F2X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; 20 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; 21 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; 22 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 23 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 24 | 25 | for (;;) 26 | { 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 28 | Delay(); 29 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 30 | Delay(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/USB_CDC_STM32F0X/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | USB Communications Device 4 | A basic virtual COM port (VCP) example using the ST's USB device library. 5 | STM32F0(42|48|72|78|70).* 6 | 7 | 8 | 9 | 10 | 11 | false 12 | 13 | 14 | 15 | 16 | com.sysprogs.arm.stm32.hal 17 | com.sysprogs.arm.stm32.ll 18 | com.sysprogs.arm.stm32.usbdev 19 | 20 | 21 | 22 | 23 | com.sysprogs.bspoptions.stm32.usb.devclass.cdc 24 | 1 25 | 26 | 27 | 28 | true 29 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/httpserver/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | httpserver 4 | false 5 | 6 | 7 | html 8 | 9 | 10 | 11 | com.sysprogs.arm.ti.cc3200.sdk 12 | com.sysprogs.arm.ti.cc3200.simplelink 13 | com.sysprogs.arm.ti.cc3200.free_rtos 14 | com.sysprogs.arm.ti.cc3200.netapps.base64encoder 15 | com.sysprogs.arm.ti.cc3200.netapps.http_server 16 | 17 | 18 | 19 | 20 | 21 | 22 | Common files 23 | 24 | $$SYS:BSP_ROOT$$/common/uart_if.c 25 | $$SYS:BSP_ROOT$$/common/gpio_if.c 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/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 | 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32mp1/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wb/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generators/stm32/rules/stm32wl/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generators/stm32/rules/bluenrg-lp/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generators/Efm32/rules/Samples/LEDBlink/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | volatile uint32_t TickCount = 0; 5 | 6 | #ifdef __cplusplus 7 | extern "C" 8 | #endif 9 | void SysTick_Handler(void) 10 | { 11 | TickCount++; 12 | } 13 | 14 | static void Delay(uint32_t delayInTicks) 15 | { 16 | uint32_t curTicks; 17 | 18 | curTicks = TickCount; 19 | while ((TickCount - curTicks) < delayInTicks) 20 | { 21 | } 22 | } 23 | 24 | int main() 25 | { 26 | CHIP_Init(); 27 | 28 | SysTick_Config(CMU_ClockFreqGet(cmuClock_CORE) / 1000); 29 | CMU_ClockEnable(cmuClock_GPIO, true); 30 | GPIO_PinModeSet(gpio$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, gpioModePushPull, 1); 31 | 32 | for (;;) 33 | { 34 | GPIO_PinOutSet(gpio$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$); 35 | Delay($$com.sysprogs.examples.ledblink.DELAYTICKS$$); 36 | GPIO_PinOutClear(gpio$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$); 37 | Delay($$com.sysprogs.examples.ledblink.DELAYTICKS$$); 38 | } 39 | return 0; 40 | } 41 | -------------------------------------------------------------------------------- /DebugPackages/RenesasDebugPackage/RenesasDebugPackage.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2000 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RenesasDebugPackage", "RenesasDebugPackage.csproj", "{E330F522-A7E4-450E-97E5-244F7E14E114}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {E330F522-A7E4-450E-97E5-244F7E14E114}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {E330F522-A7E4-450E-97E5-244F7E14E114}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {E330F522-A7E4-450E-97E5-244F7E14E114}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {E330F522-A7E4-450E-97E5-244F7E14E114}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {EBA9E8F6-7B85-499E-9584-99B25613A995} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /ProjectImporters/KeilProjectImporter/KeilProjectImporter.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.3 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeilProjectImporter", "KeilProjectImporter.csproj", "{DD05758D-69CE-465F-9306-A0AA6767033C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {DD05758D-69CE-465F-9306-A0AA6767033C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {DD05758D-69CE-465F-9306-A0AA6767033C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {DD05758D-69CE-465F-9306-A0AA6767033C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {DD05758D-69CE-465F-9306-A0AA6767033C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {F7120705-69F9-4F65-8AE4-AFAC84CA16C0} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /ProjectImporters/MbedProjectImporter/MbedProjectImporter.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.3 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MbedProjectImporter", "MbedProjectImporter.csproj", "{8937A013-38AD-4F7F-B3C6-61568578468E}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {8937A013-38AD-4F7F-B3C6-61568578468E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {8937A013-38AD-4F7F-B3C6-61568578468E}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {8937A013-38AD-4F7F-B3C6-61568578468E}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {8937A013-38AD-4F7F-B3C6-61568578468E}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {8BCBE663-9474-49CE-AA3F-9CB81760A0EE} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/BLEAppTemplate/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Bluetooth LE App Template 4 | This is a basic application template for Bluetooth LE-powered applications. 5 | ^nRF5.*$ 6 | true 7 | 8 | com.sysprogs.arm.nordic.nrfx.ble_bas 9 | com.sysprogs.arm.nordic.nrfx.ble_dis 10 | com.sysprogs.arm.nordic.nrfx.ble_hids 11 | 12 | 13 | 14 | 15 | 16 | 17 | $$com.sysprogs.bspoptions.nrf5x.softdevice$$ 18 | S.* 19 | false 20 | 21 | 22 | Please select a BLE Peripheral-capable softdevice on the previous page. 23 | 24 | 25 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink_STM32F3X/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.arm.stm32.periph_prefix$$_gpio.h> 2 | #include <$$com.sysprogs.arm.stm32.periph_prefix$$_rcc.h> 3 | 4 | void Delay() 5 | { 6 | int i; 7 | for (i = 0; i < $$com.sysprogs.examples.ledblink.DELAYCYCLES$$; i++) 8 | asm("nop"); 9 | } 10 | 11 | int main() 12 | { 13 | GPIO_InitTypeDef GPIO_InitStructure; 14 | 15 | RCC_AHBPeriphClockCmd(RCC_AHBPeriph_$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 16 | 17 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$; 18 | 19 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; 20 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; 21 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; 22 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 23 | GPIO_Init($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 24 | 25 | for (;;) 26 | { 27 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_SET); 28 | Delay(); 29 | GPIO_WriteBit($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_Pin_$$com.sysprogs.examples.ledblink.LEDBIT$$, Bit_RESET); 30 | Delay(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /DebugPackages/TiXDSDebugPackage/FLASH/CC3220SF/CC3220SF.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.16 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CC3220SF", "CC3220SF.vcxproj", "{06D6E4DE-19DB-4308-B1ED-5AC0C8746AF0}" 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 | {06D6E4DE-19DB-4308-B1ED-5AC0C8746AF0}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB 15 | {06D6E4DE-19DB-4308-B1ED-5AC0C8746AF0}.Debug|VisualGDB.Build.0 = Debug|VisualGDB 16 | {06D6E4DE-19DB-4308-B1ED-5AC0C8746AF0}.Release|VisualGDB.ActiveCfg = Release|VisualGDB 17 | {06D6E4DE-19DB-4308-B1ED-5AC0C8746AF0}.Release|VisualGDB.Build.0 = Release|VisualGDB 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {376AEBC6-8366-4C87-8634-8E0C7A0A1F2E} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /generators/Infineon/rules/Samples/LEDBlink_XMC4X/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | enum { SystemTickPeriod = 1000 }; 4 | 5 | static volatile int s_Ticks = 0; 6 | 7 | #ifdef __cplusplus 8 | extern "C" 9 | #endif 10 | void SysTick_Handler(void) 11 | { 12 | s_Ticks++; 13 | } 14 | 15 | void Delay(int ticks) 16 | { 17 | int deadline = s_Ticks + ticks; 18 | while (s_Ticks < deadline) 19 | { 20 | } 21 | } 22 | 23 | int main(void) 24 | { 25 | XMC_GPIO_CONFIG_t config; 26 | 27 | config.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL; 28 | config.output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH; 29 | config.output_strength = XMC_GPIO_OUTPUT_STRENGTH_MEDIUM; 30 | 31 | XMC_GPIO_Init(XMC_GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, &config); 32 | 33 | SysTick_Config(SystemCoreClock / SystemTickPeriod); 34 | for (;;) 35 | { 36 | XMC_GPIO_SetOutputHigh(XMC_GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$); 37 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 38 | XMC_GPIO_SetOutputLow(XMC_GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$); 39 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /generators/stm32/rules/classic/Samples/LEDBlink/$$PROJECTNAME$$.c: -------------------------------------------------------------------------------- 1 | #include <$$com.sysprogs.stm32.hal_header_prefix$$_hal.h> 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 | __$$com.sysprogs.examples.ledblink.LEDPORT$$_CLK_ENABLE(); 18 | GPIO_InitTypeDef GPIO_InitStructure; 19 | 20 | GPIO_InitStructure.Pin = GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$; 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($$com.sysprogs.examples.ledblink.LEDPORT$$, &GPIO_InitStructure); 26 | 27 | for (;;) 28 | { 29 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_SET); 30 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 31 | HAL_GPIO_WritePin($$com.sysprogs.examples.ledblink.LEDPORT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_RESET); 32 | HAL_Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ExtraDeviceSupport/Renesas/RenesasToolchainManager/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace RenesasToolchainManager.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/TI/CC3200/rules/Samples/out_of_box/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | out_of_box 4 | false 5 | 6 | 7 | html 8 | 9 | 10 | 11 | com.sysprogs.arm.ti.cc3200.sdk 12 | com.sysprogs.arm.ti.cc3200.simplelink 13 | com.sysprogs.arm.ti.cc3200.free_rtos 14 | com.sysprogs.arm.ti.cc3200.netapps.base64encoder 15 | com.sysprogs.arm.ti.cc3200.netapps.http_server 16 | 17 | 18 | 19 | 20 | 21 | 22 | Common files 23 | 24 | $$SYS:BSP_ROOT$$/common/i2c_if.c 25 | $$SYS:BSP_ROOT$$/common/uart_if.c 26 | $$SYS:BSP_ROOT$$/common/gpio_if.c 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /tools/PeripheralRegisterConverter/PeripheralRegisterConverter.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.16 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PeripheralRegisterConverter", "PeripheralRegisterConverter.csproj", "{61D1DE7F-DCDD-4416-B3BF-56BE1A45E15B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {61D1DE7F-DCDD-4416-B3BF-56BE1A45E15B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {61D1DE7F-DCDD-4416-B3BF-56BE1A45E15B}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {61D1DE7F-DCDD-4416-B3BF-56BE1A45E15B}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {61D1DE7F-DCDD-4416-B3BF-56BE1A45E15B}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {D24AA94B-93D0-4250-B670-DD98D1433557} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /generators/TI/CC3220/rules/families/CC3220.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | CC3220 4 | .* 5 | $$BSPGEN:INPUT_DIR$$\source\ti\devices\cc32xx\inc 6 | $$BSPGEN:INPUT_DIR$$\examples\project 7 | 8 | 9 | com.sysprogs.cc3220.board_dir 10 | true 11 | 12 | 16 | 20 | 21 | 22 | 23 | 24 | 25 | . 26 | 27 | 28 | DeviceFamily_CC3220 29 | gcc 30 | 31 | -std=c99 32 | -std=c++11 33 | -nostartfiles -eresetISR 34 | 35 | 36 | -------------------------------------------------------------------------------- /tools/VendorSampleReportViewer/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace VendorSampleReportViewer.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generators/NXP/rules/Families/LPC11xxM0P.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LPC11xxM0PLUS 4 | ^LPC11.[6].* 5 | LPC11u6x 6 | $$BSPGEN:INPUT_DIR$$ 7 | $$BSPGEN:INPUT_DIR$$\lpc11u6x\startup_code 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | $$BSPGEN:INPUT_DIR$$\lpc11u6x 20 | -*stopwatch_11u6.c;-*sys_config.h;-*startup_code\*;*.h;*.c 21 | lpc_chip 22 | CHIP_LPC11U6X;CORE_M0PLUS 23 | -*sys_config.h;* 24 | Common\*.h;*.h 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /generators/NXP/rules/Samples/LEDBlink_LPCOpen/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | volatile unsigned long SysTickCnt; 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | void SysTick_Handler(void) 9 | { 10 | SysTickCnt++; 11 | } 12 | 13 | void Delay(unsigned long tick) 14 | { 15 | unsigned long systickcnt; 16 | 17 | systickcnt = SysTickCnt; 18 | while ((SysTickCnt - systickcnt) < tick); 19 | } 20 | 21 | const uint32_t ExtRateIn = 0; 22 | const uint32_t OscRateIn = 12000000; 23 | const uint32_t RTCOscRateIn = 32768; 24 | 25 | #ifndef LPC_GPIO 26 | #define LPC_GPIO LPC_GPIO_PORT 27 | #endif 28 | 29 | int main() 30 | { 31 | SystemCoreClockUpdate(); 32 | Chip_GPIO_Init(LPC_GPIO); 33 | 34 | SysTick_Config(SystemCoreClock / 1000); 35 | Chip_GPIO_SetPortDIROutput(LPC_GPIO, $$com.sysprogs.examples.ledblink.LEDPORT$$, 1 << $$com.sysprogs.examples.ledblink.LEDBIT$$); 36 | 37 | for (;;) 38 | { 39 | Chip_GPIO_WritePortBit(LPC_GPIO, $$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, 1); 40 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 41 | Chip_GPIO_WritePortBit(LPC_GPIO, $$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, 0); 42 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 43 | } 44 | 45 | return 0; 46 | } 47 | -------------------------------------------------------------------------------- /generators/mbed/data/test_usbcd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | [SysGCC-arm-eabi-5.3.0] 4 | ^((?!(LPC1768|LPC2368|LPC4088|LPC2460|LPC4088_DM|LPC11UXX|LPC1347|KL25Z|KL26Z|KL27Z|KL43Z|KL46Z|K20D50M|K64F|K22F|TEENSY3_1|EFM32GG_STK3700|EFM32LG_STK3600|EFM32WG_STK3800|EFM32HG_STK3400|MAXWSNENV|MAX32600MBED|MAX32620HSP)).)*$ 5 | 6 | 7 | USB Communications Device 8 | false 9 | false 10 | -CDC 11 | 12 | 13 | 14 | com.sysprogs.toolchainoptions.arm.libctype 15 | --specs=nano.specs 16 | 17 | 18 | com.sysprogs.toolchainoptions.arm.compactcpp 19 | compactcpp 20 | 21 | 22 | com.sysprogs.toolchainoptions.arm.libnosys 23 | --specs=nosys.specs 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /generators/stm32/stm32.validatejob: -------------------------------------------------------------------------------- 1 | 2 | 3 | $$JOBDIR$$\Output\Classic 4 | STM32.* 5 | 6 | 7 | LEDBlink (HAL) 8 | true 9 | true 10 | -LEDBlink 11 | STM32[CGLFHU].* 12 | 13 | 14 | 15 | com.sysprogs.examples.ledblink.LEDPORT 16 | GPIOA 17 | 18 | 19 | 20 | 21 | 22 | LEDBlink (StdPeriph) 23 | true 24 | false 25 | -LEDBlinkStdPeriph 26 | STM32[^GH].* 27 | 28 | 29 | 30 | com.sysprogs.examples.ledblink.LEDPORT 31 | GPIOA 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /generators/NXP/rules/Samples/LEDBlink_LPC12xx/LEDBlink.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | volatile unsigned long SysTickCnt; 6 | 7 | #ifdef __cplusplus 8 | extern "C" 9 | #endif 10 | void SysTick_Handler(void) 11 | { 12 | SysTickCnt++; 13 | } 14 | 15 | void Delay(unsigned long tick) 16 | { 17 | unsigned long systickcnt; 18 | 19 | systickcnt = SysTickCnt; 20 | while ((SysTickCnt - systickcnt) < tick); 21 | } 22 | 23 | int main() 24 | { 25 | IOCON_PIO_CFG_Type PIO_mode; 26 | 27 | SysTick_Config(SystemCoreClock / 1000 - 1); 28 | SYS_ConfigAHBCLK(SYS_AHBCLKCTRL_GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$, ENABLE); 29 | 30 | IOCON_StructInit(&PIO_mode); 31 | PIO_mode.type = IOCON_PIO_$$com.sysprogs.examples.ledblink.LEDPORT$$_$$com.sysprogs.examples.ledblink.LEDBIT$$; 32 | 33 | GPIO_SetDir(LPC_GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, 1); 34 | 35 | for (;;) 36 | { 37 | GPIO_SetHighLevel(LPC_GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, 1); 38 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 39 | GPIO_SetLowLevel(LPC_GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$, $$com.sysprogs.examples.ledblink.LEDBIT$$, 1); 40 | Delay($$com.sysprogs.examples.ledblink.DELAYMSEC$$); 41 | } 42 | 43 | return 0; 44 | } 45 | -------------------------------------------------------------------------------- /generators/TI/Tiva/rules/Samples/LEDBlink/LEDBlink.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #include 10 | 11 | int main(void) 12 | { 13 | $$com.sysprogs.examples.tiva.ROMPREFIX$$SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIO$$com.sysprogs.examples.ledblink.LEDPORT$$); 14 | $$com.sysprogs.examples.tiva.ROMPREFIX$$SysCtlDelay(1); 15 | 16 | $$com.sysprogs.examples.tiva.ROMPREFIX$$GPIOPinTypeGPIOOutput(GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$_BASE, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$); 17 | 18 | for (;;) 19 | { 20 | $$com.sysprogs.examples.tiva.ROMPREFIX$$GPIOPinWrite(GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$_BASE, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$); 21 | $$com.sysprogs.examples.tiva.ROMPREFIX$$SysCtlDelay($$com.sysprogs.examples.ledblink.DELAY$$); 22 | 23 | $$com.sysprogs.examples.tiva.ROMPREFIX$$GPIOPinWrite(GPIO_PORT$$com.sysprogs.examples.ledblink.LEDPORT$$_BASE, GPIO_PIN_$$com.sysprogs.examples.ledblink.LEDBIT$$, 0); 24 | $$com.sysprogs.examples.tiva.ROMPREFIX$$SysCtlDelay($$com.sysprogs.examples.ledblink.DELAY$$); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/ramonly.ld: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Cesanta Software Limited 3 | * All rights reserved 4 | * 5 | * This program is free software; you can redistribute it and/or modify it under 6 | * the terms of the GNU General Public License as published by the Free Software 7 | * Foundation; either version 2 of the License, or (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, but WITHOUT 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 | * 13 | * You should have received a copy of the GNU General Public License along with 14 | * this program; if not, write to the Free Software Foundation, Inc., 51 Franklin 15 | * Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | */ 17 | 18 | MEMORY { 19 | iram : org = 0x40090000, len = 0x10000 20 | dram : org = 0x3FFC0000, len = 0x20000 21 | } 22 | 23 | 24 | SECTIONS { 25 | .text : ALIGN(4) { 26 | *(.literal) 27 | *(.text .text.*) 28 | } > iram 29 | 30 | .bss : ALIGN(4) { 31 | _bss_start = ABSOLUTE(.); 32 | *(.bss) 33 | _bss_end = ABSOLUTE(.); 34 | } > dram 35 | 36 | .data : ALIGN(4) { 37 | *(.data) 38 | *(.rodata .rodata.*) 39 | } > dram 40 | } 41 | 42 | ENTRY(flashless_entry); 43 | INCLUDE esp32.rom.ld 44 | 45 | -------------------------------------------------------------------------------- /generators/esp8266/bsp-template/sysprogs/samples/OTA_IoT_SDK/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | OTA Upgrade Demo (IoT SDK) 4 | This project demonstrates a very basic HTTP server using the espconn API. 5 | ESP8266$ 6 | 7 | 8 | 9 | 10 | 11 | Subnet number (192.168.N.1) 12 | com.sysprogs.esp8266.http.subnet 13 | Specifies the subnet number used by the demo 14 | 123 15 | 0 16 | 255 17 | 18 | 19 | WiFi Network Name 20 | com.sysprogs.esp8266.http.ssid 21 | Specifies the wireless network name (SSID) 22 | ESP8266_VisualGDB 23 | 24 | 25 | false 26 | 27 | 28 | 29 | 30 | com.sysprogs.esp8266.iot_sdk 31 | 32 | -------------------------------------------------------------------------------- /generators/esp32/bsp-template/sysprogs/flashprog/ramonly.ld: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Cesanta Software Limited 3 | * All rights reserved 4 | * 5 | * This program is free software; you can redistribute it and/or modify it under 6 | * the terms of the GNU General Public License as published by the Free Software 7 | * Foundation; either version 2 of the License, or (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, but WITHOUT 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 | * 13 | * You should have received a copy of the GNU General Public License along with 14 | * this program; if not, write to the Free Software Foundation, Inc., 51 Franklin 15 | * Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | */ 17 | 18 | MEMORY { 19 | iram : org = 0x40090000, len = 0x10000 20 | dram : org = 0x3FFC0000, len = 0x20000 21 | } 22 | 23 | 24 | SECTIONS { 25 | .headers : ALIGN(4) { 26 | KEEP(*(.headers)) 27 | } > iram 28 | 29 | .text : ALIGN(4) { 30 | *(.literal) 31 | *(.text .text.*) 32 | } > iram 33 | 34 | .bss : ALIGN(4) { 35 | _bss_start = ABSOLUTE(.); 36 | *(.bss) 37 | _bss_end = ABSOLUTE(.); 38 | } > dram 39 | } 40 | 41 | ENTRY(FLASHHelperEntry); 42 | INCLUDE F:\SysGCC\esp32\esp32-bsp\sysprogs\esp32.rom.ld 43 | 44 | -------------------------------------------------------------------------------- /generators/TI/mspm0/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("mspm0_bsp_generator")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("mspm0_bsp_generator")] 13 | [assembly: AssemblyCopyright("Copyright © 2025")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("15e6f90c-ba34-4924-94b3-fef5dd64c19e")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | [assembly: AssemblyVersion("1.0.0.0")] 33 | [assembly: AssemblyFileVersion("1.0.0.0")] 34 | -------------------------------------------------------------------------------- /generators/nrf5x/rules/Samples/BLEMultilinkCentral/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Bluetooth LE Multi-link Central 4 | This sample demonstrates a Bluetooth LE central device capable of discovering and communicating to peripherals 5 | ^nRF528(32|40).*$ 6 | true 7 | 8 | com.sysprogs.arm.nordic.nrfx.nrf_ble_scan 9 | com.sysprogs.arm.nordic.nrfx.ble_db_discovery 10 | com.sysprogs.arm.nordic.nrfx.nrf_ble_gq 11 | com.sysprogs.arm.nordic.nrf5x.ble_lbs_c 12 | 13 | 14 | 15 | $$SYS:BSP_ROOT$$/nRF5x/examples/ble_central/ble_app_multilink_central/$$com.sysprogs.nordic.default_config_suffix$$/config/sdk_config.h 16 | false 17 | 18 | 19 | $$SYS:BSP_ROOT$$/nRF5x/examples/ble_central/ble_app_multilink_central/main.c 20 | false 21 | 22 | 23 | -------------------------------------------------------------------------------- /VendorSampleParsers/TI/MSPM0/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("MSPM0VendorSampleParser")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("MSPM0VendorSampleParser")] 13 | [assembly: AssemblyCopyright("Copyright © 2025")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("5655539c-8663-4673-867c-2abf5fcead05")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | [assembly: AssemblyVersion("1.0.0.0")] 33 | [assembly: AssemblyFileVersion("1.0.0.0")] 34 | -------------------------------------------------------------------------------- /generators/Infineon/rules/veneers.c: -------------------------------------------------------------------------------- 1 | /* 2 | This file is responsible for generating interrupt veneers for XMC1xxx devices. 3 | The veneers are required because the Cortex M0 core expects the interrupt vector table to be at address 0x00000000 4 | that is not a part of FLASH or RAM on XMC1xxx devices. Instead the device ROM provides a fixed vector table that expects 5 | the interrupt handlers to be placed each 4 bytes starting at 0x20000000. 6 | 7 | Each "veneer" is a set of 2 instructions: 8 | ldr r0, [pc, #] 9 | mov pc, r0 10 | 11 | The actual ISR table immediately follows the veneers. Because the size of each veneer matches the size of a table entry, 12 | the offset between the veneer and the ISR table slot it access is always the same and is equal to the vector count times vector size. 13 | 14 | The code below copies the ISR table from the FLASH into the SRAM and builds the veneers. 15 | */ 16 | 17 | void InitializeInteruptVeneers() 18 | { 19 | extern void *__isr_vector_start__, *__isr_vector_end__; 20 | extern void *__isr_veneers_start__; 21 | unsigned vectorCount = &__isr_vector_end__ - &__isr_vector_start__; 22 | 23 | for (int i = 0; i < vectorCount; i++) 24 | { 25 | (&__isr_veneers_start__)[i] = (void *)(0x46874800 | (vectorCount - 1)); //ldr r0, [pc, #]; mov pc, r0 26 | (&__isr_veneers_start__)[i + vectorCount] = (&__isr_vector_start__)[i]; 27 | } 28 | } 29 | --------------------------------------------------------------------------------