1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00
elua/inc/remotefs/rtype.h
Bogdan Marinescu e7702bb0e2 Manual merge of remotefs/ into trunk. Tested with the simulator and (partially) on a ET-STM32 board. Other changes:
- FAT changed to support the new opendir/readdir/closedir mechanism, and to use lseek directly instead of ioctl (also fixed a bug in FAT's lseek that always returned 0 instead of file position).
- ET-STM32 console moved to UART2@19200bps (to allow RFS to run on UART0). If UART0 is needee for console, remember to disable RFS.
- freed 700+ bytes of RAM by changing the devman implementation to keep pointers instead of actual DM_DEVICE structures
- other minor code changes and fixes
2010-02-01 18:47:41 +00:00

18 lines
396 B
C

// Type definitions for the remote file system
#ifndef __RTYPE_H__
#define __RTYPE_H__
// Type codes
#define TYPE_INT_8 0x01
#define TYPE_INT_16 0x02
#define TYPE_INT_32 0x03
#define TYPE_PTR 0x04
#define TYPE_START 0x05
#define TYPE_END 0x06
#define TYPE_OP_ID 0x07
#define TYPE_PKT_SIZE 0xA5
#endif