Skip to content

Commit 72b62bb

Browse files
author
Owen
authored
Merge pull request #153 from sparkfun/no-inversion
Improve analogWrite
2 parents d90e9a6 + 234e506 commit 72b62bb

File tree

130 files changed

+5407
-31482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+5407
-31482
lines changed

cores/arduino/am_sdk_ap3/CMSIS/ARM/Include/arm_math.h

+1,998-1,794
Large diffs are not rendered by default.

cores/arduino/am_sdk_ap3/CMSIS/ARM/Include/cmsis_armcc.h

+32-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**************************************************************************//**
22
* @file cmsis_armcc.h
33
* @brief CMSIS compiler ARMCC (Arm Compiler 5) header file
4-
* @version V5.0.4
5-
* @date 10. January 2018
4+
* @version V5.1.0
5+
* @date 08. May 2019
66
******************************************************************************/
77
/*
8-
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
8+
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
99
*
1010
* SPDX-License-Identifier: Apache-2.0
1111
*
@@ -47,6 +47,10 @@
4747
/* __ARM_ARCH_8M_BASE__ not applicable */
4848
/* __ARM_ARCH_8M_MAIN__ not applicable */
4949

50+
/* CMSIS compiler control DSP macros */
51+
#if ((defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
52+
#define __ARM_FEATURE_DSP 1
53+
#endif
5054

5155
/* CMSIS compiler specific defines */
5256
#ifndef __ASM
@@ -100,6 +104,31 @@
100104
#ifndef __RESTRICT
101105
#define __RESTRICT __restrict
102106
#endif
107+
#ifndef __COMPILER_BARRIER
108+
#define __COMPILER_BARRIER() __memory_changed()
109+
#endif
110+
111+
/* ######################### Startup and Lowlevel Init ######################## */
112+
113+
#ifndef __PROGRAM_START
114+
#define __PROGRAM_START __main
115+
#endif
116+
117+
#ifndef __INITIAL_SP
118+
#define __INITIAL_SP Image$$ARM_LIB_STACK$$ZI$$Limit
119+
#endif
120+
121+
#ifndef __STACK_LIMIT
122+
#define __STACK_LIMIT Image$$ARM_LIB_STACK$$ZI$$Base
123+
#endif
124+
125+
#ifndef __VECTOR_TABLE
126+
#define __VECTOR_TABLE __Vectors
127+
#endif
128+
129+
#ifndef __VECTOR_TABLE_ATTRIBUTE
130+
#define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section("RESET")))
131+
#endif
103132

104133
/* ########################### Core Function Access ########################### */
105134
/** \ingroup CMSIS_Core_FunctionInterface
@@ -337,8 +366,6 @@ __STATIC_INLINE void __set_FAULTMASK(uint32_t faultMask)
337366
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
338367

339368

340-
#if ((defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
341-
342369
/**
343370
\brief Get FPSCR
344371
\details Returns the current value of the Floating Point Status/Control register.
@@ -372,9 +399,6 @@ __STATIC_INLINE void __set_FPSCR(uint32_t fpscr)
372399
#endif
373400
}
374401

375-
#endif /* ((defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
376-
377-
378402

379403
/*@} end of CMSIS_Core_RegAccFunctions */
380404

0 commit comments

Comments
 (0)