使用iar 7.11.3开发,一个工程中多个文件包含msp430f449.h头文件,编译没错误,连接时提示Error[e24]: Segment DATA16_AN (seg part no 2, symbol "P1OUT" in module "key02", address [21-21]) overlaps segment DATA16_AN (seg part no 5, symbol "_A_P1OUT" in module "main", address [21-21]) 错误,几个文件都用到msp430f449.h头文件中宏定义,不包含头文件,编译出错,找不到定义 |