unicore-mx
unicore-mx copied to clipboard
UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X
Newer compiler are being incorrectly detected as not supporting Cortex M7 Also, its been years. support for M7 is not maintream. We can safely remove the check in M7 supported...
``` STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx dedicated RAM of 1.25[FS] Kbytes Up to 8[FS] host channels (pipes) 1 bidirectional control endpoint0 3[FS] IN endpoints 3[FS] OUT endpoints F105 F107...
gcc warning: ``` ../../usbd/usbd_ep0.c: In function 'standard_get_descriptor': ../../usbd/usbd_ep0.c:167:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (index < dev->info->device.desc->bNumConfigurations) { ^ ../../usbd/usbd_ep0.c:173:2: note: here case USB_DT_STRING: ^~~~ ``` https://github.com/insane-adding-machines/unicore-mx/blob/master/lib/usbd/usbd_ep0.c#L394
This patch includes: !fix usbd stop ep !usbd:dwc_otg:OUT prematured urb and also provides enhanced URB cancel in DWC backend - now canceling URB can detects that ep is in transmition...
here provided enhances on usbd-driver for: 1) Vbus sensing - method and callback. This helps to detect cable plug in/out, or it can be USBpowering detection 2) USBcore power/clock domain...
here patch ensures disabling endpoints when disble or endpoint stop requested. enabled endpoints for hunged transfers was leaved enabled after reset, or urb cancel. therefore this enpoints fails to start...
this branch alllows use CMSIS support, and mix code with HAL includes. !!! HAL library MUST be included BEFORE unicore, to avoid conflicts !!! prefer use GPIOx_BASE for unicore routines...
Here is branch with refactoring LOGF -> USBD_LOGF also deployed from usbd_private.h log binding port header usbd_log.h - this allow to bind unicore logs into project by local copy of...
here provided MSC scsi , commands that denamded by win8 also introduced API that allow overriding by user code. this branch also includes USBD logging refactorings to USBD_LOGXXX macros, vs...
Support: - STM32 F4/F7 LTDC UniCore-MX example: https://github.com/insane-adding-machines/unicore-mx-examples/pull/9