ffcb904b66
Includes the Source (as an Eclipse project) and the Hardware files (including schematic, layout, gerbers, and bill of materials.) The firmware is extremely incomplete. At this point the DDS chips work (with controlled phase relationship), the LCD (with fast-ish SPI, scrolling, and GFX, modified from Adafruit's library), the encoder knob, and LED work. The ADC is capturing, but not in a usable way, but it's enough to feed the DSP code and see a nice pretty waterfall. Timers, interrupts, and DACs are not working yet.
32 lines
939 B
Text
32 lines
939 B
Text
/*
|
|
* Memory Spaces Definitions.
|
|
*
|
|
* Need modifying for a specific board.
|
|
* FLASH.ORIGIN: starting address of flash
|
|
* FLASH.LENGTH: length of flash
|
|
* RAM.ORIGIN: starting address of RAM bank 0
|
|
* RAM.LENGTH: length of RAM bank 0
|
|
*
|
|
* The values below can be addressed in further linker scripts
|
|
* using functions like 'ORIGIN(RAM)' or 'LENGTH(RAM)'.
|
|
*/
|
|
|
|
MEMORY
|
|
{
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
|
|
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K
|
|
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
|
|
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
|
EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
|
EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
|
EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
|
EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
|
MEMORY_ARRAY (xrw) : ORIGIN = 0x20002000, LENGTH = 32
|
|
}
|
|
|
|
/*
|
|
* For external ram use something like:
|
|
|
|
RAM (xrw) : ORIGIN = 0x64000000, LENGTH = 2048K
|
|
|
|
*/
|