amos a98d336f62 Add 6 HARD and 1 MEDIUM tasks from batches 26 and 28
HARD: Mynewt FCB media results and SPIFFS append truncate space
(batch 28 47298b7, after a top-up); TinyUSB CH34x control completion,
TLV320 output gain encoding and ArduinoJSON decimal carry (batch 26
f20f11c); NetX Duo PPP buffered burst (batch 28 7f01d64).
MEDIUM: RT-Thread ringbuffer DMA peek (batch 28 7f01d64).
Task digests match the measured ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 01:25:49 +08:00

22 lines
623 B
C

#ifndef PREFLIGHT_RTDEVICE_H
#define PREFLIGHT_RTDEVICE_H
#include <rtthread.h>
#include <ringbuffer.h>
#include <dev_serial_v2.h>
#define RT_DEVICE_FLAG_RDONLY 1
#define RT_DEVICE_FLAG_WRONLY 2
#define RT_DEVICE_FLAG_RDWR 3
#define RT_DEVICE_FLAG_STREAM 4
#define RT_DEVICE_FLAG_ACTIVATED 8
#define RT_DEVICE_FLAG_SUSPENDED 16
#define RT_DEVICE_CTRL_CONFIG 1
#define RT_DEVICE_CTRL_CLOSE 2
#define RT_DEVICE_CTRL_CLR_INT 3
#define RT_DEVICE_CTRL_RESUME 4
#define RT_DEVICE_CTRL_SUSPEND 5
#define RT_DEVICE_CTRL_NOTIFY_SET 6
#define RT_DEVICE_CTRL_CONSOLE_OFLAG 7
#define RT_Device_Class_Char 1
#define RT_IT_IDLE 1
#endif