mirror of https://github.com/ARMmbed/mbed-os.git
Remove unexisting file from CMakeList
Remove unneeded files Remove const float value Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>pull/15109/head
parent
66ee198740
commit
de4d4ca40c
|
@ -56,7 +56,6 @@ target_sources(mbed-max32660
|
||||||
${MXM_SOURCE_DIR}/SYS/mxc_lock.c
|
${MXM_SOURCE_DIR}/SYS/mxc_lock.c
|
||||||
${MXM_SOURCE_DIR}/SYS/pins_me11.c
|
${MXM_SOURCE_DIR}/SYS/pins_me11.c
|
||||||
${MXM_SOURCE_DIR}/SYS/sys_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_me11.c
|
||||||
${MXM_SOURCE_DIR}/DMA/dma_reva.c
|
${MXM_SOURCE_DIR}/DMA/dma_reva.c
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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.
|
|
|
@ -225,7 +225,7 @@ int MXC_UART_RevA_GetFrequency (mxc_uart_reva_regs_t* uart)
|
||||||
decimalDiv += 3;
|
decimalDiv += 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
uartDiv += decimalDiv / 128.0;
|
uartDiv += decimalDiv / (float)128;
|
||||||
uartDiv *= (1 << (7 - (uart->baud0 & MXC_F_UART_REVA_BAUD0_FACTOR)));
|
uartDiv *= (1 << (7 - (uart->baud0 & MXC_F_UART_REVA_BAUD0_FACTOR)));
|
||||||
|
|
||||||
return (int) ( (float) periphClock / uartDiv);
|
return (int) ( (float) periphClock / uartDiv);
|
||||||
|
|
Loading…
Reference in New Issue