diff options
| author | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:50:16 -0600 | 
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:50:16 -0600 | 
| commit | 55b62bb5d6a9d6b484bcd0d802964d529dd5f9bb (patch) | |
| tree | 1a93442d43fcad172879d76629d4ed47ce3d6575 /src/lambdakey-v1.0/ao_pins.h | |
| parent | 558d2c94fe8c49d0544a3e7bc5ba11b60c4faa1e (diff) | |
| parent | 59e23c27c2a85d7d748223e444b24d19937afe47 (diff) | |
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/lambdakey-v1.0/ao_pins.h')
| -rw-r--r-- | src/lambdakey-v1.0/ao_pins.h | 19 | 
1 files changed, 15 insertions, 4 deletions
diff --git a/src/lambdakey-v1.0/ao_pins.h b/src/lambdakey-v1.0/ao_pins.h index 48b9db16..58a75080 100644 --- a/src/lambdakey-v1.0/ao_pins.h +++ b/src/lambdakey-v1.0/ao_pins.h @@ -19,23 +19,34 @@  #ifndef _AO_PINS_H_  #define _AO_PINS_H_ +#define fprintf(file, ...) 	({ (void) (file); printf(__VA_ARGS__); }) +#undef putc +#define putc(c,file) 		({ (void) (file); putchar(c); }) +#define fputs(s,file) 		({ (void) (file); ao_put_string(s); }) +#undef getc +#define getc(file) 		({ (void) (file); getchar(); }) +#define fflush(file)		({ (void) (file); flush(); }) +  #define HAS_TASK	0  #define HAS_AO_DELAY	1 +#if 1  #define LED_PORT_ENABLE	STM_RCC_AHBENR_IOPBEN  #define LED_PORT	(&stm_gpiob)  #define LED_PIN_RED	4  #define AO_LED_RED	(1 << LED_PIN_RED)  #define AO_LED_PANIC	AO_LED_RED +#define LEDS_AVAILABLE	(AO_LED_RED) +#endif +  #define AO_CMD_LEN	128 -#define AO_LISP_POOL_TOTAL	3072 -#define AO_LISP_SAVE	1 +#define AO_LISP_POOL	5120  #define AO_STACK_SIZE	1024 +#if 0  /* need HSI active to write to flash */  #define AO_NEED_HSI	1 - -#define LEDS_AVAILABLE	(AO_LED_RED) +#endif  #define AO_POWER_MANAGEMENT	0  | 
