Search found 1 match

by MiDWalkeR
Tue Dec 08, 2015 11:28 am
Forum: STM32 Support
Topic: Problem with demo without OS
Replies: 1
Views: 1299

Problem with demo without OS

Hello.
I made a simple "hello world" project(blinking LED on PB2), using stm32l4discovery board.
For the first time i didn't use OS.

#include "ch.h"
#include "hal.h"
#include "test.h"

int main(void)
{
halInit();
palSetPadMode(GPIOB, 2, PAL_MODE_OUTPUT_PUSHPULL);

while(1) {
for ...