From ef0aa38c108be536deff73c299ba542e215a892f Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Thu, 22 Apr 2021 08:40:02 +0200 Subject: target/armv7m: change FPv4_SP and FPv5_SP/DP identifiers to uppercase Change-Id: Ia421a973e5fb4767715c9f95c91745f8ca1de1da Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/6177 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/rtos/FreeRTOS.c | 2 +- src/rtos/nuttx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rtos') diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index 4d520b9..f04b0a2 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -438,7 +438,7 @@ static int FreeRTOS_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, int cm4_fpu_enabled = 0; struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target); if (is_armv7m(armv7m_target)) { - if (armv7m_target->fp_feature == FPv4_SP) { + if (armv7m_target->fp_feature == FPV4_SP) { /* Found ARM v7m target which includes a FPU */ uint32_t cpacr; diff --git a/src/rtos/nuttx.c b/src/rtos/nuttx.c index 6569e38..0705b17 100644 --- a/src/rtos/nuttx.c +++ b/src/rtos/nuttx.c @@ -352,7 +352,7 @@ static int nuttx_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, bool cm4_fpu_enabled = false; struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target); if (is_armv7m(armv7m_target)) { - if (armv7m_target->fp_feature == FPv4_SP) { + if (armv7m_target->fp_feature == FPV4_SP) { /* Found ARM v7m target which includes a FPU */ uint32_t cpacr; -- cgit v1.1