May 08, 2019
07:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 08, 2019
07:57 AM
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
Solved! Go to Solution.
1 Solution
May 09, 2019
04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 09, 2019
04:50 AM
- 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.
- 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
- If you can complete the porting effort mentioned in above steps, you should be able to run the code for USB as well
1 Reply
May 09, 2019
04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 09, 2019
04:50 AM
- 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.
- 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
- If you can complete the porting effort mentioned in above steps, you should be able to run the code for USB as well