remove deprecated check for CONFIG_STM32_STM32F4XXX in STM32F1 micro_hal.h

This commit is contained in:
Christian Rauch 2023-02-05 13:04:43 +01:00 committed by Beat Küng
parent b3eb563db4
commit 5880fe4153
1 changed files with 0 additions and 8 deletions

View File

@ -40,14 +40,6 @@ __BEGIN_DECLS
#include <stm32.h>
#define PX4_SOC_ARCH_ID PX4_SOC_ARCH_ID_STM32F4
#define PX4_FLASH_BASE STM32_FLASH_BASE
#if defined(CONFIG_STM32_STM32F4XXX)
# include <stm32_bbsram.h>
# define PX4_BBSRAM_SIZE STM32_BBSRAM_SIZE
# define PX4_HF_GETDESC_IOCTL STM32_BBSRAM_GETDESC_IOCTL
# define HAS_BBSRAM CONFIG_STM32_BBSRAM
# define BBSRAM_FILE_COUNT CONFIG_STM32_BBSRAM_FILES
# define SAVE_CRASHDUMP CONFIG_STM32_SAVE_CRASHDUMP
#endif
#define PX4_NUMBER_I2C_BUSES STM32_NI2C
#define PX4_ADC_INTERNAL_TEMP_SENSOR_CHANNEL 16