This commit is contained in:
2025-10-18 16:51:59 +08:00
commit 94d1a033df
3200 changed files with 540911 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include "cmsis_os.h" // CMSIS RTOS header file
extern void thread_sample (void const *argument); // prototype
typedef struct a {
char y[100];
} a_element;
osThreadDef (thread_sample, osPriorityBelowNormal, 2, 100);
osPoolDef(MyPool, 10, struct a);
osMessageQDef(MyMessage, 10, a_element *);
osMailQDef(MyMail, 10, a_element);