Skip to main content
Avgerinos
Associate III
August 25, 2020
Question

BlueNRG-M0 VirtualCOMPort COM error on example generation

  • August 25, 2020
  • 0 replies
  • 604 views

Hello,

I have build a custom pcb and I am using the BlueNRG-M0 module and the STM32L162VET microcontoller. My main goal is to be able to transfer data via bluetooth to a computer.

To get starter, I tried to generate the VirtualCOMPort example that is available with the STM32CubeIDE using the BLE stack and sample application for Blue-NRG-MS module version 6.0.0.

I have followed the instructions on the following video:

https://www.youtube.com/watch?v=jGSdMAFVI_U&t=646s

The code is generated successfully but when I build the project I get the following error:

'COM1' undeclared (first use in this function); did you mean 'COMP1'?

Is this a common error and how can i overcome this?

Could you please give me some information on how to get started using a simple bluetooth application to transfer data between my device and a computer?

Thank you

This topic has been closed for replies.