feat: publish FreeRTOS C FC02 card
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef TASK01_WORKLOAD_H
|
||||
#define TASK01_WORKLOAD_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define TASK01_WORKER_COUNT 2U
|
||||
#define TASK01_WORK_LIMIT 20000U
|
||||
#define TASK01_EXPECTED_SUM 200010000U
|
||||
#define TASK01_WORKER_STACK_WORDS 256U
|
||||
#define TASK01_SUPERVISOR_STACK_WORDS 160U
|
||||
#define TASK01_WORKER_PRIORITY 2U
|
||||
#define TASK01_SUPERVISOR_PRIORITY 1U
|
||||
|
||||
static inline uint32_t task01_accumulate( uint32_t sum, uint32_t value )
|
||||
{
|
||||
return sum + value;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user