Dna.cfg
Jump to navigation
Jump to search
Propeller GCC config files for the DNA
<syntaxhighlight lang="cfg">
- dna.cfg (2012-9-24)
- SimpleIDE directives (don't remove '#')
- IDE:SDLOAD
- IDE:SDXMMC
- Propeller configuration defaults
clkfreq: 80000000 clkmode: XTAL1+PLL16X
- Default serial communications
baudrate: 115200 rxpin: 31 txpin: 30
- Default SPI config
spi-base: 0 sd-driver: sd_driver.dat sdspi-do: {spi-base} + 0 sdspi-clk: {spi-base} + 1 sdspi-di: {spi-base} + 2 sdspi-cs: {spi-base} + 3
- Default cache config
cachespi-cs: {spi-base} + 4 cache-size: 8K cache-driver: spi_flash_cache.dat cache-param1: ({sdspi-di} << 24) | ({sdspi-do} << 16) | ({sdspi-clk} << 8) | 0x21 cache-param2: {cachespi-cs} << 24
[hi]
spi-base: 16
[sqi]
cache-driver: winbond_sqi_flash_cache.dat cache-param1: (22 << 24) | (23 << 16) | (26 << 8) | 0x01 cache-param2: 27 << 24
[sqihi]
spi-base: 16 cache-driver: winbond_sqi_flash_cache.dat cache-param1: (22 << 24) | (23 << 16) | (26 << 8) | 0x01 cache-param2: 27 << 24
</syntaxhighlight>