// Copyright 2022 Diego Palacios (@diepala)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include_next <mcuconf.h>

#undef STM32_SERIAL_USE_USART1
#define STM32_SERIAL_USE_USART1 TRUE

#define STM32F411

#undef STM32_HSECLK
#define STM32_HSECLK 8000000U

#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE

#define STM32_PLLM_VALUE                    4
#define STM32_PLLN_VALUE                    72
#define STM32_PLLP_VALUE                    2
#define STM32_PLLQ_VALUE                    3
