ekoeppen / stm32f103-template-lib

C++ template based STM32F103 library
MIT License
8 stars 1 forks source link

Missing ringbuffer.h #1

Open rspeir opened 7 years ago

rspeir commented 7 years ago

Hi Eckhart,

I have attempted to build the USB cdc example in your stm32f103 C++ template library, but its main.cpp file includes ringbuffer.h and I haven't been able to find ringbuffer files anywhere in the repository. Did I just miss them, or are they in another repository somewhere?

Thank you for your help.

ekoeppen commented 7 years ago

Hi!

I created a new template library for F0, F1 and F4 devices in the stm32tl repository, that is more up to date. You should be able to compile the usb/cdc example for the STM32F1 like this:

make CPU=STM32F103C8 BOARD=olimexino_stm32

The board might not match what you have, but it's quite easy to add new boards under the boards directory.