shithub: p9-stm32-example-os

ref: f801657f77f3923ec2388c25bdcb036c8019ba89
dir: /prog/prog.h/

View raw version
/*	conf	*/
//#define	DFSMAXRWCOUNT	128		// maximum data count

#define	DFSIQSIZE	1
#define	DFSOQSIZE	1

#define DFSMSIZE		256
#define DFSIOUNIT		32

#define	DMAINCH		DmaChan6
#define	DMAOUTCH	DmaChan7

#define DMAQ_BUFSIZE	64

/*	init & kernel programs	*/
Proc*	prog_init0(void);
Proc*	prog_kconsole(void);

/*	program functions	*/
void	happy(void*);
Proc*	prog_devicefs(Queue*, Queue*);
Proc*	prog_dma2q(Queue*, Queue*);