Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed compilation errors in stm32hal #329

Merged
merged 1 commit into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static void modeminimal(void)

}


#if 0
static void mode1(void)
{

Expand Down Expand Up @@ -626,7 +626,7 @@ static void mode1(void)
#endif
}


#endif

// --------------------------------------------------------------------------------------------------------------------
// - end-of-file (leave a blank line after)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOF_CLK_ENABLE();

/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOD, CAN2_STBY_Pin|CAN1_STBY_Pin|CAN_SHDN_Pin, GPIO_PIN_SET);
// HAL_GPIO_WritePin(GPIOD, CAN2_STBY_Pin|CAN1_STBY_Pin|CAN_SHDN_Pin, GPIO_PIN_SET);

/*Configure GPIO pin Output Level */
// HAL_GPIO_WritePin(EE_nSEL_GPIO_Port, EE_nSEL_Pin, GPIO_PIN_SET);
Expand All @@ -86,12 +86,12 @@ void MX_GPIO_Init(void)
GPIO_InitStruct.Pull = GPIO_PULLUP;
HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);

/*Configure GPIO pins : PDPin PDPin PDPin */
GPIO_InitStruct.Pin = CAN2_STBY_Pin|CAN1_STBY_Pin|CAN_SHDN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
// /*Configure GPIO pins : PDPin PDPin PDPin */
// GPIO_InitStruct.Pin = CAN2_STBY_Pin|CAN1_STBY_Pin|CAN_SHDN_Pin;
// GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
// GPIO_InitStruct.Pull = GPIO_NOPULL;
// GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM;
// HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);

// tecnologix ETH PA8
/*Configure GPIO pin : PA8 */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ void MPU_Config(void)

// -- others

#if 0

#define DISABLE_CACHE

#ifndef HSEM_ID_0
Expand Down Expand Up @@ -605,6 +607,8 @@ static void someothermode(void)
//// }
//// /* USER CODE END 3 */
//}
#endif


// --------------------------------------------------------------------------------------------------------------------
// - end-of-file (leave a blank line after)
Expand Down