commit 603390c22e6294083cdd491d73ccba655ee98951 Author: Xavier Walter Date: Sat Dec 6 18:21:19 2025 +0100 Origin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10b1397 --- /dev/null +++ b/.gitignore @@ -0,0 +1,42 @@ +# Fichiers et Dossiers Générés par Simplicity Studio / Eclipse +################################################################# + +# Dossiers de compilation et de sortie (Build Output) +**/cmake_gcc/ +.vscode/ +#outgoing/ # Le dossier de sortie final +*.out +*.hex +*.bin +*.elf +*.s37 +vscode.* + +# Fichiers de Configuration de l'IDE/Workspace (Eclipse/VS Code) +# Contiennent des informations spécifiques à votre machine ou session. +.cproject +.project +.settings/ +.uceditor +.projectlinkstore # Contient souvent des chemins absolus (à ignorer absolument) +.projectchecksums +#.pintool # Fichier de configuration de l'outil de brochage (Pin Tool) +.pintool_modified +.module_defs.xml +.pintool.xml + +# Fichiers temporaires +*.bak +*.swp +*.log +*~ +# Ignore les dossiers de fichiers modifiés par l'utilisateur +# avant la suppression d'un composant/SDK (SSv6 User Guide) +trashed_modified_files/ + +# Fichiers de débogage et de mappage +*.map +*.lst + +# Fichiers Simplicity Studio (.sls est un fichier d'archive d'export) +*.sls \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/app.c b/Ho_Siren/Firmware/blink_pwm_baremetal/app.c new file mode 100644 index 0000000..ef76f62 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/app.c @@ -0,0 +1,33 @@ +/***************************************************************************//** + * @file + * @brief Top level application functions + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * The licensor of this software is Silicon Laboratories Inc. Your use of this + * software is governed by the terms of Silicon Labs Master Software License + * Agreement (MSLA) available at + * www.silabs.com/about-us/legal/master-software-license-agreement. This + * software is distributed to you in Source Code format and is governed by the + * sections of the MSLA applicable to Source Code. + * + ******************************************************************************/ +#include "blink_pwm_app.h" + +/***************************************************************************//** + * Initialize application. + ******************************************************************************/ +void app_init(void) +{ + blink_pwm_init(); +} + +/***************************************************************************//** + * App ticking function. + ******************************************************************************/ +void app_process_action(void) +{ + blink_pwm_process_action(); +} diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/app.h b/Ho_Siren/Firmware/blink_pwm_baremetal/app.h new file mode 100644 index 0000000..b8f74c8 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/app.h @@ -0,0 +1,31 @@ +/***************************************************************************//** + * @file + * @brief Top level application functions + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * The licensor of this software is Silicon Laboratories Inc. Your use of this + * software is governed by the terms of Silicon Labs Master Software License + * Agreement (MSLA) available at + * www.silabs.com/about-us/legal/master-software-license-agreement. This + * software is distributed to you in Source Code format and is governed by the + * sections of the MSLA applicable to Source Code. + * + ******************************************************************************/ + +#ifndef APP_H +#define APP_H + +/***************************************************************************//** + * Initialize application. + ******************************************************************************/ +void app_init(void); + +/***************************************************************************//** + * App ticking function. + ******************************************************************************/ +void app_process_action(void); + +#endif // APP_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/.slc_state/.crc_config.crc b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/.slc_state/.crc_config.crc new file mode 100644 index 0000000..c41609a --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/.slc_state/.crc_config.crc @@ -0,0 +1,8 @@ +#CRC Codes for initially generated config files -- do not modify! +sl_clock_manager_oscillator_config.h=-933705298 +sl_clock_manager_tree_config.h=649878759 +sl_core_config.h=-119586893 +sl_device_init_emu_config.h=622680131 +sl_memory_manager_region_config.h=-132681117 +sl_pwm_init_led0_config.h=991067953 +sl_sleeptimer_config.h=1360009810 \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/RTE_Components.h b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/RTE_Components.h new file mode 100644 index 0000000..aa62dc4 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/RTE_Components.h @@ -0,0 +1,22 @@ +// This file is autogenerated by Simplicity Configuration Tools. +// The contents of this file will be replaced in their entirety upon regeneration. +// +// Source template file: RTE_Components.h.jinja + + +#ifndef RTE_COMPONENTS_H +#define RTE_COMPONENTS_H + +/* standard device header from emlib */ +#define CMSIS_device_header "em_device.h" + +/* components are auto-generated here */ + + +#endif /* RTE_COMPONENTS_H */ + +/* This file is autogenerated by Simplicity Configuration Tools. */ +/* The contents of this file will be replaced in their entirety upon regeneration. */ +/* */ +/* Source template file: RTE_Components.h.jinja */ + diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/gen.properties b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/gen.properties new file mode 100644 index 0000000..d0585c8 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/gen.properties @@ -0,0 +1 @@ +sdk=simplicity_sdk:2025.6.2 diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/linkerfile.ld b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/linkerfile.ld new file mode 100644 index 0000000..ea6d471 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/linkerfile.ld @@ -0,0 +1,249 @@ +/***************************************************************************//** + * GCC Linker script for Silicon Labs devices + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + + MEMORY + { + FLASH (rx) : ORIGIN = 0x0, LENGTH = 0xfe000 + RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x18000 + } + +ENTRY(Reset_Handler) + +SECTIONS +{ + + .vectors : + { + linker_vectors_begin = .; + KEEP(*(.vectors)) + linker_vectors_end = .; + + __Vectors_End = .; + __Vectors_Size = __Vectors_End - __Vectors; + } > FLASH + + .stack (NOLOAD): + { + . = ALIGN(8); + __StackLimit = .; + KEEP(*(.stack*)) + . = ALIGN(4); + __StackTop = .; + PROVIDE(__stack = __StackTop); + } > RAM + + .bss : + { + . = ALIGN(4); + __bss_start__ = .; + *(SORT_BY_ALIGNMENT(.bss*)) + *(COMMON) + . = ALIGN(4); + __bss_end__ = .; + } > RAM + + + .noinit (NOLOAD) : ALIGN(4) + { + *(.noinit*); + } > RAM + + + text_application_ram : ALIGN(4) + { + . = ALIGN(4); + __vma_ramfuncs_start__ = .; + __text_application_ram_start__ = .; + + *(text_application_ram) + + . = ALIGN(4); + __vma_ramfuncs_end__ = .; + __text_application_ram_end__ = .; + } > RAM AT > FLASH + + __lma_ramfuncs_start__ = LOADADDR(text_application_ram); + __lma_ramfuncs_end__ = LOADADDR(text_application_ram) + SIZEOF(text_application_ram); + + .rodata (READONLY): + { + __rodata_end__ = .; + } > FLASH + + .text : + { + linker_code_begin = .; + *(SORT_BY_ALIGNMENT(.text*)) + *(SORT_BY_ALIGNMENT(text_*)) + . = ALIGN(32); + linker_code_end = .; + + KEEP(*(.init)) + KEEP(*(.fini)) + + /* .ctors */ + *crtbegin.o(.ctors) + *crtbegin?.o(.ctors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) + *(SORT(.ctors.*)) + *(.ctors) + + /* .dtors */ + *crtbegin.o(.dtors) + *crtbegin?.o(.dtors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) + *(SORT(.dtors.*)) + *(.dtors) + + *(.rodata*) + *(.eh_frame*) + } > FLASH + + .ARM.extab : + { + *(.ARM.extab* .gnu.linkonce.armextab.*) + } > FLASH + + __exidx_start = .; + .ARM.exidx : + { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > FLASH + __exidx_end = .; + + .copy.table (READONLY): + { + . = ALIGN(4); + __copy_table_start__ = .; + + LONG (__etext) + LONG (__data_start__) + LONG ((__data_end__ - __data_start__) / 4) + + /* Add each additional data section here */ + /* + LONG (__etext2) + LONG (__data2_start__) + LONG ((__data2_end__ - __data2_start__) / 4) + */ + + __copy_table_end__ = .; + } > FLASH + + .zero.table (READONLY): + { + . = ALIGN(4); + __zero_table_start__ = .; + /* Add each additional bss section here */ + /* + LONG (__bss2_start__) + LONG ((__bss2_end__ - __bss2_start__) / 4) + */ + + __zero_table_end__ = .; + __etext = .; + } > FLASH + + .data : + { + . = ALIGN(4); + __data_start__ = .; + *(vtable) + *(SORT_BY_ALIGNMENT(.data*)) + . = ALIGN(4); + + . = ALIGN(4); + /* preinit data */ + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP(*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + + . = ALIGN(4); + /* init data */ + PROVIDE_HIDDEN (__init_array_start = .); + KEEP(*(SORT(.init_array.*))) + KEEP(*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + + . = ALIGN(4); + /* finit data */ + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP(*(SORT(.fini_array.*))) + KEEP(*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + + . = ALIGN(4); + /* All data end */ + __data_end__ = .; + + } > RAM AT > FLASH + + +/* Calculate heap size based on RAM limits. */ +heap_limit = ORIGIN(RAM) + LENGTH(RAM); /* End of RAM */ +heap_size = heap_limit - __HeapBase; + .heap (NOLOAD): + { + . = ALIGN(8); + __HeapBase = .; + . += heap_size; + __end__ = .; + _end = __end__; + KEEP(*(.heap*)) + __HeapLimit = ORIGIN(RAM) + LENGTH(RAM); + } > RAM + + __heap_size = __HeapLimit - __HeapBase; + __ram_end__ = 0x20000000 + 0x18000; + __main_flash_end__ = 0x0 + 0xfe000; + + /* This is where we handle flash storage blocks. We use dummy sections for finding the configured + * block sizes and then "place" them at the end of flash when the size is known. */ + .internal_storage (DSECT) : { + KEEP(*(.internal_storage*)) + } > FLASH + + + .nvm (DSECT) : { + KEEP(*(.simee*)) + } > FLASH + + __ramfuncs_start__ = __vma_ramfuncs_start__; + __ramfuncs_end__ = __vma_ramfuncs_end__; + + linker_nvm_end = __main_flash_end__; + linker_nvm_begin = linker_nvm_end - SIZEOF(.nvm); + linker_storage_end = linker_nvm_begin; + __nvm3Base = linker_nvm_begin; + + linker_storage_begin = linker_storage_end - SIZEOF(.internal_storage); + ASSERT((linker_storage_begin >= (__etext + SIZEOF(.data))), "FLASH memory overflowed !") + + +} diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.json b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.json new file mode 100644 index 0000000..846a6ab --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.json @@ -0,0 +1,646 @@ +{ + "bomFormat" : "CycloneDX", + "specVersion" : "1.6", + "version" : 1, + "metadata" : { + "timestamp" : "2025-12-06T09:39:59Z", + "authors" : [ { + "name" : "Silicon Laboratories, Inc." + } ], + "properties" : [ { + "name" : "Silicon Labs Disclaimer", + "value" : "TERMS OF USE - SILICON LABORATORIES INC.\n(With respect to Silicon Labs software components, this Software Bill of Materials (SBOM) is based upon Silicon Labs'\nreview and analysis of the code version when released. It is provided \"AS IS\" and does not modify, change or alter\nthe terms or conditions of your use of Silicon Labs' software and/or SDKs based upon license terms and/or agreements\nassociated with this software or SDKs when distributed to you, received by you, or installed by you. Further, no\nwarranties or obligations are created by this SBOM. It is your obligation to comply with the terms of licenses\nreferenced in this SBOM.)" + } ] + }, + "components" : [ { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2", + "name" : "Simplicity SDK Suite", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "components" : [ { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:MGM210PA22JIA", + "name" : "MGM210PA22JIA", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:clock_manager", + "name" : "Clock Manager", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_init", + "name" : "Automatic Device Initialization", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:pwm", + "name" : "PWM", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_main", + "name" : "System Setup (sl_main)", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sleeptimer", + "name" : "Sleep Timer", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_chip", + "name" : "CHIP", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_gpio", + "name" : "GPIO", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_clock_hal", + "name" : "Device Manager Clock HAL", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_manager", + "name" : "Device Manager", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:pwm_core", + "name" : "PWM Core", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_init_core", + "name" : "Core", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_assert", + "name" : "Assert Functions", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_system", + "name" : "SYSTEM", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:clock_manager_init_hal_s2", + "name" : "Clock Manager Init HAL Series 2", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_clock", + "name" : "Device Manager Clock", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:component_catalog", + "name" : "Component Catalog", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_emu", + "name" : "EMU", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_cmu", + "name" : "CMU", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:hal_gpio", + "name" : "GPIO", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:clock_manager_runtime_hal_s2", + "name" : "Clock Manager Runtime HAL Series 2", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_burtc", + "name" : "BURTC", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_syscfg", + "name" : "SYSCFG", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_gpio", + "name" : "Device Manager GPIO", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:event_handler", + "name" : "Event Handler", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_msc", + "name" : "MSC", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_core", + "name" : "core", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:hal_common", + "name" : "Common Headers", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_i2c", + "name" : "Device Manager I2C", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_common", + "name" : "Common Headers", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_init_emu", + "name" : "Energy Management Unit (EMU)", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_peripheral_hal", + "name" : "Device Manager Peripheral HAL", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:cmsis_core", + "name" : "CMSIS-Core", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Apache 2.0" + } ], + "pedigree" : { + "ancestors" : [ { + "scope" : "required", + "type" : "library", + "bom-ref" : "cmsis_core:5.8.0", + "name" : "CMSIS_5", + "version" : "5.8.0", + "supplier" : { + "name" : "ARM-software" + }, + "externalReferences" : [ { + "type" : "website", + "url" : "https://github.com/ARM-software/CMSIS_5" + } ], + "purl" : "pkg:github/ARM-software/CMSIS_5@5.8.0", + "pedigree" : { + "notes" : "The CMSIS is a set of tools, APIs, frameworks, and work flows" + } + } ] + } + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:interrupt_manager", + "name" : "Interrupt Manager", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:enum", + "name" : "Enumerations", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_core", + "name" : "CORE", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:interrupt_manager_cortexm", + "name" : "Interrupt Manager Cortex-M", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_timer", + "name" : "TIMER", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:emlib_rtcc", + "name" : "RTCC", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_main_memory_init", + "name" : "sl_main Setup", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:clock_manager_runtime", + "name" : "Clock Manager Runtime", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:atomic", + "name" : "Atomic Operations Library", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:MGM210PA22JIA_config", + "name" : "MGM210PA22JIA config", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:code_classification", + "name" : "Code Classification", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_common", + "name" : "Common Functions", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:device_peripheral", + "name" : "Device Manager Peripheral", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_main_init", + "name" : "sl main Init", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:sl_main_process_action", + "name" : "sl_main Process Action", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:status", + "name" : "Status Codes Definitions", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + }, { + "scope" : "required", + "type" : "library", + "bom-ref" : "simplicity_sdk:2025.6.2:gpio", + "name" : "GPIO Driver", + "version" : "2025.6.2", + "supplier" : { + "name" : "Silicon Laboratories, Inc." + }, + "licenses" : [ { + "expression" : "Zlib" + } ] + } ] + } ] +} \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.xml b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.xml new file mode 100644 index 0000000..a2484c6 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/cyclonedx_bom.xml @@ -0,0 +1,551 @@ + + + + + 2025-12-06T09:39:59Z + + + Silicon Laboratories, Inc. + + + + + + + Silicon Laboratories, Inc. + + Simplicity SDK Suite + 2025.6.2 + + + MGM210PA22JIA + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Clock Manager + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Automatic Device Initialization + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + PWM + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + System Setup (sl_main) + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Sleep Timer + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + CHIP + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + GPIO + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager Clock HAL + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + PWM Core + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Core + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Assert Functions + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + SYSTEM + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Clock Manager Init HAL Series 2 + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager Clock + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Component Catalog + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + EMU + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + CMU + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + GPIO + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Clock Manager Runtime HAL Series 2 + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + BURTC + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + SYSCFG + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager GPIO + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Event Handler + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + MSC + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + core + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Common Headers + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager I2C + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Common Headers + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Energy Management Unit (EMU) + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager Peripheral HAL + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + CMSIS-Core + 2025.6.2 + + Silicon Laboratories, Inc. + + + Apache 2.0 + + + + + + ARM-software + + CMSIS_5 + 5.8.0 + pkg:github/ARM-software/CMSIS_5@5.8.0 + + The CMSIS is a set of tools, APIs, frameworks, and work flows + + + + https://github.com/ARM-software/CMSIS_5 + + + + + + + + Interrupt Manager + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Enumerations + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + CORE + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Interrupt Manager Cortex-M + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + TIMER + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + RTCC + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + sl_main Setup + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Clock Manager Runtime + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Atomic Operations Library + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + MGM210PA22JIA config + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Code Classification + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Common Functions + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Device Manager Peripheral + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + sl main Init + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + sl_main Process Action + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + Status Codes Definitions + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + GPIO Driver + 2025.6.2 + + Silicon Laboratories, Inc. + + + Zlib + + + + + + \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx new file mode 100644 index 0000000..2356968 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx @@ -0,0 +1,642 @@ +# TERMS OF USE - SILICON LABORATORIES INC. +# (With respect to Silicon Labs software components, this Software Bill of Materials (SBOM) is based upon Silicon Labs' +# review and analysis of the code version when released. It is provided "AS IS" and does not modify, change or alter +# the terms or conditions of your use of Silicon Labs' software and/or SDKs based upon license terms and/or agreements +# associated with this software or SDKs when distributed to you, received by you, or installed by you. Further, no +# warranties or obligations are created by this SBOM. It is your obligation to comply with the terms of licenses +# referenced in this SBOM.) +SPDXVersion: SPDX-2.3 +DataLicense: CC0-1.0 +SPDXID: SPDXRef-DOCUMENT +DocumentName: Silicon-Laboratories +DocumentNamespace: https://silabs.com + +## Creation Information +Creator: Organization: Silicon Laboratories, Inc. +Created: 2025-12-06T09:39:59Z +## Relationships +Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Simplicity SDK Suite +SPDXID: SPDXRef-simplicity_sdk-2025.6.2 +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-clock_manager +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_init +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-pwm +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_main +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sleeptimer +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_chip +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_gpio +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_clock_hal +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_manager +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-pwm_core +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_init_core +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_assert +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_system +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-clock_manager_init_hal_s2 +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_clock +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-component_catalog +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_emu +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_cmu +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-hal_gpio +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime_hal_s2 +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_burtc +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_syscfg +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_gpio +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-event_handler +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_msc +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_core +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-hal_common +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_i2c +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_common +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_init_emu +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_peripheral_hal +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-cmsis_core +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-enum +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_core +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager_cortexm +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_timer +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-emlib_rtcc +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_main_memory_init +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-atomic +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA_config +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-code_classification +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_common +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-device_peripheral +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_main_init +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-sl_main_process_action +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-status +Relationship: SPDXRef-simplicity_sdk-2025.6.2 CONTAINS SPDXRef-simplicity_sdk-2025.6.2-gpio + +## Package Information +PackageName: MGM210PA22JIA +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Clock Manager +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-clock_manager +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-clock_manager CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Automatic Device Initialization +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_init +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_init CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: PWM +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-pwm +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-pwm CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: System Setup (sl_main) +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_main +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_main CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Sleep Timer +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sleeptimer +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sleeptimer CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: CHIP +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_chip +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_chip CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: GPIO +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_gpio +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_gpio CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager Clock HAL +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_clock_hal +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_clock_hal CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_manager +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_manager CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: PWM Core +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-pwm_core +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-pwm_core CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Core +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_init_core +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_init_core CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Assert Functions +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_assert +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_assert CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: SYSTEM +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_system +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_system CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Clock Manager Init HAL Series 2 +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_init_hal_s2 +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_init_hal_s2 CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager Clock +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_clock +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_clock CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Component Catalog +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-component_catalog +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-component_catalog CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: EMU +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_emu +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_emu CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: CMU +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_cmu +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_cmu CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: GPIO +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-hal_gpio +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-hal_gpio CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Clock Manager Runtime HAL Series 2 +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime_hal_s2 +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime_hal_s2 CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: BURTC +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_burtc +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_burtc CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: SYSCFG +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_syscfg +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_syscfg CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager GPIO +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_gpio +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_gpio CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Event Handler +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-event_handler +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-event_handler CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: MSC +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_msc +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_msc CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: core +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_core +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_core CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Common Headers +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-hal_common +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-hal_common CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager I2C +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_i2c +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_i2c CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Common Headers +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_common +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_common CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Energy Management Unit (EMU) +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_init_emu +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_init_emu CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager Peripheral HAL +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_peripheral_hal +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_peripheral_hal CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: CMSIS-Core +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-cmsis_core +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Apache 2.0 +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-cmsis_core CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 +Relationship: SPDXRef-simplicity_sdk-2025.6.2-cmsis_core ANCESTOR_OF SPDXRef-cmsis_core-5.8.0 + +## Package Information +PackageName: CMSIS_5 +SPDXID: SPDXRef-cmsis_core-5.8.0 +PackageVersion: 5.8.0 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: ARM-software +PackageOriginator: Organization: NOASSERTION +PackageHomePage: https://github.com/ARM-software/CMSIS_5 +ExternalRef: PACKAGE-MANAGER purl pkg:github/ARM-software/CMSIS_5@5.8.0 +PackageComment: The CMSIS is a set of tools, APIs, frameworks, and work flows +## Relationships +Relationship: SPDXRef-cmsis_core-5.8.0 DESCENDANT_OF SPDXRef-simplicity_sdk-2025.6.2-cmsis_core + +## Package Information +PackageName: Interrupt Manager +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Enumerations +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-enum +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-enum CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: CORE +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_core +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_core CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Interrupt Manager Cortex-M +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager_cortexm +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager_cortexm CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: TIMER +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_timer +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_timer CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: RTCC +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-emlib_rtcc +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-emlib_rtcc CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: sl_main Setup +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_main_memory_init +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_main_memory_init CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Clock Manager Runtime +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Atomic Operations Library +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-atomic +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-atomic CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: MGM210PA22JIA config +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA_config +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA_config CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Code Classification +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-code_classification +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-code_classification CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Common Functions +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_common +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_common CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Device Manager Peripheral +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-device_peripheral +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-device_peripheral CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: sl main Init +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_main_init +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_main_init CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: sl_main Process Action +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-sl_main_process_action +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-sl_main_process_action CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: Status Codes Definitions +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-status +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-status CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 + +## Package Information +PackageName: GPIO Driver +SPDXID: SPDXRef-simplicity_sdk-2025.6.2-gpio +PackageVersion: 2025.6.2 +PrimaryPackagePurpose: LIBRARY +PackageDownloadLocation: NOASSERTION +PackageSupplier: Organization: Silicon Laboratories, Inc. +PackageLicenseConcluded: Zlib +## Relationships +Relationship: SPDXRef-simplicity_sdk-2025.6.2-gpio CONTAINED_BY SPDXRef-simplicity_sdk-2025.6.2 diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx.json b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx.json new file mode 100644 index 0000000..e94945b --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sbom/spdx_bom.spdx.json @@ -0,0 +1,645 @@ +{ + "SPDXID" : "SPDXRef-DOCUMENT", + "spdxVersion" : "SPDX-2.3", + "dataLicense" : "CC0-1.0", + "name" : "Silicon-Laboratories", + "documentNamespace" : "https://silabs.com", + "creationInfo" : { + "created" : "2025-12-06T09:39:59Z", + "creators" : [ "Tool: Silicon Labs Configuration Tooling" ] + }, + "comment" : "TERMS OF USE - SILICON LABORATORIES INC.\n(With respect to Silicon Labs software components, this Software Bill of Materials (SBOM) is based upon Silicon Labs'\nreview and analysis of the code version when released. It is provided \"AS IS\" and does not modify, change or alter\nthe terms or conditions of your use of Silicon Labs' software and/or SDKs based upon license terms and/or agreements\nassociated with this software or SDKs when distributed to you, received by you, or installed by you. Further, no\nwarranties or obligations are created by this SBOM. It is your obligation to comply with the terms of licenses\nreferenced in this SBOM.)", + "documentDescribes" : [ "SPDXRef-simplicity_sdk-2025.6.2" ], + "packages" : [ { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2", + "name" : "Simplicity SDK Suite", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc." + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA", + "name" : "MGM210PA22JIA", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager", + "name" : "Clock Manager", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_init", + "name" : "Automatic Device Initialization", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-pwm", + "name" : "PWM", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main", + "name" : "System Setup (sl_main)", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sleeptimer", + "name" : "Sleep Timer", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_chip", + "name" : "CHIP", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_gpio", + "name" : "GPIO", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_clock_hal", + "name" : "Device Manager Clock HAL", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_manager", + "name" : "Device Manager", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-pwm_core", + "name" : "PWM Core", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_init_core", + "name" : "Core", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_assert", + "name" : "Assert Functions", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_system", + "name" : "SYSTEM", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_init_hal_s2", + "name" : "Clock Manager Init HAL Series 2", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_clock", + "name" : "Device Manager Clock", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-component_catalog", + "name" : "Component Catalog", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_emu", + "name" : "EMU", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_cmu", + "name" : "CMU", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-hal_gpio", + "name" : "GPIO", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime_hal_s2", + "name" : "Clock Manager Runtime HAL Series 2", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_burtc", + "name" : "BURTC", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_syscfg", + "name" : "SYSCFG", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_gpio", + "name" : "Device Manager GPIO", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-event_handler", + "name" : "Event Handler", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_msc", + "name" : "MSC", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_core", + "name" : "core", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-hal_common", + "name" : "Common Headers", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_i2c", + "name" : "Device Manager I2C", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_common", + "name" : "Common Headers", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_init_emu", + "name" : "Energy Management Unit (EMU)", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_peripheral_hal", + "name" : "Device Manager Peripheral HAL", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-cmsis_core", + "name" : "CMSIS-Core", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Apache 2.0" + }, { + "SPDXID" : "SPDXRef-cmsis_core-5.8.0", + "name" : "CMSIS_5", + "versionInfo" : "5.8.0", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: ARM-software", + "originator" : "Organization: NOASSERTION", + "homepage" : "https://github.com/ARM-software/CMSIS_5", + "externalRefs" : [ { + "referenceCategory" : "PACKAGE-MANAGER", + "referenceLocator" : "pkg:github/ARM-software/CMSIS_5@5.8.0", + "referenceType" : "purl" + } ], + "comment" : "The CMSIS is a set of tools, APIs, frameworks, and work flows" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager", + "name" : "Interrupt Manager", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-enum", + "name" : "Enumerations", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_core", + "name" : "CORE", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager_cortexm", + "name" : "Interrupt Manager Cortex-M", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_timer", + "name" : "TIMER", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_rtcc", + "name" : "RTCC", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_memory_init", + "name" : "sl_main Setup", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime", + "name" : "Clock Manager Runtime", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-atomic", + "name" : "Atomic Operations Library", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA_config", + "name" : "MGM210PA22JIA config", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-code_classification", + "name" : "Code Classification", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_common", + "name" : "Common Functions", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-device_peripheral", + "name" : "Device Manager Peripheral", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_init", + "name" : "sl main Init", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_process_action", + "name" : "sl_main Process Action", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-status", + "name" : "Status Codes Definitions", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + }, { + "SPDXID" : "SPDXRef-simplicity_sdk-2025.6.2-gpio", + "name" : "GPIO Driver", + "versionInfo" : "2025.6.2", + "primaryPackagePurpose" : "LIBRARY", + "downloadLocation" : "NOASSERTION", + "supplier" : "Organization: Silicon Laboratories, Inc.", + "licenseConcluded" : "Zlib" + } ], + "relationships" : [ { + "spdxElementId" : "SPDXRef-DOCUMENT", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2", + "relationshipType" : "DESCRIBES" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_init", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-pwm", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sleeptimer", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_chip", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_gpio", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_clock_hal", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_manager", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-pwm_core", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_init_core", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_assert", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_system", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_init_hal_s2", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_clock", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-component_catalog", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_emu", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_cmu", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-hal_gpio", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime_hal_s2", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_burtc", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_syscfg", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_gpio", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-event_handler", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_msc", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_core", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-hal_common", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_i2c", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_common", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_init_emu", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_peripheral_hal", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-cmsis_core", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2-cmsis_core", + "relatedSpdxElement" : "SPDXRef-cmsis_core-5.8.0", + "relationshipType" : "ANCESTOR_OF" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-enum", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_core", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-interrupt_manager_cortexm", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_timer", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-emlib_rtcc", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_memory_init", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-clock_manager_runtime", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-atomic", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-MGM210PA22JIA_config", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-code_classification", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_common", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-device_peripheral", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_init", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-sl_main_process_action", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-status", + "relationshipType" : "CONTAINS" + }, { + "spdxElementId" : "SPDXRef-simplicity_sdk-2025.6.2", + "relatedSpdxElement" : "SPDXRef-simplicity_sdk-2025.6.2-gpio", + "relationshipType" : "CONTAINS" + } ] +} \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_component_catalog.h b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_component_catalog.h new file mode 100644 index 0000000..5e060e5 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_component_catalog.h @@ -0,0 +1,18 @@ +#ifndef SL_COMPONENT_CATALOG_H +#define SL_COMPONENT_CATALOG_H + +// APIs present in project +#define SL_CATALOG_CLOCK_MANAGER_PRESENT +#define SL_CATALOG_DEVICE_INIT_PRESENT +#define SL_CATALOG_DEVICE_INIT_CORE_PRESENT +#define SL_CATALOG_DEVICE_INIT_EMU_PRESENT +#define SL_CATALOG_EMLIB_CORE_PRESENT +#define SL_CATALOG_GPIO_PRESENT +#define SL_CATALOG_INTERRUPT_MANAGER_PRESENT +#define SL_CATALOG_PWM_PRESENT +#define SL_CATALOG_PWM_LED0_PRESENT +#define SL_CATALOG_SL_CORE_PRESENT +#define SL_CATALOG_SL_MAIN_PRESENT +#define SL_CATALOG_SLEEPTIMER_PRESENT + +#endif // SL_COMPONENT_CATALOG_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.c b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.c new file mode 100644 index 0000000..15539b7 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.c @@ -0,0 +1,65 @@ +#include "sl_event_handler.h" + +#include "sl_clock_manager.h" +#include "sl_gpio.h" +#include "sl_pwm_instances.h" + +void sli_driver_permanent_allocation(void) +{ +} + +void sli_service_permanent_allocation(void) +{ +} + +void sli_stack_permanent_allocation(void) +{ +} + +void sli_internal_permanent_allocation(void) +{ +} + +void sl_platform_init(void) +{ + sl_clock_manager_runtime_init(); +} + +void sli_internal_init_early(void) +{ +} + +void sl_driver_init(void) +{ + sl_gpio_init(); + sl_pwm_init_instances(); +} + +void sl_service_init(void) +{ +} + +void sl_stack_init(void) +{ +} + +void sl_internal_app_init(void) +{ +} + +void sli_platform_process_action(void) +{ +} + +void sli_service_process_action(void) +{ +} + +void sli_stack_process_action(void) +{ +} + +void sli_internal_app_process_action(void) +{ +} + diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.h b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.h new file mode 100644 index 0000000..5d22097 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_event_handler.h @@ -0,0 +1,19 @@ +#ifndef SL_EVENT_HANDLER_H +#define SL_EVENT_HANDLER_H + +void sli_driver_permanent_allocation(void); +void sli_service_permanent_allocation(void); +void sli_stack_permanent_allocation(void); +void sli_internal_permanent_allocation(void); +void sl_platform_init(void); +void sli_internal_init_early(void); +void sl_driver_init(void); +void sl_service_init(void); +void sl_stack_init(void); +void sl_internal_app_init(void); +void sli_platform_process_action(void); +void sli_service_process_action(void); +void sli_stack_process_action(void); +void sli_internal_app_process_action(void); + +#endif // SL_EVENT_HANDLER_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_init.c b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_init.c new file mode 100644 index 0000000..437320a --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_init.c @@ -0,0 +1,60 @@ +/***************************************************************************//** + * @file + * @brief PWM Driver Instance Initialization + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#include "sl_pwm.h" + +#include "sl_pwm_init_led0_config.h" + + +#include "sl_gpio.h" + + +sl_pwm_instance_t sl_pwm_led0 = { + .timer = SL_PWM_LED0_PERIPHERAL, + .channel = (uint8_t)(SL_PWM_LED0_OUTPUT_CHANNEL), + .port = (uint8_t)(SL_PWM_LED0_OUTPUT_PORT), + .pin = (uint8_t)(SL_PWM_LED0_OUTPUT_PIN), +#if defined(SL_PWM_LED0_OUTPUT_LOC) + .location = (uint8_t)(SL_PWM_LED0_OUTPUT_LOC), +#endif +}; + + +void sl_pwm_init_instances(void) +{ + + sl_pwm_config_t pwm_led0_config = { + .frequency = SL_PWM_LED0_FREQUENCY, + .polarity = SL_PWM_LED0_POLARITY, + }; + + sl_pwm_init(&sl_pwm_led0, &pwm_led0_config); + +} diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_instances.h b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_instances.h new file mode 100644 index 0000000..f5f33bf --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/autogen/sl_pwm_instances.h @@ -0,0 +1,49 @@ +/***************************************************************************//** + * @file + * @brief PWM Driver Instances + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#ifndef SL_PWM_INSTANCES_H +#define SL_PWM_INSTANCES_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "sl_pwm.h" + + +extern sl_pwm_instance_t sl_pwm_led0; + +void sl_pwm_init_instances(void); + +#ifdef __cplusplus +} +#endif + +#endif // SL_PWM_INSTANCES_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.c b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.c new file mode 100644 index 0000000..53d3929 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.c @@ -0,0 +1,57 @@ +/***************************************************************************//** + * @file + * @brief Blink PWM examples functions + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * The licensor of this software is Silicon Laboratories Inc. Your use of this + * software is governed by the terms of Silicon Labs Master Software License + * Agreement (MSLA) available at + * www.silabs.com/about-us/legal/master-software-license-agreement. This + * software is distributed to you in Source Code format and is governed by the + * sections of the MSLA applicable to Source Code. + * + ******************************************************************************/ +#include "sl_pwm.h" +#include "sl_pwm_instances.h" +#include "sl_sleeptimer.h" + +uint8_t pwm_lut[] = { + 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, + 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, + 8, 8, 8, 9, 9, 10, 10, 10, 11, 11, + 12, 12, 13, 13, 14, 15, 15, 16, 17, 17, + 18, 19, 19, 20, 21, 22, 23, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, + 37, 39, 40, 41, 43, 44, 46, 48, 49, 51, + 53, 54, 56, 58, 60, 62, 64, 66, 68, 71, + 73, 75, 78, 80, 83, 85, 88, 91, 94, 97, + 100, +}; + +void blink_pwm_init(void) +{ + // Enable PWM output + sl_pwm_start(&sl_pwm_led0); +} + +void blink_pwm_process_action(void) +{ + for (uint8_t i = 0; i < 100; i++) { + sl_pwm_set_duty_cycle(&sl_pwm_led0, pwm_lut[i]); + sl_sleeptimer_delay_millisecond(6); + if (i == 0) { + sl_sleeptimer_delay_millisecond(190); + } + } + for (uint8_t i = 100; i > 0; i--) { + sl_pwm_set_duty_cycle(&sl_pwm_led0, pwm_lut[i]); + sl_sleeptimer_delay_millisecond(6); + if (i == 100) { + sl_sleeptimer_delay_millisecond(190); + } + } +} diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.h b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.h new file mode 100644 index 0000000..0aa8543 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_app.h @@ -0,0 +1,31 @@ +/***************************************************************************//** + * @file + * @brief Blink PWM examples functions + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * The licensor of this software is Silicon Laboratories Inc. Your use of this + * software is governed by the terms of Silicon Labs Master Software License + * Agreement (MSLA) available at + * www.silabs.com/about-us/legal/master-software-license-agreement. This + * software is distributed to you in Source Code format and is governed by the + * sections of the MSLA applicable to Source Code. + * + ******************************************************************************/ + +#ifndef BLINK_PWM_H +#define BLINK_PWM_H + +/***************************************************************************//** + * Initialize blink PWM + ******************************************************************************/ +void blink_pwm_init(void); + +/***************************************************************************//** + * Blink PWM ticking function + ******************************************************************************/ +void blink_pwm_process_action(void); + +#endif // BLINK_PWM_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.pintool b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.pintool new file mode 100644 index 0000000..1186d5d --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.pintool @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slcp b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slcp new file mode 100644 index 0000000..0b8d967 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slcp @@ -0,0 +1,43 @@ +# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. +project_name: blink_pwm_baremetal +label: blink_pwm_baremetal +description: | + This example project uses the PWM driver that uses a TIMER to gradually adjust the intensity of an LED up and down. +category: Example|Platform +filter: +- name: Device Type + value: [SoC] +- name: MCU + value: [32-bit MCU] +- name: Project Difficulty + value: [Beginner] +package: platform +quality: production +readme: +- {path: readme.md} +- {path: readme.md} +source: +- {path: app.c} +- {path: blink_pwm_app.c} +tag: ['hardware:component:led:1+'] +include: +- path: . + file_list: + - {path: app.h} + - {path: blink_pwm_app.h} +sdk: {vendor: null, id: simplicity_sdk, version: 2025.6.2} +toolchain_settings: [] +component: +- {id: MGM210PA22JIA} +- {id: clock_manager} +- {id: device_init} +- instance: [led0] + id: pwm +- {id: sl_main} +- {id: sleeptimer} +define: +- {name: DEBUG_EFM} +ui_hints: + highlight: + - {path: readme.md, focus: true} + diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slps b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slps new file mode 100644 index 0000000..72eaa5e --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/blink_pwm_baremetal.slps @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/pin_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/pin_config.h new file mode 100644 index 0000000..af7fd12 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/pin_config.h @@ -0,0 +1,146 @@ +#ifndef PIN_CONFIG_H +#define PIN_CONFIG_H + +// $[CMU] +// [CMU]$ + +// $[LFXO] +// [LFXO]$ + +// $[PRS.ASYNCH0] +// [PRS.ASYNCH0]$ + +// $[PRS.ASYNCH1] +// [PRS.ASYNCH1]$ + +// $[PRS.ASYNCH2] +// [PRS.ASYNCH2]$ + +// $[PRS.ASYNCH3] +// [PRS.ASYNCH3]$ + +// $[PRS.ASYNCH4] +// [PRS.ASYNCH4]$ + +// $[PRS.ASYNCH5] +// [PRS.ASYNCH5]$ + +// $[PRS.ASYNCH6] +// [PRS.ASYNCH6]$ + +// $[PRS.ASYNCH7] +// [PRS.ASYNCH7]$ + +// $[PRS.ASYNCH8] +// [PRS.ASYNCH8]$ + +// $[PRS.ASYNCH9] +// [PRS.ASYNCH9]$ + +// $[PRS.ASYNCH10] +// [PRS.ASYNCH10]$ + +// $[PRS.ASYNCH11] +// [PRS.ASYNCH11]$ + +// $[PRS.SYNCH0] +// [PRS.SYNCH0]$ + +// $[PRS.SYNCH1] +// [PRS.SYNCH1]$ + +// $[PRS.SYNCH2] +// [PRS.SYNCH2]$ + +// $[PRS.SYNCH3] +// [PRS.SYNCH3]$ + +// $[GPIO] +// [GPIO]$ + +// $[TIMER0] +// TIMER0 CC0 on PC03 +#ifndef TIMER0_CC0_PORT +#define TIMER0_CC0_PORT SL_GPIO_PORT_C +#endif +#ifndef TIMER0_CC0_PIN +#define TIMER0_CC0_PIN 3 +#endif + +// [TIMER0]$ + +// $[TIMER1] +// [TIMER1]$ + +// $[TIMER2] +// [TIMER2]$ + +// $[TIMER3] +// [TIMER3]$ + +// $[USART0] +// [USART0]$ + +// $[USART1] +// [USART1]$ + +// $[USART2] +// [USART2]$ + +// $[I2C1] +// [I2C1]$ + +// $[LETIMER0] +// [LETIMER0]$ + +// $[IADC0] +// [IADC0]$ + +// $[ACMP0] +// [ACMP0]$ + +// $[ACMP1] +// [ACMP1]$ + +// $[I2C0] +// [I2C0]$ + +// $[PTI] +// [PTI]$ + +// $[MODEM] +// [MODEM]$ + +// $[CUSTOM_PIN_NAME] +#ifndef _PORT +#define _PORT SL_GPIO_PORT_A +#endif +#ifndef _PIN +#define _PIN 0 +#endif + + + + + + + + + + + + + + + + + + + + +// [CUSTOM_PIN_NAME]$ + + +#endif // PIN_CONFIG_H + + diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_oscillator_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_oscillator_config.h new file mode 100644 index 0000000..709b7a9 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_oscillator_config.h @@ -0,0 +1,284 @@ +/***************************************************************************//** + * @file + * @brief Clock Manager - Oscillators configuration file. + ******************************************************************************* + * # License + * Copyright 2025 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + + #ifndef SL_CLOCK_MANAGER_OSCILLATOR_CONFIG_H +#define SL_CLOCK_MANAGER_OSCILLATOR_CONFIG_H + +#if defined(SL_COMPONENT_CATALOG_PRESENT) +#include "sl_component_catalog.h" + +#endif + +// Internal Defines: DO NOT MODIFY +#define SL_CLOCK_MANAGER_HFXO_EN_ENABLE 1 +#define SL_CLOCK_MANAGER_HFXO_EN_DISABLE 0 + +#if defined(SL_CATALOG_RAIL_LIB_PRESENT) +#define SL_CLOCK_MANAGER_HFXO_EN_AUTO SL_CLOCK_MANAGER_HFXO_EN_ENABLE +#else +#define SL_CLOCK_MANAGER_HFXO_EN_AUTO SL_CLOCK_MANAGER_HFXO_EN_DISABLE +#endif + +// <<< Use Configuration Wizard in Context Menu >>> + +// Oscillators Settings + +// HFXO Settings (if High Frequency crystal is used) + +// Enable +// Enable to configure HFXO +// AUTO enables HFXO if a radio is used +// AUTO +// ENABLE +// DISABLE +// SL_CLOCK_MANAGER_HFXO_EN_AUTO +#ifndef SL_CLOCK_MANAGER_HFXO_EN +#define SL_CLOCK_MANAGER_HFXO_EN SL_CLOCK_MANAGER_HFXO_EN_ENABLE +#endif + +// Mode +// +// XTAL +// EXTCLK +// HFXO_CFG_MODE_XTAL +#ifndef SL_CLOCK_MANAGER_HFXO_MODE +#define SL_CLOCK_MANAGER_HFXO_MODE HFXO_CFG_MODE_XTAL +#endif + +// Frequency in Hz <38000000-40000000> +// 38400000 +#ifndef SL_CLOCK_MANAGER_HFXO_FREQ +#define SL_CLOCK_MANAGER_HFXO_FREQ 38400000 +#endif + +// CTUNE <0-255> +// 140 +#ifndef SL_CLOCK_MANAGER_HFXO_CTUNE +#define SL_CLOCK_MANAGER_HFXO_CTUNE 140 +#endif + +// Precision in PPM <0-65535> +// 50 +#ifndef SL_CLOCK_MANAGER_HFXO_PRECISION +#define SL_CLOCK_MANAGER_HFXO_PRECISION 50 +#endif + +// CTUNE HXFO manufacturing +// Enable to use CTUNE HFXO manufacturing value for calibration +// 1 +#ifndef SL_CLOCK_MANAGER_CTUNE_MFG_HFXO_EN +#define SL_CLOCK_MANAGER_CTUNE_MFG_HFXO_EN 1 +#endif +// + +// LFXO Settings (if Low Frequency crystal is used) +// Enable to configure LFXO +#ifndef SL_CLOCK_MANAGER_LFXO_EN +#define SL_CLOCK_MANAGER_LFXO_EN 0 +#endif + +// Mode +// +// XTAL +// BUFEXTCLK +// DIGEXTCLK +// LFXO_CFG_MODE_XTAL +#ifndef SL_CLOCK_MANAGER_LFXO_MODE +#define SL_CLOCK_MANAGER_LFXO_MODE LFXO_CFG_MODE_XTAL +#endif + +// CTUNE <0-127> +// 63 +#ifndef SL_CLOCK_MANAGER_LFXO_CTUNE +#define SL_CLOCK_MANAGER_LFXO_CTUNE 63 +#endif + +// LFXO precision in PPM <0-65535> +// 50 +#ifndef SL_CLOCK_MANAGER_LFXO_PRECISION +#define SL_CLOCK_MANAGER_LFXO_PRECISION 50 +#endif + +// Startup Timeout Delay +// +// CYCLES2 +// CYCLES256 +// CYCLES1K +// CYCLES2K +// CYCLES4K +// CYCLES8K +// CYCLES16K +// CYCLES32K +// LFXO_CFG_TIMEOUT_CYCLES4K +#ifndef SL_CLOCK_MANAGER_LFXO_TIMEOUT +#define SL_CLOCK_MANAGER_LFXO_TIMEOUT LFXO_CFG_TIMEOUT_CYCLES4K +#endif + +// CTUNE LXFO manufacturing +// Enable to use CTUNE LFXO manufacturing value for calibration +// 1 +#ifndef SL_CLOCK_MANAGER_CTUNE_MFG_LFXO_EN +#define SL_CLOCK_MANAGER_CTUNE_MFG_LFXO_EN 1 +#endif +// + +// HFRCO and DPLL Settings +// Frequency Band +// RC Oscillator Frequency Band +// 1 MHz +// 2 MHz +// 4 MHz +// 7 MHz +// 13 MHz +// 16 MHz +// 19 MHz +// 26 MHz +// 32 MHz +// 38 MHz +// 48 MHz +// 56 MHz +// 64 MHz +// 80 MHz +// cmuHFRCODPLLFreq_80M0Hz +#ifndef SL_CLOCK_MANAGER_HFRCO_BAND +#define SL_CLOCK_MANAGER_HFRCO_BAND cmuHFRCODPLLFreq_80M0Hz +#endif + +// Use DPLL +// Enable to use the DPLL with HFRCO +#ifndef SL_CLOCK_MANAGER_HFRCO_DPLL_EN +#define SL_CLOCK_MANAGER_HFRCO_DPLL_EN 0 +#endif + +// Target Frequency in Hz <1000000-80000000> +// DPLL target frequency +// 80000000 +#ifndef SL_CLOCK_MANAGER_DPLL_FREQ +#define SL_CLOCK_MANAGER_DPLL_FREQ 80000000 +#endif + +// Numerator (N) <300-4095> +// Value of N for output frequency calculation fout = fref * (N+1) / (M+1) +// 3999 +#ifndef SL_CLOCK_MANAGER_DPLL_N +#define SL_CLOCK_MANAGER_DPLL_N 3999 +#endif + +// Denominator (M) <0-4095> +// Value of M for output frequency calculation fout = fref * (N+1) / (M+1) +// 1919 +#ifndef SL_CLOCK_MANAGER_DPLL_M +#define SL_CLOCK_MANAGER_DPLL_M 1919 +#endif + +// Reference Clock +// Reference clock source for DPLL +// DISABLED +// HFXO +// LFXO +// CLKIN0 +// CMU_DPLLREFCLKCTRL_CLKSEL_HFXO +#ifndef SL_CLOCK_MANAGER_DPLL_REFCLK +#define SL_CLOCK_MANAGER_DPLL_REFCLK CMU_DPLLREFCLKCTRL_CLKSEL_HFXO +#endif + +// Reference Clock Edge Detect +// Edge detection for reference clock +// Falling Edge +// Rising Edge +// cmuDPLLEdgeSel_Fall +#ifndef SL_CLOCK_MANAGER_DPLL_EDGE +#define SL_CLOCK_MANAGER_DPLL_EDGE cmuDPLLEdgeSel_Fall +#endif + +// DPLL Lock Mode +// Lock mode +// Frequency-Lock Loop +// Phase-Lock Loop +// cmuDPLLLockMode_Freq +#ifndef SL_CLOCK_MANAGER_DPLL_LOCKMODE +#define SL_CLOCK_MANAGER_DPLL_LOCKMODE cmuDPLLLockMode_Phase +#endif + +// Automatic Lock Recovery +// 1 +#ifndef SL_CLOCK_MANAGER_DPLL_AUTORECOVER +#define SL_CLOCK_MANAGER_DPLL_AUTORECOVER 1 +#endif + +// Enable Dither +// 0 +#ifndef SL_CLOCK_MANAGER_DPLL_DITHER +#define SL_CLOCK_MANAGER_DPLL_DITHER 0 +#endif +// +// + +// HFRCOEM23 Settings +// Frequency Band +// RC Oscillator Frequency Band +// 1 MHz +// 2 MHz +// 4 MHz +// 13 MHz +// 16 MHz +// 19 MHz +// 26 MHz +// 32 MHz +// 40 MHz +// cmuHFRCOEM23Freq_19M0Hz +#ifndef SL_CLOCK_MANAGER_HFRCOEM23_BAND +#define SL_CLOCK_MANAGER_HFRCOEM23_BAND cmuHFRCOEM23Freq_19M0Hz +#endif +// + +// CLKIN0 Settings +// Frequency in Hz <1000000-38000000> +// 38000000 +#ifndef SL_CLOCK_MANAGER_CLKIN0_FREQ +#define SL_CLOCK_MANAGER_CLKIN0_FREQ 38000000 +#endif +// + +// + +// <<< end of configuration section >>> + +// <<< sl:start pin_tool >>> + +// SL_CLOCK_MANAGER_CLKIN0 +// $[CMU_SL_CLOCK_MANAGER_CLKIN0] + + +// [CMU_SL_CLOCK_MANAGER_CLKIN0]$ + +// <<< sl:end pin_tool >>> + +#endif /* SL_CLOCK_MANAGER_OSCILLATOR_CONFIG_H */ diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_tree_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_tree_config.h new file mode 100644 index 0000000..baa6396 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_clock_manager_tree_config.h @@ -0,0 +1,231 @@ +/***************************************************************************//** + * @file + * @brief Clock Manager - Clock Tree configuration file. + ******************************************************************************* + * # License + * Copyright 2025 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#ifndef SL_CLOCK_MANAGER_TREE_CONFIG_H +#define SL_CLOCK_MANAGER_TREE_CONFIG_H + +#if defined(SL_COMPONENT_CATALOG_PRESENT) +#include "sl_component_catalog.h" + +#endif + +// Internal Defines: DO NOT MODIFY +// Those defines are used internally to help converting the DEFAULT_HF_CLOCK_SOURCE and DEFAULT_LF_CLOCK_SOURCE +// selection of each clock branch to the right HW register value. +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFRCODPLL 0xFF +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO 0xFE +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_FSRCO 0xFD +#define SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE_LFRCO 0xFC +#define SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE_LFXO 0xFB +#define SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE_ULFRCO 0xFA + +#if defined(SL_CATALOG_RAIL_LIB_PRESENT) +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_AUTO SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO +#else +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_AUTO SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFRCODPLL +#endif + +// <<< Use Configuration Wizard in Context Menu >>> + +// Clock Tree Settings + +// Default Clock Source Selection for HF clock branches +// AUTO +// HFRCODPLL +// HFXO +// FSRCO +// Selection of the high frequency clock source. HF clock branches can select this value by chosing the DEFAULT_HF value. +// AUTO uses HFXO if a radio is used and HFRCODPLL otherwise +// SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_AUTO +#ifndef SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE +#define SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFRCODPLL +#endif + +// Default Clock Source Selection for LF clock branches +// LFRCO +// LFXO +// ULFRCO +// Selection of the low frequency clock source. LF clock branches can select this value by chosing the DEFAULT_HF value. +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE_LFRCO +#ifndef SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#define SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE_LFRCO +#endif + +// System Clock Branch Settings + +// Clock Source Selection for SYSCLK branch +// DEFAULT_HF +// FSRCO +// HFRCODPLL +// HFXO +// CLKIN0 +// Selection of the Clock source for SYSCLK +// SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_SYSCLK_SOURCE +#define SL_CLOCK_MANAGER_SYSCLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE +#endif + +// HCLK branch divider +// DIV1 +// DIV2 +// DIV4 +// HCLK branch is derived from SYSCLK. This clock drives the AHB bus interface. +// CMU_SYSCLKCTRL_HCLKPRESC_DIV1 +#ifndef SL_CLOCK_MANAGER_HCLK_DIVIDER +#define SL_CLOCK_MANAGER_HCLK_DIVIDER CMU_SYSCLKCTRL_HCLKPRESC_DIV1 +#endif + +// PCLK branch divider +// DIV1 +// DIV2 +// PCLK branch is derived from HCLK. This clock drives the APB bus interface. +// CMU_SYSCLKCTRL_PCLKPRESC_DIV1 +#ifndef SL_CLOCK_MANAGER_PCLK_DIVIDER +#define SL_CLOCK_MANAGER_PCLK_DIVIDER CMU_SYSCLKCTRL_PCLKPRESC_DIV1 +#endif + +// + +// Trace Clock Branches Settings +// Clock Source Selection for TRACECLK branch +// HCLK +// HFRCOEM23 +// Selection of the Clock source for TRACECLK +// CMU_TRACECLKCTRL_CLKSEL_HCLK +#ifndef SL_CLOCK_MANAGER_TRACECLK_SOURCE +#define SL_CLOCK_MANAGER_TRACECLK_SOURCE CMU_TRACECLKCTRL_CLKSEL_HCLK +#endif + +// + +// High Frequency Clock Branches Settings +// Each HF Clock Tree branch can be customized, else the same clock source as for SYSCLK will be used when possible +// EM01GRPACLK clock the Timer peripherals +// Clock Source Selection for EM01GRPACLK branch +// DEFAULT_HF +// HFRCODPLL +// HFXO +// HFRCOEM23 +// FSRCO +// Selection of the Clock source for EM01GRPACLK +// SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_EM01GRPACLK_SOURCE +#define SL_CLOCK_MANAGER_EM01GRPACLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE +#endif + +// Clock Source Selection for IADCCLK branch +// EM01GRPACLK +// HFRCOEM23 +// FSRCO +// Selection of the Clock source for IADCCLK +// CMU_IADCCLKCTRL_CLKSEL_EM01GRPACLK +#ifndef SL_CLOCK_MANAGER_IADCCLK_SOURCE +#define SL_CLOCK_MANAGER_IADCCLK_SOURCE CMU_IADCCLKCTRL_CLKSEL_EM01GRPACLK +#endif + +// + +// Low Frequency Clock Branches Settings + +// Clock Source Selection for EM23GRPACLK branch +// DEFAULT_LF +// LFRCO +// LFXO +// ULFRCO +// Selection of the Clock source for EM23GRPACLK +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_EM23GRPACLK_SOURCE +#define SL_CLOCK_MANAGER_EM23GRPACLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#endif + +// Clock Source Selection for EM4GRPACLK branch +// DEFAULT_LF +// LFRCO +// LFXO +// ULFRCO +// Selection of the Clock source for EM4GRPACLK +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_EM4GRPACLK_SOURCE +#define SL_CLOCK_MANAGER_EM4GRPACLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#endif + +// Clock Source Selection for EM23GRPACLK branch +// DEFAULT_LF +// LFRCO +// LFXO +// ULFRCO +// Selection of the Clock source for RTCCCLK +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_RTCCCLK_SOURCE +#define SL_CLOCK_MANAGER_RTCCCLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#endif + +// Clock Source Selection for WDOG0CLK branch +// DEFAULT_LF +// LFRCO +// LFXO +// ULFRCO +// HCLKDIV1024 +// Selection of the Clock source for WDOG0CLK +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_WDOG0CLK_SOURCE +#define SL_CLOCK_MANAGER_WDOG0CLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#endif + +// Clock Source Selection for WDOG1CLK branch +// DEFAULT_LF +// LFRCO +// LFXO +// ULFRCO +// HCLKDIV1024 +// Selection of the Clock source for WDOG1CLK +// SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#ifndef SL_CLOCK_MANAGER_WDOG1CLK_SOURCE +#define SL_CLOCK_MANAGER_WDOG1CLK_SOURCE SL_CLOCK_MANAGER_DEFAULT_LF_CLOCK_SOURCE +#endif + +// + +// Mixed Frequency Clock Branch Settings + +// Clock Source Selection for SYSTICKCLK branch +// <0=> HCLK +// <1=> EM23GRPACLK +// Selection of the Clock source for SYSTICKCLK +// 0 +#ifndef SL_CLOCK_MANAGER_SYSTICKCLK_SOURCE +#define SL_CLOCK_MANAGER_SYSTICKCLK_SOURCE 0 +#endif +// +// + +#endif /* SL_CLOCK_MANAGER_TREE_CONFIG_H */ + +// <<< end of configuration section >>> diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_core_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_core_config.h new file mode 100644 index 0000000..27b173d --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_core_config.h @@ -0,0 +1,44 @@ +/***************************************************************************//** + * @file + * @brief sl_core Configuration + ******************************************************************************* + * # License + * Copyright 2023 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#ifndef SL_CORE_CONFIG_H +#define SL_CORE_CONFIG_H + +// <<< Use Configuration Wizard in Context Menu >>> + +// Core Abstraction Configuration + +// Enables measurement of interrupt masking time for debugging purposes. +// Default: 0 +#define SL_CORE_DEBUG_INTERRUPTS_MASKED_TIMING 0 +// + +// <<< end of configuration section >>> +#endif // SL_CORE_CONFIG_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_device_init_emu_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_device_init_emu_config.h new file mode 100644 index 0000000..4ac96ba --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_device_init_emu_config.h @@ -0,0 +1,53 @@ +/***************************************************************************//** + * @file + * @brief DEVICE_INIT_EMU Config + ******************************************************************************* + * # License + * Copyright 2019 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#ifndef SL_DEVICE_INIT_EMU_CONFIG_H +#define SL_DEVICE_INIT_EMU_CONFIG_H + +#include "em_emu.h" + +// <<< Use Configuration Wizard in Context Menu >>> + +// Allow debugger to remain connected in EM2 +// Force PD0B to stay on on EM2 entry. This allows the debugger to remain connected in EM2 and EM3. +// Enabling debug connectivity results in an increased power consumption in EM2/EM3. +// Default: 1 +#define SL_DEVICE_INIT_EMU_EM2_DEBUG_ENABLE 1 + +// EM4 pin retention mode +// No Retention: Pads enter reset state when entering EM4. +// Retention through EM4: Pads enter reset state when exiting EM4. +// Retention through EM4 and wakeup. +// Default: emuPinRetentionDisable +#define SL_DEVICE_INIT_EMU_EM4_PIN_RETENTION_MODE emuPinRetentionDisable + +// <<< end of configuration section >>> + +#endif // SL_DEVICE_INIT_EMU_CONFIG_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_memory_manager_region_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_memory_manager_region_config.h new file mode 100644 index 0000000..84eac5a --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_memory_manager_region_config.h @@ -0,0 +1,51 @@ +/***************************************************************************//** + * @file + * @brief Memory Heap and stack size configuration file. + ******************************************************************************* + * # License + * Copyright 2024 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +// <<< Use Configuration Wizard in Context Menu >>> + +#ifndef SL_MEMORY_MANAGER_REGION_CONFIG_H +#define SL_MEMORY_MANAGER_REGION_CONFIG_H + +#include "sl_component_catalog.h" + +// Memory configuration + +// Stack size for the application. +// Default: 4096 +// The stack size configured here will be used by the stack that the +// application uses when coming out of a reset. +#ifndef SL_STACK_SIZE +#define SL_STACK_SIZE 4096 +#endif +// + +// <<< end of configuration section >>> + +#endif /* SL_MEMORY_MANAGER_REGION_CONFIG_H */ diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_pwm_init_led0_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_pwm_init_led0_config.h new file mode 100644 index 0000000..be2b97d --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_pwm_init_led0_config.h @@ -0,0 +1,84 @@ +/***************************************************************************//** + * @file + * @brief PWM Driver + ******************************************************************************* + * # License + * Copyright 2022 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +#ifndef SL_PWM_INIT_LED0_CONFIG_H +#define SL_PWM_INIT_LED0_CONFIG_H + +#ifdef __cplusplus +extern "C" { +#endif + +// <<< Use Configuration Wizard in Context Menu >>> + +// PWM configuration + +// PWM frequency [Hz] +// Default: 10000 +#define SL_PWM_LED0_FREQUENCY 10000 + +// Polarity +// Active high +// Active low +// Default: PWM_ACTIVE_HIGH +#define SL_PWM_LED0_POLARITY PWM_ACTIVE_HIGH +// end pwm configuration + +// <<< end of configuration section >>> + +// <<< sl:start pin_tool >>> + +// SL_PWM_LED0 +// $[TIMER_SL_PWM_LED0] +#ifndef SL_PWM_LED0_PERIPHERAL +#define SL_PWM_LED0_PERIPHERAL TIMER0 +#endif +#ifndef SL_PWM_LED0_PERIPHERAL_NO +#define SL_PWM_LED0_PERIPHERAL_NO 0 +#endif + +#ifndef SL_PWM_LED0_OUTPUT_CHANNEL +#define SL_PWM_LED0_OUTPUT_CHANNEL 0 +#endif +// TIMER0 CC0 on PC03 +#ifndef SL_PWM_LED0_OUTPUT_PORT +#define SL_PWM_LED0_OUTPUT_PORT SL_GPIO_PORT_C +#endif +#ifndef SL_PWM_LED0_OUTPUT_PIN +#define SL_PWM_LED0_OUTPUT_PIN 3 +#endif +// [TIMER_SL_PWM_LED0]$ + +// <<< sl:end pin_tool >>> + +#ifdef __cplusplus +} +#endif + +#endif // SL_PWM_INIT_LED0_CONFIG_H diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_sleeptimer_config.h b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_sleeptimer_config.h new file mode 100644 index 0000000..8344ef5 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/config/sl_sleeptimer_config.h @@ -0,0 +1,82 @@ +/***************************************************************************//** + * @file + * @brief Sleep Timer configuration file. + ******************************************************************************* + * # License + * Copyright 2020 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ + +// <<< Use Configuration Wizard in Context Menu >>> + +#ifndef SL_SLEEPTIMER_CONFIG_H +#define SL_SLEEPTIMER_CONFIG_H + +#define SL_SLEEPTIMER_PERIPHERAL_DEFAULT 0 +#define SL_SLEEPTIMER_PERIPHERAL_RTCC 1 +#define SL_SLEEPTIMER_PERIPHERAL_PRORTC 2 +#define SL_SLEEPTIMER_PERIPHERAL_RTC 3 +#define SL_SLEEPTIMER_PERIPHERAL_SYSRTC 4 +#define SL_SLEEPTIMER_PERIPHERAL_BURTC 5 +#define SL_SLEEPTIMER_PERIPHERAL_WTIMER 6 +#define SL_SLEEPTIMER_PERIPHERAL_TIMER 7 + +// Timer Peripheral Used by Sleeptimer +// Default (auto select) +// RTCC +// Radio internal RTC (PRORTC) +// RTC +// SYSRTC +// Back-Up RTC (BURTC) +// WTIMER +// TIMER +// Selection of the Timer Peripheral Used by the Sleeptimer +#define SL_SLEEPTIMER_PERIPHERAL SL_SLEEPTIMER_PERIPHERAL_DEFAULT + +// TIMER/WTIMER Instance Used by Sleeptimer (not applicable for other peripherals) +// Make sure TIMER instance size is 32bits. Check datasheet for 32bits TIMERs. +// Default: 0 +#define SL_SLEEPTIMER_TIMER_INSTANCE 0 + +// Enable wallclock functionality +// Enable or disable wallclock functionalities (get_time, get_date, etc). +// Default: 0 +#define SL_SLEEPTIMER_WALLCLOCK_CONFIG 0 + +// Timer frequency divider (not applicable for WTIMER/TIMER) +// WTIMER/TIMER peripherals are always prescaled to 1024. +// Default: 1 +#define SL_SLEEPTIMER_FREQ_DIVIDER 1 + +// If Radio internal RTC (PRORTC) HAL is used, determines if it owns the IRQ handler. Enable, if no wireless stack is used. +// Default: 0 +#define SL_SLEEPTIMER_PRORTC_HAL_OWNS_IRQ_HANDLER 0 + +// Enable DEBUGRUN functionality on hardware RTC. +// Default: 0 +#define SL_SLEEPTIMER_DEBUGRUN 0 + +#endif /* SLEEPTIMER_CONFIG_H */ + +// <<< end of configuration section >>> diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/main.c b/Ho_Siren/Firmware/blink_pwm_baremetal/main.c new file mode 100644 index 0000000..72c8be4 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/main.c @@ -0,0 +1,71 @@ +/***************************************************************************//** + * @file main.c + * @brief main() function. + ******************************************************************************* + * # License + * Copyright 2025 Silicon Laboratories Inc. www.silabs.com + ******************************************************************************* + * + * SPDX-License-Identifier: Zlib + * + * The licensor of this software is Silicon Laboratories Inc. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + ******************************************************************************/ +#include "sl_component_catalog.h" +#include "sl_main_init.h" +#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) +#include "sl_power_manager.h" +#endif +#if defined(SL_CATALOG_KERNEL_PRESENT) +#include "sl_main_kernel.h" +#else // SL_CATALOG_KERNEL_PRESENT +#include "sl_main_process_action.h" +#endif // SL_CATALOG_KERNEL_PRESENT + +int main(void) +{ + // Initialize Silicon Labs device, system, service(s) and protocol stack(s). + // Note that if the kernel is present, the start task will be started and software + // component initialization will take place there. + sl_main_init(); + +#if defined(SL_CATALOG_KERNEL_PRESENT) + // Start the kernel. The start task will be executed (Highest priority) to complete + // the Simplicity SDK components initialization and the user app_init() hook function will be called. + sl_main_kernel_start(); +#else // SL_CATALOG_KERNEL_PRESENT + + // User provided code. + app_init(); + + while (1) { + // Silicon Labs components process action routine + // must be called from the super loop. + sl_main_process_action(); + + // User provided code. Application process. + app_process_action(); + +#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) + // Let the CPU go to sleep if the system allows it. + sl_power_manager_sleep(); +#endif + } +#endif // SL_CATALOG_KERNEL_PRESENT +} diff --git a/Ho_Siren/Firmware/blink_pwm_baremetal/readme.md b/Ho_Siren/Firmware/blink_pwm_baremetal/readme.md new file mode 100644 index 0000000..3974733 --- /dev/null +++ b/Ho_Siren/Firmware/blink_pwm_baremetal/readme.md @@ -0,0 +1,8 @@ +# Blink PWM Bare Metal + +This sample application demonstrates LED blink using PWM in bare metal environment. +PWM inputs and PWM LED instance can be configured in the `blink_pwm_app.c` file. + +## Requirements + +Silicon Labs board with on-board PWM LED.