Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release IEC60730 v2.0.0 #59

Open
wants to merge 138 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
c89ff07
Update source code lib iec60730
Sep 16, 2024
37f7cd0
Update source code checking coding convention
Oct 8, 2024
8a8f7c8
Update README.md
silabs-bingocth Oct 9, 2024
d60f064
Add file to create event push to run test workflow
silabs-bingocth Oct 9, 2024
fab4e4d
Push to trigger test workflow
silabs-bingocth Oct 9, 2024
b74f19c
remove old workflows
Oct 9, 2024
ea76d68
trigger test workflows
Oct 9, 2024
4020b99
update workflows
Oct 9, 2024
1c5d05c
update workflows
Oct 9, 2024
a94b2b0
fix integration and unit tests workflows
Oct 9, 2024
23277f3
fix integration and unit tests workflows
Oct 9, 2024
385532a
fix integration and unit tests workflows
Oct 9, 2024
c329283
update coding convention workflow
Oct 9, 2024
e7fe276
update coding convention workflow
Oct 9, 2024
1e9b910
update coding convention workflow
Oct 9, 2024
c682f9f
update workflows
Oct 10, 2024
670378a
update workflows
Oct 10, 2024
6dbf801
update workflows
Oct 10, 2024
c676693
update workflows
Oct 10, 2024
008d4e5
update workflows
Oct 10, 2024
c685acb
update workflows
Oct 10, 2024
5fefbee
Update get database check coding clang-tidy
silabs-hieuhoang Oct 14, 2024
2772dc0
update workflows
Oct 14, 2024
fc9bcf8
Merge branch 'test/support-run-coding-convention' of https://github.c…
Oct 14, 2024
e5d4e12
fix generate firmware workflow
Oct 14, 2024
fd6cbe7
fix generate firmware workflow
Oct 14, 2024
fa2d259
fix firmware path to upload in generate firmware workflow
Oct 14, 2024
d6201ab
update workflows
Oct 14, 2024
c6cf372
update source code unite test program counter module
silabs-hieuhoang Oct 14, 2024
00cfe77
update source code unit test safety check functions
silabs-hieuhoang Oct 14, 2024
89afe3b
update source code unit test irq module
silabs-hieuhoang Oct 14, 2024
a3388ce
update source code unit test system clock module
silabs-hieuhoang Oct 14, 2024
4a28a43
update source code unite test watchdog module
silabs-hieuhoang Oct 14, 2024
fac6255
update source code unit test cpu registers module
silabs-hieuhoang Oct 14, 2024
e8f19ec
update source code unit test variable memory module
silabs-hieuhoang Oct 14, 2024
7deee25
update source code unit test invariable memory module
silabs-hieuhoang Oct 14, 2024
e5463a4
update source code unit test post and bist functions
silabs-hieuhoang Oct 14, 2024
e7e95c8
update bash script run automatically unit tests
silabs-hieuhoang Oct 14, 2024
1eee7ae
Update check multiple region in vmc and imc module
silabs-hieuhoang Oct 14, 2024
a0bbb8a
Merge pull request #13 from SiliconLabs/update-source-code-lib-iec60730
silabs-hieuhoang Oct 14, 2024
f0009f7
resolve conflict before merge to develop
silabs-hieuhoang Oct 14, 2024
d727f9a
recover deleted test files
silabs-hieuhoang Oct 14, 2024
154f95d
ignore html file
silabs-hieuhoang Oct 14, 2024
7a41017
Delete .github/workflows/auto_test.yml
Silabs-ThieuVu Oct 14, 2024
34a48e2
Delete .github/workflows/manual_test.yml
Silabs-ThieuVu Oct 14, 2024
c4511be
Delete .github/workflows/auto_test.yml
Silabs-ThieuVu Oct 14, 2024
05e78f8
Delete .github/workflows/manual_test.yml
Silabs-ThieuVu Oct 14, 2024
c25f78e
Delete .github/workflows directory
Silabs-ThieuVu Oct 14, 2024
08e9926
Delete .github/workflows directory
Silabs-ThieuVu Oct 14, 2024
b8dea04
Delete .github/workflows directory
Silabs-ThieuVu Oct 14, 2024
847e65d
Delete .github/workflows directory
Silabs-ThieuVu Oct 14, 2024
9044daf
Create 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
5e4ca7b
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
ca0f209
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
6a73eff
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
04738d2
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
6712e54
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
1c6ae8a
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
9abf416
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
f941f71
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
4e67619
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
d8cfab9
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
dbc2125
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
444d473
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
245b676
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
d02146e
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
579d23f
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
c62dc12
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
8e7d0db
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
b5c901a
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
a33edf7
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
6a37ae4
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
d1e2c4c
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 16, 2024
c018dd4
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 17, 2024
e4626fa
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 17, 2024
22849f3
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 17, 2024
e8eebfc
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 17, 2024
f0e585d
Update 01-Generate_Firmware_Debug.yaml
Silabs-ThieuVu Oct 17, 2024
3b8844d
merge update from develop
silabs-hieuhoang Oct 30, 2024
ad809c7
Merge pull request #37 from SiliconLabs/test/unit-test-function-post-…
silabs-hieuhoang Nov 5, 2024
22fa1b3
resolve conflict before merge to develop
silabs-hieuhoang Nov 7, 2024
3ffdd02
Merge branch 'test/unit-test-program-counter' of github.com:SiliconLa…
silabs-hieuhoang Nov 7, 2024
e085f88
resolve conflict before merge to branch
silabs-hieuhoang Nov 12, 2024
8268a4e
Merge pull request #46 from SiliconLabs/test/bash-script-support-runs…
silabs-hieuhoang Nov 12, 2024
b451e0e
resolve conflict before merge to branch
silabs-hieuhoang Nov 12, 2024
b8f2919
Merge pull request #45 from SiliconLabs/test/unit-test-for-functions-…
silabs-hieuhoang Nov 12, 2024
06d14d8
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
9602ce8
Merge pull request #44 from SiliconLabs/test/unit-test-for-functions-…
silabs-hieuhoang Nov 12, 2024
3a4556a
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
11e45ad
Merge pull request #43 from SiliconLabs/test/unit-tests-for-functions…
silabs-hieuhoang Nov 12, 2024
da71fc4
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
d57444b
Merge pull request #42 from SiliconLabs/tests/unit-test-for-functions…
silabs-hieuhoang Nov 12, 2024
db8ee77
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
51390a2
Merge pull request #41 from SiliconLabs/test/unit-test-for-functions-…
silabs-hieuhoang Nov 12, 2024
f8b45ee
remove conflict folder
silabs-hieuhoang Nov 12, 2024
cbf1321
remove conflict folder
silabs-hieuhoang Nov 12, 2024
10bb825
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
3a486b2
Merge pull request #40 from SiliconLabs/test/unit-test-for-functions-…
silabs-hieuhoang Nov 12, 2024
80d1aeb
resolve conflict before merge branch
silabs-hieuhoang Nov 12, 2024
f2edff9
Merge pull request #39 from SiliconLabs/test/unit-test-for-safety-che…
silabs-hieuhoang Nov 12, 2024
800d03f
Merge pull request #38 from SiliconLabs/test/unit-test-program-counter
silabs-hieuhoang Nov 12, 2024
d12891b
Update source integration test program counter module
silabs-hieuhoang Nov 12, 2024
bb0a74a
Update source integration test irq module
silabs-hieuhoang Nov 13, 2024
c09ded9
Update source integration test system_clock module
silabs-hieuhoang Nov 13, 2024
95b8d4e
Update source integration test watchdog module
silabs-hieuhoang Nov 13, 2024
cdb2ad3
Update source code integration test variable memory module
silabs-hieuhoang Nov 13, 2024
be57598
Update source integration test invariable memory module
silabs-hieuhoang Nov 13, 2024
cc0e55f
Update source integration test cpu registers module
silabs-hieuhoang Nov 13, 2024
5566626
Update bash script support runs integration tests automatically
silabs-hieuhoang Nov 13, 2024
dfba6d9
Add file support build with IAR tool
silabs-hieuhoang Nov 13, 2024
5cd741a
Update components and sample SDK extension
silabs-hieuhoang Nov 13, 2024
9a60e48
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
963fb95
Merge pull request #56 from SiliconLabs/test/Update-SDK-extension
silabs-hieuhoang Nov 14, 2024
5a8fe25
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
ab10a71
Merge pull request #55 from SiliconLabs/test/Support-build-test-with-…
silabs-hieuhoang Nov 14, 2024
83e7211
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
fe23ab4
Merge pull request #54 from SiliconLabs/test/Bash-script-support-runs…
silabs-hieuhoang Nov 14, 2024
59d12c9
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
bb080ed
Merge pull request #53 from SiliconLabs/test/Integration-test-for-cpu…
silabs-hieuhoang Nov 14, 2024
774b41c
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
0e0d2d4
Merge pull request #52 from SiliconLabs/test/Integration-test-for-inv…
silabs-hieuhoang Nov 14, 2024
b43411b
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
65940d8
Merge pull request #51 from SiliconLabs/test/Integration-test-for-var…
silabs-hieuhoang Nov 14, 2024
bad6bcf
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
31b8de7
Merge pull request #50 from SiliconLabs/test/Integration-test-for-wat…
silabs-hieuhoang Nov 14, 2024
4737f88
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
4a991fc
Merge pull request #49 from SiliconLabs/test/Integration-test-for-sys…
silabs-hieuhoang Nov 14, 2024
b04b15b
resolve conflict before merge branch
silabs-hieuhoang Nov 14, 2024
10fe26c
Merge pull request #48 from SiliconLabs/test/Integration-test-for-irq…
silabs-hieuhoang Nov 14, 2024
4687e0f
Merge pull request #47 from SiliconLabs/test/Integration-test-for-pro…
silabs-hieuhoang Nov 14, 2024
179536d
update source tool check coding convention
silabs-hieuhoang Nov 14, 2024
d569294
resolve conflict before merge to branch
silabs-hieuhoang Nov 14, 2024
d83730b
Delete .github/workflows directory
Silabs-ThieuVu Nov 14, 2024
3623c38
Merge pull request #15 from SiliconLabs/test/support-run-coding-conve…
silabs-hieuhoang Nov 15, 2024
e7e659c
Update documentation
silabs-hieuhoang Nov 15, 2024
76fc909
Merge branch 'main' into develop
silabs-hieuhoang Nov 15, 2024
e7b3b80
remove checking coding convention tools
silabs-hieuhoang Nov 15, 2024
4fd26da
Add tools check coding convention
silabs-hieuhoang Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.json
GNU ARM */
build
test/test_script/__pycache__
*.temp-stream*
simplicity_sdk/src/*
!simplicity_sdk/src/CMakeLists.txt
cmake_build
log/
27 changes: 27 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

exclude: ^(docs|site|assets|pictures|simplicity_sdk|test/test_script|log|sample|cmake|components|lib/inc/coding_standard.h|lib/inc/silabs_license_agreement.h|lib/inc/sl_iec60730_library_documentation.h|README.md)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
args: [-w,--config,./tools/.codespell/.codespellrc]
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: uncrustify
args: [-c,./tools/uncrustify.cfg,-lC,--no-backup,--replace]
- id: clang-tidy
args:
- --config-file=./tools/.clang-tidy
- --use-color
- --extra-arg=-Iusr/include
- --header-filter:'^((?!test).)*$'
- -p=./build
- id: cppcheck
args: [--language=c,--std=c99,--check-config,-DSL_IEC60730_BOARD_HEADER="sl_iec60730_board.h",--suppress=missingInclude,--suppress=unmatchedSuppression]
274 changes: 274 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@

<!doctype html>
<html lang="en" class="no-js">
<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">






<link rel="icon" href="/./site/images/silabs-soc.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">



<title>IEC60730 Safety Library</title>



<link rel="stylesheet" href="/assets/stylesheets/main.0253249f.min.css">


<link rel="stylesheet" href="/assets/stylesheets/palette.06af60db.min.css">












<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>



<script>__md_scope=new URL("/",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>






</head>







<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="red" data-md-color-accent="red">


<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">

</div>
<div data-md-component="announce">

</div>






<header class="md-header md-header--shadow" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="/." title="IEC60730 Safety Library" class="md-header__button md-logo" aria-label="IEC60730 Safety Library" data-md-component="logo">

<img src="/./site/images/silabs_banner.png" alt="logo">

</a>
<label class="md-header__button md-icon" for="__drawer">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
IEC60730 Safety Library
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">



</span>
</div>
</div>
</div>






<label class="md-header__button md-icon" for="__search">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
</label>
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
<label class="md-search__icon md-icon" for="__search">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
</label>
<nav class="md-search__options" aria-label="Search">

<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
</button>
</nav>

</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list" role="presentation"></ol>
</div>
</div>
</div>
</div>
</div>


</nav>

</header>

<div class="md-container" data-md-component="container">






<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">



<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">




<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="/." title="IEC60730 Safety Library" class="md-nav__button md-logo" aria-label="IEC60730 Safety Library" data-md-component="logo">

<img src="/./site/images/silabs_banner.png" alt="logo">

</a>
IEC60730 Safety Library
</label>

<ul class="md-nav__list" data-md-scrollfix>







<li class="md-nav__item">
<a href="/." class="md-nav__link">


<span class="md-ellipsis">
Home
</span>


</a>
</li>



</ul>
</nav>
</div>
</div>
</div>



<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">


<nav class="md-nav md-nav--secondary" aria-label="Table of contents">




</nav>
</div>
</div>
</div>



<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">

<h1>404 - Not found</h1>

</article>
</div>


<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
</div>

</main>

<footer class="md-footer">

<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-copyright">


Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>

</div>

</div>
</div>
</footer>

</div>
<div class="md-dialog" data-md-component="dialog">
<div class="md-dialog__inner md-typeset"></div>
</div>


<script id="__config" type="application/json">{"base": "/", "features": ["navigation.instant", "navigation.expand"], "search": "/assets/javascripts/workers/search.6ce7567c.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="/assets/javascripts/bundle.83f73b43.min.js"></script>


</body>
</html>
Loading
Loading