Yeoyou....

Personal blogs

2. Targs.h

posted by 여경현

타겟의 정의… LG, 터보에서는 targetg.h를 사용함. -> target과 feature의 정의가 구분이 안됨.

makefile (여기서는 SURFTEI.h) 에서…
TARGFILE   = TARGS.H#
를 통해서 타겟정의 파일이 바뀜.

#define T_MB_NSKT 와 같이 타겟 메인보드? 를 정의하고,

6760은…

#define RAM_SIZE         0x001FFFFF  /* RAM size - 2MB  MCP 6416 */
#define ROM2_BASE     32//0x20        // 8 Mbyte
#define RAM2_BASE      0x08      // 2Mbyte, MCP 6416

으로 설정되어있다.

5150은…
/*
*
*    +——————-+           +——————-+ Animation (0x800000)
*    |                   |           |                   |
*    |                   |           |                   |
*    |                   |           |   4Mbytes         |
*    |                   |           |                   |
*    |                   |           +——————-+ Data Link (0xAA0000)
*    |    5.5 Mbytes     |           |                   |
*    |    (code area)    |           +——————-+ Voice Rec (0xAF0000)
*    |                   |           |                   |
*    |                   |           +——————-+ EFS       (0xE00000)
*    |                   |           |                   |
*    |                   |           |                   |
*    +——————-+0x580000   |   4Mbytes         |
*    |   animation &     |           |                   |
*    |   sound (MA3) &   |           |                   |
*    |   icons           |           |                   |
*    |    areas          |           |                   |
*    |                   |           |                   |
*    +——————-+           +——————-+
*
*      F1                            F2
*     (code area)                   (ani + data link + voice record + efs area)
*/