Dna.cfg: Difference between revisions
Jump to navigation
Jump to search
Martin Hodge (talk | contribs) (Created page with "== Propeller GCC config files for the DNA == <pre> # dna.cfg (2012-9-24) # SimpleIDE directives (don't remove '#') # IDE:SDLOAD # IDE:SDXMMC # Propeller configuration defau...") |
Martin Hodge (talk | contribs) |
||
Line 1: | Line 1: | ||
== Propeller GCC config files for the DNA == | == Propeller GCC config files for the DNA == | ||
< | <syntaxhighlight lang="cfg"> | ||
# dna.cfg (2012-9-24) | # dna.cfg (2012-9-24) | ||
Line 45: | Line 45: | ||
cache-param1: (22 << 24) | (23 << 16) | (26 << 8) | 0x01 | cache-param1: (22 << 24) | (23 << 16) | (26 << 8) | 0x01 | ||
cache-param2: 27 << 24 | cache-param2: 27 << 24 | ||
</ | </syntaxhighlight> |
Revision as of 18:46, 17 September 2016
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>