Skip to content

Commit

Permalink
Add sample codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Giung Kim committed Feb 19, 2020
1 parent ac84b87 commit 405796f
Show file tree
Hide file tree
Showing 20,225 changed files with 11,157,244 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
^BUILD
^cmsis
^components/802.15.4_RF
^components/TARGET_PSA/services/attestation/attestation.h
^components/TARGET_PSA/services/attestation/COMPONENT_PSA_SRV_IMPL/tfm_impl
^components/TARGET_PSA/services/attestation/qcbor
^components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_struct_ipc.h
^components/TARGET_PSA/TARGET_TFM
^components/TARGET_PSA/TESTS
^features/cryptocell
^features/FEATURE_BLE
^features/frameworks
^features/lwipstack/lwip
^features/lwipstack/lwip-sys
^features/mbedtls
^features/nanostack/coap-service
^features/nanostack/sal-stack-nanostack
^features/nanostack/targets
^features/netsocket/emac-drivers
^features/netsocket/ppp/include
^features/netsocket/ppp/polarssl
^features/netsocket/ppp/source
^features/storage/filesystem/fat/ChaN
^features/storage/filesystem/littlefs/littlefs/
^features/unsupported/
^hal/storage_abstraction
^platform/cxxsupport
^rtos/source/TARGET_CORTEX/rtx4
^rtos/source/TARGET_CORTEX/rtx5
^targets
^TESTS/mbed_hal/trng/pithy
^TESTS/mbed_hal/trng/pithy
^tools
^UNITTESTS
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Mbed OS code style definition file for astyle

# Don't create backup files, let git handle it
suffix=none

# K&R style
style=kr

# 1 TBS addition to k&r, add braces to one liners
# Use -j as it was changed in astyle from brackets to braces, this way it is compatible with older astyle versions
-j

# 4 spaces, convert tabs to spaces
indent=spaces=4
convert-tabs

# Indent switches and cases
indent-switches

# Remove spaces in and around parentheses
unpad-paren

# Insert a space after if, while, for, and around operators
pad-header
pad-oper

# Pointer/reference operators go next to the name (on the right)
align-pointer=name
align-reference=name

# Attach { for classes and namespaces
attach-namespaces
attach-classes

# Extend longer lines, define maximum 120 value. This results in aligned code,
# otherwise the lines are broken and not consistent
max-continuation-indent=120
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[run]
omit =
*/usr/local/lib*
*/tools/test/*

[report]
omit =
*/usr/local/lib*
*/tools/test/*
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*.c text
*.cpp text
*.h text
*.s text
*.S text
*.sct text
*.ld text
*.txt text
*.xml text
*.py text
*.md text
*.json text
*.tmpl text
*.dia binary
*.elf binary
*.bin binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--
************************************** WARNING **************************************
The ciarcom bot parses this header automatically. Any deviation from the
template may cause the bot to automatically correct this header or may result in a
warning message, requesting updates.
Please ensure all sections of the template below are filled in and no changes
are made to the template format. Only bugs should be raised here as issues.
Questions or enhancements should instead be raised on our forums:
https://forums.mbed.com/ .
*************************************************************************************
-->

### Description of defect

<!--
Add detailed description of what you are reporting.
Good example: https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html
-->


#### Target(s) affected by this defect ?


#### Toolchain(s) (name and version) displaying this defect ?


#### What version of Mbed-os are you using (tag or sha) ?

#### What version(s) of tools are you using. List all that apply (E.g. mbed-cli)


#### How is this defect reproduced ?


Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!--
For more information on the requirements for pull requests, please see [the contributing guidelines](https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html).
-->

### Description
#### Summary of change <!-- Required -->

<!-- Basic information about the change: what the change is for, why do we need it any implications -->

#### Documentation <!-- Optional, but most likely you need it -->

<!-- Details of any document updates required, including links to PR against the docs repository -->

----------------------------------------------------------------------------------------------------------------
### Pull request type <!-- Required -->

<!--
Required
Please add only one X to one of the following types. Do not fill multiple types (split the pull request otherwise).
Please note this is not a GitHub task list, indenting the boxes or changing the format to add a '.' or '*' in front
of them would change the meaning incorrectly. The only changes to be made are to add a description text under the
description heading and to add a 'x' to the correct box.
-->
[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

----------------------------------------------------------------------------------------------------------------
### Test results <!-- Required -->

<!--
Required
Provide all the information required, listing all the testing performed. For new targets please attach full test results
for all supported compilers.
-->
[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR


----------------------------------------------------------------------------------------------------------------
### Reviewers <!-- Optional -->

<!--
Optional
Request additional reviewers with @username or @team
-->

----------------------------------------------------------------------------------------------------------------
### Release Notes <!-- Required for features, deprecations, breaking changes and other major PRs -->

<!--
All 3 sections are compulsory for Major PR types. For Feature PRs only the summary section is required.
This section is automatically added to release notes. Please fill in each sub-section with sufficient detail for a user.
For more information, please see [the contributing guidelines](https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html#pull-request-types).
-->

#### Summary of changes

#### Impact of changes

#### Migration actions required
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
*.py[cod]

# Distribution dir
dist

# MANIFEST file
MANIFEST
doxygen_objdb_*

# Private settings
mbed_settings.py

# Default Build Directory
.build/
BUILD/
.mbed
venv/

# Mbedls
.mbedls-mock.lock

# Eclipse Project Files
.cproject
.project
.pydevproject

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml
.cache
.hypothesis

# Translations
*.mo

# Mr Developer
.mr.developer.cfg

output.txt
uVision Project/

# Sublime Text Project Files
*.sublime*

*.bak
debug.log

# Ignore OS X Desktop Services Store files
.DS_Store

# Orig diff files
*.orig

# PyCharm
*.idea

# Cscope
cscope.*

# Ctags
tags

# vim swap files
*.swp
*~

# Visual Studio Code
.vscode/

features/FEATURE_BLE/targets/TARGET_CORDIO/stack_backup/

.pytest_cache
log

# Icetea related file
test_suite.json

# default delivery dir
DELIVERY/

# Directory hosting PSA autogenerated source files
PSA_AUTOGEN/
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Format]
max-line-length=80
Loading

0 comments on commit 405796f

Please sign in to comment.