#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
/// Disable tests.
#define CONFIG_TEST 0
+#define CONFIG_FAST_MEM 0
+
#endif /* APPCONFIG_COMMON_H */
at91sam7s_CSRC = \
app/at91sam7s/at91sam7s.c \
- drv/timer.c \
- drv/ser.c \
- cpu/arm/drv/sysirq_at91.c \
- cpu/arm/drv/ser_at91.c \
- mware/event.c \
- mware/formatwr.c \
- mware/hex.c \
- kern/kfile.c \
- kern/proc.c \
- kern/proc_test.c \
- kern/monitor.c \
- kern/signal.c
+ bertos/drv/timer.c \
+ bertos/drv/ser.c \
+ bertos/cpu/arm/drv/sysirq_at91.c \
+ bertos/cpu/arm/drv/ser_at91.c \
+ bertos/mware/event.c \
+ bertos/mware/formatwr.c \
+ bertos/mware/hex.c \
+ bertos/kern/kfile.c \
+ bertos/kern/proc.c \
+ bertos/kern/proc_test.c \
+ bertos/kern/monitor.c \
+ bertos/kern/signal.c
at91sam7s_CPPASRC = \
- cpu/arm/hw/crtat91sam7_rom.S \
- kern/switch_arm.S
+ bertos/cpu/arm/hw/crtat91sam7_rom.S \
+ bertos/kern/switch_arm.S
at91sam7s_CROSS = arm-elf-
at91sam7s_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
-at91sam7s_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iapp/at91sam7s/hw -Iapp/at91sam7s -Icpu/arm
-at91sam7s_LDFLAGS = -nostartfiles -T cpu/arm/scripts/at91sam7_256_ram.ld -Wl,--no-warn-mismatch
+at91sam7s_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iapp/at91sam7s/hw -Iapp/at91sam7s -Ibertos/cpu/arm
+at91sam7s_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_ram.ld -Wl,--no-warn-mismatch
at91sam7s_CPU = arm7tdmi
# Debug stuff
ifeq ($(at91sam7s_DEBUG),1)
at91sam7s_CFLAGS += -D_DEBUG
- at91sam7s_CSRC += drv/kdebug.c
+ at91sam7s_CSRC += bertos/drv/kdebug.c
endif
#include <cfg/debug.h>
#include <appconfig.h>
-#warning what about these?
-//#include <hw_cpu.h> /* for CLOCK_FREQ */
-//#include <hw_ser.h> /* Required for bus macros overrides */
#include <mware/formatwr.h> /* for _formatted_write() */
#include <mware/pgm.h>