# FreeRTOS newbie - STM32F103 + libopenCM3 + build errors

**URL:** <https://forums.freertos.org/t/freertos-newbie-stm32f103-libopencm3-build-errors/12848>\
**Category:** Kernel\
**Created:** [June 14, 2021, 9:21pm UTC](https://forums.freertos.org/t/freertos-newbie-stm32f103-libopencm3-build-errors/12848 "2021-06-14T21:21:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Krish2487](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Krish2487](https://forums.freertos.org/u/Krish2487)\
**Post date:** [June 14, 2021, 10:03pm UTC](https://forums.freertos.org/t/freertos-newbie-stm32f103-libopencm3-build-errors/12848/3 "2021-06-14T22:03:07Z")

</div>

Thank you for the prompt response @hs2 .  
I did try those suggestions earlier as well. I tried to keep the post simple to avoid unnecessary complexity, to see if I was missing something simple.

1. I did leave the `configCHECK_FOR_STACK_OVERFLOW` to 2 and added this snippet to the main.c file.

```auto
void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
{
	// This function will get called if a task overflows its stack. If the
	// parameters are corrupt then inspect pxCurrentTCB to find which was the
	// offending task. 

	( void ) pxTask;
	( void ) pcTaskName;

	for( ;; );
}

```

1. I did comment out the handlers entirely.

I reran the make clean and make command to ensure a clean build and the application builds… but the leds do not blink.

The call stack remain the same. I will however look into the configASSERT to see how I can utilize it to debug better…

Thanks again for the suggestions. 🙂

---

_[View the full topic](https://forums.freertos.org/t/freertos-newbie-stm32f103-libopencm3-build-errors/12848)._
