X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Fao_arch.h;h=dd0debd449925fab5da90df2fbe5d634adc67f7f;hb=0d367fc24bfd0377db6f3b00a888a18245616767;hp=f605e3d2d677ddc4ed4b5ada58e46ecb88a0d4b9;hpb=27e9b93f3d35890a49575b2ead1983ce3c2fc213;p=fw%2Faltos diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h index f605e3d2..dd0debd4 100644 --- a/src/lpc/ao_arch.h +++ b/src/lpc/ao_arch.h @@ -24,12 +24,14 @@ * LPC11U14 definitions and code fragments for AltOS */ -#define AO_STACK_SIZE 320 - -#define AO_LED_TYPE uint16_t +#ifndef AO_STACK_SIZE +#define AO_STACK_SIZE 512 +#endif #define AO_PORT_TYPE uint32_t +#define AO_LED_TYPE AO_PORT_TYPE + #ifndef AO_TICK_TYPE #define AO_TICK_TYPE uint16_t #define AO_TICK_SIGNED int16_t @@ -137,4 +139,12 @@ ao_serial_init(void); #define AO_SPI_SPEED_FAST AO_SPI_SPEED_12MHz +#define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x00001000) +#define AO_BOOT_LOADER_BASE ((uint32_t *) 0x00000000) +#define HAS_BOOT_LOADER 1 + +/* ADC definitions */ + +#define AO_ADC_MAX 32767 + #endif /* _AO_ARCH_H_ */