From 5880fe4153e304457d4962bd6d4275d91eac843d Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 5 Feb 2023 13:04:43 +0100 Subject: [PATCH] remove deprecated check for CONFIG_STM32_STM32F4XXX in STM32F1 micro_hal.h --- .../src/px4/stm/stm32f1/include/px4_arch/micro_hal.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/platforms/nuttx/src/px4/stm/stm32f1/include/px4_arch/micro_hal.h b/platforms/nuttx/src/px4/stm/stm32f1/include/px4_arch/micro_hal.h index 4ef37a9542..a028d4c746 100644 --- a/platforms/nuttx/src/px4/stm/stm32f1/include/px4_arch/micro_hal.h +++ b/platforms/nuttx/src/px4/stm/stm32f1/include/px4_arch/micro_hal.h @@ -40,14 +40,6 @@ __BEGIN_DECLS #include #define PX4_SOC_ARCH_ID PX4_SOC_ARCH_ID_STM32F4 #define PX4_FLASH_BASE STM32_FLASH_BASE -#if defined(CONFIG_STM32_STM32F4XXX) -# include -# 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