Search found 3 matches

by Juzujka
Fri Jul 25, 2014 1:30 pm
Forum: User Projects
Topic: Beginners - Command Shell
Replies: 0
Views: 4580

Beginners - Command Shell

ChibiOS 2.6.4, code extracted from Demos

LED Blinker included to ensure the board is live.

mcuconf.h used from demo. Check this lines if used other mcuconf.h
/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 TRUE


/**
* @brief Enables the SERIAL subsystem&#46 ...
by Juzujka
Wed Jun 11, 2014 11:17 am
Forum: User Projects
Topic: Beginners - Serial Echo (UART)
Replies: 1
Views: 5008

Beginners - Serial Echo (UART)

Code sample for Serial (UART)
ChibiOS has two UART implementations. Serial is simpler for using in terminal application.
Programm echoes byte to terminal.
Here is example for

⋅ thread creation
⋅ waiting for event
⋅ receiving and transmiting to UART


Changes in ...
by Juzujka
Wed Jun 11, 2014 10:56 am
Forum: User Projects
Topic: Beginners - Blinking LED
Replies: 1
Views: 3513

Beginners - Blinking LED

Code sample for blinking LED

Here is example for
⋅ creating thread
⋅ IO pin toggle

Example uses STM32VL discovery
board.h considers
...
/*
* Port C setup.
* Everything input with pull-up except:
* PC8 - Push-pull output (LED4), initially low state ...