1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 20:49:49 +04:00

cubewb: downgraded to v1.15.0

This commit is contained in:
hedger
2023-04-22 21:32:41 +04:00
committed by MX
parent c1292d08de
commit 3561f79cf4
5 changed files with 9 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ DIST_SUFFIX = "local"
COPRO_OB_DATA = "scripts/ob.data" COPRO_OB_DATA = "scripts/ob.data"
# Must match lib/STM32CubeWB version # Must match lib/STM32CubeWB version
COPRO_CUBE_VERSION = "1.16.0" COPRO_CUBE_VERSION = "1.15.0"
COPRO_CUBE_DIR = "lib/STM32CubeWB" COPRO_CUBE_DIR = "lib/STM32CubeWB"

View File

@@ -236,8 +236,8 @@ Function,-,LL_EXTI_StructInit,void,LL_EXTI_InitTypeDef*
Function,-,LL_GPIO_DeInit,ErrorStatus,GPIO_TypeDef* Function,-,LL_GPIO_DeInit,ErrorStatus,GPIO_TypeDef*
Function,+,LL_GPIO_Init,ErrorStatus,"GPIO_TypeDef*, LL_GPIO_InitTypeDef*" Function,+,LL_GPIO_Init,ErrorStatus,"GPIO_TypeDef*, LL_GPIO_InitTypeDef*"
Function,-,LL_GPIO_StructInit,void,LL_GPIO_InitTypeDef* Function,-,LL_GPIO_StructInit,void,LL_GPIO_InitTypeDef*
Function,-,LL_I2C_DeInit,ErrorStatus,const I2C_TypeDef* Function,-,LL_I2C_DeInit,ErrorStatus,I2C_TypeDef*
Function,+,LL_I2C_Init,ErrorStatus,"I2C_TypeDef*, const LL_I2C_InitTypeDef*" Function,+,LL_I2C_Init,ErrorStatus,"I2C_TypeDef*, LL_I2C_InitTypeDef*"
Function,-,LL_I2C_StructInit,void,LL_I2C_InitTypeDef* Function,-,LL_I2C_StructInit,void,LL_I2C_InitTypeDef*
Function,-,LL_Init1msTick,void,uint32_t Function,-,LL_Init1msTick,void,uint32_t
Function,+,LL_LPTIM_DeInit,ErrorStatus,LPTIM_TypeDef* Function,+,LL_LPTIM_DeInit,ErrorStatus,LPTIM_TypeDef*
1 entry status name type params
236 Function - LL_GPIO_DeInit ErrorStatus GPIO_TypeDef*
237 Function + LL_GPIO_Init ErrorStatus GPIO_TypeDef*, LL_GPIO_InitTypeDef*
238 Function - LL_GPIO_StructInit void LL_GPIO_InitTypeDef*
239 Function - LL_I2C_DeInit ErrorStatus const I2C_TypeDef* I2C_TypeDef*
240 Function + LL_I2C_Init ErrorStatus I2C_TypeDef*, const LL_I2C_InitTypeDef* I2C_TypeDef*, LL_I2C_InitTypeDef*
241 Function - LL_I2C_StructInit void LL_I2C_InitTypeDef*
242 Function - LL_Init1msTick void uint32_t
243 Function + LL_LPTIM_DeInit ErrorStatus LPTIM_TypeDef*

View File

@@ -18,8 +18,8 @@ PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static TL_CmdPacket_t ble_app_cmd_buffer;
PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static uint32_t ble_app_nvm[BLE_NVM_SRAM_SIZE]; PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static uint32_t ble_app_nvm[BLE_NVM_SRAM_SIZE];
_Static_assert( _Static_assert(
sizeof(SHCI_C2_Ble_Init_Cmd_Packet_t) == 58, sizeof(SHCI_C2_Ble_Init_Cmd_Packet_t) == 57,
"Ble stack config structure size mismatch (check new config options - last updated for v.1.16.0)"); "Ble stack config structure size mismatch (check new config options - last updated for v.1.15.0)");
typedef struct { typedef struct {
FuriMutex* hci_mtx; FuriMutex* hci_mtx;

View File

@@ -112,6 +112,8 @@ def DistCommand(env, name, source, **kw):
def generate(env): def generate(env):
if not env["VERBOSE"]:
env.SetDefault(COPROCOMSTR="\tCOPRO\t${TARGET}")
env.AddMethod(AddFwProject) env.AddMethod(AddFwProject)
env.AddMethod(DistCommand) env.AddMethod(DistCommand)
env.AddMethod(AddOpenOCDFlashTarget) env.AddMethod(AddOpenOCDFlashTarget)
@@ -147,7 +149,7 @@ def generate(env):
'--stack_file="${COPRO_STACK_BIN}" ' '--stack_file="${COPRO_STACK_BIN}" '
"--stack_addr=${COPRO_STACK_ADDR} ", "--stack_addr=${COPRO_STACK_ADDR} ",
], ],
"\tCOPRO\t${TARGET}", "$COPROCOMSTR",
) )
), ),
} }