Commit Graph

13 Commits

Author SHA1 Message Date
Nicolas Schodet
5b30e3d98d Fix usage of USB_VBUS
USB_VBUS is not an alternate function, it is an additionnal function which is
always enabled.

If configured as an alternate function, it will draw current from VBUS.
2018-07-03 22:42:44 +00:00
Karl Palsson
301b4f9194 update usb enum return codes
Should have been fixed in commit 85be1e5e7b when we updated the library, but was... missed.
travis caught it after the fact at least.
2018-03-04 13:57:29 +00:00
Piotr Esden-Tempski
976720c355 Updated libopencm3 to current master. Made all examples compile again.
Be specifically careful with the usb examples. There is likely some
breakage to be expected, not sure I updated all the drivers to the
correct types for the respective chips.
2015-12-15 00:56:25 +01:00
Piotr Esden-Tempski
ea5af55b92 [stm32f4-discovery] Reverted addition of console. 2015-01-20 16:18:43 -08:00
Chuck McManis
a3ff2c9250 Intermediate step in the examples tree, looking to get USB working correctly on the
429 still
2015-01-20 16:12:57 -08:00
Karl Palsson
9852282bcf stm32f4: drop dead code from usb example.
Presumably code that attempted to toggle a led, but it wasn't setup, and it's
not in any other examples.  Kill it for now.

Reported-by: stefanct on irc.
2014-08-21 23:56:34 +00:00
Frantisek Burian
dd320a6e99 [STYLE] Revert the 'const' warning in cdcacm examples.
Examples are now compilable without warnings.
2014-03-23 21:20:41 +01:00
Frantisek Burian
3f47411e24 [Stylecheck] F0, F1, F4
There are remaining C99 comments.
2014-02-13 19:15:24 +01:00
Frantisek Burian
5bb4d47aae Examples updated to use new rcc_periph_clock_enable function 2014-02-13 19:14:59 +01:00
Karl Palsson
92624b7d01 [stm32x] Use modern header include paths.
Replace includes of stm32/YY/xxxx.h with stm32/xxxx.h
Replace stm32/YY/nvic.h with cm3/nvic.h.
In some cases, the include list was resorted alphabetically when it was
complicated and I was reviewing them manually, but most of this was
automatically done.
2013-12-13 14:13:47 +00:00
Piotr Esden-Tempski
f5b0aa5638 Updated to the new locm3 changed to stdint types. 2013-06-16 19:07:22 -07:00
Piotr Esden-Tempski
f395592764 Updated all affected examples to the usb API change. 2013-04-25 17:44:11 -07:00
Piotr Esden-Tempski
9d5526f773 Initial commit. 2013-04-19 17:19:32 -07:00