Re: [libopencm3-devel] Newbie clock questions

2017-01-27 Thread Sid Price
Thanks Chuck, I am still trying to get the Blackmagic Probe firmware running. I did get the usb_cdcacm example running on my hardware so at least I know that is good. In getting that example to work I was using the latest libopencm3 commit so I am now trying to get the probe working again. I can

Re: [libopencm3-devel] Newbie clock questions

2017-01-27 Thread Chuck McManis
Hi Sid, There aren't too many differences other than the old one takes a bit mask and pointer to a register and the new one just takes an enum. The old one required you to know which RCC enable register you had to set the bits in but it also let you set multiple bits at the same time in the same r

[libopencm3-devel] Newbie clock questions

2017-01-27 Thread Sid Price
I am building a USB device based upon STM32F411RE, the source code uses an older version of libopencm3. It uses the old-style peripheral clock enables, e.g. rcc_peripheral_enable_clock and I would like to update it to use the newer "rcc_periph_clock_enable" method. Are there some notes anywhere abo