FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cfgmagic/target.pirelli @ 524:11b6ca57a079
gsm-fw/cfgmagic: first rough sketch at L1 configuration
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 14 Jul 2014 07:03:53 +0000 |
parents | 2c9c2b95ddec |
children | 452a4aea3fc5 |
rev | line source |
---|---|
88
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CONFIG_TARGET_PIRELLI=1 |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 export_to_c CONFIG_TARGET_PIRELLI |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 CONFIG_IRAM_SIZE=0x80000 |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 CONFIG_XRAM_SIZE=0x800000 |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 CONFIG_FWFLASH_SIZE=0x800000 |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 # the post-target fragment exports these |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
207
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
9 # RAMFFS: default to 64 KiB x 8 |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
10 RAMFFS_BLKSIZE_LOG2=16 |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
11 RAMFFS_NBLOCKS=8 |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
12 |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
13 # 2nd flash chip select |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
14 FLASH2_BASE_ADDR=0x02000000 |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
15 export_to_c FLASH2_BASE_ADDR |
c70c077243dd
gsm-fw: beginning of config magic for FFS
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
16 |
88
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 DBB_type=751992A |
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 ABB_type=Iota3014 |
113
3b2e941043d8
nuc-fw/bsp: niq32.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
88
diff
changeset
|
19 RF_type=Rita |
88
ccde45a06737
nuc-fw: beginning of the configuration mechanism
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 # the post-target fragment will turn these into TI's voodoo numbers |
522
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
21 |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
22 # For the RF PA we have to set TI's voodoo number directly, and we don't |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
23 # even have a number for these Skyworks parts. :-( |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
24 # The best we can do for now is lie and pretend to be Leonardo/Openmoko. |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
25 RF_PA=2 |