-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding in ifdef flag to conditionally add in different HAL's of different STM32 platforms * Adding in new include into every directory to get projects with no drivers to build
- Loading branch information
Showing
12 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef STM32XX_HAL_H | ||
#define STM32XX_HAL_H | ||
|
||
#ifdef STM32F405xx | ||
#include "stm32f4xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32H745xx | ||
#include "stm32h7xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32G431xx | ||
#include "stm32g4xx_hal.h" | ||
#endif | ||
|
||
#endif /* STM32XX_HAL_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef STM32XX_HAL_H | ||
#define STM32XX_HAL_H | ||
|
||
#ifdef STM32F405xx | ||
#include "stm32f4xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32H745xx | ||
#include "stm32h7xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32G431xx | ||
#include "stm32g4xx_hal.h" | ||
#endif | ||
|
||
#endif /* STM32XX_HAL_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef STM32XX_HAL_H | ||
#define STM32XX_HAL_H | ||
|
||
#ifdef STM32F405xx | ||
#include "stm32f4xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32H745xx | ||
#include "stm32h7xx_hal.h" | ||
#endif | ||
|
||
#ifdef STM32G431xx | ||
#include "stm32g4xx_hal.h" | ||
#endif | ||
|
||
#endif /* STM32XX_HAL_H*/ |