distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
main.cpp File Reference

Main code block. More...

Include dependency graph for main.cpp:

Functions

int main ()
 Main code block of test application. More...
 

Detailed Description

Main code block.

Author
Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Function Documentation

◆ main()

int main ( )

Main code block of test application.

Runs all test cases. The result is signaled with blinking of all board's LEDs:

  • success - slow blinking, 1 Hz frequency,
  • failure - fast blinking, 10 Hz frequency. If the board doesn't provide LEDs, the result can be examined with the debugger by checking the value of "result" variable.
Here is the call graph for this function: