diff --git a/libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.c b/libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.cpp similarity index 100% rename from libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.c rename to libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.cpp