diff options
Diffstat (limited to 'src/cc1111')
| -rw-r--r-- | src/cc1111/Makefile.cc1111 | 2 | ||||
| -rw-r--r-- | src/cc1111/ao_arch.h | 4 | ||||
| -rw-r--r-- | src/cc1111/ao_pins.h | 5 | 
3 files changed, 10 insertions, 1 deletions
diff --git a/src/cc1111/Makefile.cc1111 b/src/cc1111/Makefile.cc1111 index 0ea30e1d..cb2d3db4 100644 --- a/src/cc1111/Makefile.cc1111 +++ b/src/cc1111/Makefile.cc1111 @@ -1,7 +1,7 @@  include ../Makedefs  CC=$(SDCC) -CFLAGS=--model-small --debug --opt-code-speed -DCODESIZE=$(CODESIZE) +CFLAGS=--model-small --debug --opt-code-speed -DCODESIZE=$(CODESIZE) -DCC1111  CFLAGS += $(PRODUCT_DEF) -I. -I.. -I../kernel -I../cc1111 -I../drivers -I../product diff --git a/src/cc1111/ao_arch.h b/src/cc1111/ao_arch.h index bacfabb8..937e6d0c 100644 --- a/src/cc1111/ao_arch.h +++ b/src/cc1111/ao_arch.h @@ -234,6 +234,10 @@ ao_button_get(uint16_t timeout) __critical;  void  ao_button_clear(void) __critical; +/* console I/O funcs */ +#define ao_getchar getchar +#define ao_putchar putchar +  /* ao_string.c */  void diff --git a/src/cc1111/ao_pins.h b/src/cc1111/ao_pins.h index 10b1f802..9d6e1c1d 100644 --- a/src/cc1111/ao_pins.h +++ b/src/cc1111/ao_pins.h @@ -63,6 +63,7 @@  	#define HAS_RADIO_RATE		0	/* not enough space for this */  	#define HAS_MUTEX_TRY		0  	#define HAS_TASK_INFO		0	/* not enough space for this either */ +	#define AO_LOG_FORMAT		AO_LOG_FORMAT_FULL  #endif  #if defined(TELEMETRUM_V_1_1) @@ -106,6 +107,7 @@  	#define HAS_TELEMETRY		1  	#define HAS_RADIO_RATE		0	/* not enough space for this */  	#define HAS_MUTEX_TRY		0 +	#define AO_LOG_FORMAT		AO_LOG_FORMAT_FULL  #endif  #if defined(TELEMETRUM_V_1_2) @@ -149,6 +151,7 @@  	#define HAS_TELEMETRY		1  	#define HAS_RADIO_RATE		0	/* not enough space for this */  	#define HAS_MUTEX_TRY		0 +	#define AO_LOG_FORMAT		AO_LOG_FORMAT_FULL  #endif  #if defined(TELEDONGLE_V_0_2) @@ -210,6 +213,7 @@  	#define HAS_MONITOR		0  	#define HAS_TELEMETRY		1  	#define HAS_RADIO_RATE		0	/* not enough space for this */ +	#define AO_LOG_FORMAT 		AO_LOG_FORMAT_TINY  #endif  #if defined(TELENANO_V_0_1) @@ -274,6 +278,7 @@  	#define HAS_TELEMETRY		1  	#define HAS_RADIO_RATE		0	/* not enough space for this */  	#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX	((uint32_t) 127 * (uint32_t) 1024) +	#define AO_LOG_FORMAT		AO_LOG_FORMAT_FULL  #endif  #if defined(TELEDONGLE_V_0_1)  | 
