X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Fat91sam7s%2Fappconfig.h;h=13e0171b77d5b8a4fdf0d2a6829ccae3d51fa6cf;hb=48606ccf318afe90b928fb43e0bd48586ff8d632;hp=27d6fcfd958d0cd12f561df828369ff6ed370519;hpb=9ba9dcf2a59a952609e19154e11de3e2478cbf42;p=bertos.git diff --git a/app/at91sam7s/appconfig.h b/app/at91sam7s/appconfig.h index 27d6fcfd..13e0171b 100644 --- a/app/at91sam7s/appconfig.h +++ b/app/at91sam7s/appconfig.h @@ -72,6 +72,9 @@ #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 @@ -91,7 +94,7 @@ * * \sa config_kern.h */ -#define CONFIG_KERNEL 0 +#define CONFIG_KERNEL 1 /** * \name Serial driver parameters @@ -110,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 @@ -139,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 @@ -208,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 */