Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Dai committed Sep 23, 2021
0 parents commit 5e473f2
Show file tree
Hide file tree
Showing 113 changed files with 23,596 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
Language: Cpp
BasedOnStyle: Google
AllowShortLoopsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AlignConsecutiveAssignments: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterFunction: true
AfterStruct: true
AfterCaseLabel: false
BeforeElse: true
AfterControlStatement: true
BinPackParameters: true
ColumnLimit: 100
DerivePointerAlignment: false
IncludeBlocks: Regroup
IndentPPDirectives: None
IndentWidth: 4
IndentGotoLabels: false
PointerAlignment: Right
TabWidth: 4
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/azurespheresdk:latest AS dev

FROM dev AS build
COPY ./device /src/
WORKDIR /out
RUN cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="/opt/azurespheresdk/CMakeFiles/AzureSphereToolchain.cmake" \
-DAZURE_SPHERE_TARGET_API_SET="latest-lts" -DCMAKE_BUILD_TYPE="Release" -DSE_BUILD_LOCAL=OFF -DSE_BUILD_TYPE="Tests" -DSE_BUILD_M4=OFF "/src"
ENTRYPOINT [ "ninja" ]
Loading

0 comments on commit 5e473f2

Please sign in to comment.