Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/electro/STM32L100_c_boilerplate/src/commit/b80f0c504ff099673fe1aa27af5167290d096ee5/blink.c You should set ROOT_URL correctly, otherwise the web may not work correctly.
Basic vanilla C boilerplate for STM32L100xC (Discovery L100C). Uses GCC. This was some class project without much practical use
 
 
 
 
 
STM32L100_c_boilerplate/blink.c

22 lines
459 B

#include "blink.h"
#include "utils/timebase.h"
void green_toggle(void) { GPIOC_ODR ^= BIT9; }
void green_off(void) { GPIOC_ODR &= ~BIT9; }
void green_on(void) { GPIOC_ODR |= BIT9; }
void blue_toggle(void) { GPIOC_ODR ^= BIT8; }
void blue_on(void) { GPIOC_ODR |= BIT8; }
void blue_off(void) { GPIOC_ODR &= ~BIT8; }
void green_blink(void)
{
green_on();
schedule_task(green_off, 100);
}
void blue_blink(void)
{
blue_on();
schedule_task(blue_off, 100);
}