User Activity

  • Posted a comment on ticket #1001 on ChibiOS/RT free embedded RTOS

    Like this: usbDisconnectBus(usbcdc_cfg.usbp); // A delay is inserted in order to computer sense the change chThdSleepMilliseconds(2000); usbStart(usbcdc_cfg.usbp, &usb_cfg); usbConnectBus(usbcdc_cfg.usbp);

  • Posted a comment on ticket #1001 on ChibiOS/RT free embedded RTOS

    In my case I added a chThdSleepMilliseconds(2000); after disconnect, but I don't know if this is necessary in this #define.

  • Posted a comment on ticket #1001 on ChibiOS/RT free embedded RTOS

    Hi! Here we go: diff --git a/os/hal/boards/STM32F103C8_MINIMAL/board.h b/os/hal/boards/STM32F103C8_MINIMAL/board.h index 9350c1388..fbdaf7e2a 100644 --- a/os/hal/boards/STM32F103C8_MINIMAL/board.h +++ b/os/hal/boards/STM32F103C8_MINIMAL/board.h @@ -131,12 +131,17 @@ /* * USB bus activation macro, required by the USB driver. */ -#define usb_lld_connect_bus(usbp) /* always connected */ +#define usb_lld_connect_bus(usbp) do { \ + palSetPadMode(GPIOA, GPIOA_USBDP, PAL_MODE_INPUT); \ + } while(0); /*...

  • Created ticket #1001 on ChibiOS/RT free embedded RTOS

    Board STM32F103C8_MINIMAL USB Disconnect alternative

View All

Personal Data

Username:
terciof
Joined:
2001-05-19 02:51:38

Projects

This is a list of open source software projects that Tercio F Gaudencio Filho is associated with:

Personal Tools