AnsweredAssumed Answered

STM32f070F6 with CDC HAL libs?

Question asked by David Martins on May 10, 2018
Latest reply on May 18, 2018 by Nawres GHARBI

Hi.

I'm trying to upgrade an existing PCB (so changing the MCU is not an option for now).

The MCU used so far is the STM32f070F6. The MCU has USB peripheral and I want to use this as VCOM.

 

When I generate the code with CubeMX and try to compile (with absolutely no code change), I get the message that the MCU do not have enough RAM: "/arm-none-eabi/bin/ld.exe: region` RAM 'overflowed by 1760 bytes".

 

I have already changed the CDC buffers to a size of 40 bytes (maximum of what I want to transfer), but I still have a similar error.

 

Is there an example with this MCU in which the USB peripheral is used?

 

 

Thank you.

Outcomes