Skip to content

Commit 666f19b

Browse files
authored
Merge pull request #1731 from nanoframework/release-v1.5.0
Release release-v1.5.0
2 parents 17a300d + 7722521 commit 666f19b

File tree

1,368 files changed

+28192
-24348
lines changed

Some content is hidden

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

1,368 files changed

+28192
-24348
lines changed

.clang-format

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
#
2+
# Copyright (c) .NET Foundation and Contributors
3+
# See LICENSE file in the project root for full license information.
4+
#
5+
6+
---
7+
Language: Cpp
8+
# BasedOnStyle: Microsoft
9+
AccessModifierOffset: -2
10+
AlignAfterOpenBracket: AlwaysBreak
11+
AlignConsecutiveMacros: true
12+
AlignConsecutiveAssignments: false
13+
AlignConsecutiveDeclarations: false
14+
AlignEscapedNewlines: Right
15+
AlignOperands: true
16+
AlignTrailingComments: true
17+
AllowAllArgumentsOnNextLine: false
18+
AllowAllConstructorInitializersOnNextLine: true
19+
AllowAllParametersOfDeclarationOnNextLine: false
20+
AllowShortBlocksOnASingleLine: false
21+
AllowShortCaseLabelsOnASingleLine: false
22+
AllowShortFunctionsOnASingleLine: None
23+
AllowShortLambdasOnASingleLine: All
24+
AllowShortIfStatementsOnASingleLine: Never
25+
AllowShortLoopsOnASingleLine: false
26+
AlwaysBreakAfterDefinitionReturnType: None
27+
AlwaysBreakAfterReturnType: None
28+
AlwaysBreakBeforeMultilineStrings: false
29+
AlwaysBreakTemplateDeclarations: MultiLine
30+
BinPackArguments: false
31+
BinPackParameters: false
32+
BraceWrapping:
33+
AfterCaseLabel: true
34+
AfterClass: true
35+
AfterControlStatement: true
36+
AfterEnum: true
37+
AfterFunction: true
38+
AfterNamespace: true
39+
AfterObjCDeclaration: true
40+
AfterStruct: true
41+
AfterUnion: false
42+
AfterExternBlock: true
43+
BeforeCatch: true
44+
BeforeElse: true
45+
IndentBraces: false
46+
SplitEmptyFunction: true
47+
SplitEmptyRecord: true
48+
SplitEmptyNamespace: true
49+
BreakBeforeBinaryOperators: None
50+
BreakBeforeBraces: Custom
51+
BreakBeforeInheritanceComma: false
52+
BreakInheritanceList: BeforeColon
53+
BreakBeforeTernaryOperators: true
54+
BreakConstructorInitializersBeforeComma: false
55+
BreakConstructorInitializers: BeforeColon
56+
BreakAfterJavaFieldAnnotations: false
57+
BreakStringLiterals: true
58+
ColumnLimit: 120
59+
CommentPragmas: '^ IWYU pragma:'
60+
CompactNamespaces: false
61+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
62+
ConstructorInitializerIndentWidth: 4
63+
ContinuationIndentWidth: 4
64+
Cpp11BracedListStyle: true
65+
DeriveLineEnding: true
66+
DerivePointerAlignment: false
67+
DisableFormat: false
68+
ExperimentalAutoDetectBinPacking: true
69+
FixNamespaceComments: true
70+
ForEachMacros:
71+
- foreach
72+
- Q_FOREACH
73+
- BOOST_FOREACH
74+
IncludeBlocks: Preserve
75+
IncludeCategories:
76+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
77+
Priority: 2
78+
SortPriority: 0
79+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
80+
Priority: 3
81+
SortPriority: 0
82+
- Regex: '.*'
83+
Priority: 1
84+
SortPriority: 0
85+
IncludeIsMainRegex: '(Test)?$'
86+
IncludeIsMainSourceRegex: ''
87+
IndentCaseLabels: true
88+
IndentGotoLabels: true
89+
IndentPPDirectives: None
90+
IndentWidth: 4
91+
IndentWrappedFunctionNames: true
92+
JavaScriptQuotes: Leave
93+
JavaScriptWrapImports: true
94+
KeepEmptyLinesAtTheStartOfBlocks: true
95+
MacroBlockBegin: ''
96+
MacroBlockEnd: ''
97+
MaxEmptyLinesToKeep: 1
98+
NamespaceIndentation: None
99+
ObjCBinPackProtocolList: Auto
100+
ObjCBlockIndentWidth: 2
101+
ObjCSpaceAfterProperty: false
102+
ObjCSpaceBeforeProtocolList: true
103+
PenaltyBreakAssignment: 2
104+
PenaltyBreakBeforeFirstCallParameter: 19
105+
PenaltyBreakComment: 300
106+
PenaltyBreakFirstLessLess: 120
107+
PenaltyBreakString: 1000
108+
PenaltyBreakTemplateDeclaration: 10
109+
PenaltyExcessCharacter: 1000000
110+
PenaltyReturnTypeOnItsOwnLine: 1000
111+
PointerAlignment: Right
112+
ReflowComments: true
113+
SortIncludes: false
114+
SortUsingDeclarations: true
115+
SpaceAfterCStyleCast: false
116+
SpaceAfterLogicalNot: false
117+
SpaceAfterTemplateKeyword: true
118+
SpaceBeforeAssignmentOperators: true
119+
SpaceBeforeCpp11BracedList: false
120+
SpaceBeforeCtorInitializerColon: true
121+
SpaceBeforeInheritanceColon: true
122+
SpaceBeforeParens: ControlStatements
123+
SpaceBeforeRangeBasedForLoopColon: true
124+
SpaceInEmptyBlock: false
125+
SpaceInEmptyParentheses: false
126+
SpacesBeforeTrailingComments: 1
127+
SpacesInAngles: false
128+
SpacesInConditionalStatement: false
129+
SpacesInContainerLiterals: true
130+
SpacesInCStyleCastParentheses: false
131+
SpacesInParentheses: false
132+
SpacesInSquareBrackets: false
133+
SpaceBeforeSquareBrackets: false
134+
Standard: Latest
135+
StatementMacros:
136+
- Q_UNUSED
137+
- QT_REQUIRE_VERSION
138+
TabWidth: 4
139+
UseCRLF: false
140+
UseTab: Never
141+
...

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
/build/
77
/build/.gitkeep
88

9-
# ignore cmake-variants file (will change frequently per user/board setup, use should derive content from cmake-variants.TEMPLATE.json)
10-
cmake-variants.json
9+
# ignore cmake-variants file (will change per user/board setup, developers should derive content from cmake-variants.TEMPLATE.json)
10+
/cmake-variants.json
11+
.vscode/cmake-variants.json
1112

1213
# ignore any content inside the Interop assemblies folder
1314
InteropAssemblies/*
1415
!InteropAssemblies/CLR_RT_InteropAssembliesTable.cpp.in
1516
!InteropAssemblies/README.md
1617

1718
# Visual Studio Code
18-
# ignore C/C++ launch file (will change frequently per user/board setup, use should derive content from launch.TEMPLATE.json)
19+
# ignore C/C++ launch file (will change frequently per user/board setup, developers should derive content from launch.TEMPLATE.json)
1920
.vscode/launch.json
2021
.vscode/.cmaketools.json
2122
.vscode/settings.json

.typo-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
dictionaries:
2+
- en
3+
- en_GB
4+
5+
# Any files/folders we should ignore?
6+
excluded_files:
7+
- ".typo-ci.yml"
8+
- ".gitignore"
9+
10+
# Any typos we should ignore?
11+
excluded_words:
12+
- nanoFramework
13+
- llvm
14+
- vso
15+
- autocrlf
16+
- uart
17+
- gpio
18+
- csharp
19+
- dotnet
20+
- spi
21+
- i2c
22+
- pwm
23+
24+
# Would you like filenames to also be spellchecked?
25+
spellcheck_filenames: true

.vscode/cmake-variants.TEMPLATE.json

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"buildType": {
3+
"default": "debug",
4+
"choices": {
5+
"debug": {
6+
"short": "Debug",
7+
"long": "Emit debug information without performing optimizations",
8+
"buildType": "Debug"
9+
},
10+
"minsize": {
11+
"short": "MinSizeRel",
12+
"long": "Optimize for smallest binary size",
13+
"buildType": "MinSizeRel"
14+
},
15+
"reldeb": {
16+
"short": "RelWithDebInfo",
17+
"long": "Perform optimizations AND include debugging information",
18+
"buildType": "RelWithDebInfo"
19+
}
20+
}
21+
},
22+
"linkage": {
23+
"default": "",
24+
"choices": {
25+
"OPTION_NAME_HERE": {
26+
"short": "<summary-here>",
27+
"settings": {
28+
"BUILD_VERSION": "0.9.99.999",
29+
"CMAKE_TOOLCHAIN_FILE": "CMake/toolchain.<arm-none-eabi-OR-xtensa-esp32-elf>.cmake",
30+
"TOOLCHAIN_PREFIX": "<path-to-gcc-toolchain-mind-the-forward-slash>",
31+
"TOOL_HEX2DFU_PREFIX": "<path-to-hex2dfu-utility-mind-the-forward-slash>",
32+
"ESP32_IDF_PATH": "<path-to-esp32-idf-mind-the-forward-slash>/esp-idf",
33+
"ESP32_LIBS_PATH": "<path-to-esp32-libraries-mind-the-forward-slash>/libs",
34+
"ESP32_BOARD": "ESP32_WROOM_32",
35+
"EXECUTABLE_OUTPUT_PATH": "${workspaceRoot}/build",
36+
"TARGET_SERIES": "<series-name-of-the-target-chip-STM32F0xx-STM32F4xx-STM32F7xx-ESP32-CC32xx>",
37+
"USE_RNG": "<ON-default-for-using-hardware-true-random-generator-unit>",
38+
"DP_FLOATINGPOINT": "<OFF-default-ON-for-adding-support-for-double-precision-floating-point>",
39+
"SUPPORT_ANY_BASE_CONVERSION": "<OFF-default-ON-for-adding-support-for-conversion-strings-to-values-on-any-base>",
40+
"RTOS": "<one-of-valid-rtos-options-CHIBIOS-FREERTOS-FREERTOS_ESP32-TI_SIMPLELINK>",
41+
"RTOS_SOURCE_FOLDER": "<path-to-RTOS-source-folder-if-supported-mind-the-forward-slash>",
42+
"CHIBIOS_CONTRIB_REQUIRED": "OFF-default-ON-to-include_ChibiOS-Contrib-repository-in-the-build",
43+
"CHIBIOS_CONTRIB_SOURCE": "<path-to-local-ChibiOS-contrib-source-mind-the-forward-slash>",
44+
"FREERTOS_BOARD": "<valid-freertos-board-name-from-boards-collection>",
45+
"RTOS_VERSION": "<valid-rtos-git-branch-if-empty-use-default-cmake-setting>",
46+
"RTOS_SOURCE": "<path-to-rtos-source-mind-the-forward-slash>",
47+
"CMSIS_SOURCE": "<path-to-cmsis-source-mind-the-forward-slash>",
48+
"CMSIS_VERSION": "<valid-cmsis-version-if-empty-use-default-set-cmake>",
49+
"CHIBIOS_BOARD": "<valid-chibios-board-name-from-boards-collection>",
50+
"STM32_CUBE_PACKAGE_REQUIRED": "<OFF-default-ON-to-include_STM-cube-package-in-the-build>",
51+
"STM32_CUBE_PACKAGE_SOURCE": "<path-to-stm32-cubemx-package-mind-the-forward-slash>",
52+
"TI_BOARD": "<valid-TI-board-name-from-boards-collection>",
53+
"TI_SL_CC32xx_SDK_SOURCE": "<path-to-local-TI-SimpleLink-CC32xx-SDK-source-mind-the-forward-slash>",
54+
"TI_SL_CC13x2_26x2_SDK_SOURCE": "<path-to-local-TI-SimpleLink-CC13x2_26x2-SDK-source-mind-the-forward-slash>",
55+
"TI_XDCTOOLS_SOURCE": "<path-to-local-TI-XDC-Tools-source-mind-the-forward-slash>",
56+
"TI_SYSCONFIG_SOURCE": "<path-to-local-TI-SYSCONFIG-Tool-source-mind-the-forward-slash>",
57+
"SPIFFS_SOURCE": "<path-to-local-SPIFFS-source-mind-the-forward-slash>",
58+
"SWO_OUTPUT": "OFF-default-ON-to-enable-ARM-CortexM-Single-Wire-Output",
59+
"FATFS_VERSION": "<valid-fatfs-version-if-empty-use-default-set-cmake>",
60+
"FATFS_SOURCE": "<path-to-local-FATFS-source-mind-the-forward-slash>",
61+
"LWIP_VERSION": "<valid-lwip-version-if-empty-use-default-set-cmake>",
62+
"NF_BUILD_RTM": "OFF-default-ON-to-enable-RTM-build",
63+
"NF_WP_TRACE_ERRORS": "OFF-default-ON-to-enable-trace-error-messages-wire-protocol",
64+
"NF_WP_TRACE_HEADERS": "OFF-default-ON-to-enable-trace-header-messages-wire-protocol",
65+
"NF_WP_TRACE_STATE": "OFF-default-ON-to-enable-trace-state-messages-wire-protocol",
66+
"NF_WP_TRACE_NODATA": "OFF-default-ON-to-enable-trace-no-data-messages-wire-protocol",
67+
"NF_WP_TRACE_ALL": "OFF-default-ON-to-enable-trace-all-messages-wire-protocol",
68+
"NF_WP_IMPLEMENTS_CRC32": "ON-default-OFF-to-disable-CRC32-wire-protocol",
69+
"NF_FEATURE_DEBUGGER": "OFF-default-ON-to-include-managed-app-debugging-capability",
70+
"NF_FEATURE_RTC": "OFF-default-ON-to-enable-hardware-RTC",
71+
"NF_FEATURE_USE_APPDOMAINS": "OFF-default-ON-to-enable-support-for-Application-Domains",
72+
"NF_FEATURE_SUPPORT_REFLECTION": "ON-default-OFF-to-disable-support-for-System.Reflection-API",
73+
"NF_FEATURE_WATCHDOG": "ON-to-enable-hardware-watchdog-ON-is-default",
74+
"NF_FEATURE_HAS_CONFIG_BLOCK": "OFF-default-ON-to-enable-configuration-block-storage",
75+
"NF_FEATURE_HAS_SDCARD": "OFF-default-ON-to-enable-support-for-SDCard-storage-device",
76+
"NF_FEATURE_HAS_USB_MSD": "OFF-default-ON-to-enable-support-for-USB-Mass-storage-device",
77+
"NF_FEATURE_USE_SPIFFS": "OFF-default-ON-to-enable-support-for-SPI-flash-file-system",
78+
"NF_PLATFORM_NO_CLR_TRACE": "OFF-default-ON-to-disable-all-trace-on-CLR",
79+
"NF_CLR_NO_IL_INLINE": "OFF-default-ON-to-disable-CLR-IL-inlining",
80+
"NF_INTEROP_ASSEMBLIES": "assembly-namespaces-separated-by-whitespace-leave-empty-to-NOT-include-any-interop-assemblies",
81+
"NF_NETWORKING_SNTP": "ON-default-to-add-SNTP-client-requires-networking",
82+
"NF_SECURITY_MBEDTLS": "OFF-default-ON-to-add-network-security-from-mbedTLS",
83+
"MBEDTLS_SOURCE": "<path-to-mbedtls-source-mind-the-forward-slashes>",
84+
"API_nanoFramework.Devices.Can": "OFF-default-ON-to-add-this-API",
85+
"API_nanoFramework.Devices.OneWire": "OFF-default-ON-to-add-this-API",
86+
"API_nanoFramework.ResourceManager": "OFF-default-ON-to-add-this-API",
87+
"API_nanoFramework.System.Collections": "OFF-default-ON-to-add-this-API",
88+
"API_nanoFramework.System.Text": "OFF-default-ON-to-add-this-API",
89+
"API_System.Math": "OFF-default-ON-to-add-this-API",
90+
"API_System.Net": "OFF-default-ON-to-add-this-API",
91+
"API_Windows.Devices.Adc": "OFF-default-ON-to-add-this-API",
92+
"API_System.Device.Dac": "OFF-default-ON-to-add-this-API",
93+
"API_Windows.Devices.Gpio": "OFF-default-ON-to-add-this-API",
94+
"API_Windows.Devices.I2c": "OFF-default-ON-to-add-this-API",
95+
"API_Windows.Devices.Pwm": "OFF-default-ON-to-add-this-API",
96+
"API_Windows.Devices.SerialCommunication": "OFF-default-ON-to-add-this-API",
97+
"API_Windows.Devices.Spi": "OFF-default-ON-to-add-this-API",
98+
"API_Windows.Networking.Sockets": "OFF-default-ON-to-add-this-API",
99+
"API_Hardware.Esp32": "OFF-default-ON-to-add-this-API",
100+
"API_Hardware.Stm32": "OFF-default-ON-to-add-this-API",
101+
"API_nanoFramework.TI.EasyLink": "OFF-default-ON-to-add-this-API",
102+
"API_nanoFramework.Hardware.Esp32.Rmt": "OFF-default-ON-to-add-this-API"
103+
}
104+
}
105+
}
106+
}
107+
}

.vscode/launch.TEMPLATE-ESP32.json

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)