[FL-1473, FL-1651] Update STM32CubeWB to latest version. Radio firmware bundle. (#642)

* FuriHal: update STM32CubeWB to latest version.
* Makefile: debug other script
* FuriHal: correctly handle 0 size transfers in VCP
* Dolphin: cleanup and minor timer tuning.
* FuriHal: update FreeRTOS config with bigger timer command queue.
* FuriHal: delayed irq enabling, fixes missing ticks.
* FuriHal: use SFSA to determine free space for internal FS, update linker script to use as much space as theoretically possible.
* Scripts: update core2 flashing scripts and OB data.
* Github: bundle resources, core2 firmware and supplementary data.
* GitHub: versioning for supplemental artifacts
This commit is contained in:
あく
2021-08-17 12:41:08 +03:00
committed by GitHub
parent 1f192c4a48
commit f02cec45a0
15 changed files with 115 additions and 49 deletions

View File

@@ -241,7 +241,9 @@ static int8_t CDC_Control_FS(uint8_t cmd, uint8_t* pbuf, uint16_t length)
static int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len)
{
/* USER CODE BEGIN 6 */
_furi_hal_vcp_rx_callback((char*)Buf, *Len);
if (*Len) {
_furi_hal_vcp_rx_callback((char*)Buf, *Len);
}
USBD_CDC_ReceivePacket(&hUsbDeviceFS);
return (USBD_OK);
/* USER CODE END 6 */