cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any migration guide from old sdk to new

DSonc.1
Associate

I'm currently in the process of compiling example code from our supplier for an e-ink display. The issue however is it uses functions that predate HAL from what I can tell. While some things are simply renaming to uppercase, some other things are unknown.

Some examples are:

RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB|RCC_APB2Periph_GPIOD|RCC_APB2Periph_GPIOE, ENABLE);
 
//SCL--PE0  SDA--PE1
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1;    
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_Init(GPIOE, &GPIO_InitStructure);
 
GPIO_ResetBits(GPIOB, GPIO_Pin_8)
GPIO_SetBits(GPIOB, GPIO_Pin_8

I'm currently using STM32CubeIDE

0 REPLIES 0