Add FreeRTOS

This commit is contained in:
2024-06-03 18:59:42 +08:00
parent d6007ab75e
commit db774bfd76
16 changed files with 248 additions and 169 deletions

View File

@@ -1,5 +1,11 @@
#ifndef ZC13_HPP
#define ZC13_HPP
#ifndef ZC13_H
#define ZC13_H
/* Scheduler include files. */
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "queue.h"
#include <stdio.h>
#include <strings.h>
@@ -15,7 +21,6 @@
#define ZC13_PIO_SM_RX 1
#define ZC13_PIO_SERIAL_BAUD 9600
extern int ZC13_INIT();
extern int ZC13(const char *model);
extern void CH4(void *pvParameters);
#endif