diff --git a/BaS_gcc/bas.lk.in b/BaS_gcc/bas.lk.in index a83aa0a..4ddb96d 100644 --- a/BaS_gcc/bas.lk.in +++ b/BaS_gcc/bas.lk.in @@ -73,6 +73,7 @@ SECTIONS #if (TARGET_ADDRESS < 0x1FFFFFFF && TARGET_ADDRESS > 0) . = ALIGN(16); _usb_buffer = .; + . = . + USB_BUFFER_SIZE; #endif #if (FORMAT == elf32-m68k) diff --git a/BaS_gcc/include/firebee.h b/BaS_gcc/include/firebee.h index 1699027..a1a7497 100644 --- a/BaS_gcc/include/firebee.h +++ b/BaS_gcc/include/firebee.h @@ -30,11 +30,11 @@ #define SYSCLK 132000 #define BOOTFLASH_BASE_ADDRESS 0xE0000000 -#define BOOTFLASH_SIZE 0x800000 +#define BOOTFLASH_SIZE 0x800000 /* FireBee has 8 MByte Flash */ #define BOOTFLASH_BAM (BOOTFLASH_SIZE - 1) #define SDRAM_START 0x00000000 /* start at address 0 */ -#define SDRAM_SIZE 0x20000000 /* 512 kb on the Firebee */ +#define SDRAM_SIZE 0x20000000 /* 512 MB on the Firebee */ #ifdef COMPILE_RAM #define TARGET_ADDRESS (SDRAM_START + SDRAM_SIZE - 0x100000) diff --git a/BaS_gcc/include/m5484l.h b/BaS_gcc/include/m5484l.h index 2bc2740..d9370f4 100644 --- a/BaS_gcc/include/m5484l.h +++ b/BaS_gcc/include/m5484l.h @@ -1,6 +1,32 @@ #ifndef _M5484L_H_ #define _M5484L_H_ +/* + * m5484l.h + * + * preprocessor definitions for the M5484LITE machine. This file should contain nothing but preprocessor + * definition that evaluate to numbers. It is intended for use in C sources as well as in linker control + * files, so care must be taken to not break the syntax of either one. + * + * This file is part of BaS_gcc. + * + * BaS_gcc is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * BaS_gcc is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with BaS_gcc. If not, see . + * + * Created on: 26.02.2013 + * Author: Markus Fröschle + */ + #define SYSCLK 100000 #define BOOTFLASH_BASE_ADDRESS 0xE0000000