mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
* 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
14 lines
321 B
C
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);
|
|
}
|