diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-25 22:55:33 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-25 22:57:24 -0700 | 
| commit | 8125acc030574afed6f23aa8aa302d9c768bb04e (patch) | |
| tree | 906aaf22c3674080df89c6e756a0195d2aab2bf9 /src/core/ao.h | |
| parent | e9fab7dc99a0e7c22b511c5919adf7df85213252 (diff) | |
altos: get avr-demo to build. Pull in AVR drivers and LCD driver
This completes the basic task of making an AVR version of altos by
getting the Teensy 'avr-demo' program to build.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
| -rw-r--r-- | src/core/ao.h | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 9b0bb545..98a01a4a 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -37,9 +37,9 @@  struct ao_task {  	__xdata void *wchan;		/* current wait channel (NULL if running) */  	uint16_t alarm;			/* abort ao_sleep time */ -	uint8_t	stack_count;		/* amount of saved stack */  	uint8_t task_id;		/* unique id */  	__code char *name;		/* task name */ +	ao_arch_task_members		/* any architecture-specific fields */  	uint8_t	stack[AO_STACK_SIZE];	/* saved stack */  }; @@ -321,6 +321,10 @@ ao_usb_disable(void);  void  ao_usb_init(void); +#if HAS_USB +extern __code __at (0x00aa) uint8_t ao_usb_descriptors []; +#endif +  /*   * ao_cmd.c   */ @@ -1571,4 +1575,9 @@ extern __xdata uint16_t				ao_companion_data[AO_COMPANION_MAX_CHANNELS];  void  ao_companion_init(void); +/* ao_lcd.c */ +   +void +ao_lcd_init(void); +  #endif /* _AO_H_ */  | 
