FreeRTOS-Kernel/FreeRTOS-Plus/Test/Unit-Tests/tests/example/hello_world.c
Aniruddha Kanhere 95a3a02f95
FreeRTOS-Plus: Unit testing Infrastructure and examples (#72)
* Added CMock as submodule

* Makefile added

* Removed TEMP from Makefile

* Added configuration files and header files

* Update Makefile

* Test runner working

* make clean

* Example added with README

* Update README.md

* Restored +TCP files

* Cleared +TCP changes

* removed comments from Makefile

* Update README.md

* Update README.md

* Update README.md

* Updated Test/Unit-test/readme.md
2020-05-22 16:26:59 -07:00

14 lines
321 B
C

#include "hello_world.h"
#include "some_value.h"
int8_t average(int8_t value1, int8_t value2, int8_t value3)
{
return (int8_t)( ( (int16_t)value1 + (int16_t)value2 + (int16_t)value3) / 3 );
}
int Print_Hello_world( void )
{
int32_t value;
value = some_number();
return printf("Hello World! %d\n", value);
}