-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb
- Loading branch information
Showing
268 changed files
with
10,490 additions
and
3,946 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Generated from CLion C/C++ Code Style settings | ||
BasedOnStyle: LLVM | ||
AccessModifierOffset: -2 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: None | ||
AlignOperands: Align | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllConstructorInitializersOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: All | ||
AllowShortIfStatementsOnASingleLine: Always | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: true | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: false | ||
AfterClass: false | ||
AfterControlStatement: Never | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterUnion: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: true | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeColon | ||
BreakInheritanceList: BeforeColon | ||
ColumnLimit: 0 | ||
CompactNamespaces: false | ||
ContinuationIndentWidth: 4 | ||
IndentCaseLabels: true | ||
IndentPPDirectives: BeforeHash | ||
IndentWidth: 2 | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: All | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: true | ||
PointerAlignment: Right | ||
ReflowComments: false | ||
SpaceAfterCStyleCast: true | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: false | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 0 | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInContainerLiterals: true | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
TabWidth: 2 | ||
UseTab: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
if (TOOLCHAIN STREQUAL "gcc") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
-mcpu=arm1176jzf-s | ||
-ffreestanding | ||
) | ||
# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "clang") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--target=arm-none-eabi | ||
-mcpu=arm1176jzf-s | ||
-mfpu=none | ||
-mfloat-abi=soft | ||
-ffreestanding | ||
) | ||
#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "iar") | ||
message(FATAL_ERROR "IAR not supported") | ||
|
||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
if (TOOLCHAIN STREQUAL "gcc") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
-mcpu=arm926ej-s | ||
-ffreestanding | ||
) | ||
# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "clang") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--target=arm-none-eabi | ||
-mcpu=arm926ej-s | ||
-mfpu=none | ||
-mfloat-abi=soft | ||
-ffreestanding | ||
) | ||
#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "iar") | ||
message(FATAL_ERROR "IAR not supported") | ||
|
||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if (TOOLCHAIN STREQUAL "gcc") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
-mcpu=cortex-a53 | ||
) | ||
# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "clang") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--target=arm-none-eabi | ||
-mcpu=cortex-a53 | ||
) | ||
#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "iar") | ||
message(FATAL_ERROR "IAR not supported") | ||
|
||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if (TOOLCHAIN STREQUAL "gcc") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
-mcpu=cortex-a72 | ||
) | ||
# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "clang") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--target=arm-none-eabi | ||
-mcpu=cortex-a72 | ||
) | ||
#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "iar") | ||
message(FATAL_ERROR "IAR not supported") | ||
|
||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
if (TOOLCHAIN STREQUAL "gcc") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
-mthumb | ||
-mcpu=cortex-m7 | ||
-mfloat-abi=hard | ||
-mfpu=fpv5-sp-d16 | ||
) | ||
set(FREERTOS_PORT GCC_ARM_CM7 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "clang") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--target=arm-none-eabi | ||
-mcpu=cortex-m7 | ||
-mfpu=fpv5-sp-d16 | ||
) | ||
set(FREERTOS_PORT GCC_ARM_CM7 CACHE INTERNAL "") | ||
|
||
elseif (TOOLCHAIN STREQUAL "iar") | ||
set(TOOLCHAIN_COMMON_FLAGS | ||
--cpu cortex-m7 | ||
--fpu VFPv5_sp | ||
) | ||
set(FREERTOS_PORT IAR_ARM_CM7 CACHE INTERNAL "") | ||
|
||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
if (NOT DEFINED CMAKE_C_COMPILER) | ||
set(CMAKE_C_COMPILER "aarch64-none-elf-gcc") | ||
endif () | ||
|
||
if (NOT DEFINED CMAKE_CXX_COMPILER) | ||
set(CMAKE_CXX_COMPILER "aarch64-none-elf-g++") | ||
endif () | ||
|
||
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) | ||
set(CMAKE_SIZE "aarch64-none-elf-size" CACHE FILEPATH "") | ||
set(CMAKE_OBJCOPY "aarch64-none-elf-objcopy" CACHE FILEPATH "") | ||
set(CMAKE_OBJDUMP "aarch64-none-elf-objdump" CACHE FILEPATH "") | ||
|
||
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake) | ||
|
||
get_property(IS_IN_TRY_COMPILE GLOBAL PROPERTY IN_TRY_COMPILE) | ||
if (IS_IN_TRY_COMPILE) | ||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -nostdlib") | ||
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -nostdlib") | ||
cmake_print_variables(CMAKE_C_LINK_FLAGS) | ||
endif () |
File renamed without changes.
Oops, something went wrong.