Mavlink console over STM32H7 usb

I have a custom AP board with an STM32H7. The usb port on the board is connected directly to the FS usb pins of the board. I am trying to get mavlink to work on this usb port. I have managed to get QGC to detect the board and the bootloader is working fine. However, the mavlink console will not work. What are the correct nuttx configuration settings for such situation. Currently, I have enabled the NSH usb console and set the TELEM 1 port of PX4 to /dev/ttyACM0. What am I missing?

How did you do that?

Usually, the way it works is that runs on /dev/ttyACM0 and starts nsh> after receiving 3 enteres, or MAVLink after seeing a MAVLink heartbeat.


I don’t think that’s how PX4 usually sets it up, so I’m not sure how it works. There might be some kinks to work out.