ZHCU875Z August 2001 – October 2023 SM320F28335-EP
#include <stdio.h> extern int x; #pragma CODE_SECTION(task2, ".task2_scn") void task2(void) { printf("hit task2, x is %d\n", x); x += 2; }