diff options
author | David Barksdale <amatus@amatus.name> | 2016-01-04 21:52:13 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2016-01-04 21:52:13 -0600 |
commit | e89dc681246b307e74628d9a904c9d88f728e62b (patch) | |
tree | 56304ceb9e7b8a55a857df47313d5d6b36413aae | |
parent | 8d5023cad1b423c4fd7f8e5fe10524fb651c9613 (diff) |
We don't need two copies of fsl_lptmr_irq.c
-rwxr-xr-x | laser-tag software/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | laser-tag software/fsl_lptmr_irq.c | 47 |
2 files changed, 1 insertions, 48 deletions
diff --git a/laser-tag software/CMakeLists.txt b/laser-tag software/CMakeLists.txt index 25c8b86..86f77de 100755 --- a/laser-tag software/CMakeLists.txt +++ b/laser-tag software/CMakeLists.txt @@ -95,10 +95,10 @@ ADD_EXECUTABLE(hello_world "${ProjDirPath}/../KSDK_1.2.0/platform/devices/startup.h"
"${ProjDirPath}/../KSDK_1.2.0/platform/drivers/src/dma/fsl_dma_irq.c"
"${ProjDirPath}/../KSDK_1.2.0/platform/drivers/src/flexio/fsl_flexio_irq.c"
+ "${ProjDirPath}/../KSDK_1.2.0/platform/drivers/src/lptmr/fsl_lptmr_irq.c"
"${ProjDirPath}/../KSDK_1.2.0/platform/drivers/src/lpuart/fsl_lpuart_irq.c"
"${ProjDirPath}/../KSDK_1.2.0/platform/drivers/src/spi/fsl_spi_irq.c"
"${ProjDirPath}/main.c"
- "${ProjDirPath}/fsl_lptmr_irq.c"
)
SET_TARGET_PROPERTIES(hello_world PROPERTIES OUTPUT_NAME "hello_world.elf")
diff --git a/laser-tag software/fsl_lptmr_irq.c b/laser-tag software/fsl_lptmr_irq.c deleted file mode 100755 index ccabff1..0000000 --- a/laser-tag software/fsl_lptmr_irq.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2013 -2014, Freescale Semiconductor, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * - * o Redistributions of source code must retain the above copyright notice, this list - * of conditions and the following disclaimer. - * - * o 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. - * - * o Neither the name of Freescale Semiconductor, Inc. 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 THE COPYRIGHT HOLDER OR 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. - */ - -#include <stdint.h> -#include <stdbool.h> -#include "fsl_lptmr_driver.h" - -/****************************************************************************** - * Code - *****************************************************************************/ -/* LPTMR IRQ handler that would cover the same name's APIs in startup code */ -void LPTMR0_IRQHandler(void) -{ - LPTMR_DRV_IRQHandler(0U); -} - -/****************************************************************************** - * EOF - *****************************************************************************/ - |