k66 and USB dedicated RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

k66 and USB dedicated RAM

ソリューションへジャンプ
2,387件の閲覧回数
andrewparlane2
Contributor III

I was just looking through a .map file for my K66 based project and noticed 0x800 bytes (+ alignment) being used for USB_RAM_GAP.

Looking in my linker script I see that indeed we align to 512 bytes and reserve 0x800 bytes in the .bss section for this USB RAM stuff. However as far as I can tell the K66 doesn't support this at all, so we are just wasting 2KB of RAM here.

Am I correct in thinking I can remove this, and the m_usb_bdt and m_usb_global sections for both projects that don't use USB and projects that do. My tests suggest that I can indeed do this with no negative repercussions.

Thanks

Andy

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
2,142件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Andrew:

Yes, you are correct, that section can be removed.

I checked the latest version of KSDK 2.2, this section is not in linker script.

Regards

Daniel

元の投稿で解決策を見る

2 返答(返信)
2,142件の閲覧回数
andrewparlane2
Contributor III

Thanks.

0 件の賞賛
返信
2,143件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Andrew:

Yes, you are correct, that section can be removed.

I checked the latest version of KSDK 2.2, this section is not in linker script.

Regards

Daniel