Re: nsh_main cant running and print no output

2022-11-24 Thread Nathan Hartman
On Thu, Nov 24, 2022 at 8:00 AM Alan C. Assis wrote: > Seems like you are mixing the HDSC SDK code with NuttX code, it is > better to start a clean port to this new chip. Agreed it is better to do a clean port to this new chip. That will make it possible to upstream it to NuttX mainline, so

Re: nsh_main cant running and print no output

2022-11-24 Thread Alan C. Assis
Hi Mr. Wang, Did you modify the driver to support both interrupts? Also, do you have JTAG (OpenOCD) + GDB support to HDSC HC32 chips? Using JTAG+GDB will be easier to track the root cause of the issue. Seems like you are mixing the HDSC SDK code with NuttX code, it is better to start a clean

nsh_main cant running and print no output

2022-11-24 Thread wanglingyu
Hi, I have a problem about nuttx during moving a new chip with hc32. the board can output with lowputc, system can run, and gpio control is ok, but printf in libc can't output anything, and at same time, nsh_main also not running, it makes shell not being used. the codes is compiled and