Skip to content

Commit

Permalink
Add the new postcode feature for the system runing trace.
Browse files Browse the repository at this point in the history
  • Loading branch information
At-EC committed Aug 31, 2024
1 parent 3d05704 commit 292dc01
Show file tree
Hide file tree
Showing 23 changed files with 597 additions and 643 deletions.
8 changes: 4 additions & 4 deletions .github/remote_build/native_gcc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ extern "C" {
#endif

/* Local defined the kernel thread stack and error postcode */
#define _PC_CMPT_FAILED PC_FAILED(PC_CMPT_KERNEL)
#define SAMPLE_THREAD_STACK_SIZE (1024u)
#define _PCER PC_IER(PC_OS_CMPT_KERNEL_2)
#define SAMPLE_THREAD_STACK_SIZE (1024u)

OS_THREAD_DEFINE(sample_thread, SAMPLE_THREAD_STACK_SIZE, 5);

Expand All @@ -40,8 +40,8 @@ int main(void)

/* At_RTOS kernel running starts */
os.schedule_run();
D_ASSERT(0);

RUN_UNREACHABLE();
while(1) {};
}

Expand Down
Loading

0 comments on commit 292dc01

Please sign in to comment.