mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
arch/arm/rp23xx: resets: do not reset USBCTL, SYSCFG
Do not reset USB, syscfg, as this disturbs USB-to-SWD on core 1 From upstream pico-sdk runtime init Signed-off-by: Serg Podtynnyi <serg@podtynnyi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
3b27b44435
commit
df8a889bd0
@@ -415,11 +415,14 @@ void rp23xx_clockconfig(void)
|
|||||||
* from flash
|
* from flash
|
||||||
* - and the PLLs, as this is fatal if clock muxing has not been reset on
|
* - and the PLLs, as this is fatal if clock muxing has not been reset on
|
||||||
* this boot
|
* this boot
|
||||||
|
* - and USB, syscfg, as this disturbs USB-to-SWD on core 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
setbits_reg32(RP23XX_RESETS_RESET_MASK & ~(RP23XX_RESETS_RESET_IO_QSPI |
|
setbits_reg32(RP23XX_RESETS_RESET_MASK & ~(RP23XX_RESETS_RESET_IO_QSPI |
|
||||||
RP23XX_RESETS_RESET_PADS_QSPI |
|
RP23XX_RESETS_RESET_PADS_QSPI |
|
||||||
RP23XX_RESETS_RESET_PLL_USB |
|
RP23XX_RESETS_RESET_PLL_USB |
|
||||||
|
RP23XX_RESETS_RESET_USBCTRL |
|
||||||
|
RP23XX_RESETS_RESET_SYSCFG |
|
||||||
RP23XX_RESETS_RESET_JTAG |
|
RP23XX_RESETS_RESET_JTAG |
|
||||||
RP23XX_RESETS_RESET_PLL_SYS),
|
RP23XX_RESETS_RESET_PLL_SYS),
|
||||||
RP23XX_RESETS_RESET);
|
RP23XX_RESETS_RESET);
|
||||||
|
|||||||
Reference in New Issue
Block a user