diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/CMakeLists.txt b/targets/TARGET_Maxim/TARGET_MAX32660/CMakeLists.txt index 1b3b20bf3f..18e1dd935e 100644 --- a/targets/TARGET_Maxim/TARGET_MAX32660/CMakeLists.txt +++ b/targets/TARGET_Maxim/TARGET_MAX32660/CMakeLists.txt @@ -56,7 +56,6 @@ target_sources(mbed-max32660 ${MXM_SOURCE_DIR}/SYS/mxc_lock.c ${MXM_SOURCE_DIR}/SYS/pins_me11.c ${MXM_SOURCE_DIR}/SYS/sys_me11.c - ${MXM_SOURCE_DIR}/SYS/nvic_table.c ${MXM_SOURCE_DIR}/DMA/dma_me11.c ${MXM_SOURCE_DIR}/DMA/dma_reva.c diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM3l_math.a b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM3l_math.a deleted file mode 100644 index 755d769e21..0000000000 Binary files a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM3l_math.a and /dev/null differ diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4l_math.a b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4l_math.a deleted file mode 100644 index b1d6da7ee7..0000000000 Binary files a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4l_math.a and /dev/null differ diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a deleted file mode 100644 index 1ad5280915..0000000000 Binary files a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a and /dev/null differ diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/license.txt b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/license.txt deleted file mode 100644 index d40e8d1a1b..0000000000 --- a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/CMSIS/Lib/license.txt +++ /dev/null @@ -1,28 +0,0 @@ -All pre-build libraries contained in the folders "ARM", "GCC" and "G++" -are guided by the following license: - -Copyright (C) 2009-2012 ARM Limited. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - Neither the name of ARM nor the names of its contributors may be used - to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/PeriphDrivers/Source/UART/uart_reva.c b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/PeriphDrivers/Source/UART/uart_reva.c index 8d914a1d6d..79ede5fc84 100644 --- a/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/PeriphDrivers/Source/UART/uart_reva.c +++ b/targets/TARGET_Maxim/TARGET_MAX32660/Libraries/PeriphDrivers/Source/UART/uart_reva.c @@ -225,7 +225,7 @@ int MXC_UART_RevA_GetFrequency (mxc_uart_reva_regs_t* uart) decimalDiv += 3; } - uartDiv += decimalDiv / 128.0; + uartDiv += decimalDiv / (float)128; uartDiv *= (1 << (7 - (uart->baud0 & MXC_F_UART_REVA_BAUD0_FACTOR))); return (int) ( (float) periphClock / uartDiv);