adds bsp as submodule

This commit is contained in:
2024-04-15 12:39:48 +02:00
parent b19d3cdc59
commit b03fdc8265
6 changed files with 23 additions and 10 deletions

View File

@@ -17,8 +17,6 @@ int factorial(int i){
int main()
{
*(uint32_t*)(GPIO_CTRL_ADDR+GPIO_IOF_SEL) &= ~IOF0_UART0_MASK;
*(uint32_t*)(GPIO_CTRL_ADDR+GPIO_IOF_EN) |= IOF0_UART0_MASK;
volatile int result = factorial (10);
printf("Factorial is %d\n", result);
printf("End of execution");