#ifndef TASK01_WORKLOAD_H #define TASK01_WORKLOAD_H #include #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