You wiull need to disable STDIO and possibly also a dialog port in GUI or just change them in bsp_sys.h:
#define BSP_STDIO_PORT "/com/0"
* BSP_DIALOG_PORT determines whether or not the initialization code will prompt for configuration
* parameters. It should be set to a string that contains the serial port to prompt with. If it
* is not set, or if it contains an invalid port, then the initialization code will not prompt for
* configuration parameters.
* @since 7.1
#define BSP_DIALOG_PORT "/com/0"
If you want to disable them, comment them out, if you want to move them to other port, change /com/0 to /com/X where is is Whatever port you whant to change it to. Then in you application use /com/0 instead of /com/1