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.
This commit is contained in:
@@ -267,7 +267,7 @@ int main(void)
|
||||
GPIO_CNF_OUTPUT_PUSHPULL, GPIO11);
|
||||
gpio_set(GPIOC, GPIO11);
|
||||
|
||||
usbd_dev = usbd_init(&stm32f103_usb_driver, &dev, &config, usb_strings, 4, usbd_control_buffer, sizeof(usbd_control_buffer));
|
||||
usbd_dev = usbd_init(&stm32f107_usb_driver, &dev, &config, usb_strings, 4, usbd_control_buffer, sizeof(usbd_control_buffer));
|
||||
usbd_register_set_config_callback(usbd_dev, usbdfu_set_config);
|
||||
|
||||
gpio_clear(GPIOC, GPIO11);
|
||||
|
||||
Reference in New Issue
Block a user