使用MAP_时,这几个宏是什么意思?
TARGET_IS_TM4C123_RA1
TARGET_IS_TM4C123_RA2
TARGET_IS_TM4C123_RA3
TARGET_IS_TM4C123_RB0
TARGET_IS_TM4C123_RB1
TARGET_IS_TM4C129_RA0
TARGET_IS_TM4C129_RA1
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
北川
丝印层上的PART#没有显示关于该类芯片版本的信息。如果要查看手头的芯片的版本信息,请读取System Control Register
Register 1: Device Identification 0 (DID0), offset 0x000寄存器的值进行判断。
具体的数值对应的版本号请对照datasheet中相关的寄存器描述部分。
读取System Control Register
Register 1: Device Identification 0 (DID0), offset 0x000寄存器的值进行判断。
具体的数值对应的版本号请对照datasheet中相关.
DID0读取值为:0x18050101
MINOR = 0x01
MAJOR = 0x01
Class = 0x05 (TM4C)
ver = 0x01
所以要设置为:TARGET_IS_TM4C123_RB1
源代码:
http://yunpan.cn/QTIrwx6t2darb (提取码:dd90)
感谢Wellin Zhang (TI)
根据读出来的信息,对照你楼上表的第三列就可以知道具体的版本号了。可是对于我们一般应用来说,基本不用考虑这个问题的。