X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Fat91sam7s%2Fappconfig.h;h=f052f8cfda47bdfb0c9ebb9470f22cf589440aba;hb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;hp=f222398357ef8cd1ee5d2f21727e718833d0f42a;hpb=800a692eb5ebe153f814a94109dd4deaca8997ad;p=bertos.git diff --git a/app/at91sam7s/appconfig.h b/app/at91sam7s/appconfig.h index f2223983..f052f8cf 100644 --- a/app/at91sam7s/appconfig.h +++ b/app/at91sam7s/appconfig.h @@ -1,8 +1,33 @@ /** * \file * * * \brief DevLib configuration options @@ -40,13 +65,16 @@ * on constant values and performing dead-code elimination. * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo */ #ifndef APPCONFIG_H #define APPCONFIG_H +/** Kdebug console on debug unit */ +#define CONFIG_KDEBUG_PORT KDEBUG_PORT_DBGU + /** Baud-rate for the kdebug console */ #define CONFIG_KDEBUG_BAUDRATE 115200 @@ -66,7 +94,7 @@ * * \sa config_kern.h */ -#define CONFIG_KERNEL 0 +#define CONFIG_KERNEL 1 /** * \name Serial driver parameters @@ -85,10 +113,10 @@ #define CONFIG_UART1_RXBUFSIZE 64 /** [bytes] Size of the outbound FIFO buffer for SPI port (AVR only). */ - #define CONFIG_SPI_TXBUFSIZE 16 + #define CONFIG_SPI0_TXBUFSIZE 16 /** [bytes] Size of the inbound FIFO buffer for SPI port (AVR only). */ - #define CONFIG_SPI_RXBUFSIZE 32 + #define CONFIG_SPI0_RXBUFSIZE 32 /** SPI data order (AVR only). */ #define CONFIG_SPI_DATA_ORDER SER_MSB_FIRST @@ -114,9 +142,6 @@ /** Default baud rate (set to 0 to disable) */ #define CONFIG_SER_DEFBAUDRATE 0 - /** Enable ser_gets() and ser_gets_echo() */ - #define CONFIG_SER_GETS 0 - /** Enable second serial port in emulator. */ #define CONFIG_EMUL_UART1 0 @@ -183,4 +208,13 @@ /// Enable smooth scrolling in menus #define CONFIG_MENU_SMOOTH 1 +/** Enable kfile_gets() and kfile_gets_echo() */ +#define CONFIG_KFILE_GETS 0 + +/// Disable tests. +#define CONFIG_TEST 0 + +#define CONFIG_FAST_MEM 0 + + #endif /* APPCONFIG_COMMON_H */