cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

New Contributor II

hi  i hace STM32F407 + CYW43455 besed board with is successfully working with wiced.

but now i have some older code based on USB peripheral for STM32407.. which is developed in keil ide..

now.. i need to port that code from keil to wiced..
have you any better solution?

thanks
jignesh narola

0 Likes
Reply
1 Solution
Moderator
Moderator
  1. You can add the header file and source file for usb in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries and compile them by adding src/stm32f4xx_usb.c (assuming the .c file is named like this) in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries/libraries.mk.
  2. You may choose to write an abstraction layer based on the APIs added in previous step and name it platform_usb.c and add it in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries and modify the peripherals.mk to compile the platform_usb.c
  3. If you can complete the porting effort mentioned in above steps, you should be able to run the code for USB as well

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator
  1. You can add the header file and source file for usb in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries and compile them by adding src/stm32f4xx_usb.c (assuming the .c file is named like this) in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries/libraries.mk.
  2. You may choose to write an abstraction layer based on the APIs added in previous step and name it platform_usb.c and add it in 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries and modify the peripherals.mk to compile the platform_usb.c
  3. If you can complete the porting effort mentioned in above steps, you should be able to run the code for USB as well

View solution in original post

0 Likes
Reply