source: trunk/platform/sx130is/sub/101f/makefile.inc @ 1258

Revision 1258, 1.2 KB checked in by philmoz, 22 months ago (diff)

Fixes for SX130is.

  • Corrected value for get_flash_params_count
  • Fixed modemap
  • Remove redundant values from platform_camera.h
  • Enable screen erase detect logic for menu redraw
  • Updated memory size comment in makefile.inc
Line 
1#SX130IS PID
2#PLATFORMID=0x3211
3PLATFORMID=12817
4
5PLATFORMOS=dryos
6
7# Force EXMEM on for sx130is - not enough heap to work in low memory
8override OPT_EXMEM_MALLOC=1
9override OPT_CHDK_IN_EXMEM=1
10
11# start of firmware
12ROMBASEADDR=0xFF810000
13
14# highest RAM address
15MAXRAMADDR=0x03FFFFFF
16
17# address where wif or diskboot code will be loaded by camera
18MEMBASEADDR=0x1900
19
20# size of memory region for CHDK
21RESTARTSTART=0x50000
22
23# Set up size variables for EXMEM
24EXMEM_HEAP_SKIP=0x2F7600        #(0x44000000-0x43D08A00) from sub_FF8885CC = size of video buffers in EXMEM area
25EXMEM_BUFFER_SIZE=0x200000      # Amount of EXMEM memory to allocate for CHDK = 2MB
26
27# points to the start of the memory pool used by the firmware
28ifdef OPT_CHDK_IN_EXMEM
29MEMISOSTART=0x3b089e0           # MAXRAMADDR+1 - EXMEM_HEAP_SKIP - EXMEM_BUFFER_SIZE - 32 (exmem allocates 64 bytes extra, 32 before and 32 after block allocated)
30else
31#MEMISOSTART=0x166210
32MEMISOSTART=0xF00000
33endif
34
35PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE)
36PLFLAGS+=-DRESTARTSTART=$(RESTARTSTART)
37
38NEED_ENCODED_DISKBOOT=5
39KEYSYS=d4b
40
41#firmware 1.01C
42#d4b key address 0x7E3618
43#d4b IV key address 0x3EDA0C
44#16 byte long starting from that point
Note: See TracBrowser for help on using the repository browser.