IEC 60730 Class B Safety Tests
Runs NXP's IEC 60730 Class B self-tests (CPU, RAM, flash, clock, watchdog) from a Zephyr application.
- Follows branch
main_github: eachwest updatewill get its latest commits. To stay on one version, it is recommended to use a release tag.
Install
# From the workspace root
curl -fsSL https://kartben.github.io/windrose/m/safety-iec60730b.yaml \
-o zephyr/submanifests/safety-iec60730b.yaml
west update safety-iec60730b
# From the workspace root
Invoke-WebRequest https://kartben.github.io/windrose/m/safety-iec60730b.yaml `
-OutFile zephyr/submanifests/safety-iec60730b.yaml
west update safety-iec60730b
- name: safety-iec60730b url: https://github.com/nxp-mcuxpresso/mcux-safety-iec60730b revision: main_github path: modules/safety/iec60730b
Add to projects in your west.yml, then run west update safety-iec60730b.
- License
Apache-2.0 AND LicenseRef-NXP-Software-Licenseincludes custom terms: read them before shipping.
Details
- Revision
- main_github
- License
- Apache-2.0 AND LicenseRef-NXP-Software-License
- Maintainers
- @nxp-mcuxpresso
- Last commit
- 11 days ago
- Includes
- Samples
About
safety_iec60730b is a Zephyr module providing a test subsystem that runs the IEC 60730 Class B safety self-tests from a Zephyr application.
IEC 60730-1 is an international standard defining safety requirements for automatic electrical controls used in household appliances and similar equipment. Annex H Class B describes the software fault/error detection measures a control has to implement to detect random hardware faults that could otherwise lead to a dangerous malfunction.
The subsystem exposes those "continuously performed" self-tests through a single, vendor-neutral API, integrates them with Zephyr through Kconfig and the device driver model, and delegates the actual test execution to a selectable backend. The default backend on NXP SoCs is the NXP IEC 60730 Class B Safety Library.
The following Class B test routines are exposed, each individually selectable through Kconfig:
:header-rows: 1 :widths: 30 35 35