Dna.cfg: Difference between revisions

From MGH Designs wiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
== Propeller GCC config files for the DNA ==
== Propeller GCC config files for the DNA ==


<pre>
<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
</pre>
</syntaxhighlight>

Revision as of 18:46, 17 September 2016

Propeller GCC config files for the DNA

<syntaxhighlight lang="cfg">

  1. dna.cfg (2012-9-24)
  1. SimpleIDE directives (don't remove '#')
  2. IDE:SDLOAD
  3. IDE:SDXMMC
  1. Propeller configuration defaults

clkfreq: 80000000 clkmode: XTAL1+PLL16X

  1. Default serial communications

baudrate: 115200 rxpin: 31 txpin: 30

  1. 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

  1. 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>