Back to Home
Documentation
Learn to Build with Shourya
Comprehensive guides, tutorials, and API references to help you master dual-core development.

Getting Started
STM32U575 Guide
ESP32-S3 Guide
Inter-processor Communication
Project Examples
Quick Start Example
// Blink LED on Shourya Board
#include "stm32u5xx_hal.h"
int main(void) {
HAL_Init();
SystemClock_Config();
// Enable GPIO Clock
__HAL_RCC_GPIOA_CLK_ENABLE();
// Configure PA5 as output
GPIO_InitTypeDef GPIO_InitStruct = {0};
GPIO_InitStruct.Pin = GPIO_PIN_5;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
while (1) {
HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);
HAL_Delay(500);
}
}Need Help?
Join our community or contact support for assistance.