SWO support for LPC4322 and other enhancements#904
SWO support for LPC4322 and other enhancements#904mathias-arm merged 16 commits intoARMmbed:developfrom
Conversation
|
@mbrossard |
|
The CMSIS UART drivers in NXP.LPC4300_DFP.v2.9.0 CMSIS pack work, when the ones in NXP.LPC4300_DFP.v2.10.0 generate a HardFault, I have not had the time to investigate further. [04f20c3] and [6c2ce0f] commit messages mention pack versions. The SWO tests I do are currently very simple: I have picked up your commit for MIMXRT1170-EVK on top of this PR but I can't test it without the hardware. I am looking into adding support for MIMXRT1060-EVK target to be able to test. |
|
@mbrossard |
From Keil LPC4300_DFP version 2.10.0
The stack and heap have to reside in m_data. The largest symbols (.bss.TraceBuf, .bss.sector_buf, .bss.DAP_Cmd_queue) are explicitly placed in m_data_2. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
From Keil LPC4300_DFP version 2.10.0
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
This way, one can set SWO_UART from the target's yaml. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
@kc8apf noticed that the drivers in version 2.9.0 of LPC4300_DFP pack work
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
0a86f4b to
ad6df73
Compare
This is a refresh of #813 from @groleo with:
Also thanks to @kc8apf who did another SWO effort and pointed out that the latest CMSIS UART drivers did not work.