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

Main code block. More...

Include dependency graph for main.cpp:


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

Detailed Description

Main code block.

Copyright (C) 2014-2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
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, 1Hz frequency,
  • failure - fast blinking, 10Hz 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: