From 504a4286dc23d41cb97a607190ecb885325408b6 Mon Sep 17 00:00:00 2001 From: tube0013 Date: Fri, 1 Nov 2024 21:10:53 -0400 Subject: [PATCH] Update Manifests --- .../tubeszb-mgm24-hw-max_ncp-uart-hw.yaml | 41 +- .../tubeszb/tubeszb-mgm24-hw_ncp-uart-hw.yaml | 5 +- .../tubeszb-mgm24PB-hw-max_ncp-uart-hw.yaml | 42 +- .../tubeszb-mgm24PB-hw_ncp-uart-hw.yaml | 5 +- .../tubeszb/tubeszb-mgm24_bootloader.yaml | 33 + ...beszb_MGM240PB_bootloader-uart-xmodem.yaml | 6 +- .../tubeszb_mgm12-2021_ncp-uart-hw.yaml | 5 +- .../tubeszb_mgm12-2022_ncp-uart-hw.yaml | 5 +- .../.cproject | 247 -- ...otloader-uart-xmodem_MGM240PB32VNN.pintool | 10 - .../bootloader-uart-xmodem_MGM240PB32VNN.slcp | 40 - .../bootloader-uart-xmodem_MGM240PB32VNN.slpb | 16 - .../bootloader-uart-xmodem_MGM240PB32VNN.slps | 17 - .../config/btl_aes_ctr_stream_block_cfg.h | 44 - .../config/btl_core_cfg.h | 139 - .../config/btl_debug_cfg.h | 52 - .../config/btl_gpio_activation_cfg.h | 47 - .../config/btl_uart_driver_cfg.h | 85 - .../config/btl_xmodem_config.h | 48 - .../config/emlib_core_debug_config.h | 45 - .../config/pin_config.h | 147 - .../config/psa_crypto_config.h | 170 - .../config/sl_fault_injection_hardening_cfg.h | 107 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../readme.md | 3 - .../.cproject | 2880 ----------------- src/ncp-uart-hw_EFR32MG24A420F1536IM48/app.c | 38 - .../config/SEGGER_RTT_Conf.h | 428 --- .../config/app_properties_config.h | 65 - .../config/btl_interface_cfg.h | 48 - .../config/btl_interface_cfg_s2c4.h | 321 -- .../config/dmadrv_config.h | 26 - .../config/emlib_core_debug_config.h | 45 - .../config/legacy_common_ash_config.h | 43 - .../config/legacy_hal_config.h | 47 - .../config/nvm3_default_config.h | 45 - .../config/pin_config.h | 155 - .../config/psa_crypto_config.h | 170 - .../sl_custom_manufacturing_token_header.h | 84 - .../config/sl_custom_token_header.h | 86 - .../config/sl_debug_swo_config.h | 106 - .../config/sl_device_init_dcdc_config.h | 58 - .../config/sl_device_init_emu_config.h | 53 - .../config/sl_device_init_hfxo_config.h | 57 - .../config/sl_hfxo_manager_config.h | 56 - .../config/sl_iostream_usart_vcom_config.h | 105 - .../config/sl_iostream_vuart_config.h | 42 - .../config/sl_legacy_hal_wdog_config.h | 88 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../config/sl_power_manager_config.h | 64 - .../config/sl_rail_util_pa_config.h | 81 - .../sl_rail_util_power_manager_init_config.h | 44 - .../config/sl_rail_util_pti_config.h | 66 - .../config/sl_rail_util_sequencer_config.h | 48 - .../config/sl_sleeptimer_config.h | 82 - .../config/sl_token_manager_config.h | 54 - .../config/sl_zigbee_debug_print_config.h | 74 - .../config/sl_zigbee_green_power_config.h | 53 - .../config/sl_zigbee_light_link_config.h | 38 - .../config/sl_zigbee_pro_stack_config.h | 111 - .../sl_zigbee_security_link_keys_config.h | 33 - .../config/sl_zigbee_source_route_config.h | 33 - .../config/zigbee_sleep_config.h | 42 - .../zigbee_watchdog_periodic_refresh_config.h | 34 - src/ncp-uart-hw_EFR32MG24A420F1536IM48/main.c | 74 - ...ncp-uart-hw_EFR32MG24A420F1536IM48.pintool | 10 - .../ncp-uart-hw_EFR32MG24A420F1536IM48.slcp | 73 - .../ncp-uart-hw_EFR32MG24A420F1536IM48.slps | 17 - .../readme.html | 562 ---- .../sl_zigbee_watchdog_periodic_refresh.c | 59 - src/ncp-uart-hw_MGM12P32F1024GE/.cproject | 2756 ---------------- src/ncp-uart-hw_MGM12P32F1024GE/app.c | 38 - .../config/SEGGER_RTT_Conf.h | 428 --- .../config/app_properties_config.h | 65 - .../config/btl_interface_cfg.h | 48 - .../config/dmadrv_config.h | 26 - .../config/emlib_core_debug_config.h | 45 - .../config/legacy_common_ash_config.h | 43 - .../config/legacy_hal_config.h | 47 - .../config/nvm3_default_config.h | 45 - .../config/pin_config.h | 146 - .../config/psa_crypto_config.h | 170 - .../sl_custom_manufacturing_token_header.h | 84 - .../config/sl_custom_token_header.h | 86 - .../config/sl_debug_swo_config.h | 109 - .../config/sl_device_init_dcdc_config.h | 58 - .../config/sl_device_init_emu_config.h | 68 - .../config/sl_device_init_hfxo_config.h | 72 - .../config/sl_device_init_lfxo_config.h | 37 - .../config/sl_fem_util_config.h | 98 - .../config/sl_iostream_usart_vcom_config.h | 109 - .../config/sl_iostream_vuart_config.h | 42 - .../config/sl_legacy_hal_wdog_config.h | 88 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../config/sl_power_manager_config.h | 64 - .../config/sl_rail_util_pa_config.h | 80 - .../sl_rail_util_power_manager_init_config.h | 44 - .../config/sl_rail_util_pti_config.h | 66 - .../config/sl_sleeptimer_config.h | 82 - .../config/sl_token_manager_config.h | 54 - .../config/sl_zigbee_debug_print_config.h | 74 - .../config/sl_zigbee_green_power_config.h | 53 - .../config/sl_zigbee_light_link_config.h | 38 - .../config/sl_zigbee_pro_stack_config.h | 111 - .../sl_zigbee_security_link_keys_config.h | 33 - .../config/sl_zigbee_source_route_config.h | 33 - .../config/zigbee_sleep_config.h | 42 - .../zigbee_watchdog_periodic_refresh_config.h | 34 - src/ncp-uart-hw_MGM12P32F1024GE/main.c | 74 - .../ncp-uart-hw_MGM12P32F1024GE.pintool | 10 - .../ncp-uart-hw_MGM12P32F1024GE.slcp | 73 - .../ncp-uart-hw_MGM12P32F1024GE.slps | 17 - src/ncp-uart-hw_MGM12P32F1024GE/readme.html | 562 ---- .../sl_zigbee_watchdog_periodic_refresh.c | 59 - src/ncp-uart-hw_MGM210PA32JIA/.cproject | 393 --- src/ncp-uart-hw_MGM210PA32JIA/app.c | 38 - .../config/SEGGER_RTT_Conf.h | 428 --- .../config/app_properties_config.h | 65 - .../config/btl_interface_cfg.h | 48 - .../config/btl_interface_cfg_s2c1.h | 281 -- .../config/dmadrv_config.h | 26 - .../config/emlib_core_debug_config.h | 45 - .../config/legacy_common_ash_config.h | 43 - .../config/legacy_hal_config.h | 47 - .../config/nvm3_default_config.h | 45 - .../config/pin_config.h | 125 - .../config/psa_crypto_config.h | 170 - .../sl_custom_manufacturing_token_header.h | 84 - .../config/sl_custom_token_header.h | 86 - .../config/sl_debug_swo_config.h | 106 - .../config/sl_device_init_emu_config.h | 53 - .../config/sl_device_init_hfrco_config.h | 57 - .../config/sl_device_init_hfxo_config.h | 57 - .../config/sl_fem_util_config.h | 95 - .../config/sl_iostream_usart_vcom_config.h | 105 - .../config/sl_iostream_vuart_config.h | 42 - .../config/sl_legacy_hal_wdog_config.h | 88 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../config/sl_power_manager_config.h | 64 - .../config/sl_rail_util_pa_config.h | 81 - .../sl_rail_util_power_manager_init_config.h | 44 - .../config/sl_rail_util_pti_config.h | 66 - .../config/sl_rail_util_rf_path_config.h | 48 - .../config/sl_sleeptimer_config.h | 82 - .../config/sl_token_manager_config.h | 54 - .../config/sl_zigbee_debug_print_config.h | 74 - .../config/sl_zigbee_green_power_config.h | 53 - .../config/sl_zigbee_light_link_config.h | 38 - .../config/sl_zigbee_pro_stack_config.h | 111 - .../sl_zigbee_security_link_keys_config.h | 33 - .../config/sl_zigbee_source_route_config.h | 33 - .../config/zigbee_sleep_config.h | 42 - .../zigbee_watchdog_periodic_refresh_config.h | 34 - src/ncp-uart-hw_MGM210PA32JIA/main.c | 74 - .../ncp-uart-hw_MGM210PA32JIA.pintool | 10 - .../ncp-uart-hw_MGM210PA32JIA.slcp | 73 - .../ncp-uart-hw_MGM210PA32JIA.slps | 17 - src/ncp-uart-hw_MGM210PA32JIA/readme.html | 562 ---- .../sl_zigbee_watchdog_periodic_refresh.c | 59 - src/ncp-uart-hw_MGM240PA32VNN/.cproject | 395 --- src/ncp-uart-hw_MGM240PA32VNN/app.c | 38 - .../config/SEGGER_RTT_Conf.h | 428 --- .../config/app_properties_config.h | 65 - .../config/btl_interface_cfg.h | 48 - .../config/btl_interface_cfg_s2c4.h | 321 -- .../config/dmadrv_config.h | 26 - .../config/emlib_core_debug_config.h | 45 - .../config/legacy_common_ash_config.h | 43 - .../config/legacy_hal_config.h | 47 - .../config/nvm3_default_config.h | 45 - .../config/pin_config.h | 155 - .../config/psa_crypto_config.h | 170 - .../sl_custom_manufacturing_token_header.h | 84 - .../config/sl_custom_token_header.h | 86 - .../config/sl_debug_swo_config.h | 106 - .../config/sl_device_init_dcdc_config.h | 28 - .../config/sl_device_init_emu_config.h | 53 - .../config/sl_device_init_hfxo_config.h | 57 - .../config/sl_fem_util_config.h | 95 - .../config/sl_hfxo_manager_config.h | 56 - .../config/sl_iostream_usart_vcom_config.h | 105 - .../config/sl_iostream_vuart_config.h | 42 - .../config/sl_legacy_hal_wdog_config.h | 88 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../config/sl_power_manager_config.h | 64 - .../config/sl_rail_util_pa_config.h | 81 - .../sl_rail_util_power_manager_init_config.h | 44 - .../config/sl_rail_util_pti_config.h | 66 - .../config/sl_rail_util_sequencer_config.h | 48 - .../config/sl_sleeptimer_config.h | 82 - .../config/sl_token_manager_config.h | 54 - .../config/sl_zigbee_debug_print_config.h | 74 - .../config/sl_zigbee_green_power_config.h | 53 - .../config/sl_zigbee_light_link_config.h | 38 - .../config/sl_zigbee_pro_stack_config.h | 111 - .../sl_zigbee_security_link_keys_config.h | 33 - .../config/sl_zigbee_source_route_config.h | 33 - .../config/zigbee_sleep_config.h | 42 - .../zigbee_watchdog_periodic_refresh_config.h | 34 - src/ncp-uart-hw_MGM240PA32VNN/main.c | 74 - .../ncp-uart-hw_MGM240PA32VNN.pintool | 10 - .../ncp-uart-hw_MGM240PA32VNN.slcp | 73 - .../ncp-uart-hw_MGM240PA32VNN.slps | 17 - src/ncp-uart-hw_MGM240PA32VNN/readme.html | 562 ---- .../sl_zigbee_watchdog_periodic_refresh.c | 59 - src/ncp-uart-hw_MGM240PB32VNN/.cproject | 395 --- src/ncp-uart-hw_MGM240PB32VNN/app.c | 38 - .../config/SEGGER_RTT_Conf.h | 428 --- .../config/app_properties_config.h | 65 - .../config/btl_interface_cfg.h | 48 - .../config/btl_interface_cfg_s2c4.h | 321 -- .../config/dmadrv_config.h | 26 - .../config/emlib_core_debug_config.h | 45 - .../config/legacy_common_ash_config.h | 43 - .../config/legacy_hal_config.h | 47 - .../config/nvm3_default_config.h | 45 - .../config/pin_config.h | 155 - .../config/psa_crypto_config.h | 170 - .../sl_custom_manufacturing_token_header.h | 84 - .../config/sl_custom_token_header.h | 86 - .../config/sl_debug_swo_config.h | 106 - .../config/sl_device_init_dcdc_config.h | 28 - .../config/sl_device_init_emu_config.h | 53 - .../config/sl_device_init_hfxo_config.h | 57 - .../config/sl_fem_util_config.h | 95 - .../config/sl_hfxo_manager_config.h | 56 - .../config/sl_iostream_usart_vcom_config.h | 105 - .../config/sl_iostream_vuart_config.h | 42 - .../config/sl_legacy_hal_wdog_config.h | 88 - .../config/sl_mbedtls_config.h | 118 - .../config/sl_mbedtls_device_config.h | 72 - .../config/sl_memory_config.h | 28 - .../config/sl_power_manager_config.h | 64 - .../config/sl_rail_util_pa_config.h | 81 - .../sl_rail_util_power_manager_init_config.h | 44 - .../config/sl_rail_util_pti_config.h | 66 - .../config/sl_rail_util_sequencer_config.h | 48 - .../config/sl_sleeptimer_config.h | 82 - .../config/sl_token_manager_config.h | 54 - .../config/sl_zigbee_debug_print_config.h | 74 - .../config/sl_zigbee_green_power_config.h | 53 - .../config/sl_zigbee_light_link_config.h | 38 - .../config/sl_zigbee_pro_stack_config.h | 111 - .../sl_zigbee_security_link_keys_config.h | 33 - .../config/sl_zigbee_source_route_config.h | 33 - .../config/zigbee_sleep_config.h | 42 - .../zigbee_watchdog_periodic_refresh_config.h | 34 - src/ncp-uart-hw_MGM240PB32VNN/main.c | 74 - .../ncp-uart-hw_MGM240PB32VNN.pintool | 10 - .../ncp-uart-hw_MGM240PB32VNN.slcp | 73 - .../ncp-uart-hw_MGM240PB32VNN.slps | 17 - src/ncp-uart-hw_MGM240PB32VNN/readme.html | 562 ---- .../sl_zigbee_watchdog_periodic_refresh.c | 59 - 263 files changed, 95 insertions(+), 28316 deletions(-) create mode 100644 manifests/tubeszb/tubeszb-mgm24_bootloader.yaml delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/.cproject delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.pintool delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slcp delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slpb delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slps delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_aes_ctr_stream_block_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_core_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_debug_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_gpio_activation_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_uart_driver_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_xmodem_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/emlib_core_debug_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/pin_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/psa_crypto_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_fault_injection_hardening_cfg.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_device_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_memory_config.h delete mode 100644 src/bootloader-uart-xmodem_MGM240PB32VNN/readme.md delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/.cproject delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/app.c delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/SEGGER_RTT_Conf.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/app_properties_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg_s2c4.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/dmadrv_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/emlib_core_debug_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_common_ash_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_hal_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/nvm3_default_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/pin_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/psa_crypto_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_manufacturing_token_header.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_token_header.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_debug_swo_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_dcdc_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_emu_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_hfxo_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_hfxo_manager_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_usart_vcom_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_vuart_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_legacy_hal_wdog_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_device_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_memory_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_power_manager_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pa_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_power_manager_init_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pti_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_sequencer_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_sleeptimer_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_token_manager_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_debug_print_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_green_power_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_light_link_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_pro_stack_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_security_link_keys_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_source_route_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_sleep_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_watchdog_periodic_refresh_config.h delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/main.c delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.pintool delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slcp delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slps delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/readme.html delete mode 100644 src/ncp-uart-hw_EFR32MG24A420F1536IM48/sl_zigbee_watchdog_periodic_refresh.c delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/.cproject delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/app.c delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/SEGGER_RTT_Conf.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/app_properties_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/btl_interface_cfg.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/dmadrv_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/emlib_core_debug_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_common_ash_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_hal_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/nvm3_default_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/pin_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/psa_crypto_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_manufacturing_token_header.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_token_header.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_debug_swo_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_dcdc_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_emu_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_hfxo_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_lfxo_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_fem_util_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_usart_vcom_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_vuart_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_legacy_hal_wdog_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_device_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_memory_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_power_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pa_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_power_manager_init_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pti_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_sleeptimer_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_token_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_debug_print_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_green_power_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_light_link_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_pro_stack_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_security_link_keys_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_source_route_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_sleep_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_watchdog_periodic_refresh_config.h delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/main.c delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.pintool delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slcp delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slps delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/readme.html delete mode 100644 src/ncp-uart-hw_MGM12P32F1024GE/sl_zigbee_watchdog_periodic_refresh.c delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/.cproject delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/app.c delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/SEGGER_RTT_Conf.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/app_properties_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg_s2c1.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/dmadrv_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/emlib_core_debug_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/legacy_common_ash_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/legacy_hal_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/nvm3_default_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/pin_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/psa_crypto_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_manufacturing_token_header.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_token_header.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_debug_swo_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_emu_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfrco_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfxo_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_fem_util_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_usart_vcom_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_vuart_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_legacy_hal_wdog_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_device_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_memory_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_power_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pa_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_power_manager_init_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pti_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_rf_path_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_sleeptimer_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_token_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_debug_print_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_green_power_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_light_link_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_pro_stack_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_security_link_keys_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_source_route_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_sleep_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_watchdog_periodic_refresh_config.h delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/main.c delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.pintool delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slcp delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slps delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/readme.html delete mode 100644 src/ncp-uart-hw_MGM210PA32JIA/sl_zigbee_watchdog_periodic_refresh.c delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/.cproject delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/app.c delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/SEGGER_RTT_Conf.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/app_properties_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg_s2c4.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/dmadrv_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/emlib_core_debug_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/legacy_common_ash_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/legacy_hal_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/nvm3_default_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/pin_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/psa_crypto_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_manufacturing_token_header.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_token_header.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_debug_swo_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_dcdc_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_emu_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_hfxo_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_fem_util_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_hfxo_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_usart_vcom_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_vuart_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_legacy_hal_wdog_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_device_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_memory_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_power_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pa_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_power_manager_init_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pti_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_sequencer_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_sleeptimer_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_token_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_debug_print_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_green_power_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_light_link_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_pro_stack_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_security_link_keys_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_source_route_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_sleep_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_watchdog_periodic_refresh_config.h delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/main.c delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.pintool delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slcp delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slps delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/readme.html delete mode 100644 src/ncp-uart-hw_MGM240PA32VNN/sl_zigbee_watchdog_periodic_refresh.c delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/.cproject delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/app.c delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/SEGGER_RTT_Conf.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/app_properties_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg_s2c4.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/dmadrv_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/emlib_core_debug_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/legacy_common_ash_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/legacy_hal_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/nvm3_default_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/pin_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/psa_crypto_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_manufacturing_token_header.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_token_header.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_debug_swo_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_dcdc_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_emu_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_hfxo_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_fem_util_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_hfxo_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_usart_vcom_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_vuart_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_legacy_hal_wdog_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_device_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_memory_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_power_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pa_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_power_manager_init_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pti_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_sequencer_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_sleeptimer_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_token_manager_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_debug_print_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_green_power_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_light_link_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_pro_stack_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_security_link_keys_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_source_route_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_sleep_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_watchdog_periodic_refresh_config.h delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/main.c delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.pintool delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slcp delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slps delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/readme.html delete mode 100644 src/ncp-uart-hw_MGM240PB32VNN/sl_zigbee_watchdog_periodic_refresh.c diff --git a/manifests/tubeszb/tubeszb-mgm24-hw-max_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb-mgm24-hw-max_ncp-uart-hw.yaml index e44268de..e06deebb 100644 --- a/manifests/tubeszb/tubeszb-mgm24-hw-max_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb-mgm24-hw-max_ncp-uart-hw.yaml @@ -1,11 +1,12 @@ name: TubesZB MGM24 HW Max Zigbee device: MGM240PA32VNN -base_project: src/ncp-uart-hw_MGM240PA32VNN -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: - fw_type: ncp-uart-hw - dynamic: ["ezsp_version"] + fw_type: zigbee_ncp + ezsp_version: dynamic baudrate: 115200 add_components: @@ -17,11 +18,26 @@ slcp_defines: EMBER_APS_DUPLICATE_REJECTION_MAX_ENTRIES: 255 configuration: + EMBER_CHILD_TABLE_SIZE: 64 SL_RAIL_UTIL_PTI_MODE: RAIL_PTI_MODE_DISABLED # enabled in original fws + + +c_defines: + EMBER_ADDRESS_TABLE_SIZE: 200 + EMBER_APS_UNICAST_MESSAGE_COUNT: 255 + EMBER_BINDING_TABLE_SIZE: 32 + EMBER_BROADCAST_TABLE_SIZE: 64 + EMBER_KEY_TABLE_SIZE: 12 + EMBER_MAX_END_DEVICE_CHILDREN: 64 + EMBER_NEIGHBOR_TABLE_SIZE: 26 + EMBER_PACKET_BUFFER_COUNT: 255 + EMBER_ROUTE_TABLE_SIZE: 254 + EMBER_SOURCE_ROUTE_TABLE_SIZE: 254 + SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200 SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts + SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 128 -c_defines: SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0 SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0 @@ -37,19 +53,4 @@ c_defines: SL_IOSTREAM_USART_VCOM_RTS_PORT: gpioPortA SL_IOSTREAM_USART_VCOM_RTS_PIN: 8 - # SL_APPLICATION_PRODUCT_ID: '{0x74, 0x75, 0x62, 0x65, 0x73, 0x7A, 0x62, 0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x73}' - - SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 128 - - EMBER_MAX_END_DEVICE_CHILDREN: 64 - EMBER_PACKET_BUFFER_COUNT: 255 - EMBER_APS_UNICAST_MESSAGE_COUNT: 255 - EMBER_BROADCAST_TABLE_SIZE: 64 - EMBER_NEIGHBOR_TABLE_SIZE: 26 - EMBER_SOURCE_ROUTE_TABLE_SIZE: 254 - EMBER_ROUTE_TABLE_SIZE: 254 SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES: 255 - EMBER_ADDRESS_TABLE_SIZE: 200 - - - diff --git a/manifests/tubeszb/tubeszb-mgm24-hw_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb-mgm24-hw_ncp-uart-hw.yaml index fc00b269..1a7ca20e 100644 --- a/manifests/tubeszb/tubeszb-mgm24-hw_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb-mgm24-hw_ncp-uart-hw.yaml @@ -1,7 +1,8 @@ name: TubesZB MGM24 HW Zigbee device: MGM240PA32VNN -base_project: src/ncp-uart-hw_MGM240PA32VNN -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: fw_type: ncp-uart-hw diff --git a/manifests/tubeszb/tubeszb-mgm24PB-hw-max_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb-mgm24PB-hw-max_ncp-uart-hw.yaml index 0883f9b3..88bdf7c4 100644 --- a/manifests/tubeszb/tubeszb-mgm24PB-hw-max_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb-mgm24PB-hw-max_ncp-uart-hw.yaml @@ -1,23 +1,43 @@ name: TubesZB MGM24PB HW Max Zigbee device: MGM240PB32VNN -base_project: src/ncp-uart-hw_MGM240PB32VNN -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: - fw_type: ncp-uart-hw - dynamic: ["ezsp_version"] + fw_type: zigbee_ncp + ezsp_version: dynamic baudrate: 115200 add_components: - id: zigbee_mfglib - id: zigbee_token_interface +slcp_defines: + EMBER_ROUTE_TABLE_SIZE: 254 + EMBER_APS_DUPLICATE_REJECTION_MAX_ENTRIES: 255 + configuration: + EMBER_CHILD_TABLE_SIZE: 64 SL_RAIL_UTIL_PTI_MODE: RAIL_PTI_MODE_DISABLED # enabled in original fws + + +c_defines: + EMBER_ADDRESS_TABLE_SIZE: 200 + EMBER_APS_UNICAST_MESSAGE_COUNT: 255 + EMBER_BINDING_TABLE_SIZE: 32 + EMBER_BROADCAST_TABLE_SIZE: 64 + EMBER_KEY_TABLE_SIZE: 12 + EMBER_MAX_END_DEVICE_CHILDREN: 64 + EMBER_NEIGHBOR_TABLE_SIZE: 26 + EMBER_PACKET_BUFFER_COUNT: 255 + EMBER_ROUTE_TABLE_SIZE: 254 + EMBER_SOURCE_ROUTE_TABLE_SIZE: 254 + SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200 SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts + SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 128 -c_defines: SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0 SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0 @@ -33,16 +53,4 @@ c_defines: SL_IOSTREAM_USART_VCOM_RTS_PORT: gpioPortA SL_IOSTREAM_USART_VCOM_RTS_PIN: 8 - # SL_APPLICATION_PRODUCT_ID: '{0x74, 0x75, 0x62, 0x65, 0x73, 0x7A, 0x62, 0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x73}' - - SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 128 - - EMBER_MAX_END_DEVICE_CHILDREN: 64 - EMBER_PACKET_BUFFER_COUNT: 255 - EMBER_APS_UNICAST_MESSAGE_COUNT: 255 - EMBER_BROADCAST_TABLE_SIZE: 64 - EMBER_NEIGHBOR_TABLE_SIZE: 26 - EMBER_SOURCE_ROUTE_TABLE_SIZE: 254 - EMBER_ROUTE_TABLE_SIZE: 254 SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES: 255 - EMBER_ADDRESS_TABLE_SIZE: 200 \ No newline at end of file diff --git a/manifests/tubeszb/tubeszb-mgm24PB-hw_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb-mgm24PB-hw_ncp-uart-hw.yaml index a466f325..95f26f5c 100644 --- a/manifests/tubeszb/tubeszb-mgm24PB-hw_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb-mgm24PB-hw_ncp-uart-hw.yaml @@ -1,7 +1,8 @@ name: TubesZB MGM24PB HW Zigbee device: MGM240PB32VNN -base_project: src/ncp-uart-hw_MGM240PB32VNN -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: fw_type: ncp-uart-hw diff --git a/manifests/tubeszb/tubeszb-mgm24_bootloader.yaml b/manifests/tubeszb/tubeszb-mgm24_bootloader.yaml new file mode 100644 index 00000000..ebfe7b9a --- /dev/null +++ b/manifests/tubeszb/tubeszb-mgm24_bootloader.yaml @@ -0,0 +1,33 @@ +name: Yellow Bootloader +device: MGM240PA32VNN +base_project: src/bootloader +filename: "{manifest_name}_{gecko_bootloader_version}" +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" + +gbl: + fw_type: gecko-bootloader + gecko_bootloader_version: dynamic + baudrate: 115200 + +c_defines: + SL_SERIAL_UART_FLOW_CONTROL: 1 + + SL_SERIAL_UART_PERIPHERAL: USART0 + SL_SERIAL_UART_PERIPHERAL_NO: 0 + + SL_SERIAL_UART_TX_PORT: gpioPortA + SL_SERIAL_UART_TX_PIN: 6 + + SL_SERIAL_UART_RX_PORT: gpioPortA + SL_SERIAL_UART_RX_PIN: 5 + + SL_SERIAL_UART_CTS_PORT: gpioPortA + SL_SERIAL_UART_CTS_PIN: 7 + + SL_SERIAL_UART_RTS_PORT: gpioPortA + SL_SERIAL_UART_RTS_PIN: 8 + + SL_GPIO_ACTIVATION_POLARITY: LOW + SL_BTL_BUTTON_PORT: gpioPortA + SL_BTL_BUTTON_PIN: 0 \ No newline at end of file diff --git a/manifests/tubeszb/tubeszb_MGM240PB_bootloader-uart-xmodem.yaml b/manifests/tubeszb/tubeszb_MGM240PB_bootloader-uart-xmodem.yaml index 04f62b12..8028f70b 100644 --- a/manifests/tubeszb/tubeszb_MGM240PB_bootloader-uart-xmodem.yaml +++ b/manifests/tubeszb/tubeszb_MGM240PB_bootloader-uart-xmodem.yaml @@ -1,11 +1,13 @@ name: Yellow Bootloader device: MGM240PB32VNN -base_project: src/bootloader-uart-xmodem_MGM240PB32VNN +base_project: src/bootloader filename: "{manifest_name}_{gecko_bootloader_version}" +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: fw_type: gecko-bootloader - dynamic: ["gecko_bootloader_version"] + gecko_bootloader_version: dynamic baudrate: 115200 c_defines: diff --git a/manifests/tubeszb/tubeszb_mgm12-2021_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb_mgm12-2021_ncp-uart-hw.yaml index d38239fe..aecf67e8 100644 --- a/manifests/tubeszb/tubeszb_mgm12-2021_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb_mgm12-2021_ncp-uart-hw.yaml @@ -1,7 +1,8 @@ name: TubesZB MGM12 2021 Zigbee device: MGM12P32F1024GE -base_project: src/ncp-uart-hw_MGM12P32F1024GE -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: fw_type: ncp-uart-hw diff --git a/manifests/tubeszb/tubeszb_mgm12-2022_ncp-uart-hw.yaml b/manifests/tubeszb/tubeszb_mgm12-2022_ncp-uart-hw.yaml index 07764ce8..248f2ecb 100644 --- a/manifests/tubeszb/tubeszb_mgm12-2022_ncp-uart-hw.yaml +++ b/manifests/tubeszb/tubeszb_mgm12-2022_ncp-uart-hw.yaml @@ -1,7 +1,8 @@ name: TubesZB MGM12 2022 Zigbee device: MGM12P32F1024GE -base_project: src/ncp-uart-hw_MGM12P32F1024GE -filename: "{manifest_name}_{ezsp_version}" +base_project: src/zigbee_ncp +sdk: "gecko_sdk:4.4.4" +toolchain: "12.2.1.20221205" gbl: fw_type: ncp-uart-hw diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/.cproject b/src/bootloader-uart-xmodem_MGM240PB32VNN/.cproject deleted file mode 100644 index fdb33728..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/.cproject +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.pintool b/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.pintool deleted file mode 100644 index c3a5f2f1..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slcp b/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slcp deleted file mode 100644 index 95614b59..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slcp +++ /dev/null @@ -1,40 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: bootloader-uart-xmodem_MGM240PB32VNN -label: bootloader-uart-xmodem_MGM240PB32VNN -description: | - Standalone Bootloader using XMODEM-CRC over UART. The bootloader shows a menu, where an XMODEM transfer can be started by sending ASCII '1', or the application can be started by sending ASCII '2'. This is the recommended UART bootloader for the EmberZNet and Connect protocol stacks. -category: Example|Bootloader -filter: -- name: Device Type - value: [NCP] -- name: MCU - value: [Bootloader] -- name: Project Difficulty - value: [Advanced] -package: bootloader -quality: production -readme: -- {path: readme.md} -- {path: readme.md} -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: MGM240PB32VNN} -- {id: bootloader_aes_sha_ecdsa} -- {id: bootloader_core} -- {id: bootloader_crc} -- {id: bootloader_debug} -- {id: bootloader_delay_driver} -- {id: bootloader_gpio_activation} -- {id: bootloader_image_parser} -- {id: bootloader_serial_driver} -- {id: bootloader_token_management} -- {id: bootloader_uart_xmodem} -- {id: bootloader_xmodem_parser} -configuration: -- {name: SL_VCOM_ENABLE, value: '1'} -ui_hints: - highlight: - - {path: readme.md, focus: true} -post_build: {path: bootloader-uart-xmodem_MGM240PB32VNN.slpb, profile: bootloader_series_2} - diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slpb b/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slpb deleted file mode 100644 index e3ef90d2..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slpb +++ /dev/null @@ -1,16 +0,0 @@ ---- -parameters: -- name: "build_dir" -constants: -- name: "project_name" - value: "bootloader-uart-xmodem_MGM240PB32VNN" -steps: -- task: "convert" - output: "artifact/{{project_name}}.s37" - export: "bootloader_main_stage" - input: "{{build_dir}}/{{project_name}}.out" -- task: "convert" - output: "artifact/{{project_name}}-crc.s37" - export: "bootloader_binary" - input: "artifact/{{project_name}}.s37" - crc: true diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slps b/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slps deleted file mode 100644 index 9cdbbb30..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/bootloader-uart-xmodem_MGM240PB32VNN.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_aes_ctr_stream_block_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_aes_ctr_stream_block_cfg.h deleted file mode 100644 index 9be7befa..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_aes_ctr_stream_block_cfg.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header for bootloader aes stream block - ******************************************************************************* - * # License - * Copyright 2023 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 BTL_AES_CTR_STREAM_BLOCK_CFG_H -#define BTL_AES_CTR_STREAM_BLOCK_CFG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Enable AES CTR stream block size configuration -// Default: 0 -// Enable AES CTR Stream Block size configuration to change the number of stream blocks that are pre-computed. -#define BOOTLOADER_AES_CTR_STREAM_BLOCK_CFG_ON 0 -// Set the Number of AES CTR Stream Blocks -// Default: 1 -// BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED allows to configure the stream block size that are pre-computed -#define BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED 1 -// - -// <<< end of configuration section >>> - -#if (BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED != 1U) \ - && (BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED != 2U) \ - && (BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED != 4U) \ - && (BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED != 8U) -#error "Recommnded values for BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED value must be 1 or 2 or 4 or 8" -#endif - -#if defined(BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED) -#define SLI_SE_AES_CTR_NUM_BLOCKS_BUFFERED BOOTLOADER_AES_CTR_NUM_BLOCKS_BUFFERED -#endif - -#endif //BTL_AES_CTR_STREAM_BLOCK_CFG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_core_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_core_cfg.h deleted file mode 100644 index e8006b70..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_core_cfg.h +++ /dev/null @@ -1,139 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Core for Series 2 devices - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_CORE_CONFIG_H -#define BTL_CORE_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Core Configuration - -// Require signed firmware upgrade files -// Default: 0 -// Require that firmware upgrade files are authenticated using asymmetric signature verification. -#define BOOTLOADER_ENFORCE_SIGNED_UPGRADE 0 - -// Require encrypted firmware upgrade files -// Default: 0 -// Require that firmware upgrade files are encrypted. -#define BOOTLOADER_ENFORCE_ENCRYPTED_UPGRADE 0 - -// Use symmetric key stored in Secure Element storage -// Default: 0 -// Use the symmetric key stored in Secure Element storage for encryption and decryption. -#define BOOTLOADER_USE_SYMMETRIC_KEY_FROM_SE_STORAGE 0 - -// Use symmetric key stored in Application Properties Struct -// Default: 0 -// Use the symmetric key stored in Application Properties Struct for encryption and decryption. -#define BOOTLOADER_USE_SYMMETRIC_KEY_FROM_APP_PROPERTIES 0 - -// Enable secure boot -// Default: 0 -// Enforce signature verification on the application image in internal flash before every boot. -#define BOOTLOADER_ENFORCE_SECURE_BOOT 0 - -// Prevent write/erase of verified application -// Default: 0 -// Lock the application area in flash after the signature verification is passed. This option is only valid if secure boot is -// enabled. If end address of the signature does not touch a page boundary, the remaining flash memory in the page becomes unavailable. -#define APPLICATION_WRITE_DISABLE 0 - -// Enable application rollback protection -// Default: 0 -// Prevent applications from being downgraded. The application version can remain the same for upgrades. The -// bootloader will only allow applications to increment its version x times. Bootloader can be upgraded thenceforth -// to allow applications to increment its version again. This option is not applicable on the devices with Secure -// Element configured to perform full page lock. -#define BOOTLOADER_ROLLBACK_PROTECTION 0 - -// Minimum application version allowed -// Default: 0 -// The minimum version of the applications allowed for boot and upgrade. Prevent applications from being downgraded -// to the version below this. -#define BOOTLOADER_ROLLBACK_PROTECTION_MINIMUM_VERSION 0 -// - -// Enable certificate support -// Default: 0 -// Enforce signature verification on the application image using the certificate of the bootloader image. -// To utilize certificate secure boot authentication, secure Element should be configured to authenticate -// the bootloader image by configuring (certificate based) secure boot option in Secure Element OTP. This -// option will also allow certificate based authentication of the GBL files. -#define BOOTLOADER_SUPPORT_CERTIFICATES 0 - -// Reject direct signed images -// Default: 0 -// On every boot, look for a certificate on application images and only accept the application images with a certificate. -#define BOOTLOADER_REJECT_DIRECT_SIGNED_IMG 0 -// - -// - -// Allow use of public key from manufacturing token storage -// Default: 1 -// Allow use of the public key from the manufacturing token storage for signature verification if the public key is not stored in Secure Element. -#define BOOTLOADER_FALLBACK_LEGACY_KEY 1 - -// Prevent bootloader write/erase -// Default: 0 -// Write lock bootloader area before entering application. The bootloader area in flash will be locked until the next reboot. -// This does not affect bootloader upgrades, but prevents the application running in main flash from disturbing the bootloader. -// On Series-1 devices this is only applicable to devices that use the bootloader area of flash (EFR32xG12 and later). -#define BOOTLOADER_WRITE_DISABLE 0 - -// APPLICATION_VERIFICATION_SKIP_EM4_RST Skip verification of application on EM4 reset -// Default: 0 -// Skip verification of the application when the device wakes up from EM4 sleep. -#define APPLICATION_VERIFICATION_SKIP_EM4_RST 0 - -// Upgrade SE without using the staging area -// Default: 0 -// Applicable to storage bootloaders only. When enabled, the SE upgrade image will be fetched for installation directly from inside the stored GBL file. -// This requires that the SE upgrade GBL tag is unencrypted. -#define BOOTLOADER_SE_UPGRADE_NO_STAGING 0 - -// Base address of bootloader upgrade image -// Default: 0x8000 -// At the upgrade stage of the bootloader, the running main bootloader extracts the upgrade image from the GBL file, -// and stores it in internal flash at the address chosen. The address need to be a multiple of the page size. -#define BTL_UPGRADE_LOCATION_BASE 0x8000UL - -// Bootloader Version Main Customer -// Default: 0 -// Bootloader Version Main Customer -#define BOOTLOADER_VERSION_MAIN_CUSTOMER 2 - -// Use custom Bootloader Application Size -// Default: 0 -#define USE_CUSTOM_APP_SIZE 0 - -// Enter Bootloader App Space Size -// Default: 0 -// Bootloader App Space Size -#define CUSTOM_BTL_APP_SPACE_SIZE 0 -// - -#if USE_CUSTOM_APP_SIZE -#define BTL_APP_SPACE_SIZE CUSTOM_BTL_APP_SPACE_SIZE -#else -#define BTL_APP_SPACE_SIZE (FLASH_BASE + FLASH_SIZE) - BTL_APPLICATION_BASE -#endif - -// - -// <<< end of configuration section >>> - -#endif // BTL_CORE_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_debug_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_debug_cfg.h deleted file mode 100644 index a80201d5..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_debug_cfg.h +++ /dev/null @@ -1,52 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header for bootloader debug - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_DEBUG_CONFIG_H -#define BTL_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Debug Configuration - -// Debug prints -// Default: 0 -// Print debug messages to SWO. -#ifndef SL_DEBUG_PRINT -/// Print debug message to SWO. -#define SL_DEBUG_PRINT 0 -#endif - -// Debug asserts -// Default: 0 -// Enable assertions in the source code -/// Enable Assert in source code. -#define SL_DEBUG_ASSERT 0 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[GPIO_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL GPIO -#endif - -// [GPIO_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // BTL_DEBUG_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_gpio_activation_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_gpio_activation_cfg.h deleted file mode 100644 index 83b3e6d8..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_gpio_activation_cfg.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header for bootloader GPIO Activation - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_GPIO_ACTIVATION_CONFIG_H -#define BTL_GPIO_ACTIVATION_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Properties of Bootloader Entry - -// Active state -// Low -// High -// Default: LOW -// Enter firmware upgrade mode if GPIO pin has this state -#define SL_GPIO_ACTIVATION_POLARITY LOW - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> - -// SL_BTL_BUTTON - -// $[GPIO_SL_BTL_BUTTON] -#warning "GPIO activation port not configured" -//#define SL_BTL_BUTTON_PORT gpioPortB -//#define SL_BTL_BUTTON_PIN 0 -// [GPIO_SL_BTL_BUTTON]$ - -// <<< sl:end pin_tool >>> - -#endif // BTL_GPIO_ACTIVATION_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_uart_driver_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_uart_driver_cfg.h deleted file mode 100644 index 2d4fcd01..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_uart_driver_cfg.h +++ /dev/null @@ -1,85 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header for bootloader Uart Driver - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_UART_DRIVER_CONFIG_H -#define BTL_UART_DRIVER_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_SERIAL_UART_BAUD_RATE 115200 - -// Hardware flow control -// Default: 0 -#define SL_SERIAL_UART_FLOW_CONTROL 0 -// - -// Receive buffer size -// <0-2048:1> -// Default: 512 [0-2048] -#define SL_DRIVER_UART_RX_BUFFER_SIZE 512 - -// Transmit buffer size -// <0-2048:1> -// Default: 128 [0-2048] -#define SL_DRIVER_UART_TX_BUFFER_SIZE 128 - -// Virtual COM Port -// Default: 0 -#define SL_VCOM_ENABLE 1 -// - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_SERIAL_UART -// $[USART_SL_SERIAL_UART] -#warning "Bootloader UART peripheral not configured" -//#define SL_SERIAL_UART_PERIPHERAL USART1 -//#define SL_SERIAL_UART_PERIPHERAL_NO 1 - -// USART0 TX on PA08 -//#define SL_SERIAL_UART_TX_PORT gpioPortA -//#define SL_SERIAL_UART_TX_PIN 5 - -// USART0 RX on PA01 -//#define SL_SERIAL_UART_RX_PORT gpioPortA -//#define SL_SERIAL_UART_RX_PIN 6 - -// USART0 CTS on PA02 -//#define SL_SERIAL_UART_CTS_PORT gpioPortA -//#define SL_SERIAL_UART_CTS_PIN 8 - -// USART0 RTS on PA03 -//#define SL_SERIAL_UART_RTS_PORT gpioPortA -//#define SL_SERIAL_UART_RTS_PIN 7 -// [USART_SL_SERIAL_UART]$ - -// SL_VCOM_ENABLE - -// $[GPIO_SL_VCOM_ENABLE] -//#define SL_VCOM_ENABLE_PORT gpioPortB -//#define SL_VCOM_ENABLE_PIN 4 -// [GPIO_SL_VCOM_ENABLE]$ - -// <<< sl:end pin_tool >>> - -#endif // BTL_UART_DRIVER_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_xmodem_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_xmodem_config.h deleted file mode 100644 index 847cf2f8..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/btl_xmodem_config.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file btl_xmodem_config.h - * @brief Status Uart Xmodem Functions Configuration - Configuration Template File - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -/********************************************************************************************************* - ********************************************************************************************************* - * MODULE - ******************************************************************************************************** - *******************************************************************************************************/ - -#ifndef BTL_XMODEM_CONFIG_H -#define BTL_XMODEM_CONFIG_H - -// Options: - -/******************************************************************************************************** - ******************************************************************************************************** - * XMODEM UART CONFIGURATION - ********************************************************************************************************* - ********************************************************************************************************/ -// Menu idle timeout (seconds)[0-60] -// <0-60:1> -// Default: 0 -// If the host hasn't initiated communication with the bootloader within this window, -// the bootloader will abort the firmware upgrade process and return to the application. -#define BTL_XMODEM_IDLE_TIMEOUT 0 - - -// - -#endif // End of BTL_XMODEM_CONFIG_H module include. - -// <<< end of configuration section >>> diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/emlib_core_debug_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/pin_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/pin_config.h deleted file mode 100644 index 01726e72..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/pin_config.h +++ /dev/null @@ -1,147 +0,0 @@ -#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.ASYNCH12] -// [PRS.ASYNCH12]$ - -// $[PRS.ASYNCH13] -// [PRS.ASYNCH13]$ - -// $[PRS.ASYNCH14] -// [PRS.ASYNCH14]$ - -// $[PRS.ASYNCH15] -// [PRS.ASYNCH15]$ - -// $[PRS.SYNCH0] -// [PRS.SYNCH0]$ - -// $[PRS.SYNCH1] -// [PRS.SYNCH1]$ - -// $[PRS.SYNCH2] -// [PRS.SYNCH2]$ - -// $[PRS.SYNCH3] -// [PRS.SYNCH3]$ - -// $[GPIO] -// [GPIO]$ - -// $[TIMER0] -// [TIMER0]$ - -// $[TIMER1] -// [TIMER1]$ - -// $[TIMER2] -// [TIMER2]$ - -// $[TIMER3] -// [TIMER3]$ - -// $[TIMER4] -// [TIMER4]$ - -// $[USART0] -// [USART0]$ - -// $[I2C1] -// [I2C1]$ - -// $[EUSART1] -// [EUSART1]$ - -// $[KEYSCAN] -// [KEYSCAN]$ - -// $[LETIMER0] -// [LETIMER0]$ - -// $[IADC0] -// [IADC0]$ - -// $[ACMP0] -// [ACMP0]$ - -// $[ACMP1] -// [ACMP1]$ - -// $[VDAC0] -// [VDAC0]$ - -// $[VDAC1] -// [VDAC1]$ - -// $[PCNT0] -// [PCNT0]$ - -// $[HFXO0] -// [HFXO0]$ - -// $[I2C0] -// [I2C0]$ - -// $[EUSART0] -// [EUSART0]$ - -// $[PTI] -// [PTI]$ - -// $[MODEM] -// [MODEM]$ - -// $[CUSTOM_PIN_NAME] -#ifndef _PORT -#define _PORT gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/psa_crypto_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_fault_injection_hardening_cfg.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_fault_injection_hardening_cfg.h deleted file mode 100644 index 313bb512..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_fault_injection_hardening_cfg.h +++ /dev/null @@ -1,107 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Fault Injection Hardening Library - ******************************************************************************* - * # License - * Copyright 2023 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 FAULT_INJECTION_HARDENING_CFG_H -#define FAULT_INJECTION_HARDENING_CFG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Fault Injection Profile Configuration - -// Enable TFM Fault Injection Hardening Profile -// Default: 0 -// Enforce TFM Fault Injection Hardening Profile ON in the firmware -// TZ bootloader applies the FI hardening to critical bootloader functions. -// TZ Secure Key Library initialisation applies FI hardening to secure that the TZ configuration is securely setup before jumping to the NonSecure application -#define SL_TFM_FIH_PROFILE_ON 0 - -#if defined(SL_TFM_FIH_PROFILE_ON) && (SL_TFM_FIH_PROFILE_ON == 1) -#define TFM_FIH_PROFILE_ON -#endif - -// TFM Fault Injection Hardening Profile as Low. -// Default: 0 -// enabled. Configures the TFM Fault Injection Hardening profile as low. -// Includes FIH_ENABLE_GLOBAL_FAIL (hardens the mitigations against the loop) -// Includes FIH_ENABLE_CFI (Control Flow Integrity) creates a global counter that is -// incremented before every FIH_CALL of vulnerable functions. On the function -// return the counter is decremented, and after the return it is verified that -// the counter has the same value as before this process. -#define SL_TFM_FIH_PROFILE_LOW 0 - -#if defined(SL_TFM_FIH_PROFILE_LOW) && (SL_TFM_FIH_PROFILE_LOW == 1) -#define TFM_FIH_PROFILE_LOW -#endif - -// TFM Fault Injection Hardening Profile as Medium. -// Default: 0 -// enabled. Configures the TFM Fault Injection Hardening profile as medium. -// Includes FIH_ENABLE_DOUBLE_VARS makes critical variables into a tuple (x, x ^ msk). -// Then the correctness of x can be checked by XORing the two tuple values together. -// This also means that comparisons between fih_ints can be verified -// by doing x == y && x_msk == y_msk. -// Includes FIH_ENABLE_GLOBAL_FAIL (hardens the mitigations against the loop) -// Includes FIH_ENABLE_CFI (Control Flow Integrity) creates a global counter that is -// incremented before every FIH_CALL of vulnerable functions. On the function -// return the counter is decremented, and after the return it is verified that -// the counter has the same value as before this process. -#define SL_TFM_FIH_PROFILE_MEDIUM 0 - -#if defined(SL_TFM_FIH_PROFILE_MEDIUM) && (SL_TFM_FIH_PROFILE_MEDIUM == 1) -#define TFM_FIH_PROFILE_MEDIUM -#endif - -// TFM Fault Injection Hardening Profile as High. -// Default: 0 -// enabled. Configures the TFM Fault Injection Hardening profile as high. -// Includes FIH_ENABLE_DELAY causes random delays. This makes it hard to cause faults precisely -// Includes FIH_ENABLE_DOUBLE_VARS makes critical variables into a tuple (x, x ^ msk). -// Then the correctness of x can be checked by XORing the two tuple values together. -// This also means that comparisons between fih_ints can be verified -// by doing x == y && x_msk == y_msk. -// Includes FIH_ENABLE_GLOBAL_FAIL (hardens the mitigations against the loop) -// Includes FIH_ENABLE_CFI (Control Flow Integrity) creates a global counter that is -// incremented before every FIH_CALL of vulnerable functions. On the function -// return the counter is decremented, and after the return it is verified that -// the counter has the same value as before this process. -#define SL_TFM_FIH_PROFILE_HIGH 0 - -#if defined(SL_TFM_FIH_PROFILE_HIGH) && (SL_TFM_FIH_PROFILE_HIGH == 1) -#define TFM_FIH_PROFILE_HIGH -#endif - -// - -// - -// <<< end of configuration section >>> -#if defined(TFM_FIH_PROFILE_ON) - #if (defined(TFM_FIH_PROFILE_LOW) && defined(TFM_FIH_PROFILE_MEDIUM) && defined(TFM_FIH_PROFILE_HIGH)) - #error "Choose either TFM fault injection hardening profile as LOW or Medium or High" - #endif // TFM_FIH_PROFILE_LOW && TFM_FIH_PROFILE_MEDIUM && TFM_FIH_PROFILE_HIGH - - #if (defined(TFM_FIH_PROFILE_LOW) && !defined(TFM_FIH_PROFILE_MEDIUM) && defined(TFM_FIH_PROFILE_HIGH)) - #error "Choose either TFM fault injection hardening profile as LOW or Medium or High" - #endif // TFM_FIH_PROFILE_LOW && !TFM_FIH_PROFILE_MEDIUM && TFM_FIH_PROFILE_HIGH - - #if (defined(TFM_FIH_PROFILE_LOW) && defined(TFM_FIH_PROFILE_MEDIUM) && !defined(TFM_FIH_PROFILE_HIGH)) - #error "Choose either TFM fault injection hardening profile as LOW or Medium or High" - #endif // TFM_FIH_PROFILE_LOW && TFM_FIH_PROFILE_MEDIUM && !TFM_FIH_PROFILE_HIGH - - #if (!defined(TFM_FIH_PROFILE_LOW) && defined(TFM_FIH_PROFILE_MEDIUM) && defined(TFM_FIH_PROFILE_HIGH)) - #error "Choose either TFM fault injection hardening profile as LOW or Medium or High" - #endif // !TFM_FIH_PROFILE_LOW && TFM_FIH_PROFILE_MEDIUM && TFM_FIH_PROFILE_HIGH -#endif // TFM_FIH_PROFILE_ON -#endif // FAULT_INJECTION_HARDENING_CFG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_device_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_memory_config.h b/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/bootloader-uart-xmodem_MGM240PB32VNN/readme.md b/src/bootloader-uart-xmodem_MGM240PB32VNN/readme.md deleted file mode 100644 index d6ed442a..00000000 --- a/src/bootloader-uart-xmodem_MGM240PB32VNN/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# UART XMODEM Bootloader - -Standalone Bootloader using XMODEM-CRC over UART. The bootloader shows a menu, where an XMODEM transfer can be started by sending ASCII '1', or the application can be started by sending ASCII '2'. This is the recommended UART bootloader for the EmberZNet and Connect protocol stacks. diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/.cproject b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/.cproject deleted file mode 100644 index 1e7a9e07..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/.cproject +++ /dev/null @@ -1,2880 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/app.c b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/app.c deleted file mode 100644 index 9e7f24f5..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/app.c +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @file app.c - * @brief Callbacks implementation and application specific code. - ******************************************************************************* - * # License - * Copyright 2021 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 PLATFORM_HEADER -#include "ember.h" - -//---------------------- -// Implemented Callbacks - -/** @brief - * - * Application framework equivalent of ::emberRadioNeedsCalibratingHandler - */ -void emberAfRadioNeedsCalibratingCallback(void) -{ - sl_mac_calibrate_current_channel(); -} - -/** @brief Init - * Application init function - */ -void emberAfMainInitCallback(void) -{ -} diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/SEGGER_RTT_Conf.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/SEGGER_RTT_Conf.h deleted file mode 100644 index df57e166..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/SEGGER_RTT_Conf.h +++ /dev/null @@ -1,428 +0,0 @@ -/********************************************************************* -* SEGGER Microcontroller GmbH * -* The Embedded Experts * -********************************************************************** -* * -* (c) 1995 - 2023 SEGGER Microcontroller GmbH * -* * -* www.segger.com Support: support@segger.com * -* * -********************************************************************** -* * -* SEGGER SystemView * Real-time application analysis * -* * -********************************************************************** -* * -* All rights reserved. * -* * -* SEGGER strongly recommends to not make any changes * -* to or modify the source code of this software in order to stay * -* compatible with the SystemView and RTT protocol, and J-Link. * -* * -* Redistribution and use in source and binary forms, with or * -* without modification, are permitted provided that the following * -* condition is met: * -* * -* o Redistributions of source code must retain the above copyright * -* notice, this condition and the following disclaimer. * -* * -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * -* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * -* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * -* DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR * -* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * -* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * -* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * -* DAMAGE. * -* * -********************************************************************** -* * -* SystemView version: 3.52 * -* * -********************************************************************** ----------------------------END-OF-HEADER------------------------------ -File : SEGGER_RTT_Conf.h -Purpose : Implementation of SEGGER real-time transfer (RTT) which - allows real-time communication on targets which support - debugger memory accesses while the CPU is running. -Revision: $Rev: 24316 $ - -*/ - -#ifndef SEGGER_RTT_CONF_H -#define SEGGER_RTT_CONF_H - -#ifdef __IAR_SYSTEMS_ICC__ - #include -#endif - -/********************************************************************* -* -* Defines, configurable -* -********************************************************************** -*/ - -// -// Take in and set to correct values for Cortex-A systems with CPU cache -// -//#define SEGGER_RTT_CPU_CACHE_LINE_SIZE (32) // Largest cache line size (in bytes) in the current system -//#define SEGGER_RTT_UNCACHED_OFF (0xFB000000) // Address alias where RTT CB and buffers can be accessed uncached -// -// Most common case: -// Up-channel 0: RTT -// Up-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_UP_BUFFERS - #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (3) // Max. number of up-buffers (T->H) available on this target (Default: 3) -#endif -// -// Most common case: -// Down-channel 0: RTT -// Down-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_DOWN_BUFFERS - #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (3) // Max. number of down-buffers (H->T) available on this target (Default: 3) -#endif - -#ifndef BUFFER_SIZE_UP - #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) -#endif - -#ifndef BUFFER_SIZE_DOWN - #define BUFFER_SIZE_DOWN (1024) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) -#endif - -#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE - #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) -#endif - -#ifndef SEGGER_RTT_MODE_DEFAULT - #define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0) -#endif - -/********************************************************************* -* -* RTT memcpy configuration -* -* memcpy() is good for large amounts of data, -* but the overhead is big for small amounts, which are usually stored via RTT. -* With SEGGER_RTT_MEMCPY_USE_BYTELOOP a simple byte loop can be used instead. -* -* SEGGER_RTT_MEMCPY() can be used to replace standard memcpy() in RTT functions. -* This is may be required with memory access restrictions, -* such as on Cortex-A devices with MMU. -*/ -#ifndef SEGGER_RTT_MEMCPY_USE_BYTELOOP - #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 // 0: Use memcpy/SEGGER_RTT_MEMCPY, 1: Use a simple byte-loop -#endif -// -// Example definition of SEGGER_RTT_MEMCPY to external memcpy with GCC toolchains and Cortex-A targets -// -//#if ((defined __SES_ARM) || (defined __CROSSWORKS_ARM) || (defined __GNUC__)) && (defined (__ARM_ARCH_7A__)) -// #define SEGGER_RTT_MEMCPY(pDest, pSrc, NumBytes) SEGGER_memcpy((pDest), (pSrc), (NumBytes)) -//#endif - -// -// Target is not allowed to perform other RTT operations while string still has not been stored completely. -// Otherwise we would probably end up with a mixed string in the buffer. -// If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. -// -// SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. -// Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. -// When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. -// (Higher priority = lower priority number) -// Default value for embOS: 128u -// Default configuration in FreeRTOS: configMAX_SYSCALL_INTERRUPT_PRIORITY: ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) -// In case of doubt mask all interrupts: 1 << (8 - BASEPRI_PRIO_BITS) i.e. 1 << 5 when 3 bits are implemented in NVIC -// or define SEGGER_RTT_LOCK() to completely disable interrupts. -// -#ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) // Interrupt priority to lock on SEGGER_RTT_LOCK on Cortex-M3/4 (Default: 0x20) -#endif - -/********************************************************************* -* -* RTT lock configuration for SEGGER Embedded Studio, -* Rowley CrossStudio and GCC -*/ -#if ((defined(__SES_ARM) || defined(__SES_RISCV) || defined(__CROSSWORKS_ARM) || defined(__GNUC__) || defined(__clang__)) && !defined (__CC_ARM) && !defined(WIN32)) - #if (defined(__ARM_ARCH_6M__) || defined(__ARM_ARCH_8M_BASE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, primask \n\t" \ - "movs r1, #1 \n\t" \ - "msr primask, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr primask, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - #elif (defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_8M_MAIN__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, basepri \n\t" \ - "mov r1, %1 \n\t" \ - "msr basepri, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : "i"(SEGGER_RTT_MAX_INTERRUPT_PRIORITY) \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr basepri, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - - #elif (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #elif defined(__riscv) || defined(__riscv_xlen) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("csrr %0, mstatus \n\t" \ - "csrci mstatus, 8 \n\t" \ - "andi %0, %0, 8 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("csrr a1, mstatus \n\t" \ - "or %0, %0, a1 \n\t" \ - "csrs mstatus, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "a1" \ - ); \ - } - #else - #define SEGGER_RTT_LOCK() - #define SEGGER_RTT_UNLOCK() - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR EWARM -*/ -#ifdef __ICCARM__ - #if (defined (__ARM6M__) && (__CORE__ == __ARM6M__)) || \ - (defined (__ARM8M_BASELINE__) && (__CORE__ == __ARM8M_BASELINE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7EM__) && (__CORE__ == __ARM7EM__)) || \ - (defined (__ARM7M__) && (__CORE__ == __ARM7M__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_BASEPRI(); \ - __set_BASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() __set_BASEPRI(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7A__) && (__CORE__ == __ARM7A__)) || \ - (defined (__ARM7R__) && (__CORE__ == __ARM7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RX -*/ -#ifdef __ICCRX__ - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RL78 -*/ -#ifdef __ICCRL78__ - #define SEGGER_RTT_LOCK() { \ - __istate_t _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for KEIL ARM -*/ -#ifdef __CC_ARM - #if (defined __TARGET_ARCH_6S_M) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char _SEGGER_RTT__PRIMASK __asm( "primask"); \ - _SEGGER_RTT__LockState = _SEGGER_RTT__PRIMASK; \ - _SEGGER_RTT__PRIMASK = 1u; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() _SEGGER_RTT__PRIMASK = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #elif (defined(__TARGET_ARCH_7_M) || defined(__TARGET_ARCH_7E_M)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char BASEPRI __asm( "basepri"); \ - _SEGGER_RTT__LockState = BASEPRI; \ - BASEPRI = SEGGER_RTT_MAX_INTERRUPT_PRIORITY; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() BASEPRI = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for TI ARM -*/ -#ifdef __TI_ARM__ - #if defined (__TI_ARM_V6M0__) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(_SEGGER_RTT__LockState); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for CCRX -*/ -#ifdef __RX - #include - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = get_psw() & 0x010000; \ - clrpsw_i(); - - #define SEGGER_RTT_UNLOCK() set_psw(get_psw() | _SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for embOS Simulation on Windows -* (Can also be used for generic RTT locking with embOS) -*/ -#if defined(WIN32) || defined(SEGGER_RTT_LOCK_EMBOS) - -void OS_SIM_EnterCriticalSection(void); -void OS_SIM_LeaveCriticalSection(void); - -#define SEGGER_RTT_LOCK() { \ - OS_SIM_EnterCriticalSection(); - -#define SEGGER_RTT_UNLOCK() OS_SIM_LeaveCriticalSection(); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration fallback -*/ -#ifndef SEGGER_RTT_LOCK - #define SEGGER_RTT_LOCK() // Lock RTT (nestable) (i.e. disable interrupts) -#endif - -#ifndef SEGGER_RTT_UNLOCK - #define SEGGER_RTT_UNLOCK() // Unlock RTT (nestable) (i.e. enable previous interrupt lock state) -#endif - -#endif -/*************************** End of file ****************************/ diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/app_properties_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/app_properties_config.h deleted file mode 100644 index 6a6b9766..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/app_properties_config.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Application Properties Header File - ******************************************************************************* - * # License - * Copyright 2021 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 APP_PROPERTIES_CONFIG_H -#define APP_PROPERTIES_CONFIG_H - -#include "sl_application_type.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// App Properties settings - -// Type of signature this application is signed with -// Default: APPLICATION_SIGNATURE_NONE(0) -#define SL_APPLICATION_SIGNATURE 0 - -// Location of the signature -// Default: 0xFFFFFFFF -#define SL_APPLICATION_SIGNATURE_LOCATION 0xFFFFFFFF - -// Bitfield representing type of application -#define SL_APPLICATION_TYPE APPLICATION_TYPE - -// Version number for this application -// <0-4294967295:1> -// Default: 1 [0-4294967295] -#define SL_APPLICATION_VERSION 1 - -// Capabilities of this application -// Default: 0 -#define SL_APPLICATION_CAPABILITIES 0 - -//Product ID of the device for which the application is built -#define SL_APPLICATION_PRODUCT_ID { 0 } - -// - -#endif // APP_PROPERTIES_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg.h deleted file mode 100644 index 8e246f80..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_H -#define BTL_INTERFACE_CFG_H - -#if !defined(BOOTLOADER_APPLOADER) - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_1) -#include "btl_interface_cfg_s2c1.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2) -#include "btl_interface_cfg_s2c2.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_3) -#include "btl_interface_cfg_s2c3.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_4) -#include "btl_interface_cfg_s2c4.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_5) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_8) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#endif // !BOOTLOADER_APPLOADER - -#endif // BTL_INTERFACE_CFG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg_s2c4.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg_s2c4.h deleted file mode 100644 index 4c80d86f..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/btl_interface_cfg_s2c4.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_S2C4_H -#define BTL_INTERFACE_CFG_S2C4_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Interface Trust Zone Security State Configuration - -// Disable multi tiered fallback logic -// The fault handling logic as well as the USART auto-detection logic will be disabled. -// The re-configuration of SMU will be handled by querying the running bootloader -// for the peripheral list. Querying the peripheral list is supported from the bootloader -// version 2.0.0. Check for the BOOTLOADER_CAPABILITY_PERIPHERAL_LIST capability to -// see if the running bootloader supports querying the peripheral list. -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 0 - -// Disable peripheral access fault handling -// The fault handling triggered by an erroneous access of peripherals will be disabled. -// -// This should be disabled iff all the peripherals that are in use by the bootloader -// have been properly configured by the "Manually override security state of peripherals" option. -#define BOOTLOADER_DISABLE_NVM3_FAULT_HANDLING 0 - -// Manually override the security state of peripherals in use by the bootloader -// Default: 0. -// Manually override the security state of peripherals. Choose the peripherals touched -// by the customized code to have a valid secure access state before interacting with the bootloader -// In practice, this means that the chosen peripherals will be available at the secure address, -// which is accessible by the bootloader. Once the application is entered back the secure access state -// is changed back to the original state. -// -// The USART auto-detection logic that detects which, if any, USART is in use by the bootloader -// will be disabled. Make sure to choose the correct USART used by the bootloader. -#define BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE 0 -// EMU -// Update secure access state of EMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_EMU 0 - -// CMU -// Update secure access state of CMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_CMU 0 - -// HFRCO0 -// Update secure access state of HFRCO0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_HFRCO0 0 - -// FSRCO -// Update secure access state of FSRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_FSRCO 0 - -// DPLL0 -// Update secure access state of DPLL0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_DPLL0 0 - -// LFXO -// Update secure access state of LFXO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFXO 0 - -// LFRCO -// Update secure access state of LFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFRCO 0 - -// ULFRCO -// Update secure access state of ULFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_ULFRCO 0 - -// MSC -// Update secure access state of MSC before calling into bootloader -#define BOOTLOADER_PPUSATD0_MSC 0 - -// ICACHE0 -// Update secure access state of ICACHE0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_ICACHE0 0 - -// PRS -// Update secure access state of PRS before calling into bootloader -#define BOOTLOADER_PPUSATD0_PRS 0 - -// GPIO -// Update secure access state of GPIO before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPIO 0 - -// LDMA -// Update secure access state of LDMA before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMA 0 - -// LDMAXBAR -// Update secure access state of LDMAXBAR before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMAXBAR 0 - -// TIMER0 -// Update secure access state of TIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER0 0 - -// TIMER1 -// Update secure access state of TIMER1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER1 0 - -// TIMER2 -// Update secure access state of TIMER2 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER2 0 - -// TIMER3 -// Update secure access state of TIMER3 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER3 0 - -// TIMER4 -// Update secure access state of TIMER4 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER4 0 - -// USART0 -// Update secure access state of USART0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART0 0 - -// BURTC -// Update secure access state of BURTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURTC 0 - -// I2C1 -// Update secure access state of I2C1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_I2C1 0 - -// CHIPTESTCTRL -// Update secure access state of CHIPTESTCTRL before calling into bootloader -#define BOOTLOADER_PPUSATD0_CHIPTESTCTRL 0 - -// SYSCFGCFGNS -// Update secure access state of SYSCFGCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFGCFGNS 0 - -// SYSCFG -// Update secure access state of SYSCFG before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFG 0 - -// BURAM -// Update secure access state of BURAM before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURAM 0 - -// GPCRC -// Update secure access state of GPCRC before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPCRC 0 - -// DCDC -// Update secure access state of DCDC before calling into bootloader -#define BOOTLOADER_PPUSATD0_DCDC 0 - -// HOSTMAILBOX -// Update secure access state of HOSTMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD0_HOSTMAILBOX 0 - -// EUSART1 -// Update secure access state of EUSART1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_EUSART1 0 - -// SYSRTC -// Update secure access state of SYSRTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSRTC 0 - -// KEYSCAN -// Update secure access state of KEYSCAN before calling into bootloader -#define BOOTLOADER_PPUSATD1_KEYSCAN 0 - -// DMEM -// Update secure access state of DMEM before calling into bootloader -#define BOOTLOADER_PPUSATD1_DMEM 0 - -// RADIOAES -// Update secure access state of RADIOAES before calling into bootloader -#define BOOTLOADER_PPUSATD1_RADIOAES 0 - -// SMU -// Update secure access state of SMU before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMU 0 - -// SMUCFGNS -// Update secure access state of SMUCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMUCFGNS 0 - -// LETIMER0 -// Update secure access state of LETIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_LETIMER0 0 - -// IADC0 -// Update secure access state of IADC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_IADC0 0 - -// ACMP0 -// Update secure access state of ACMP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP0 0 - -// ACMP1 -// Update secure access state of ACMP1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP1 0 - -// AMUXCP0 -// Update secure access state of AMUXCP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_AMUXCP0 0 - -// VDAC0 -// Update secure access state of VDAC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC0 0 - -// VDAC1 -// Update secure access state of VDAC1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC1 0 - -// PCNT -// Update secure access state of PCNT before calling into bootloader -#define BOOTLOADER_PPUSATD1_PCNT 0 - -// HFRCO1 -// Update secure access state of HFRCO1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFRCO1 0 - -// HFXO0 -// Update secure access state of HFXO0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFXO0 0 - -// I2C0 -// Update secure access state of I2C0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_I2C0 0 - -// WDOG0 -// Update secure access state of WDOG0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG0 0 - -// WDOG1 -// Update secure access state of WDOG1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG1 0 - -// EUSART0 -// Update secure access state of EUSART0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_EUSART0 0 - -// SEMAILBOX -// Update secure access state of SEMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD1_SEMAILBOX 0 - -// MVP -// Update secure access state of MVP before calling into bootloader -#define BOOTLOADER_PPUSATD1_MVP 0 - -// AHBRADIO -// Update secure access state of AHBRADIO before calling into bootloader -#define BOOTLOADER_PPUSATD1_AHBRADIO 0 -// - -// -// <<< end of configuration section >>> - -#if BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE == 1 -#define BOOTLOADER_PPUSATD0_MASK ((BOOTLOADER_PPUSATD0_EMU << _SMU_PPUSATD0_EMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CMU << _SMU_PPUSATD0_CMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HFRCO0 << _SMU_PPUSATD0_HFRCO0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_FSRCO << _SMU_PPUSATD0_FSRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DPLL0 << _SMU_PPUSATD0_DPLL0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFXO << _SMU_PPUSATD0_LFXO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFRCO << _SMU_PPUSATD0_LFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ULFRCO << _SMU_PPUSATD0_ULFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_MSC << _SMU_PPUSATD0_MSC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ICACHE0 << _SMU_PPUSATD0_ICACHE0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_PRS << _SMU_PPUSATD0_PRS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPIO << _SMU_PPUSATD0_GPIO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMA << _SMU_PPUSATD0_LDMA_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMAXBAR << _SMU_PPUSATD0_LDMAXBAR_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER0 << _SMU_PPUSATD0_TIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER1 << _SMU_PPUSATD0_TIMER1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER2 << _SMU_PPUSATD0_TIMER2_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER3 << _SMU_PPUSATD0_TIMER3_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER4 << _SMU_PPUSATD0_TIMER4_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART0 << _SMU_PPUSATD0_USART0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURTC << _SMU_PPUSATD0_BURTC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_I2C1 << _SMU_PPUSATD0_I2C1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CHIPTESTCTRL << _SMU_PPUSATD0_CHIPTESTCTRL_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFGCFGNS << _SMU_PPUSATD0_SYSCFGCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFG << _SMU_PPUSATD0_SYSCFG_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURAM << _SMU_PPUSATD0_BURAM_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPCRC << _SMU_PPUSATD0_GPCRC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DCDC << _SMU_PPUSATD0_DCDC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HOSTMAILBOX << _SMU_PPUSATD0_HOSTMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD0_EUSART1 << _SMU_PPUSATD0_EUSART1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSRTC << _SMU_PPUSATD0_SYSRTC_SHIFT)) -#define BOOTLOADER_PPUSATD1_MASK ((BOOTLOADER_PPUSATD1_KEYSCAN << _SMU_PPUSATD1_KEYSCAN_SHIFT) \ - | (BOOTLOADER_PPUSATD1_DMEM << _SMU_PPUSATD1_DMEM_SHIFT) \ - | (BOOTLOADER_PPUSATD1_RADIOAES << _SMU_PPUSATD1_RADIOAES_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMU << _SMU_PPUSATD1_SMU_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMUCFGNS << _SMU_PPUSATD1_SMUCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD1_LETIMER0 << _SMU_PPUSATD1_LETIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_IADC0 << _SMU_PPUSATD1_IADC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP0 << _SMU_PPUSATD1_ACMP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP1 << _SMU_PPUSATD1_ACMP1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AMUXCP0 << _SMU_PPUSATD1_AMUXCP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC0 << _SMU_PPUSATD1_VDAC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC1 << _SMU_PPUSATD1_VDAC1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_PCNT << _SMU_PPUSATD1_PCNT_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFRCO1 << _SMU_PPUSATD1_HFRCO1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFXO0 << _SMU_PPUSATD1_HFXO0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_I2C0 << _SMU_PPUSATD1_I2C0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG0 << _SMU_PPUSATD1_WDOG0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG1 << _SMU_PPUSATD1_WDOG1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_EUSART0 << _SMU_PPUSATD1_EUSART0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SEMAILBOX << _SMU_PPUSATD1_SEMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD1_MVP << _SMU_PPUSATD1_MVP_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AHBRADIO << _SMU_PPUSATD1_AHBRADIO_SHIFT)) -#endif // BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE - -#endif // BTL_INTERFACE_CFG_S2C4_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/dmadrv_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/dmadrv_config.h deleted file mode 100644 index ed105e4f..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/dmadrv_config.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef DMADRV_CONFIG_H -#define DMADRV_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// DMA interrupt priority <0-15> -// Priority of the DMA interrupt. Smaller number equals higher priority. -// Default: 8 -#define EMDRV_DMADRV_DMA_IRQ_PRIORITY 8 - -// Number of available channels <1-8> -// Number of DMA channels supported by the driver. A lower channel count -// will reduce RAM memory footprint. The default is to support all channels -// on the device. -// Default: 8 -#define EMDRV_DMADRV_DMA_CH_COUNT 8 - -// Number of fixed priority channels -// This will configure channels [0, CH_PRIORITY - 1] as fixed priority, -// and channels [CH_PRIORITY, CH_COUNT] as round-robin. -// Default: 0 -#define EMDRV_DMADRV_DMA_CH_PRIORITY 0 - -// <<< end of configuration section >>> - -#endif // DMADRV_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/emlib_core_debug_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_common_ash_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_common_ash_config.h deleted file mode 100644 index ce1ad5d7..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_common_ash_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy Host ASH configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_NCP_ASH_CONFIG_H -#define LEGACY_NCP_ASH_CONFIG_H - -// The USART used for ASH communications in COM_Port_t format, as defined in platform/service/legacy_hal/inc/serial.h (see defined names for USART ports) <-1..3:1> -// Default: (-1) -// The default value of -1 causes the ASH code to try to use the USART assigned to the "VCOM" instance of SL_IOSTREAM_USART. Otherwise the value is passed to Legacy HAL, which attempts to find an instance of SL_IOSTREAM_USART which uses that USART. -#define LEGACY_NCP_ASH_SERIAL_PORT (-1) - -#endif /* LEGACY_NCP_ASH_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_hal_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_hal_config.h deleted file mode 100644 index e3386e94..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/legacy_hal_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy HAL configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_HAL_CONFIG_H -#define LEGACY_HAL_CONFIG_H - -// Translate button interrupt callback -// When the Simple Button component is included, it provides a callback for -// buttons configured in interrupt mode. When this option is 1, Legacy HAL -// will try to consume that callback and translate it to "halButtonIsr", -// the legacy callback. If anything else in the application consumes the -// Simple button callback, it will override Legacy HAL's version. -// Default: 1 -#define LEGACY_HAL_TRANSLATE_BUTTON_INTERRUPT (1) - -#endif /* LEGACY_HAL_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/nvm3_default_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/nvm3_default_config.h deleted file mode 100644 index 5f127358..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/nvm3_default_config.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef NVM3_DEFAULT_CONFIG_H -#define NVM3_DEFAULT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// NVM3 Default Instance Configuration - -#ifndef NVM3_DEFAULT_CACHE_SIZE -// NVM3 Default Instance Cache Size -// Number of NVM3 objects to cache. To reduce access times this number -// should be equal to or higher than the number of NVM3 objects in the -// default NVM3 instance. -// Default: 200 -#define NVM3_DEFAULT_CACHE_SIZE 200 -#endif - -#ifndef NVM3_DEFAULT_MAX_OBJECT_SIZE -// NVM3 Default Instance Max Object Size -// Max NVM3 object size that can be stored. -// Default: 254 -#define NVM3_DEFAULT_MAX_OBJECT_SIZE 254 -#endif - -#ifndef NVM3_DEFAULT_REPACK_HEADROOM -// NVM3 Default Instance User Repack Headroom -// Headroom determining how many bytes below the forced repack limit the user -// repack limit should be placed. The default is 0, which means the user and -// forced repack limits are equal. -// Default: 0 -#define NVM3_DEFAULT_REPACK_HEADROOM 0 -#endif - -#ifndef NVM3_DEFAULT_NVM_SIZE -// NVM3 Default Instance Size -// Size of the NVM3 storage region in flash. This size should be aligned with -// the flash page size of the device. -// Default: 40960 -#define NVM3_DEFAULT_NVM_SIZE 32768 -#endif - -// - -// <<< end of configuration section >>> - -#endif // NVM3_DEFAULT_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/pin_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/pin_config.h deleted file mode 100644 index 4852473e..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/pin_config.h +++ /dev/null @@ -1,155 +0,0 @@ -#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.ASYNCH12] -// [PRS.ASYNCH12]$ - -// $[PRS.ASYNCH13] -// [PRS.ASYNCH13]$ - -// $[PRS.ASYNCH14] -// [PRS.ASYNCH14]$ - -// $[PRS.ASYNCH15] -// [PRS.ASYNCH15]$ - -// $[PRS.SYNCH0] -// [PRS.SYNCH0]$ - -// $[PRS.SYNCH1] -// [PRS.SYNCH1]$ - -// $[PRS.SYNCH2] -// [PRS.SYNCH2]$ - -// $[PRS.SYNCH3] -// [PRS.SYNCH3]$ - -// $[GPIO] -// GPIO SWV on PA03 -#ifndef GPIO_SWV_PORT -#define GPIO_SWV_PORT gpioPortA -#endif -#ifndef GPIO_SWV_PIN -#define GPIO_SWV_PIN 3 -#endif - -// [GPIO]$ - -// $[TIMER0] -// [TIMER0]$ - -// $[TIMER1] -// [TIMER1]$ - -// $[TIMER2] -// [TIMER2]$ - -// $[TIMER3] -// [TIMER3]$ - -// $[TIMER4] -// [TIMER4]$ - -// $[USART0] -// [USART0]$ - -// $[I2C1] -// [I2C1]$ - -// $[EUSART1] -// [EUSART1]$ - -// $[KEYSCAN] -// [KEYSCAN]$ - -// $[LETIMER0] -// [LETIMER0]$ - -// $[IADC0] -// [IADC0]$ - -// $[ACMP0] -// [ACMP0]$ - -// $[ACMP1] -// [ACMP1]$ - -// $[VDAC0] -// [VDAC0]$ - -// $[VDAC1] -// [VDAC1]$ - -// $[PCNT0] -// [PCNT0]$ - -// $[HFXO0] -// [HFXO0]$ - -// $[I2C0] -// [I2C0]$ - -// $[EUSART0] -// [EUSART0]$ - -// $[PTI] -// [PTI]$ - -// $[MODEM] -// [MODEM]$ - -// $[CUSTOM_PIN_NAME] -#ifndef _PORT -#define _PORT gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/psa_crypto_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_manufacturing_token_header.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_manufacturing_token_header.h deleted file mode 100644 index 08b66580..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_manufacturing_token_header.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom manufacturing token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Manufacturing Token Usage Examples - * - * The macro DEFINE_MFG_TOKEN() should be used when instantiating a - * manufacturing token. Refer to the list of *_LOCATION defines to - * see what memory is allocated and what memory is unused/available. - * - * The _LOCATION is or'ed with either USERDATA_TOKENS or LOCKBITSDATA_TOKENS - * to control which segment of memory the token is placed in. - * - * REMEMBER: By definition, manufacturing tokens exist at fixed addresses. - * Tokens should not overlap. - * - * Here is a basic example of a manufacturing token header file: - * - * Note that the address used here is just an example. It places the 8 bytes - * in the middle of the USERDATA space on an EFR32MG12P433F1024GM68. - * To review addresses of existing tokens when choosing a new address, refer - * to an961-custom-nodes-efr32.pdf and the files - * platform/service/token_manager/inc/sl_token_manufacturing_series_1.h - * platform/service/token_manager/inc/sl_token_manufacturing_series_2.h - * - * @code - * #define CREATOR_MFG_EXAMPLE 0x4242 - * #ifdef DEFINETYPES - * typedef uint8_t tokTypeMfgExample[8]; - * #endif - * #ifdef DEFINETOKENS - * #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - * DEFINE_MFG_TOKEN(MFG_EXAMPLE, - * tokTypeMfgExample, - * MFG_EXAMPLE_LOCATION, - * {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - * #endif - * @endcode - * - * Since this file contains both the typedefs and the token defs, there are - * two \#defines used to select which one is needed when this file is included. - * \#define DEFINETYPES is used to select the type definitions and - * \#define DEFINETOKENS is used to select the token definitions. - * - * To use this example: - * Ensure the Token Manager's configuration in Studio - * has enabled Custom Manufacuturing Tokens. - * - * Ensure your application has: - * #include "sl_token_api.h" - * #include "sl_token_manager.h" - * - * This code will read the token data: - * uint8_t data[8]; - * sl_token_get_data(TOKEN_MFG_EXAMPLE, 0, &data, sizeof(data)); - ******************************************************************************/ - -/* - #define CREATOR_MFG_EXAMPLE 0x4242 - #ifdef DEFINETYPES - typedef uint8_t tokTypeMfgExample[8]; - #endif - #ifdef DEFINETOKENS - #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - DEFINE_MFG_TOKEN(MFG_EXAMPLE, - tokTypeMfgExample, - MFG_EXAMPLE_LOCATION, - {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - #endif - */ diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_token_header.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_token_header.h deleted file mode 100644 index abfe057a..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_custom_token_header.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Tokens Usage Examples - * - * #define BASICTOKEN1_DEFAULT 0xA5F0 - * #define BASICTOKEN2_DEFAULT { { 0xAA, 0xBB, 0xCC }, 0xDDDD } - * #define BASICTOKEN3_DEFAULT { { 0 } } - * #define COUNTERTOKEN1_DEFAULT 0 - * #define COUNTERTOKEN2_DEFAULT 0xCCCCCCCC - * #define INDEXEDTOKEN1_DEFAULT 0 - * #define INDEXEDTOKEN2_DEFAULT { 0xDDDD } - * #define INDEXEDTOKEN3_DEFAULT { 0xAA, 0xBBBB, { 0x00, 0x11, 0x22 }, 0xCC } - * - * #ifdef DEFINETYPES - * typedef uint16_t tokTypeBasicToken1; - * typedef struct { - * uint8_t basicToken2Array[3]; - * uint16_t basicToken2VarA; - * } tokTypeBasicToken2; - * - * typedef struct { - * uint8_t basicToken3Array[254]; - * } tokTypeBasicToken3; - * - * typedef uint32_t tokTypeCounterToken1; - * typedef uint32_t tokTypeCounterToken2; - * - * typedef uint8_t tokTypeIndexedToken1Element; - * typedef uint16_t tokTypeIndexedToken2Element; - * - * typedef struct { - * uint8_t indexedToken3VarA; - * uint16_t indexedToken3VarB; - * uint8_t indexedToken3Array[3]; - * int8_t indexedToken3VarC; - * } tokTypeIndexedToken3Element; - * - * #endif - * - * #ifdef DEFINETOKENS - * DEFINE_BASIC_TOKEN(BASICTOKEN1, - * tokTypeBasicToken1, - * BASICTOKEN1_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN2, - * tokTypeBasicToken2, - * BASICTOKEN2_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN3, - * tokTypeBasicToken3, - * BASICTOKEN3_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN1, - * tokTypeCounterToken1, - * COUNTERTOKEN1_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN2, - * tokTypeCounterToken2, - * COUNTERTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN1, - * tokTypeIndexedToken1Element, - * INDEXEDTOKEN1_ELEMENTS, - * INDEXEDTOKEN1_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN2, - * tokTypeIndexedToken2Element, - * INDEXEDTOKEN2_ELEMENTS, - * INDEXEDTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN3, - * tokTypeIndexedToken3Element, - * INDEXEDTOKEN3_ELEMENTS, - * INDEXEDTOKEN3_DEFAULT) - * #endif - * - ******************************************************************************/ diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_debug_swo_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_debug_swo_config.h deleted file mode 100644 index fee7e65d..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_debug_swo_config.h +++ /dev/null @@ -1,106 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SWO configuration - ******************************************************************************* - * # 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_DEBUG_SWO_CONFIG_H -#define SL_DEBUG_SWO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// SWO Configuration - -// SWO Frequency -// Must be 875 kHz for communication with Silicon Labs debuggers -// Default: 875000 -#define SL_DEBUG_SWO_FREQ 875000 - -// Enable interrupt event trace -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_IRQ 0 - -// Enable Program Counter samples -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_PC 0 - -// SWO debug sample intervals -// <64=> 64 -// <128=> 128 -// <192=> 192 -// <256=> 256 -// <320=> 320 -// <384=> 384 -// <448=> 448 -// <512=> 512 -// <576=> 576 -// <640=> 640 -// <704=> 704 -// <768=> 768 -// <832=> 832 -// <896=> 896 -// <960=> 960 -// <1024=> 1024 -// <2048=> 2048 -// <3072=> 3072 -// <4096=> 4096 -// <5102=> 5102 -// <6144=> 6144 -// <7168=> 7168 -// <8192=> 8192 -// <9216=> 9216 -// <10240=> 10240 -// <11264=> 11264 -// <12288=> 12288 -// <13312=> 13312 -// <14336=> 14336 -// <15360=> 15360 -// Must be 64, 128, 192, [ n * 64 ], 1024, 2048, 3072, [ n * 1024 ] , 15360 -// Default: 15360 -#define SL_DEBUG_SWO_SAMPLE_INTERVAL 15360 -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[GPIO_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL GPIO -#endif - -// GPIO SWV on PA03 -#ifndef SL_DEBUG_SWV_PORT -#define SL_DEBUG_SWV_PORT gpioPortA -#endif -#ifndef SL_DEBUG_SWV_PIN -#define SL_DEBUG_SWV_PIN 3 -#endif -// [GPIO_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // SL_DEBUG_SWO_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_dcdc_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_dcdc_config.h deleted file mode 100644 index 695e68ec..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_dcdc_config.h +++ /dev/null @@ -1,58 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_DCDC Config - ******************************************************************************* - * # 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_DEVICE_INIT_DCDC_CONFIG_H -#define SL_DEVICE_INIT_DCDC_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Enable DC/DC Converter -// -// Default: 1 -#define SL_DEVICE_INIT_DCDC_ENABLE 1 - -// Set DC/DC Converter in Bypass Mode -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_BYPASS 0 - -// Override for DCDC PFMX Mode Peak Current Setting -// -// Default: 1 -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL_OVERRIDE 1 - -// DCDC PFMX Mode Peak Current Setting <0-15> -// -// Default: DCDC_PFMXCTRL_IPKVAL_DEFAULT -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL 9 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_DCDC_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_emu_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_emu_config.h deleted file mode 100644 index 4ac96bac..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_emu_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_hfxo_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_hfxo_config.h deleted file mode 100644 index 78b14ee2..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_device_init_hfxo_config.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFXO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFXO_CONFIG_H -#define SL_DEVICE_INIT_HFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// External sine wave -// Default: cmuHfxoOscMode_Crystal -#define SL_DEVICE_INIT_HFXO_MODE cmuHfxoOscMode_Crystal - -// Frequency <38000000-40000000> -// Default: 39000000 -#define SL_DEVICE_INIT_HFXO_FREQ 39000000 - -// HFXO precision in PPM <0-65535> -// Default: 50 -#define SL_DEVICE_INIT_HFXO_PRECISION 50 - -// CTUNE <0-255> -// Default: 140 -#define SL_DEVICE_INIT_HFXO_CTUNE 140 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFXO_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_hfxo_manager_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_hfxo_manager_config.h deleted file mode 100644 index d9ccd3c7..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_hfxo_manager_config.h +++ /dev/null @@ -1,56 +0,0 @@ -/***************************************************************************//** - * @file - * @brief HFXO Manager 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_HFXO_MANAGER_CONFIG_H -#define SL_HFXO_MANAGER_CONFIG_H - -// HFXO Manager Configuration - -// Enable custom IRQ handler for crystal HF oscillator. -// Enable if HFXO0_IRQHandler is needed from your application. -// The HFXO IRQ priority must not be changed as the HFXO Manager module needs it to be high priority -// and to stay enabled through atomic sections. -// The function sl_hfxo_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER 0 - -// Enable support for Sleepy Crystals. -// If Enabled and if HFXO fails to startup due to a sleepy crystal, HFXO Manager will retry the startup with more aggressive settings -// before falling back to the configured settings. -// Default: 0 -#define SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT 0 - -// - -#endif /* SL_HFXO_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_usart_vcom_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_usart_vcom_config.h deleted file mode 100644 index 7053d4f5..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_usart_vcom_config.h +++ /dev/null @@ -1,105 +0,0 @@ -/***************************************************************************//** - * @file - * @brief IOSTREAM_USART Config. - ******************************************************************************* - * # 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_IOSTREAM_USART_VCOM_CONFIG_H -#define SL_IOSTREAM_USART_VCOM_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_IOSTREAM_USART_VCOM_BAUDRATE 115200 - -// Parity mode to use -// No Parity -// Even parity -// Odd parity -// Default: usartNoParity -#define SL_IOSTREAM_USART_VCOM_PARITY usartNoParity - -// Number of stop bits to use. -// 0.5 stop bits -// 1 stop bits -// 1.5 stop bits -// 2 stop bits -// Default: usartStopbits1 -#define SL_IOSTREAM_USART_VCOM_STOP_BITS usartStopbits1 - -// Flow control -// None -// CTS -// RTS -// CTS/RTS -// Software Flow control (XON/XOFF) -// Default: usartHwFlowControlNone -#define SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE usartHwFlowControlCtsAndRts - -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE 32 - -// Convert \n to \r\n -// It can be changed at runtime using the C API. -// Default: 0 -#define SL_IOSTREAM_USART_VCOM_CONVERT_BY_DEFAULT_LF_TO_CRLF 0 - -// Restrict the energy mode to allow the reception. -// Default: 1 -// Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption. -#define SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION 1 - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_IOSTREAM_USART_VCOM -// $[USART_SL_IOSTREAM_USART_VCOM] -#warning "IO Stream USART peripheral not configured" -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL USART0 -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO 0 - -// #define SL_IOSTREAM_USART_VCOM_TX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_TX_PIN 11 - -// #define SL_IOSTREAM_USART_VCOM_RX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RX_PIN 10 - -// #define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortA -// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12 - -// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8 -// [USART_SL_IOSTREAM_USART_VCOM]$ -// <<< sl:end pin_tool >>> - -#endif diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_vuart_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_vuart_config.h deleted file mode 100644 index 82889008..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_iostream_vuart_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SL_IOSTREAM_VUART 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_IOSTREAM_VUART_CONFIG_H -#define SL_IOSTREAM_VUART_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// VUART settings -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_VUART_RX_BUFFER_SIZE 32 - -// -// <<< end of configuration section >>> -#endif diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_legacy_hal_wdog_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_legacy_hal_wdog_config.h deleted file mode 100644 index 86a5c629..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_legacy_hal_wdog_config.h +++ /dev/null @@ -1,88 +0,0 @@ -/***************************************************************************//** - * @file sl_legacy_hal_wdog_config.h - * @brief Legacy HAL watchdog configuration file. - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_LEGACY_HAL_WDOG_CONFIG_H -#define SL_LEGACY_HAL_WDOG_CONFIG_H - -// Legacy HAL WDOG Configurations - -// Disable calling halInternalEnableWatchDog in base-replacement.c's halInit(). -// Default: 0 -#define SL_LEGACY_HAL_DISABLE_WATCHDOG 0 -// - -// WDOG to use for SL_LEGACY_HAL_WDOGn. -// Default: 0 -// <0=> WDOG0 -// <1=> WDOD1 -#define SL_LEGACY_HAL_WDOGn 0 - -// Period for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogPeriod_64k -// The default period of wdogPeriod_64k will trigger watchdog reset after 2 seconds (64k / 32k) and warning interrupt is triggered after 1.5 seconds (75% of timeout). -// wdogPeriod_9 / 9 clock periods -// wdogPeriod_17 / 17 clock periods -// wdogPeriod_33 / 33 clock periods -// wdogPeriod_65 / 65 clock periods -// wdogPeriod_129 / 129 clock periods -// wdogPeriod_257 / 257 clock periods -// wdogPeriod_513 / 513 clock periods -// wdogPeriod_1k / 1025 clock periods -// wdogPeriod_2k / 2049 clock periods -// wdogPeriod_4k / 4097 clock periods -// wdogPeriod_8k / 8193 clock periods -// wdogPeriod_16k / 16385 clock periods -// wdogPeriod_32k / 32769 clock periods -// wdogPeriod_64k / 65537 clock periods -// wdogPeriod_128k / 131073 clock periods -// wdogPeriod_256k / 262145 clock periods -#define SL_LEGACY_HAL_WDOG_PERIOD wdogPeriod_64k - -// Warning for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogWarnTime75pct -// The default warning of wdogWarnTime75pct will trigger warning interrupt after 1.5 seconds (75% of timeout) if the period is wdogPeriod_64k. -// wdogWarnDisable / Watchdog warning period is disabled -// wdogWarnTime25pct / Watchdog warning period is 25% of the timeout -// wdogWarnTime50pct / Watchdog warning period is 50% of the timeout -// wdogWarnTime75pct / Watchdog warning period is 75% of the timeout -#define SL_LEGACY_HAL_WDOG_WARNING wdogWarnTime75pct - -// Counter keeps running during debug halt. -// Default: 0 -#define SL_LEGACY_HAL_WDOG_DEBUG_RUN 0 -// - -// - -#endif /* SL_LEGACY_HAL_WDOG_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_device_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_memory_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_power_manager_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_power_manager_config.h deleted file mode 100644 index a97fb038..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_power_manager_config.h +++ /dev/null @@ -1,64 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Manager 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_POWER_MANAGER_CONFIG_H -#define SL_POWER_MANAGER_CONFIG_H - -// Power Manager Configuration - -// Enable custom IRQ handler for external HF oscillator. -// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application. -// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0 - -// Enable fast wakeup (disable voltage scaling in EM2/3 mode) -// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us. -// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup() -// Default: 0 -#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0 - -// Enable debugging feature -// Enable or disable debugging features (trace the different modules that have requirements). -// Default: 0 -#define SL_POWER_MANAGER_DEBUG 0 - -// Maximum numbers of requirements that can be logged -// Default: 10 -#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10 -// - -// - -#endif /* SL_POWER_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pa_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pa_config.h deleted file mode 100644 index 9667d438..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pa_config.h +++ /dev/null @@ -1,81 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Amplifier 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PA_CONFIG_H -#define SL_RAIL_UTIL_PA_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PA configuration - -// Initial PA Power (deci-dBm, 100 = 10.0 dBm) -// Default: 100 -#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100 - -// PA Ramp Time (microseconds) -// <0-65535:1> -// Default: 10 -#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10 - -// Milli-volts on PA supply pin (PA_VDD) -// <0-65535:1> -// Default: 3300 -#define SL_RAIL_UTIL_PA_VOLTAGE_MV 3300 - -// 2.4 GHz PA Selection -// Highest Possible -// High Power (chip-specific) -// Low Power -// Disable -// Default: RAIL_TX_POWER_MODE_2P4GIG_HIGHEST -#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HIGHEST - -// Sub-1 GHz PA Selection -// Disable -// Default: RAIL_TX_POWER_MODE_NONE -#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE - -// Header file containing custom PA curves -// Default: "pa_curves_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h" - -// Header file containing PA curve types -// Default: "pa_curve_types_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h" - -// Enable PA Calibration -// Default: 0 -#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 0 - -// -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_PA_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_power_manager_init_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_power_manager_init_config.h deleted file mode 100644 index cbc69f24..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_power_manager_init_config.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief RAIL power manager 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H -#define SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// RAIL power manager configuration - -// Enable RAIL power manager initialization -// Default: 1 -#define SL_RAIL_UTIL_RAIL_POWER_MANAGER_INIT 1 - -// -// <<< end of configuration section >>> -#endif // SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pti_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pti_config.h deleted file mode 100644 index cb485cf6..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_pti_config.h +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Packet Trace Information 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PTI_CONFIG_H -#define SL_RAIL_UTIL_PTI_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PTI Configuration - -// PTI mode -// UART -// UART onewire -// SPI -// Disabled -// Default: RAIL_PTI_MODE_UART -#define SL_RAIL_UTIL_PTI_MODE RAIL_PTI_MODE_DISABLED - -// PTI Baud Rate (Hertz) -// <147800-20000000:1> -// Default: 1600000 -#define SL_RAIL_UTIL_PTI_BAUD_RATE_HZ 1600000 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_RAIL_UTIL_PTI -// $[PTI_SL_RAIL_UTIL_PTI] -#ifndef SL_RAIL_UTIL_PTI_PERIPHERAL -#define SL_RAIL_UTIL_PTI_PERIPHERAL PTI -#endif - -// [PTI_SL_RAIL_UTIL_PTI]$ - -// <<< sl:end pin_tool >>> - -#endif // SL_RAIL_UTIL_PTI_CONFIG_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_sequencer_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_sequencer_config.h deleted file mode 100644 index 8bf6f367..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_rail_util_sequencer_config.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief - ******************************************************************************* - * # 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_RAIL_UTIL_SEQUENCER_H -#define SL_RAIL_UTIL_SEQUENCER_H - -#include "rail.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define SL_RAIL_UTIL_SEQUENCER_RUNTIME_IMAGE_SELECTION 0 - -#define SL_RAIL_UTIL_SEQUENCER_IMAGE RAIL_SEQ_IMAGE_PA_20_DBM - -#ifdef __cplusplus -} -#endif - -#endif // SL_RAIL_UTIL_SEQUENCER_H diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_sleeptimer_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_sleeptimer_config.h deleted file mode 100644 index 8344ef5f..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_sleeptimer_config.h +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_token_manager_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_token_manager_config.h deleted file mode 100644 index d99e78e0..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_token_manager_config.h +++ /dev/null @@ -1,54 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Token Manager Configurations - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_TOKEN_MANAGER_CONFIG_H -#define SL_TOKEN_MANAGER_CONFIG_H - -// TOKEN MANAGER Configurations - -// Enable Custom Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_TOKENS_PRESENT 0 - -// File containing custom tokens -// Default: "sl_custom_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_TOKEN_HEADER "sl_custom_token_header.h" - -// - -// Enable Custom Manufacturing Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT 0 - -// File containing custom manufacturing tokens -// Default: "sl_custom_manufacturing_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER "sl_custom_manufacturing_token_header.h" - -// -// - -#if (SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT) -#define APPLICATION_MFG_TOKEN_HEADER SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER -#endif // SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT - -#endif // SL_TOKEN_MANAGER_CONFIG_H - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_debug_print_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_debug_print_config.h deleted file mode 100644 index 9c901f40..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_debug_print_config.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Debug Print component configuration header. - * - ******************************************************************************* - * # License - * Copyright 2019 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// ZigBee Debug Print configuration - -// Stack group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_ENABLED (1) - -// Stack group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT (1) - -// Core group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_ENABLED (1) - -// Core group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_APP_GROUP_ENABLED (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_ENABLED (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT (1) - -// Legacy App Framework Debug group enabled -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_ENABLED (0) - -// Legacy App Framework Debug runtime default -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_RUNTIME_DEFAULT (0) - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_green_power_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_green_power_config.h deleted file mode 100644 index 3d62c926..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_green_power_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Green Power component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Green Power Library configuration - -// Green Power Proxy Table Size <1-126> -// Default: 5 -// The maximum number of Green Power proxy table entries supported by the stack. -#define EMBER_GP_PROXY_TABLE_SIZE 5 - -// Green Power Sink Table Size <0-126> -// Default: 0 -// The maximum number of Green Power sink table entries supported by the stack. -#define EMBER_GP_SINK_TABLE_SIZE 0 - -// Green Power incoming FC (as part of proxy table) Token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of proxy table) table token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_PROXY_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_TOKEN_TABLE_SIZE 0 - -// Green Power incoming FC (as part of sink table) token table token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of sink table)Token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_SINK_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TABLE_SIZE 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_light_link_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_light_link_config.h deleted file mode 100644 index 7be64b76..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_light_link_config.h +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Light Link component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee ZigBee Light Link Library configuration - -// Group addresses <0-255> -// Default: 0 -// The number of unique group identifiers that this device requires. -#define EMBER_ZLL_GROUP_ADDRESSES 0 - -// RSSI threshold <-128..127:1> -// Default: -40 -// The RSSI threshold applied to incoming scan requests. The stack will ignore scan requests with corrected RSSI values less than this threshold. -#define EMBER_ZLL_RSSI_THRESHOLD -40 - -// Apply RSSI threshold to all interpan messages -// Default: FALSE -// True if the RSSI threshold is to be applied to all incoming touchlink interpan messages. This is not required by the Zigbee 3.0 specifications, but may be useful for testing in a busy environment. -#define EMBER_ZLL_APPLY_THRESHOLD_TO_ALL_INTERPANS 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_pro_stack_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_pro_stack_config.h deleted file mode 100644 index 0d1f068c..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_pro_stack_config.h +++ /dev/null @@ -1,111 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee PRO Full Stack component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee PRO Stack Library configuration - -// Child Table Size <0-64> -// Default: 6 -// The maximum number of ZigBee PRO End Devices that can be supported by a single device. -#define EMBER_MAX_END_DEVICE_CHILDREN 32 - -// Packet Buffer Count <20-255> -// Default: 75 -// The maximum number of packet buffers supported by the system. This is limited by the amount of available RAM. -#define EMBER_PACKET_BUFFER_COUNT 255 - -// End Device keep alive support mode -// End Device keep alive support mode -// MAC Data Poll Keep Alive -// End Device Timeout Keep Alive -// Keep Alive Support All -// Default: EMBER_KEEP_ALIVE_SUPPORT_ALL -// End Device keep alive support mode on the coordinator/router could be set here. -#define EMBER_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE EMBER_KEEP_ALIVE_SUPPORT_ALL - -// End Device Poll Timeout Value -// End Device Poll Timeout Value -// Seconds-10 -// Minutes-2 -// Minutes-4 -// Minutes-8 -// Minutes-16 -// Minutes-32 -// Minutes-64 -// Minutes-128 -// Minutes-256 -// Minutes-512 -// Minutes-1024 -// Minutes-2048 -// Minutes-4096 -// Minutes-8192 -// Minutes-16384 -// Default: MINUTES_256 -// The amount of time that must pass without hearing a MAC data poll from the device before the end device is removed from the child table. For a router device this applies to its children. For an end device, this is the amount of time before it automatically times itself out. -#define EMBER_END_DEVICE_POLL_TIMEOUT MINUTES_256 - -// Link Power Delta Request Interval <1-65535> -// Default: 300 -// The amount of time in seconds that pass between link power delta requests. -#define EMBER_LINK_POWER_DELTA_INTERVAL 300 - -// APS Unicast Message Queue Size <1-255> -// Default: 10 -// The maximum number of APS unicast messages that can be queued up by the stack. A message is considered queued when emberSendUnicast() is called and is de-queued when the emberMessageSentHandler() is called. -#define EMBER_APS_UNICAST_MESSAGE_COUNT 10 - -// APS unicast Message Duplicate Rejection table Size <1-255> -// Default: 5 -// The maximum number of APS unicast messages that can be stored in the stack, to reject duplicate processing/forwarding of APS messages. -// Size of 1 is basically the same thing as no duplicate rejection -#define SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES 5 - -// Broadcast Table Size <15-254> -// Default: 15 -// The size of the broadcast table. -#define EMBER_BROADCAST_TABLE_SIZE 15 - -// Neighbor Table Size -// Neighbor Table Size -// <16=> 16 -// <26=> 26 -// Default: 16 -// The size of the neighbor table. -#define EMBER_NEIGHBOR_TABLE_SIZE 16 - -// Transient key timeout (in seconds) <0-65535> -// Default: 300 -// The amount of time a device will store a transient link key that can be used to join a network. -#define EMBER_TRANSIENT_KEY_TIMEOUT_S 300 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_BINDING_TABLE_SIZE 32 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_ADDRESS_TABLE_SIZE 16 - -// Route Table Size <1-255> -// Default: 3 -// The number of entries that the Route table can hold. -#define EMBER_ROUTE_TABLE_SIZE 16 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_security_link_keys_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_security_link_keys_config.h deleted file mode 100644 index 9a0c8488..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_security_link_keys_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Security Link Keys component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Security Link Keys Library configuration - -// Link Key Table Size <1-127> -// Default: 6 -// The maximum number of link key table entries supported by the stack. -#define EMBER_KEY_TABLE_SIZE 12 - -// Request Key Timeout <0-10> -// Default: 0 -// The length of time that a node will wait for a trust center to answer its Application Link Key request. -#define EMBER_REQUEST_KEY_TIMEOUT 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_source_route_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_source_route_config.h deleted file mode 100644 index 41b5e4bb..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/sl_zigbee_source_route_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Source Route component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Source Route Library configuration - -// Source route table Size (SoC or NCP) <2-255> -// Default: 7 -// The size of the source route table for storing source routes on the SOC or NCP. -#define EMBER_SOURCE_ROUTE_TABLE_SIZE 7 - -// Max source route relay counts <11-40> -// Default: 11 -// Max source route hops accepted or/and inserted in the source route table/header. -#define EMBER_MAX_SOURCE_ROUTE_RELAY_COUNT 11 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_sleep_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_sleep_config.h deleted file mode 100644 index fa4efd14..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_sleep_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Application Framework common component configuration header. - *\n******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Sleep configuration - -// Minimum Sleep Duration <5-1000> -// Default: 5 -// The minimum duration in milliseconds that the application will attempt to sleep for. If the sleep duration would be less than this amount, the application will not sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_MINIMUM_SLEEP_DURATION_MS 5 - -// Sleep Backoff time <0-10000> -// Default: 0 -// This setting will keep a device from going back to sleep immediately upon waking up -#define SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS 0 - -// Stay awake when NOT joined -// Default: TRUE -// This will force a device to stay awake even when not joined to the network. This is often used for debugging and is not recommended for production devices since it cause the device to consume battery power even when not joined to a ZigBee network. -#define SL_ZIGBEE_APP_FRAMEWORK_STAY_AWAKE_WHEN_NOT_JOINED 1 - -// Use button to force wakeup or allow sleep -// Default: FALSE -// This will setup the hardware buttons to wake-up or allow the device to go to sleep. Button 0 will force the device to wake up and stay awake. Button 1 will turn off this behavior to allow the device to sleep normally. Please note that in order for this option to be fully functional, button 0 and button 1 have to be configured to wake the device from sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_USE_BUTTON_TO_STAY_AWAKE 0 -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_watchdog_periodic_refresh_config.h b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_watchdog_periodic_refresh_config.h deleted file mode 100644 index e317fedb..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/config/zigbee_watchdog_periodic_refresh_config.h +++ /dev/null @@ -1,34 +0,0 @@ -/***************************************************************************//** - * @brief Sample watchdog refresh event component configuration header. - ******************************************************************************** - * # License - * Copyright 2022 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Watchdog reset component configuration - -// Enable periodic watchdog refresh -// Default: TRUE -// This allows for enabling or disabling periodic watchdog refresh -#define SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE 1 - -// Watchdog refresh duration <50-5000> -// Default: 1000 -// Defines the periodic interval at which the watchdog timer is reset in the application -#define SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS 1000 - -// -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/main.c b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/main.c deleted file mode 100644 index 996b1e0b..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/main.c +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @file main.c - * @brief main() function. - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -#ifdef SL_COMPONENT_CATALOG_PRESENT -#include "sl_component_catalog.h" -#endif -#include "sl_system_init.h" -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) -#include "sl_power_manager.h" -#endif -#if defined(SL_CATALOG_KERNEL_PRESENT) -#include "sl_system_kernel.h" -#else -#include "sl_system_process_action.h" -#endif // SL_CATALOG_KERNEL_PRESENT - -#ifdef EMBER_TEST -#define main nodeMain -#endif - -void app_init(void) -{ -} - -void app_process_action(void) -{ -} - -int main(void) -{ - // Initialize Silicon Labs device, system, service(s) and protocol stack(s). - // Note that if the kernel is present, processing task(s) will be created by - // this call. - sl_system_init(); - - // Initialize the application. For example, create periodic timer(s) or - // task(s) if the kernel is present. - app_init(); - -#if defined(SL_CATALOG_KERNEL_PRESENT) - // Start the kernel. Task(s) created in app_init() will start running. - sl_system_kernel_start(); -#else // SL_CATALOG_KERNEL_PRESENT - while (1) { - // Do not remove this call: Silicon Labs components process action routine - // must be called from the super loop. - sl_system_process_action(); - - // Application process. - app_process_action(); - - // Let the CPU go to sleep if the system allow it. -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) - sl_power_manager_sleep(); -#endif // SL_CATALOG_POWER_MANAGER_PRESENT - } -#endif // SL_CATALOG_KERNEL_PRESENT - - return 0; -} diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.pintool b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.pintool deleted file mode 100644 index 3003201c..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slcp b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slcp deleted file mode 100644 index 0341215f..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slcp +++ /dev/null @@ -1,73 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: ncp-uart-hw_EFR32MG24A420F1536IM48 -label: ncp-uart-hw_EFR32MG24A420F1536IM48 -author: Silicon Laboratories, Inc. -description: This network coprocessor (NCP) application supports communication with - a host application over a UART interface with hardware flow control. This NCP application - can be built as configured, or optionally can be augmented with customized extensions - for initialization, main loop processing, event definition/handling, and messaging - with the host. To create a ECC-enabled application for the Smart Energy Profile, - please download and extract the 'EmberZnet-Smart-Energy.zip' side-package over your - installed SDK and add, depending on use-case, one of two new components ('CBKE 163k1'; - 'CBKE 283k1') to your application. -category: Zigbee Application -filter: -- name: Device Type - value: [NCP] -- name: Project Difficulty - value: [Advanced] -- name: Wireless Technology - value: [Zigbee] -package: Zigbee -quality: production -readme: -- {path: readme.html} -- {path: readme.html} -source: -- {path: main.c} -- {path: app.c} -tag: [prebuilt_demo] -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: EFR32MG24A420F1536IM48} -- instance: [vcom] - id: iostream_usart -- {id: iostream_vuart} -- {id: token_manager} -- {id: zigbee_app_framework_common} -- {id: zigbee_debug_basic} -- {id: zigbee_debug_extended} -- {id: zigbee_debug_print} -- {id: zigbee_gp} -- {id: zigbee_ncp_uart_hardware} -- {id: zigbee_pro_stack} -- {id: zigbee_r22_support} -- {id: zigbee_security_link_keys} -- {id: zigbee_source_route} -- {id: zigbee_zll} -define: -- {name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE, value: '15'} -configuration: -- {name: SL_BOARD_ENABLE_VCOM, value: '1'} -- {name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE, value: usartHwFlowControlCtsAndRts} -- {name: SL_CLI_MAX_INPUT_ARGUMENTS, value: '16'} -- {name: EMBER_BINDING_TABLE_SIZE, value: '32'} -- {name: EMBER_MAX_END_DEVICE_CHILDREN, value: '32'} -- {name: EMBER_PACKET_BUFFER_COUNT, value: '255'} -- {name: EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE, value: '32'} -- {name: EMBER_KEY_TABLE_SIZE, value: '12'} -- {name: SL_CLI_EXAMPLE_IOSTREAM_HANDLE, value: sl_iostream_vuart_handle} -- condition: [device_series_1] - name: NVM3_DEFAULT_NVM_SIZE - value: '36864' -- condition: [device_series_2] - name: NVM3_DEFAULT_NVM_SIZE - value: '32768' -- {name: SL_PSA_ITS_SUPPORT_V1_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V2_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V3_DRIVER, value: '1'} -ui_hints: - highlight: - - {path: readme.html} - diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slps b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slps deleted file mode 100644 index 576c7cd1..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/ncp-uart-hw_EFR32MG24A420F1536IM48.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/readme.html b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/readme.html deleted file mode 100644 index 055d0cfc..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/readme.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - -readme - - -

NCP UART Application

-

This network coprocessor (NCP) application supports communication with a host application over a UART interface with hardware flow control. This NCP application can be built as configured, or optionally can be augmented with customizations for target hardware, initialization, main loop processing, event definition/handling, and messaging with the host. - -As configured, this NCP UART application is the basis for building the corresponding binary ncp-uart images delivered with the Silicon Labs Zigbee stack. - -Due to thread safety concerns with EZSP, this application cannot include an RTOS unless CPC (Co-Processor Communication) components are also added. - -Refer to the Silicon Labs Zigbee documentation for more information about NCP customization. -

-
- - \ No newline at end of file diff --git a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/sl_zigbee_watchdog_periodic_refresh.c b/src/ncp-uart-hw_EFR32MG24A420F1536IM48/sl_zigbee_watchdog_periodic_refresh.c deleted file mode 100644 index e3251c3c..00000000 --- a/src/ncp-uart-hw_EFR32MG24A420F1536IM48/sl_zigbee_watchdog_periodic_refresh.c +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Sample watchdog refresh event implementation and related configuration - ******************************************************************************* - * # License - * Copyright 2022 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 PLATFORM_HEADER -#include "hal.h" -#include "ember.h" -#include "zigbee_app_framework_event.h" -#include "zigbee_app_framework_common.h" -#include "zigbee_watchdog_periodic_refresh_config.h" - -#if (SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) - -static sl_zigbee_event_t watchdog_refresh_event; -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event); - -// Initialization of watchdog refresh event -void sli_zigbee_watchdog_refresh_handler_init(uint8_t init_level) -{ - switch (init_level) { - case SL_ZIGBEE_INIT_LEVEL_EVENT: - { - sl_zigbee_event_init(&watchdog_refresh_event, watchdog_refresh_event_handler); - sl_zigbee_event_set_active(&watchdog_refresh_event); - break; - } - default: - break; - } -} - -// In RTOS-based applications, the Zigbee task refreshes the watchdog. -// However, when the node is not on a network the Zigbee task does not run. -// Therefore, there needs to be a way to ensure that the watchdog does not fire -// and reset the node unnecessarily. Below we provide an example of an application -// event that periodically resets the watchdog. -// Note, such a periodic event gets the node out of EM1/EM2 low power modes, -// which may result in unnecessary energy consumption. -// The application should ultimately own the refreshing of the watchdog and tailor -// it based on the specific use case. -// In the bare-metal case, this is done in the zigbee stack and app framework ticks -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event) -{ - halResetWatchdog(); - sl_zigbee_event_set_delay_ms(&watchdog_refresh_event, SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS); -} -#endif //(SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/.cproject b/src/ncp-uart-hw_MGM12P32F1024GE/.cproject deleted file mode 100644 index 4e654512..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/.cproject +++ /dev/null @@ -1,2756 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/app.c b/src/ncp-uart-hw_MGM12P32F1024GE/app.c deleted file mode 100644 index 9e7f24f5..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/app.c +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @file app.c - * @brief Callbacks implementation and application specific code. - ******************************************************************************* - * # License - * Copyright 2021 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 PLATFORM_HEADER -#include "ember.h" - -//---------------------- -// Implemented Callbacks - -/** @brief - * - * Application framework equivalent of ::emberRadioNeedsCalibratingHandler - */ -void emberAfRadioNeedsCalibratingCallback(void) -{ - sl_mac_calibrate_current_channel(); -} - -/** @brief Init - * Application init function - */ -void emberAfMainInitCallback(void) -{ -} diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/SEGGER_RTT_Conf.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/SEGGER_RTT_Conf.h deleted file mode 100644 index df57e166..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/SEGGER_RTT_Conf.h +++ /dev/null @@ -1,428 +0,0 @@ -/********************************************************************* -* SEGGER Microcontroller GmbH * -* The Embedded Experts * -********************************************************************** -* * -* (c) 1995 - 2023 SEGGER Microcontroller GmbH * -* * -* www.segger.com Support: support@segger.com * -* * -********************************************************************** -* * -* SEGGER SystemView * Real-time application analysis * -* * -********************************************************************** -* * -* All rights reserved. * -* * -* SEGGER strongly recommends to not make any changes * -* to or modify the source code of this software in order to stay * -* compatible with the SystemView and RTT protocol, and J-Link. * -* * -* Redistribution and use in source and binary forms, with or * -* without modification, are permitted provided that the following * -* condition is met: * -* * -* o Redistributions of source code must retain the above copyright * -* notice, this condition and the following disclaimer. * -* * -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * -* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * -* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * -* DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR * -* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * -* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * -* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * -* DAMAGE. * -* * -********************************************************************** -* * -* SystemView version: 3.52 * -* * -********************************************************************** ----------------------------END-OF-HEADER------------------------------ -File : SEGGER_RTT_Conf.h -Purpose : Implementation of SEGGER real-time transfer (RTT) which - allows real-time communication on targets which support - debugger memory accesses while the CPU is running. -Revision: $Rev: 24316 $ - -*/ - -#ifndef SEGGER_RTT_CONF_H -#define SEGGER_RTT_CONF_H - -#ifdef __IAR_SYSTEMS_ICC__ - #include -#endif - -/********************************************************************* -* -* Defines, configurable -* -********************************************************************** -*/ - -// -// Take in and set to correct values for Cortex-A systems with CPU cache -// -//#define SEGGER_RTT_CPU_CACHE_LINE_SIZE (32) // Largest cache line size (in bytes) in the current system -//#define SEGGER_RTT_UNCACHED_OFF (0xFB000000) // Address alias where RTT CB and buffers can be accessed uncached -// -// Most common case: -// Up-channel 0: RTT -// Up-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_UP_BUFFERS - #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (3) // Max. number of up-buffers (T->H) available on this target (Default: 3) -#endif -// -// Most common case: -// Down-channel 0: RTT -// Down-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_DOWN_BUFFERS - #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (3) // Max. number of down-buffers (H->T) available on this target (Default: 3) -#endif - -#ifndef BUFFER_SIZE_UP - #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) -#endif - -#ifndef BUFFER_SIZE_DOWN - #define BUFFER_SIZE_DOWN (1024) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) -#endif - -#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE - #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) -#endif - -#ifndef SEGGER_RTT_MODE_DEFAULT - #define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0) -#endif - -/********************************************************************* -* -* RTT memcpy configuration -* -* memcpy() is good for large amounts of data, -* but the overhead is big for small amounts, which are usually stored via RTT. -* With SEGGER_RTT_MEMCPY_USE_BYTELOOP a simple byte loop can be used instead. -* -* SEGGER_RTT_MEMCPY() can be used to replace standard memcpy() in RTT functions. -* This is may be required with memory access restrictions, -* such as on Cortex-A devices with MMU. -*/ -#ifndef SEGGER_RTT_MEMCPY_USE_BYTELOOP - #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 // 0: Use memcpy/SEGGER_RTT_MEMCPY, 1: Use a simple byte-loop -#endif -// -// Example definition of SEGGER_RTT_MEMCPY to external memcpy with GCC toolchains and Cortex-A targets -// -//#if ((defined __SES_ARM) || (defined __CROSSWORKS_ARM) || (defined __GNUC__)) && (defined (__ARM_ARCH_7A__)) -// #define SEGGER_RTT_MEMCPY(pDest, pSrc, NumBytes) SEGGER_memcpy((pDest), (pSrc), (NumBytes)) -//#endif - -// -// Target is not allowed to perform other RTT operations while string still has not been stored completely. -// Otherwise we would probably end up with a mixed string in the buffer. -// If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. -// -// SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. -// Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. -// When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. -// (Higher priority = lower priority number) -// Default value for embOS: 128u -// Default configuration in FreeRTOS: configMAX_SYSCALL_INTERRUPT_PRIORITY: ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) -// In case of doubt mask all interrupts: 1 << (8 - BASEPRI_PRIO_BITS) i.e. 1 << 5 when 3 bits are implemented in NVIC -// or define SEGGER_RTT_LOCK() to completely disable interrupts. -// -#ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) // Interrupt priority to lock on SEGGER_RTT_LOCK on Cortex-M3/4 (Default: 0x20) -#endif - -/********************************************************************* -* -* RTT lock configuration for SEGGER Embedded Studio, -* Rowley CrossStudio and GCC -*/ -#if ((defined(__SES_ARM) || defined(__SES_RISCV) || defined(__CROSSWORKS_ARM) || defined(__GNUC__) || defined(__clang__)) && !defined (__CC_ARM) && !defined(WIN32)) - #if (defined(__ARM_ARCH_6M__) || defined(__ARM_ARCH_8M_BASE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, primask \n\t" \ - "movs r1, #1 \n\t" \ - "msr primask, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr primask, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - #elif (defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_8M_MAIN__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, basepri \n\t" \ - "mov r1, %1 \n\t" \ - "msr basepri, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : "i"(SEGGER_RTT_MAX_INTERRUPT_PRIORITY) \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr basepri, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - - #elif (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #elif defined(__riscv) || defined(__riscv_xlen) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("csrr %0, mstatus \n\t" \ - "csrci mstatus, 8 \n\t" \ - "andi %0, %0, 8 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("csrr a1, mstatus \n\t" \ - "or %0, %0, a1 \n\t" \ - "csrs mstatus, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "a1" \ - ); \ - } - #else - #define SEGGER_RTT_LOCK() - #define SEGGER_RTT_UNLOCK() - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR EWARM -*/ -#ifdef __ICCARM__ - #if (defined (__ARM6M__) && (__CORE__ == __ARM6M__)) || \ - (defined (__ARM8M_BASELINE__) && (__CORE__ == __ARM8M_BASELINE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7EM__) && (__CORE__ == __ARM7EM__)) || \ - (defined (__ARM7M__) && (__CORE__ == __ARM7M__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_BASEPRI(); \ - __set_BASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() __set_BASEPRI(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7A__) && (__CORE__ == __ARM7A__)) || \ - (defined (__ARM7R__) && (__CORE__ == __ARM7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RX -*/ -#ifdef __ICCRX__ - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RL78 -*/ -#ifdef __ICCRL78__ - #define SEGGER_RTT_LOCK() { \ - __istate_t _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for KEIL ARM -*/ -#ifdef __CC_ARM - #if (defined __TARGET_ARCH_6S_M) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char _SEGGER_RTT__PRIMASK __asm( "primask"); \ - _SEGGER_RTT__LockState = _SEGGER_RTT__PRIMASK; \ - _SEGGER_RTT__PRIMASK = 1u; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() _SEGGER_RTT__PRIMASK = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #elif (defined(__TARGET_ARCH_7_M) || defined(__TARGET_ARCH_7E_M)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char BASEPRI __asm( "basepri"); \ - _SEGGER_RTT__LockState = BASEPRI; \ - BASEPRI = SEGGER_RTT_MAX_INTERRUPT_PRIORITY; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() BASEPRI = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for TI ARM -*/ -#ifdef __TI_ARM__ - #if defined (__TI_ARM_V6M0__) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(_SEGGER_RTT__LockState); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for CCRX -*/ -#ifdef __RX - #include - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = get_psw() & 0x010000; \ - clrpsw_i(); - - #define SEGGER_RTT_UNLOCK() set_psw(get_psw() | _SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for embOS Simulation on Windows -* (Can also be used for generic RTT locking with embOS) -*/ -#if defined(WIN32) || defined(SEGGER_RTT_LOCK_EMBOS) - -void OS_SIM_EnterCriticalSection(void); -void OS_SIM_LeaveCriticalSection(void); - -#define SEGGER_RTT_LOCK() { \ - OS_SIM_EnterCriticalSection(); - -#define SEGGER_RTT_UNLOCK() OS_SIM_LeaveCriticalSection(); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration fallback -*/ -#ifndef SEGGER_RTT_LOCK - #define SEGGER_RTT_LOCK() // Lock RTT (nestable) (i.e. disable interrupts) -#endif - -#ifndef SEGGER_RTT_UNLOCK - #define SEGGER_RTT_UNLOCK() // Unlock RTT (nestable) (i.e. enable previous interrupt lock state) -#endif - -#endif -/*************************** End of file ****************************/ diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/app_properties_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/app_properties_config.h deleted file mode 100644 index 6a6b9766..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/app_properties_config.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Application Properties Header File - ******************************************************************************* - * # License - * Copyright 2021 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 APP_PROPERTIES_CONFIG_H -#define APP_PROPERTIES_CONFIG_H - -#include "sl_application_type.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// App Properties settings - -// Type of signature this application is signed with -// Default: APPLICATION_SIGNATURE_NONE(0) -#define SL_APPLICATION_SIGNATURE 0 - -// Location of the signature -// Default: 0xFFFFFFFF -#define SL_APPLICATION_SIGNATURE_LOCATION 0xFFFFFFFF - -// Bitfield representing type of application -#define SL_APPLICATION_TYPE APPLICATION_TYPE - -// Version number for this application -// <0-4294967295:1> -// Default: 1 [0-4294967295] -#define SL_APPLICATION_VERSION 1 - -// Capabilities of this application -// Default: 0 -#define SL_APPLICATION_CAPABILITIES 0 - -//Product ID of the device for which the application is built -#define SL_APPLICATION_PRODUCT_ID { 0 } - -// - -#endif // APP_PROPERTIES_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/btl_interface_cfg.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/btl_interface_cfg.h deleted file mode 100644 index 8e246f80..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/btl_interface_cfg.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_H -#define BTL_INTERFACE_CFG_H - -#if !defined(BOOTLOADER_APPLOADER) - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_1) -#include "btl_interface_cfg_s2c1.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2) -#include "btl_interface_cfg_s2c2.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_3) -#include "btl_interface_cfg_s2c3.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_4) -#include "btl_interface_cfg_s2c4.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_5) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_8) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#endif // !BOOTLOADER_APPLOADER - -#endif // BTL_INTERFACE_CFG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/dmadrv_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/dmadrv_config.h deleted file mode 100644 index 9aa48db5..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/dmadrv_config.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef DMADRV_CONFIG_H -#define DMADRV_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// DMA interrupt priority <0-7> -// Priority of the DMA interrupt. Smaller number equals higher priority. -// Default: 4 -#define EMDRV_DMADRV_DMA_IRQ_PRIORITY 4 - -// Number of available channels <1-8> -// Number of DMA channels supported by the driver. A lower channel count -// will reduce RAM memory footprint. The default is to support all channels -// on the device. -// Default: 8 -#define EMDRV_DMADRV_DMA_CH_COUNT 8 - -// Number of fixed priority channels -// This will configure channels [0, CH_PRIORITY - 1] as fixed priority, -// and channels [CH_PRIORITY, CH_COUNT] as round-robin. -// Default: 0 -#define EMDRV_DMADRV_DMA_CH_PRIORITY 0 - -// <<< end of configuration section >>> - -#endif // DMADRV_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/emlib_core_debug_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_common_ash_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_common_ash_config.h deleted file mode 100644 index ce1ad5d7..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_common_ash_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy Host ASH configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_NCP_ASH_CONFIG_H -#define LEGACY_NCP_ASH_CONFIG_H - -// The USART used for ASH communications in COM_Port_t format, as defined in platform/service/legacy_hal/inc/serial.h (see defined names for USART ports) <-1..3:1> -// Default: (-1) -// The default value of -1 causes the ASH code to try to use the USART assigned to the "VCOM" instance of SL_IOSTREAM_USART. Otherwise the value is passed to Legacy HAL, which attempts to find an instance of SL_IOSTREAM_USART which uses that USART. -#define LEGACY_NCP_ASH_SERIAL_PORT (-1) - -#endif /* LEGACY_NCP_ASH_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_hal_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_hal_config.h deleted file mode 100644 index e3386e94..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/legacy_hal_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy HAL configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_HAL_CONFIG_H -#define LEGACY_HAL_CONFIG_H - -// Translate button interrupt callback -// When the Simple Button component is included, it provides a callback for -// buttons configured in interrupt mode. When this option is 1, Legacy HAL -// will try to consume that callback and translate it to "halButtonIsr", -// the legacy callback. If anything else in the application consumes the -// Simple button callback, it will override Legacy HAL's version. -// Default: 1 -#define LEGACY_HAL_TRANSLATE_BUTTON_INTERRUPT (1) - -#endif /* LEGACY_HAL_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/nvm3_default_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/nvm3_default_config.h deleted file mode 100644 index ba2982c2..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/nvm3_default_config.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef NVM3_DEFAULT_CONFIG_H -#define NVM3_DEFAULT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// NVM3 Default Instance Configuration - -#ifndef NVM3_DEFAULT_CACHE_SIZE -// NVM3 Default Instance Cache Size -// Number of NVM3 objects to cache. To reduce access times this number -// should be equal to or higher than the number of NVM3 objects in the -// default NVM3 instance. -// Default: 200 -#define NVM3_DEFAULT_CACHE_SIZE 200 -#endif - -#ifndef NVM3_DEFAULT_MAX_OBJECT_SIZE -// NVM3 Default Instance Max Object Size -// Max NVM3 object size that can be stored. -// Default: 254 -#define NVM3_DEFAULT_MAX_OBJECT_SIZE 254 -#endif - -#ifndef NVM3_DEFAULT_REPACK_HEADROOM -// NVM3 Default Instance User Repack Headroom -// Headroom determining how many bytes below the forced repack limit the user -// repack limit should be placed. The default is 0, which means the user and -// forced repack limits are equal. -// Default: 0 -#define NVM3_DEFAULT_REPACK_HEADROOM 0 -#endif - -#ifndef NVM3_DEFAULT_NVM_SIZE -// NVM3 Default Instance Size -// Size of the NVM3 storage region in flash. This size should be aligned with -// the flash page size of the device. -// Default: 36864 -#define NVM3_DEFAULT_NVM_SIZE 36864 -#endif - -// - -// <<< end of configuration section >>> - -#endif // NVM3_DEFAULT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/pin_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/pin_config.h deleted file mode 100644 index 5c1285ba..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/pin_config.h +++ /dev/null @@ -1,146 +0,0 @@ -#ifndef PIN_CONFIG_H -#define PIN_CONFIG_H - -// $[ACMP0] -// [ACMP0]$ - -// $[ACMP1] -// [ACMP1]$ - -// $[ADC0] -// [ADC0]$ - -// $[CMU] -// [CMU]$ - -// $[CSEN] -// [CSEN]$ - -// $[DBG] -// DBG SWV on PF2 -#ifndef DBG_SWV_PORT -#define DBG_SWV_PORT gpioPortF -#endif -#ifndef DBG_SWV_PIN -#define DBG_SWV_PIN 2 -#endif -#ifndef DBG_SWV_LOC -#define DBG_SWV_LOC 0 -#endif - -// [DBG]$ - -// $[ETM] -// [ETM]$ - -// $[PTI] -// [PTI]$ - -// $[GPIO] -// [GPIO]$ - -// $[I2C0] -// [I2C0]$ - -// $[I2C1] -// [I2C1]$ - -// $[IDAC0] -// [IDAC0]$ - -// $[LESENSE] -// [LESENSE]$ - -// $[LETIMER0] -// [LETIMER0]$ - -// $[LEUART0] -// [LEUART0]$ - -// $[MODEM] -// [MODEM]$ - -// $[PCNT0] -// [PCNT0]$ - -// $[PCNT1] -// [PCNT1]$ - -// $[PCNT2] -// [PCNT2]$ - -// $[PRS.CH0] -// [PRS.CH0]$ - -// $[PRS.CH1] -// [PRS.CH1]$ - -// $[PRS.CH2] -// [PRS.CH2]$ - -// $[PRS.CH3] -// [PRS.CH3]$ - -// $[PRS.CH4] -// [PRS.CH4]$ - -// $[PRS.CH5] -// [PRS.CH5]$ - -// $[PRS.CH6] -// [PRS.CH6]$ - -// $[PRS.CH7] -// [PRS.CH7]$ - -// $[PRS.CH8] -// [PRS.CH8]$ - -// $[PRS.CH9] -// [PRS.CH9]$ - -// $[PRS.CH10] -// [PRS.CH10]$ - -// $[PRS.CH11] -// [PRS.CH11]$ - -// $[TIMER0] -// [TIMER0]$ - -// $[TIMER1] -// [TIMER1]$ - -// $[USART0] -// [USART0]$ - -// $[USART1] -// [USART1]$ - -// $[USART2] -// [USART2]$ - -// $[USART3] -// [USART3]$ - -// $[VDAC0] -// [VDAC0]$ - -// $[WTIMER0] -// [WTIMER0]$ - -// $[WTIMER1] -// [WTIMER1]$ - -// $[CUSTOM_PIN_NAME] -#ifndef _PORT -#define _PORT gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/psa_crypto_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_manufacturing_token_header.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_manufacturing_token_header.h deleted file mode 100644 index 08b66580..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_manufacturing_token_header.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom manufacturing token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Manufacturing Token Usage Examples - * - * The macro DEFINE_MFG_TOKEN() should be used when instantiating a - * manufacturing token. Refer to the list of *_LOCATION defines to - * see what memory is allocated and what memory is unused/available. - * - * The _LOCATION is or'ed with either USERDATA_TOKENS or LOCKBITSDATA_TOKENS - * to control which segment of memory the token is placed in. - * - * REMEMBER: By definition, manufacturing tokens exist at fixed addresses. - * Tokens should not overlap. - * - * Here is a basic example of a manufacturing token header file: - * - * Note that the address used here is just an example. It places the 8 bytes - * in the middle of the USERDATA space on an EFR32MG12P433F1024GM68. - * To review addresses of existing tokens when choosing a new address, refer - * to an961-custom-nodes-efr32.pdf and the files - * platform/service/token_manager/inc/sl_token_manufacturing_series_1.h - * platform/service/token_manager/inc/sl_token_manufacturing_series_2.h - * - * @code - * #define CREATOR_MFG_EXAMPLE 0x4242 - * #ifdef DEFINETYPES - * typedef uint8_t tokTypeMfgExample[8]; - * #endif - * #ifdef DEFINETOKENS - * #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - * DEFINE_MFG_TOKEN(MFG_EXAMPLE, - * tokTypeMfgExample, - * MFG_EXAMPLE_LOCATION, - * {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - * #endif - * @endcode - * - * Since this file contains both the typedefs and the token defs, there are - * two \#defines used to select which one is needed when this file is included. - * \#define DEFINETYPES is used to select the type definitions and - * \#define DEFINETOKENS is used to select the token definitions. - * - * To use this example: - * Ensure the Token Manager's configuration in Studio - * has enabled Custom Manufacuturing Tokens. - * - * Ensure your application has: - * #include "sl_token_api.h" - * #include "sl_token_manager.h" - * - * This code will read the token data: - * uint8_t data[8]; - * sl_token_get_data(TOKEN_MFG_EXAMPLE, 0, &data, sizeof(data)); - ******************************************************************************/ - -/* - #define CREATOR_MFG_EXAMPLE 0x4242 - #ifdef DEFINETYPES - typedef uint8_t tokTypeMfgExample[8]; - #endif - #ifdef DEFINETOKENS - #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - DEFINE_MFG_TOKEN(MFG_EXAMPLE, - tokTypeMfgExample, - MFG_EXAMPLE_LOCATION, - {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - #endif - */ diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_token_header.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_token_header.h deleted file mode 100644 index abfe057a..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_custom_token_header.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Tokens Usage Examples - * - * #define BASICTOKEN1_DEFAULT 0xA5F0 - * #define BASICTOKEN2_DEFAULT { { 0xAA, 0xBB, 0xCC }, 0xDDDD } - * #define BASICTOKEN3_DEFAULT { { 0 } } - * #define COUNTERTOKEN1_DEFAULT 0 - * #define COUNTERTOKEN2_DEFAULT 0xCCCCCCCC - * #define INDEXEDTOKEN1_DEFAULT 0 - * #define INDEXEDTOKEN2_DEFAULT { 0xDDDD } - * #define INDEXEDTOKEN3_DEFAULT { 0xAA, 0xBBBB, { 0x00, 0x11, 0x22 }, 0xCC } - * - * #ifdef DEFINETYPES - * typedef uint16_t tokTypeBasicToken1; - * typedef struct { - * uint8_t basicToken2Array[3]; - * uint16_t basicToken2VarA; - * } tokTypeBasicToken2; - * - * typedef struct { - * uint8_t basicToken3Array[254]; - * } tokTypeBasicToken3; - * - * typedef uint32_t tokTypeCounterToken1; - * typedef uint32_t tokTypeCounterToken2; - * - * typedef uint8_t tokTypeIndexedToken1Element; - * typedef uint16_t tokTypeIndexedToken2Element; - * - * typedef struct { - * uint8_t indexedToken3VarA; - * uint16_t indexedToken3VarB; - * uint8_t indexedToken3Array[3]; - * int8_t indexedToken3VarC; - * } tokTypeIndexedToken3Element; - * - * #endif - * - * #ifdef DEFINETOKENS - * DEFINE_BASIC_TOKEN(BASICTOKEN1, - * tokTypeBasicToken1, - * BASICTOKEN1_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN2, - * tokTypeBasicToken2, - * BASICTOKEN2_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN3, - * tokTypeBasicToken3, - * BASICTOKEN3_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN1, - * tokTypeCounterToken1, - * COUNTERTOKEN1_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN2, - * tokTypeCounterToken2, - * COUNTERTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN1, - * tokTypeIndexedToken1Element, - * INDEXEDTOKEN1_ELEMENTS, - * INDEXEDTOKEN1_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN2, - * tokTypeIndexedToken2Element, - * INDEXEDTOKEN2_ELEMENTS, - * INDEXEDTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN3, - * tokTypeIndexedToken3Element, - * INDEXEDTOKEN3_ELEMENTS, - * INDEXEDTOKEN3_DEFAULT) - * #endif - * - ******************************************************************************/ diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_debug_swo_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_debug_swo_config.h deleted file mode 100644 index 75896a71..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_debug_swo_config.h +++ /dev/null @@ -1,109 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SWO configuration - ******************************************************************************* - * # 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_DEBUG_SWO_CONFIG_H -#define SL_DEBUG_SWO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// SWO Configuration - -// SWO Frequency -// Must be 875 kHz for communication with Silicon Labs debuggers -// Default: 875000 -#define SL_DEBUG_SWO_FREQ 875000 - -// Enable interrupt event trace -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_IRQ 0 - -// Enable Program Counter samples -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_PC 0 - -// SWO debug sample intervals -// <64=> 64 -// <128=> 128 -// <192=> 192 -// <256=> 256 -// <320=> 320 -// <384=> 384 -// <448=> 448 -// <512=> 512 -// <576=> 576 -// <640=> 640 -// <704=> 704 -// <768=> 768 -// <832=> 832 -// <896=> 896 -// <960=> 960 -// <1024=> 1024 -// <2048=> 2048 -// <3072=> 3072 -// <4096=> 4096 -// <5102=> 5102 -// <6144=> 6144 -// <7168=> 7168 -// <8192=> 8192 -// <9216=> 9216 -// <10240=> 10240 -// <11264=> 11264 -// <12288=> 12288 -// <13312=> 13312 -// <14336=> 14336 -// <15360=> 15360 -// Must be 64, 128, 192, [ n * 64 ], 1024, 2048, 3072, [ n * 1024 ] , 15360 -// Default: 15360 -#define SL_DEBUG_SWO_SAMPLE_INTERVAL 15360 -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[DBG_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL DBG -#endif - -// DBG SWV on PF2 -#ifndef SL_DEBUG_SWV_PORT -#define SL_DEBUG_SWV_PORT gpioPortF -#endif -#ifndef SL_DEBUG_SWV_PIN -#define SL_DEBUG_SWV_PIN 2 -#endif -#ifndef SL_DEBUG_SWV_LOC -#define SL_DEBUG_SWV_LOC 0 -#endif -// [DBG_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // SL_DEBUG_SWO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_dcdc_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_dcdc_config.h deleted file mode 100644 index 734aed36..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_dcdc_config.h +++ /dev/null @@ -1,58 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_DCDC Config - ******************************************************************************* - * # 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_DEVICE_INIT_DCDC_CONFIG_H -#define SL_DEVICE_INIT_DCDC_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Enable DC/DC Converter -// -// Default: 1 -#define SL_DEVICE_INIT_DCDC_ENABLE 1 - -// Set DC/DC Converter in Bypass Mode -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_BYPASS 0 - -// Override for DCDC PFMX Mode Peak Current Setting -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL_OVERRIDE 0 - -// DCDC PFMX Mode Peak Current Setting <0-15> -// -// Default: DCDC_PFMXCTRL_IPKVAL_DEFAULT -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL DCDC_PFMXCTRL_IPKVAL_DEFAULT - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_DCDC_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_emu_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_emu_config.h deleted file mode 100644 index 387abf94..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_emu_config.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************************//** - * @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 >>> - -// EM4H Voltage scaling level -// Fast-wakeup voltage level -// Low-power optimized voltage level -// Default: emuVScaleEM4H_LowPower -#define SL_DEVICE_INIT_EMU_EM4_VSCALE emuVScaleEM4H_LowPower - -// Retain LFXO in EM4 -#define SL_DEVICE_INIT_EMU_EM4_RETAIN_LFXO 0 - -// Retain LFRCO in EM4 -#define SL_DEVICE_INIT_EMU_EM4_RETAIN_LFRCO 0 - -// Retain ULFRCO in EM4S -#define SL_DEVICE_INIT_EMU_EM4_RETAIN_ULFRCO 0 - -// Hibernate or shutoff EM4 state -// EM4 Shutoff -// EM4 Hibernate -// Default: emuEM4Shutoff -#define SL_DEVICE_INIT_EMU_EM4_STATE emuEM4Shutoff - -// 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/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_hfxo_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_hfxo_config.h deleted file mode 100644 index b1cb0559..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_hfxo_config.h +++ /dev/null @@ -1,72 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFXO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFXO_CONFIG_H -#define SL_DEVICE_INIT_HFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// External digital clock -// Default: cmuOscMode_Crystal -#define SL_DEVICE_INIT_HFXO_MODE cmuOscMode_Crystal - -// Frequency <38000000-40000000> -// Default: 38400000 -#define SL_DEVICE_INIT_HFXO_FREQ 38400000 - -// HFXO precision in PPM <0-65535> -// Default: 500 -#define SL_DEVICE_INIT_HFXO_PRECISION 500 - -// CTUNE <0-511> -// Default: 360 -#define SL_DEVICE_INIT_HFXO_CTUNE 282 - -// Advanced Configurations -// Auto-start HFXO. This feature is incompatible with Power Manager and can only be enabled in applications that do not use Power Manager or a radio protocol stack. - DEPRECATED -// True -// False -// Default: false -#define SL_DEVICE_INIT_HFXO_AUTOSTART false - -// Auto-select HFXO. This feature is incompatible with Power Manager and can only be enabled in applications that do not use Power Manager or a radio protocol stack. - DEPRECATED -// True -// False -// Default: false -#define SL_DEVICE_INIT_HFXO_AUTOSELECT false - -// - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFXO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_lfxo_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_lfxo_config.h deleted file mode 100644 index 4729bff6..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_device_init_lfxo_config.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef SL_DEVICE_INIT_LFXO_CONFIG_H -#define SL_DEVICE_INIT_LFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// AC-coupled buffer -// External digital clock -// Default: cmuOscMode_Crystal -#define SL_DEVICE_INIT_LFXO_MODE cmuOscMode_Crystal - -// CTUNE <0-127> -// Default: 63 -#define SL_DEVICE_INIT_LFXO_CTUNE 32 - -// LFXO precision in PPM <0-65535> -// Default: 500 -#define SL_DEVICE_INIT_LFXO_PRECISION 100 - -// Startup Timeout Delay -// -// <_CMU_LFXOCTRL_TIMEOUT_2CYCLES=> 2 cycles -// <_CMU_LFXOCTRL_TIMEOUT_256CYCLES=> 256 cycles -// <_CMU_LFXOCTRL_TIMEOUT_1KCYCLES=> 1K cycles -// <_CMU_LFXOCTRL_TIMEOUT_2KCYCLES=> 2K cycles -// <_CMU_LFXOCTRL_TIMEOUT_4KCYCLES=> 4K cycles -// <_CMU_LFXOCTRL_TIMEOUT_8KCYCLES=> 8K cycles -// <_CMU_LFXOCTRL_TIMEOUT_16KCYCLES=> 16K cycles -// <_CMU_LFXOCTRL_TIMEOUT_32KCYCLES=> 32K cycles -// <_CMU_LFXOCTRL_TIMEOUT_DEFAULT=> Default -// Default: _CMU_LFXOCTRL_TIMEOUT_DEFAULT -#define SL_DEVICE_INIT_LFXO_TIMEOUT _CMU_LFXOCTRL_TIMEOUT_DEFAULT -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_LFXO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_fem_util_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_fem_util_config.h deleted file mode 100644 index ba86f442..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_fem_util_config.h +++ /dev/null @@ -1,98 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Front End Module 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. - * - ******************************************************************************/ - -#ifndef SL_FEM_UTIL_CONFIG_H -#define SL_FEM_UTIL_CONFIG_H - -#include "em_gpio.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// FEM Configuration -// Enable RX Mode -// Default: 0 -#define SL_FEM_UTIL_RX_ENABLE 1 -// Enable TX Mode -// Default: 0 -#define SL_FEM_UTIL_TX_ENABLE 0 -// Enable Bypass Mode -// Default: 0 -#define SL_FEM_UTIL_BYPASS_ENABLE 0 -// Enable TX High Power Mode -// Default: 0 -#define SL_FEM_UTIL_TX_HIGH_POWER_ENABLE 0 -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_FEM_UTIL_RX -// $[PRS_SL_FEM_UTIL_RX] -#define SL_FEM_UTIL_RX_CHANNEL 5 - -// PRS CH5 on PD10 -#define SL_FEM_UTIL_RX_PORT gpioPortD -#define SL_FEM_UTIL_RX_PIN 10 -#define SL_FEM_UTIL_RX_LOC 0 - -// [PRS_SL_FEM_UTIL_RX]$ - -// SL_FEM_UTIL_TX -// $[PRS_SL_FEM_UTIL_TX] - - -// [PRS_SL_FEM_UTIL_TX]$ - -// SL_FEM_UTIL_SLEEP -// $[PRS_SL_FEM_UTIL_SLEEP] -#define SL_FEM_UTIL_SLEEP_CHANNEL 6 - -// PRS CH6 on PD11 -#define SL_FEM_UTIL_SLEEP_PORT gpioPortD -#define SL_FEM_UTIL_SLEEP_PIN 11 -#define SL_FEM_UTIL_SLEEP_LOC 13 - -// [PRS_SL_FEM_UTIL_SLEEP]$ - -// SL_FEM_UTIL_BYPASS -// $[GPIO_SL_FEM_UTIL_BYPASS] - - -// [GPIO_SL_FEM_UTIL_BYPASS]$ - -// SL_FEM_UTIL_TX_HIGH_POWER -// $[GPIO_SL_FEM_UTIL_TX_HIGH_POWER] - - -// [GPIO_SL_FEM_UTIL_TX_HIGH_POWER]$ -// <<< sl:end pin_tool >>> - -#define SL_FEM_UTIL_OPTIMIZED_PHY_ENABLE 0 -#define SL_FEM_UTIL_RUNTIME_PHY_SELECT 0 - -#endif // SL_FEM_UTIL_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_usart_vcom_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_usart_vcom_config.h deleted file mode 100644 index ab31b228..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_usart_vcom_config.h +++ /dev/null @@ -1,109 +0,0 @@ -/***************************************************************************//** - * @file - * @brief IOSTREAM_USART Config. - ******************************************************************************* - * # 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_IOSTREAM_USART_VCOM_CONFIG_H -#define SL_IOSTREAM_USART_VCOM_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_IOSTREAM_USART_VCOM_BAUDRATE 115200 - -// Parity mode to use -// No Parity -// Even parity -// Odd parity -// Default: usartNoParity -#define SL_IOSTREAM_USART_VCOM_PARITY usartNoParity - -// Number of stop bits to use. -// 0.5 stop bits -// 1 stop bits -// 1.5 stop bits -// 2 stop bits -// Default: usartStopbits1 -#define SL_IOSTREAM_USART_VCOM_STOP_BITS usartStopbits1 - -// Flow control -// None -// CTS -// RTS -// CTS/RTS -// Software Flow control (XON/XOFF) -// Default: usartHwFlowControlNone -#define SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE usartHwFlowControlCtsAndRts - -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE 32 - -// Convert \n to \r\n -// It can be changed at runtime using the C API. -// Default: 0 -#define SL_IOSTREAM_USART_VCOM_CONVERT_BY_DEFAULT_LF_TO_CRLF 0 - -// Restrict the energy mode to allow the reception. -// Default: 1 -// Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption. -#define SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION 1 - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_IOSTREAM_USART_VCOM -// $[USART_SL_IOSTREAM_USART_VCOM] -#warning "IO Stream USART peripheral not configured" -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL USART0 -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO 0 - -// #define SL_IOSTREAM_USART_VCOM_TX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_TX_PIN 11 -// #define SL_IOSTREAM_USART_VCOM_TX_LOC 2 - -// #define SL_IOSTREAM_USART_VCOM_RX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RX_PIN 10 -// #define SL_IOSTREAM_USART_VCOM_RX_LOC 2 - -// #define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortA -// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12 -// #define SL_IOSTREAM_USART_VCOM_CTS_LOC 2 - -// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8 -// #define SL_IOSTREAM_USART_VCOM_RTS_LOC 2 -// [USART_SL_IOSTREAM_USART_VCOM]$ -// <<< sl:end pin_tool >>> - -#endif diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_vuart_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_vuart_config.h deleted file mode 100644 index 82889008..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_iostream_vuart_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SL_IOSTREAM_VUART 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_IOSTREAM_VUART_CONFIG_H -#define SL_IOSTREAM_VUART_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// VUART settings -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_VUART_RX_BUFFER_SIZE 32 - -// -// <<< end of configuration section >>> -#endif diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_legacy_hal_wdog_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_legacy_hal_wdog_config.h deleted file mode 100644 index 86a5c629..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_legacy_hal_wdog_config.h +++ /dev/null @@ -1,88 +0,0 @@ -/***************************************************************************//** - * @file sl_legacy_hal_wdog_config.h - * @brief Legacy HAL watchdog configuration file. - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_LEGACY_HAL_WDOG_CONFIG_H -#define SL_LEGACY_HAL_WDOG_CONFIG_H - -// Legacy HAL WDOG Configurations - -// Disable calling halInternalEnableWatchDog in base-replacement.c's halInit(). -// Default: 0 -#define SL_LEGACY_HAL_DISABLE_WATCHDOG 0 -// - -// WDOG to use for SL_LEGACY_HAL_WDOGn. -// Default: 0 -// <0=> WDOG0 -// <1=> WDOD1 -#define SL_LEGACY_HAL_WDOGn 0 - -// Period for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogPeriod_64k -// The default period of wdogPeriod_64k will trigger watchdog reset after 2 seconds (64k / 32k) and warning interrupt is triggered after 1.5 seconds (75% of timeout). -// wdogPeriod_9 / 9 clock periods -// wdogPeriod_17 / 17 clock periods -// wdogPeriod_33 / 33 clock periods -// wdogPeriod_65 / 65 clock periods -// wdogPeriod_129 / 129 clock periods -// wdogPeriod_257 / 257 clock periods -// wdogPeriod_513 / 513 clock periods -// wdogPeriod_1k / 1025 clock periods -// wdogPeriod_2k / 2049 clock periods -// wdogPeriod_4k / 4097 clock periods -// wdogPeriod_8k / 8193 clock periods -// wdogPeriod_16k / 16385 clock periods -// wdogPeriod_32k / 32769 clock periods -// wdogPeriod_64k / 65537 clock periods -// wdogPeriod_128k / 131073 clock periods -// wdogPeriod_256k / 262145 clock periods -#define SL_LEGACY_HAL_WDOG_PERIOD wdogPeriod_64k - -// Warning for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogWarnTime75pct -// The default warning of wdogWarnTime75pct will trigger warning interrupt after 1.5 seconds (75% of timeout) if the period is wdogPeriod_64k. -// wdogWarnDisable / Watchdog warning period is disabled -// wdogWarnTime25pct / Watchdog warning period is 25% of the timeout -// wdogWarnTime50pct / Watchdog warning period is 50% of the timeout -// wdogWarnTime75pct / Watchdog warning period is 75% of the timeout -#define SL_LEGACY_HAL_WDOG_WARNING wdogWarnTime75pct - -// Counter keeps running during debug halt. -// Default: 0 -#define SL_LEGACY_HAL_WDOG_DEBUG_RUN 0 -// - -// - -#endif /* SL_LEGACY_HAL_WDOG_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_device_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_memory_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_power_manager_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_power_manager_config.h deleted file mode 100644 index a97fb038..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_power_manager_config.h +++ /dev/null @@ -1,64 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Manager 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_POWER_MANAGER_CONFIG_H -#define SL_POWER_MANAGER_CONFIG_H - -// Power Manager Configuration - -// Enable custom IRQ handler for external HF oscillator. -// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application. -// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0 - -// Enable fast wakeup (disable voltage scaling in EM2/3 mode) -// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us. -// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup() -// Default: 0 -#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0 - -// Enable debugging feature -// Enable or disable debugging features (trace the different modules that have requirements). -// Default: 0 -#define SL_POWER_MANAGER_DEBUG 0 - -// Maximum numbers of requirements that can be logged -// Default: 10 -#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10 -// - -// - -#endif /* SL_POWER_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pa_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pa_config.h deleted file mode 100644 index 09a4e6f0..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pa_config.h +++ /dev/null @@ -1,80 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Amplifier 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PA_CONFIG_H -#define SL_RAIL_UTIL_PA_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// PA Configuration -// Initial PA Power (deci-dBm, 100 = 10.0 dBm) -// Default: 100 -#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100 -// PA Ramp Time (microseconds) -// <0-65535:1> -// Default: 10 -#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10 -// Milli-volts on PA supply pin (PA_VDD) -// <0-65535:1> -// Default: 3300 -#define SL_RAIL_UTIL_PA_VOLTAGE_MV 3300 -// 2.4 GHz PA Selection -// High Power -// Low Power -// Disable -// Default: RAIL_TX_POWER_MODE_2P4GIG_HP -#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HP -// Sub-1 GHz PA Selection -// Enable -// Disable -// Default: RAIL_TX_POWER_MODE_SUBGIG -#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE -// - -// PA Curve Configuration -// Header file containing custom PA curves -// Default: "pa_curves_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h" -// Header file containing PA curve types -// Default: "pa_curve_types_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h" -// - -// PA Calibration Configuration -// Apply PA Calibration Factory Offset -// Default: 1 -#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 1 -// - -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_PA_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_power_manager_init_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_power_manager_init_config.h deleted file mode 100644 index cbc69f24..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_power_manager_init_config.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief RAIL power manager 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H -#define SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// RAIL power manager configuration - -// Enable RAIL power manager initialization -// Default: 1 -#define SL_RAIL_UTIL_RAIL_POWER_MANAGER_INIT 1 - -// -// <<< end of configuration section >>> -#endif // SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pti_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pti_config.h deleted file mode 100644 index cb485cf6..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_rail_util_pti_config.h +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Packet Trace Information 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PTI_CONFIG_H -#define SL_RAIL_UTIL_PTI_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PTI Configuration - -// PTI mode -// UART -// UART onewire -// SPI -// Disabled -// Default: RAIL_PTI_MODE_UART -#define SL_RAIL_UTIL_PTI_MODE RAIL_PTI_MODE_DISABLED - -// PTI Baud Rate (Hertz) -// <147800-20000000:1> -// Default: 1600000 -#define SL_RAIL_UTIL_PTI_BAUD_RATE_HZ 1600000 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_RAIL_UTIL_PTI -// $[PTI_SL_RAIL_UTIL_PTI] -#ifndef SL_RAIL_UTIL_PTI_PERIPHERAL -#define SL_RAIL_UTIL_PTI_PERIPHERAL PTI -#endif - -// [PTI_SL_RAIL_UTIL_PTI]$ - -// <<< sl:end pin_tool >>> - -#endif // SL_RAIL_UTIL_PTI_CONFIG_H diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_sleeptimer_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_sleeptimer_config.h deleted file mode 100644 index 8344ef5f..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_sleeptimer_config.h +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_token_manager_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_token_manager_config.h deleted file mode 100644 index d99e78e0..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_token_manager_config.h +++ /dev/null @@ -1,54 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Token Manager Configurations - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_TOKEN_MANAGER_CONFIG_H -#define SL_TOKEN_MANAGER_CONFIG_H - -// TOKEN MANAGER Configurations - -// Enable Custom Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_TOKENS_PRESENT 0 - -// File containing custom tokens -// Default: "sl_custom_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_TOKEN_HEADER "sl_custom_token_header.h" - -// - -// Enable Custom Manufacturing Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT 0 - -// File containing custom manufacturing tokens -// Default: "sl_custom_manufacturing_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER "sl_custom_manufacturing_token_header.h" - -// -// - -#if (SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT) -#define APPLICATION_MFG_TOKEN_HEADER SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER -#endif // SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT - -#endif // SL_TOKEN_MANAGER_CONFIG_H - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_debug_print_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_debug_print_config.h deleted file mode 100644 index 9c901f40..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_debug_print_config.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Debug Print component configuration header. - * - ******************************************************************************* - * # License - * Copyright 2019 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// ZigBee Debug Print configuration - -// Stack group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_ENABLED (1) - -// Stack group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT (1) - -// Core group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_ENABLED (1) - -// Core group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_APP_GROUP_ENABLED (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_ENABLED (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT (1) - -// Legacy App Framework Debug group enabled -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_ENABLED (0) - -// Legacy App Framework Debug runtime default -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_RUNTIME_DEFAULT (0) - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_green_power_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_green_power_config.h deleted file mode 100644 index 3d62c926..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_green_power_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Green Power component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Green Power Library configuration - -// Green Power Proxy Table Size <1-126> -// Default: 5 -// The maximum number of Green Power proxy table entries supported by the stack. -#define EMBER_GP_PROXY_TABLE_SIZE 5 - -// Green Power Sink Table Size <0-126> -// Default: 0 -// The maximum number of Green Power sink table entries supported by the stack. -#define EMBER_GP_SINK_TABLE_SIZE 0 - -// Green Power incoming FC (as part of proxy table) Token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of proxy table) table token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_PROXY_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_TOKEN_TABLE_SIZE 0 - -// Green Power incoming FC (as part of sink table) token table token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of sink table)Token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_SINK_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TABLE_SIZE 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_light_link_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_light_link_config.h deleted file mode 100644 index 7be64b76..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_light_link_config.h +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Light Link component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee ZigBee Light Link Library configuration - -// Group addresses <0-255> -// Default: 0 -// The number of unique group identifiers that this device requires. -#define EMBER_ZLL_GROUP_ADDRESSES 0 - -// RSSI threshold <-128..127:1> -// Default: -40 -// The RSSI threshold applied to incoming scan requests. The stack will ignore scan requests with corrected RSSI values less than this threshold. -#define EMBER_ZLL_RSSI_THRESHOLD -40 - -// Apply RSSI threshold to all interpan messages -// Default: FALSE -// True if the RSSI threshold is to be applied to all incoming touchlink interpan messages. This is not required by the Zigbee 3.0 specifications, but may be useful for testing in a busy environment. -#define EMBER_ZLL_APPLY_THRESHOLD_TO_ALL_INTERPANS 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_pro_stack_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_pro_stack_config.h deleted file mode 100644 index 0d1f068c..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_pro_stack_config.h +++ /dev/null @@ -1,111 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee PRO Full Stack component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee PRO Stack Library configuration - -// Child Table Size <0-64> -// Default: 6 -// The maximum number of ZigBee PRO End Devices that can be supported by a single device. -#define EMBER_MAX_END_DEVICE_CHILDREN 32 - -// Packet Buffer Count <20-255> -// Default: 75 -// The maximum number of packet buffers supported by the system. This is limited by the amount of available RAM. -#define EMBER_PACKET_BUFFER_COUNT 255 - -// End Device keep alive support mode -// End Device keep alive support mode -// MAC Data Poll Keep Alive -// End Device Timeout Keep Alive -// Keep Alive Support All -// Default: EMBER_KEEP_ALIVE_SUPPORT_ALL -// End Device keep alive support mode on the coordinator/router could be set here. -#define EMBER_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE EMBER_KEEP_ALIVE_SUPPORT_ALL - -// End Device Poll Timeout Value -// End Device Poll Timeout Value -// Seconds-10 -// Minutes-2 -// Minutes-4 -// Minutes-8 -// Minutes-16 -// Minutes-32 -// Minutes-64 -// Minutes-128 -// Minutes-256 -// Minutes-512 -// Minutes-1024 -// Minutes-2048 -// Minutes-4096 -// Minutes-8192 -// Minutes-16384 -// Default: MINUTES_256 -// The amount of time that must pass without hearing a MAC data poll from the device before the end device is removed from the child table. For a router device this applies to its children. For an end device, this is the amount of time before it automatically times itself out. -#define EMBER_END_DEVICE_POLL_TIMEOUT MINUTES_256 - -// Link Power Delta Request Interval <1-65535> -// Default: 300 -// The amount of time in seconds that pass between link power delta requests. -#define EMBER_LINK_POWER_DELTA_INTERVAL 300 - -// APS Unicast Message Queue Size <1-255> -// Default: 10 -// The maximum number of APS unicast messages that can be queued up by the stack. A message is considered queued when emberSendUnicast() is called and is de-queued when the emberMessageSentHandler() is called. -#define EMBER_APS_UNICAST_MESSAGE_COUNT 10 - -// APS unicast Message Duplicate Rejection table Size <1-255> -// Default: 5 -// The maximum number of APS unicast messages that can be stored in the stack, to reject duplicate processing/forwarding of APS messages. -// Size of 1 is basically the same thing as no duplicate rejection -#define SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES 5 - -// Broadcast Table Size <15-254> -// Default: 15 -// The size of the broadcast table. -#define EMBER_BROADCAST_TABLE_SIZE 15 - -// Neighbor Table Size -// Neighbor Table Size -// <16=> 16 -// <26=> 26 -// Default: 16 -// The size of the neighbor table. -#define EMBER_NEIGHBOR_TABLE_SIZE 16 - -// Transient key timeout (in seconds) <0-65535> -// Default: 300 -// The amount of time a device will store a transient link key that can be used to join a network. -#define EMBER_TRANSIENT_KEY_TIMEOUT_S 300 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_BINDING_TABLE_SIZE 32 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_ADDRESS_TABLE_SIZE 16 - -// Route Table Size <1-255> -// Default: 3 -// The number of entries that the Route table can hold. -#define EMBER_ROUTE_TABLE_SIZE 16 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_security_link_keys_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_security_link_keys_config.h deleted file mode 100644 index 9a0c8488..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_security_link_keys_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Security Link Keys component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Security Link Keys Library configuration - -// Link Key Table Size <1-127> -// Default: 6 -// The maximum number of link key table entries supported by the stack. -#define EMBER_KEY_TABLE_SIZE 12 - -// Request Key Timeout <0-10> -// Default: 0 -// The length of time that a node will wait for a trust center to answer its Application Link Key request. -#define EMBER_REQUEST_KEY_TIMEOUT 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_source_route_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_source_route_config.h deleted file mode 100644 index 41b5e4bb..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/sl_zigbee_source_route_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Source Route component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Source Route Library configuration - -// Source route table Size (SoC or NCP) <2-255> -// Default: 7 -// The size of the source route table for storing source routes on the SOC or NCP. -#define EMBER_SOURCE_ROUTE_TABLE_SIZE 7 - -// Max source route relay counts <11-40> -// Default: 11 -// Max source route hops accepted or/and inserted in the source route table/header. -#define EMBER_MAX_SOURCE_ROUTE_RELAY_COUNT 11 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_sleep_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_sleep_config.h deleted file mode 100644 index fa4efd14..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_sleep_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Application Framework common component configuration header. - *\n******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Sleep configuration - -// Minimum Sleep Duration <5-1000> -// Default: 5 -// The minimum duration in milliseconds that the application will attempt to sleep for. If the sleep duration would be less than this amount, the application will not sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_MINIMUM_SLEEP_DURATION_MS 5 - -// Sleep Backoff time <0-10000> -// Default: 0 -// This setting will keep a device from going back to sleep immediately upon waking up -#define SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS 0 - -// Stay awake when NOT joined -// Default: TRUE -// This will force a device to stay awake even when not joined to the network. This is often used for debugging and is not recommended for production devices since it cause the device to consume battery power even when not joined to a ZigBee network. -#define SL_ZIGBEE_APP_FRAMEWORK_STAY_AWAKE_WHEN_NOT_JOINED 1 - -// Use button to force wakeup or allow sleep -// Default: FALSE -// This will setup the hardware buttons to wake-up or allow the device to go to sleep. Button 0 will force the device to wake up and stay awake. Button 1 will turn off this behavior to allow the device to sleep normally. Please note that in order for this option to be fully functional, button 0 and button 1 have to be configured to wake the device from sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_USE_BUTTON_TO_STAY_AWAKE 0 -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_watchdog_periodic_refresh_config.h b/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_watchdog_periodic_refresh_config.h deleted file mode 100644 index e317fedb..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/config/zigbee_watchdog_periodic_refresh_config.h +++ /dev/null @@ -1,34 +0,0 @@ -/***************************************************************************//** - * @brief Sample watchdog refresh event component configuration header. - ******************************************************************************** - * # License - * Copyright 2022 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Watchdog reset component configuration - -// Enable periodic watchdog refresh -// Default: TRUE -// This allows for enabling or disabling periodic watchdog refresh -#define SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE 1 - -// Watchdog refresh duration <50-5000> -// Default: 1000 -// Defines the periodic interval at which the watchdog timer is reset in the application -#define SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS 1000 - -// -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/main.c b/src/ncp-uart-hw_MGM12P32F1024GE/main.c deleted file mode 100644 index 996b1e0b..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/main.c +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @file main.c - * @brief main() function. - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -#ifdef SL_COMPONENT_CATALOG_PRESENT -#include "sl_component_catalog.h" -#endif -#include "sl_system_init.h" -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) -#include "sl_power_manager.h" -#endif -#if defined(SL_CATALOG_KERNEL_PRESENT) -#include "sl_system_kernel.h" -#else -#include "sl_system_process_action.h" -#endif // SL_CATALOG_KERNEL_PRESENT - -#ifdef EMBER_TEST -#define main nodeMain -#endif - -void app_init(void) -{ -} - -void app_process_action(void) -{ -} - -int main(void) -{ - // Initialize Silicon Labs device, system, service(s) and protocol stack(s). - // Note that if the kernel is present, processing task(s) will be created by - // this call. - sl_system_init(); - - // Initialize the application. For example, create periodic timer(s) or - // task(s) if the kernel is present. - app_init(); - -#if defined(SL_CATALOG_KERNEL_PRESENT) - // Start the kernel. Task(s) created in app_init() will start running. - sl_system_kernel_start(); -#else // SL_CATALOG_KERNEL_PRESENT - while (1) { - // Do not remove this call: Silicon Labs components process action routine - // must be called from the super loop. - sl_system_process_action(); - - // Application process. - app_process_action(); - - // Let the CPU go to sleep if the system allow it. -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) - sl_power_manager_sleep(); -#endif // SL_CATALOG_POWER_MANAGER_PRESENT - } -#endif // SL_CATALOG_KERNEL_PRESENT - - return 0; -} diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.pintool b/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.pintool deleted file mode 100644 index 03a25bbe..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slcp b/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slcp deleted file mode 100644 index c9e75830..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slcp +++ /dev/null @@ -1,73 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: ncp-uart-hw_MGM12P32F1024GE -label: ncp-uart-hw_MGM12P32F1024GE -author: Silicon Laboratories, Inc. -description: This network coprocessor (NCP) application supports communication with - a host application over a UART interface with hardware flow control. This NCP application - can be built as configured, or optionally can be augmented with customized extensions - for initialization, main loop processing, event definition/handling, and messaging - with the host. To create a ECC-enabled application for the Smart Energy Profile, - please download and extract the 'EmberZnet-Smart-Energy.zip' side-package over your - installed SDK and add, depending on use-case, one of two new components ('CBKE 163k1'; - 'CBKE 283k1') to your application. -category: Zigbee Application -filter: -- name: Device Type - value: [NCP] -- name: Project Difficulty - value: [Advanced] -- name: Wireless Technology - value: [Zigbee] -package: Zigbee -quality: production -readme: -- {path: readme.html} -- {path: readme.html} -source: -- {path: main.c} -- {path: app.c} -tag: [prebuilt_demo] -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: MGM12P32F1024GE} -- instance: [vcom] - id: iostream_usart -- {id: iostream_vuart} -- {id: token_manager} -- {id: zigbee_app_framework_common} -- {id: zigbee_debug_basic} -- {id: zigbee_debug_extended} -- {id: zigbee_debug_print} -- {id: zigbee_gp} -- {id: zigbee_ncp_uart_hardware} -- {id: zigbee_pro_stack} -- {id: zigbee_r22_support} -- {id: zigbee_security_link_keys} -- {id: zigbee_source_route} -- {id: zigbee_zll} -define: -- {name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE, value: '15'} -configuration: -- {name: SL_BOARD_ENABLE_VCOM, value: '1'} -- {name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE, value: usartHwFlowControlCtsAndRts} -- {name: SL_CLI_MAX_INPUT_ARGUMENTS, value: '16'} -- {name: EMBER_BINDING_TABLE_SIZE, value: '32'} -- {name: EMBER_MAX_END_DEVICE_CHILDREN, value: '32'} -- {name: EMBER_PACKET_BUFFER_COUNT, value: '255'} -- {name: EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE, value: '32'} -- {name: EMBER_KEY_TABLE_SIZE, value: '12'} -- {name: SL_CLI_EXAMPLE_IOSTREAM_HANDLE, value: sl_iostream_vuart_handle} -- condition: [device_series_1] - name: NVM3_DEFAULT_NVM_SIZE - value: '36864' -- condition: [device_series_2] - name: NVM3_DEFAULT_NVM_SIZE - value: '32768' -- {name: SL_PSA_ITS_SUPPORT_V1_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V2_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V3_DRIVER, value: '1'} -ui_hints: - highlight: - - {path: readme.html} - diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slps b/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slps deleted file mode 100644 index 09b72b44..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/ncp-uart-hw_MGM12P32F1024GE.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/readme.html b/src/ncp-uart-hw_MGM12P32F1024GE/readme.html deleted file mode 100644 index 055d0cfc..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/readme.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - -readme - - -

NCP UART Application

-

This network coprocessor (NCP) application supports communication with a host application over a UART interface with hardware flow control. This NCP application can be built as configured, or optionally can be augmented with customizations for target hardware, initialization, main loop processing, event definition/handling, and messaging with the host. - -As configured, this NCP UART application is the basis for building the corresponding binary ncp-uart images delivered with the Silicon Labs Zigbee stack. - -Due to thread safety concerns with EZSP, this application cannot include an RTOS unless CPC (Co-Processor Communication) components are also added. - -Refer to the Silicon Labs Zigbee documentation for more information about NCP customization. -

-
- - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM12P32F1024GE/sl_zigbee_watchdog_periodic_refresh.c b/src/ncp-uart-hw_MGM12P32F1024GE/sl_zigbee_watchdog_periodic_refresh.c deleted file mode 100644 index e3251c3c..00000000 --- a/src/ncp-uart-hw_MGM12P32F1024GE/sl_zigbee_watchdog_periodic_refresh.c +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Sample watchdog refresh event implementation and related configuration - ******************************************************************************* - * # License - * Copyright 2022 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 PLATFORM_HEADER -#include "hal.h" -#include "ember.h" -#include "zigbee_app_framework_event.h" -#include "zigbee_app_framework_common.h" -#include "zigbee_watchdog_periodic_refresh_config.h" - -#if (SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) - -static sl_zigbee_event_t watchdog_refresh_event; -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event); - -// Initialization of watchdog refresh event -void sli_zigbee_watchdog_refresh_handler_init(uint8_t init_level) -{ - switch (init_level) { - case SL_ZIGBEE_INIT_LEVEL_EVENT: - { - sl_zigbee_event_init(&watchdog_refresh_event, watchdog_refresh_event_handler); - sl_zigbee_event_set_active(&watchdog_refresh_event); - break; - } - default: - break; - } -} - -// In RTOS-based applications, the Zigbee task refreshes the watchdog. -// However, when the node is not on a network the Zigbee task does not run. -// Therefore, there needs to be a way to ensure that the watchdog does not fire -// and reset the node unnecessarily. Below we provide an example of an application -// event that periodically resets the watchdog. -// Note, such a periodic event gets the node out of EM1/EM2 low power modes, -// which may result in unnecessary energy consumption. -// The application should ultimately own the refreshing of the watchdog and tailor -// it based on the specific use case. -// In the bare-metal case, this is done in the zigbee stack and app framework ticks -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event) -{ - halResetWatchdog(); - sl_zigbee_event_set_delay_ms(&watchdog_refresh_event, SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS); -} -#endif //(SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) diff --git a/src/ncp-uart-hw_MGM210PA32JIA/.cproject b/src/ncp-uart-hw_MGM210PA32JIA/.cproject deleted file mode 100644 index 9183ab0c..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/.cproject +++ /dev/null @@ -1,393 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM210PA32JIA/app.c b/src/ncp-uart-hw_MGM210PA32JIA/app.c deleted file mode 100644 index 9e7f24f5..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/app.c +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @file app.c - * @brief Callbacks implementation and application specific code. - ******************************************************************************* - * # License - * Copyright 2021 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 PLATFORM_HEADER -#include "ember.h" - -//---------------------- -// Implemented Callbacks - -/** @brief - * - * Application framework equivalent of ::emberRadioNeedsCalibratingHandler - */ -void emberAfRadioNeedsCalibratingCallback(void) -{ - sl_mac_calibrate_current_channel(); -} - -/** @brief Init - * Application init function - */ -void emberAfMainInitCallback(void) -{ -} diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/SEGGER_RTT_Conf.h b/src/ncp-uart-hw_MGM210PA32JIA/config/SEGGER_RTT_Conf.h deleted file mode 100644 index df57e166..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/SEGGER_RTT_Conf.h +++ /dev/null @@ -1,428 +0,0 @@ -/********************************************************************* -* SEGGER Microcontroller GmbH * -* The Embedded Experts * -********************************************************************** -* * -* (c) 1995 - 2023 SEGGER Microcontroller GmbH * -* * -* www.segger.com Support: support@segger.com * -* * -********************************************************************** -* * -* SEGGER SystemView * Real-time application analysis * -* * -********************************************************************** -* * -* All rights reserved. * -* * -* SEGGER strongly recommends to not make any changes * -* to or modify the source code of this software in order to stay * -* compatible with the SystemView and RTT protocol, and J-Link. * -* * -* Redistribution and use in source and binary forms, with or * -* without modification, are permitted provided that the following * -* condition is met: * -* * -* o Redistributions of source code must retain the above copyright * -* notice, this condition and the following disclaimer. * -* * -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * -* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * -* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * -* DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR * -* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * -* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * -* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * -* DAMAGE. * -* * -********************************************************************** -* * -* SystemView version: 3.52 * -* * -********************************************************************** ----------------------------END-OF-HEADER------------------------------ -File : SEGGER_RTT_Conf.h -Purpose : Implementation of SEGGER real-time transfer (RTT) which - allows real-time communication on targets which support - debugger memory accesses while the CPU is running. -Revision: $Rev: 24316 $ - -*/ - -#ifndef SEGGER_RTT_CONF_H -#define SEGGER_RTT_CONF_H - -#ifdef __IAR_SYSTEMS_ICC__ - #include -#endif - -/********************************************************************* -* -* Defines, configurable -* -********************************************************************** -*/ - -// -// Take in and set to correct values for Cortex-A systems with CPU cache -// -//#define SEGGER_RTT_CPU_CACHE_LINE_SIZE (32) // Largest cache line size (in bytes) in the current system -//#define SEGGER_RTT_UNCACHED_OFF (0xFB000000) // Address alias where RTT CB and buffers can be accessed uncached -// -// Most common case: -// Up-channel 0: RTT -// Up-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_UP_BUFFERS - #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (3) // Max. number of up-buffers (T->H) available on this target (Default: 3) -#endif -// -// Most common case: -// Down-channel 0: RTT -// Down-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_DOWN_BUFFERS - #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (3) // Max. number of down-buffers (H->T) available on this target (Default: 3) -#endif - -#ifndef BUFFER_SIZE_UP - #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) -#endif - -#ifndef BUFFER_SIZE_DOWN - #define BUFFER_SIZE_DOWN (1024) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) -#endif - -#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE - #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) -#endif - -#ifndef SEGGER_RTT_MODE_DEFAULT - #define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0) -#endif - -/********************************************************************* -* -* RTT memcpy configuration -* -* memcpy() is good for large amounts of data, -* but the overhead is big for small amounts, which are usually stored via RTT. -* With SEGGER_RTT_MEMCPY_USE_BYTELOOP a simple byte loop can be used instead. -* -* SEGGER_RTT_MEMCPY() can be used to replace standard memcpy() in RTT functions. -* This is may be required with memory access restrictions, -* such as on Cortex-A devices with MMU. -*/ -#ifndef SEGGER_RTT_MEMCPY_USE_BYTELOOP - #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 // 0: Use memcpy/SEGGER_RTT_MEMCPY, 1: Use a simple byte-loop -#endif -// -// Example definition of SEGGER_RTT_MEMCPY to external memcpy with GCC toolchains and Cortex-A targets -// -//#if ((defined __SES_ARM) || (defined __CROSSWORKS_ARM) || (defined __GNUC__)) && (defined (__ARM_ARCH_7A__)) -// #define SEGGER_RTT_MEMCPY(pDest, pSrc, NumBytes) SEGGER_memcpy((pDest), (pSrc), (NumBytes)) -//#endif - -// -// Target is not allowed to perform other RTT operations while string still has not been stored completely. -// Otherwise we would probably end up with a mixed string in the buffer. -// If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. -// -// SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. -// Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. -// When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. -// (Higher priority = lower priority number) -// Default value for embOS: 128u -// Default configuration in FreeRTOS: configMAX_SYSCALL_INTERRUPT_PRIORITY: ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) -// In case of doubt mask all interrupts: 1 << (8 - BASEPRI_PRIO_BITS) i.e. 1 << 5 when 3 bits are implemented in NVIC -// or define SEGGER_RTT_LOCK() to completely disable interrupts. -// -#ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) // Interrupt priority to lock on SEGGER_RTT_LOCK on Cortex-M3/4 (Default: 0x20) -#endif - -/********************************************************************* -* -* RTT lock configuration for SEGGER Embedded Studio, -* Rowley CrossStudio and GCC -*/ -#if ((defined(__SES_ARM) || defined(__SES_RISCV) || defined(__CROSSWORKS_ARM) || defined(__GNUC__) || defined(__clang__)) && !defined (__CC_ARM) && !defined(WIN32)) - #if (defined(__ARM_ARCH_6M__) || defined(__ARM_ARCH_8M_BASE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, primask \n\t" \ - "movs r1, #1 \n\t" \ - "msr primask, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr primask, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - #elif (defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_8M_MAIN__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, basepri \n\t" \ - "mov r1, %1 \n\t" \ - "msr basepri, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : "i"(SEGGER_RTT_MAX_INTERRUPT_PRIORITY) \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr basepri, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - - #elif (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #elif defined(__riscv) || defined(__riscv_xlen) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("csrr %0, mstatus \n\t" \ - "csrci mstatus, 8 \n\t" \ - "andi %0, %0, 8 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("csrr a1, mstatus \n\t" \ - "or %0, %0, a1 \n\t" \ - "csrs mstatus, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "a1" \ - ); \ - } - #else - #define SEGGER_RTT_LOCK() - #define SEGGER_RTT_UNLOCK() - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR EWARM -*/ -#ifdef __ICCARM__ - #if (defined (__ARM6M__) && (__CORE__ == __ARM6M__)) || \ - (defined (__ARM8M_BASELINE__) && (__CORE__ == __ARM8M_BASELINE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7EM__) && (__CORE__ == __ARM7EM__)) || \ - (defined (__ARM7M__) && (__CORE__ == __ARM7M__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_BASEPRI(); \ - __set_BASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() __set_BASEPRI(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7A__) && (__CORE__ == __ARM7A__)) || \ - (defined (__ARM7R__) && (__CORE__ == __ARM7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RX -*/ -#ifdef __ICCRX__ - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RL78 -*/ -#ifdef __ICCRL78__ - #define SEGGER_RTT_LOCK() { \ - __istate_t _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for KEIL ARM -*/ -#ifdef __CC_ARM - #if (defined __TARGET_ARCH_6S_M) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char _SEGGER_RTT__PRIMASK __asm( "primask"); \ - _SEGGER_RTT__LockState = _SEGGER_RTT__PRIMASK; \ - _SEGGER_RTT__PRIMASK = 1u; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() _SEGGER_RTT__PRIMASK = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #elif (defined(__TARGET_ARCH_7_M) || defined(__TARGET_ARCH_7E_M)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char BASEPRI __asm( "basepri"); \ - _SEGGER_RTT__LockState = BASEPRI; \ - BASEPRI = SEGGER_RTT_MAX_INTERRUPT_PRIORITY; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() BASEPRI = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for TI ARM -*/ -#ifdef __TI_ARM__ - #if defined (__TI_ARM_V6M0__) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(_SEGGER_RTT__LockState); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for CCRX -*/ -#ifdef __RX - #include - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = get_psw() & 0x010000; \ - clrpsw_i(); - - #define SEGGER_RTT_UNLOCK() set_psw(get_psw() | _SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for embOS Simulation on Windows -* (Can also be used for generic RTT locking with embOS) -*/ -#if defined(WIN32) || defined(SEGGER_RTT_LOCK_EMBOS) - -void OS_SIM_EnterCriticalSection(void); -void OS_SIM_LeaveCriticalSection(void); - -#define SEGGER_RTT_LOCK() { \ - OS_SIM_EnterCriticalSection(); - -#define SEGGER_RTT_UNLOCK() OS_SIM_LeaveCriticalSection(); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration fallback -*/ -#ifndef SEGGER_RTT_LOCK - #define SEGGER_RTT_LOCK() // Lock RTT (nestable) (i.e. disable interrupts) -#endif - -#ifndef SEGGER_RTT_UNLOCK - #define SEGGER_RTT_UNLOCK() // Unlock RTT (nestable) (i.e. enable previous interrupt lock state) -#endif - -#endif -/*************************** End of file ****************************/ diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/app_properties_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/app_properties_config.h deleted file mode 100644 index 6a6b9766..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/app_properties_config.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Application Properties Header File - ******************************************************************************* - * # License - * Copyright 2021 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 APP_PROPERTIES_CONFIG_H -#define APP_PROPERTIES_CONFIG_H - -#include "sl_application_type.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// App Properties settings - -// Type of signature this application is signed with -// Default: APPLICATION_SIGNATURE_NONE(0) -#define SL_APPLICATION_SIGNATURE 0 - -// Location of the signature -// Default: 0xFFFFFFFF -#define SL_APPLICATION_SIGNATURE_LOCATION 0xFFFFFFFF - -// Bitfield representing type of application -#define SL_APPLICATION_TYPE APPLICATION_TYPE - -// Version number for this application -// <0-4294967295:1> -// Default: 1 [0-4294967295] -#define SL_APPLICATION_VERSION 1 - -// Capabilities of this application -// Default: 0 -#define SL_APPLICATION_CAPABILITIES 0 - -//Product ID of the device for which the application is built -#define SL_APPLICATION_PRODUCT_ID { 0 } - -// - -#endif // APP_PROPERTIES_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg.h b/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg.h deleted file mode 100644 index 8e246f80..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_H -#define BTL_INTERFACE_CFG_H - -#if !defined(BOOTLOADER_APPLOADER) - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_1) -#include "btl_interface_cfg_s2c1.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2) -#include "btl_interface_cfg_s2c2.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_3) -#include "btl_interface_cfg_s2c3.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_4) -#include "btl_interface_cfg_s2c4.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_5) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_8) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#endif // !BOOTLOADER_APPLOADER - -#endif // BTL_INTERFACE_CFG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg_s2c1.h b/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg_s2c1.h deleted file mode 100644 index c72c27b0..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/btl_interface_cfg_s2c1.h +++ /dev/null @@ -1,281 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_S2C1_H -#define BTL_INTERFACE_CFG_S2C1_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Interface Trust Zone Security State Configuration - -// Disable multi tiered fallback logic -// The fault handling logic as well as the USART auto-detection logic will be disabled. -// The re-configuration of SMU will be handled by querying the running bootloader -// for the peripheral list. Querying the peripheral list is supported from the bootloader -// version 2.0.0. Check for the BOOTLOADER_CAPABILITY_PERIPHERAL_LIST capability to -// see if the running bootloader supports querying the peripheral list. -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 0 - -// Disable peripheral access fault handling -// The fault handling triggered by an erroneous access of peripherals will be disabled. -// -// This should be disabled iff all the peripherals that are in use by the bootloader -// have been properly configured by the "Manually override security state of peripherals" option. -#define BOOTLOADER_DISABLE_NVM3_FAULT_HANDLING 0 - -// Manually override the security state of peripherals in use by the bootloader -// Default: 0. -// Manually override the security state of peripherals. Choose the peripherals touched -// by the customized code to have a valid secure access state before interacting with the bootloader -// In practice, this means that the chosen peripherals will be available at the secure address, -// which is accessible by the bootloader. Once the application is entered back the secure access state -// is changed back to the original state. -// -// The USART auto-detection logic that detects which, if any, USART is in use by the bootloader -// will be disabled. Make sure to choose the correct USART used by the bootloader. -#define BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE 0 -// EMU -// Update secure access state of EMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_EMU 0 - -// CMU -// Update secure access state of CMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_CMU 0 - -// HFXO0 -// Update secure access state of HFXO0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_HFXO0 0 - -// HFRCO0 -// Update secure access state of HFRCO0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_HFRCO0 0 - -// FSRCO -// Update secure access state of FSRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_FSRCO 0 - -// DPLL0 -// Update secure access state of DPLL0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_DPLL0 0 - -// LFXO -// Update secure access state of LFXO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFXO 0 - -// LFRCO -// Update secure access state of LFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFRCO 0 - -// ULFRCO -// Update secure access state of ULFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_ULFRCO 0 - -// MSC -// Update secure access state of MSC before calling into bootloader -#define BOOTLOADER_PPUSATD0_MSC 0 - -// ICACHE0 -// Update secure access state of ICACHE0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_ICACHE0 0 - -// PRS -// Update secure access state of PRS before calling into bootloader -#define BOOTLOADER_PPUSATD0_PRS 0 - -// GPIO -// Update secure access state of GPIO before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPIO 0 - -// LDMA -// Update secure access state of LDMA before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMA 0 - -// LDMAXBAR -// Update secure access state of LDMAXBAR before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMAXBAR 0 - -// TIMER0 -// Update secure access state of TIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER0 0 - -// TIMER1 -// Update secure access state of TIMER1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER1 0 - -// TIMER2 -// Update secure access state of TIMER2 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER2 0 - -// TIMER3 -// Update secure access state of TIMER3 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER3 0 - -// USART0 -// Update secure access state of USART0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART0 0 - -// USART1 -// Update secure access state of USART1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART1 0 - -// USART2 -// Update secure access state of USART2 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART2 0 - -// BURTC -// Update secure access state of BURTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURTC 0 - -// I2C1 -// Update secure access state of I2C1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_I2C1 0 - -// CHIPTESTCTRL -// Update secure access state of CHIPTESTCTRL before calling into bootloader -#define BOOTLOADER_PPUSATD0_CHIPTESTCTRL 0 - -// LVGD -// Update secure access state of LVGD before calling into bootloader -#define BOOTLOADER_PPUSATD0_LVGD 0 - -// SYSCFG -// Update secure access state of SYSCFG before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFG 0 - -// BURAM -// Update secure access state of BURAM before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURAM 0 - -// IFADCDEBUG -// Update secure access state of IFADCDEBUG before calling into bootloader -#define BOOTLOADER_PPUSATD0_IFADCDEBUG 0 - -// GPCRC -// Update secure access state of GPCRC before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPCRC 0 - -// RTCC -// Update secure access state of RTCC before calling into bootloader -#define BOOTLOADER_PPUSATD0_RTCC 0 - -// LETIMER0 -// Update secure access state of LETIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_LETIMER0 0 - -// IADC0 -// Update secure access state of IADC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_IADC0 0 - -// ACMP0 -// Update secure access state of ACMP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP0 0 - -// ACMP1 -// Update secure access state of ACMP1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP1 0 - -// I2C0 -// Update secure access state of I2C0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_I2C0 0 - -// HFRCOEM23 -// Update secure access state of HFRCOEM23 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFRCOEM23 0 - -// WDOG0 -// Update secure access state of WDOG0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG0 0 - -// WDOG1 -// Update secure access state of WDOG1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG1 0 - -// AMUXCP0 -// Update secure access state of AMUXCP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_AMUXCP0 0 - -// RADIOAES -// Update secure access state of RADIOAES before calling into bootloader -#define BOOTLOADER_PPUSATD1_RADIOAES 0 - -// BUFC -// Update secure access state of BUFC before calling into bootloader -#define BOOTLOADER_PPUSATD1_BUFC 0 - -// SMU -// Update secure access state of SMU before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMU 0 - -// AHBRADIO -// Update secure access state of AHBRADIO before calling into bootloader -#define BOOTLOADER_PPUSATD1_AHBRADIO 0 - -// SEMAILBOX -// Update secure access state of SEMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD1_SEMAILBOX 0 -// - -// -// <<< end of configuration section >>> - -#if BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE == 1 -#define BOOTLOADER_PPUSATD0_MASK ((BOOTLOADER_PPUSATD0_EMU << _SMU_PPUSATD0_EMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CMU << _SMU_PPUSATD0_CMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HFXO0 << _SMU_PPUSATD0_HFXO0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HFRCO0 << _SMU_PPUSATD0_HFRCO0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_FSRCO << _SMU_PPUSATD0_FSRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DPLL0 << _SMU_PPUSATD0_DPLL0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFXO << _SMU_PPUSATD0_LFXO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFRCO << _SMU_PPUSATD0_LFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ULFRCO << _SMU_PPUSATD0_ULFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_MSC << _SMU_PPUSATD0_MSC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ICACHE0 << _SMU_PPUSATD0_ICACHE0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_PRS << _SMU_PPUSATD0_PRS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPIO << _SMU_PPUSATD0_GPIO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMA << _SMU_PPUSATD0_LDMA_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMAXBAR << _SMU_PPUSATD0_LDMAXBAR_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER0 << _SMU_PPUSATD0_TIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER1 << _SMU_PPUSATD0_TIMER1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER2 << _SMU_PPUSATD0_TIMER2_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER3 << _SMU_PPUSATD0_TIMER3_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART0 << _SMU_PPUSATD0_USART0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART1 << _SMU_PPUSATD0_USART1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART2 << _SMU_PPUSATD0_USART2_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURTC << _SMU_PPUSATD0_BURTC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_I2C1 << _SMU_PPUSATD0_I2C1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CHIPTESTCTRL << _SMU_PPUSATD0_CHIPTESTCTRL_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LVGD << _SMU_PPUSATD0_LVGD_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFG << _SMU_PPUSATD0_SYSCFG_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURAM << _SMU_PPUSATD0_BURAM_SHIFT) \ - | (BOOTLOADER_PPUSATD0_IFADCDEBUG << _SMU_PPUSATD0_IFADCDEBUG_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPCRC << _SMU_PPUSATD0_GPCRC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_RTCC << _SMU_PPUSATD0_RTCC_SHIFT)) -#define BOOTLOADER_PPUSATD1_MASK ((BOOTLOADER_PPUSATD1_LETIMER0 << _SMU_PPUSATD1_LETIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_IADC0 << _SMU_PPUSATD1_IADC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP0 << _SMU_PPUSATD1_ACMP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP1 << _SMU_PPUSATD1_ACMP1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_I2C0 << _SMU_PPUSATD1_I2C0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFRCOEM23 << _SMU_PPUSATD1_HFRCOEM23_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG0 << _SMU_PPUSATD1_WDOG0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG1 << _SMU_PPUSATD1_WDOG1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AMUXCP0 << _SMU_PPUSATD1_AMUXCP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_RADIOAES << _SMU_PPUSATD1_RADIOAES_SHIFT) \ - | (BOOTLOADER_PPUSATD1_BUFC << _SMU_PPUSATD1_BUFC_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMU << _SMU_PPUSATD1_SMU_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AHBRADIO << _SMU_PPUSATD1_AHBRADIO_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SEMAILBOX << _SMU_PPUSATD1_SEMAILBOX_SHIFT)) -#endif // BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE - -#endif // BTL_INTERFACE_CFG_S2C1_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/dmadrv_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/dmadrv_config.h deleted file mode 100644 index ed105e4f..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/dmadrv_config.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef DMADRV_CONFIG_H -#define DMADRV_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// DMA interrupt priority <0-15> -// Priority of the DMA interrupt. Smaller number equals higher priority. -// Default: 8 -#define EMDRV_DMADRV_DMA_IRQ_PRIORITY 8 - -// Number of available channels <1-8> -// Number of DMA channels supported by the driver. A lower channel count -// will reduce RAM memory footprint. The default is to support all channels -// on the device. -// Default: 8 -#define EMDRV_DMADRV_DMA_CH_COUNT 8 - -// Number of fixed priority channels -// This will configure channels [0, CH_PRIORITY - 1] as fixed priority, -// and channels [CH_PRIORITY, CH_COUNT] as round-robin. -// Default: 0 -#define EMDRV_DMADRV_DMA_CH_PRIORITY 0 - -// <<< end of configuration section >>> - -#endif // DMADRV_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/emlib_core_debug_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_common_ash_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_common_ash_config.h deleted file mode 100644 index ce1ad5d7..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_common_ash_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy Host ASH configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_NCP_ASH_CONFIG_H -#define LEGACY_NCP_ASH_CONFIG_H - -// The USART used for ASH communications in COM_Port_t format, as defined in platform/service/legacy_hal/inc/serial.h (see defined names for USART ports) <-1..3:1> -// Default: (-1) -// The default value of -1 causes the ASH code to try to use the USART assigned to the "VCOM" instance of SL_IOSTREAM_USART. Otherwise the value is passed to Legacy HAL, which attempts to find an instance of SL_IOSTREAM_USART which uses that USART. -#define LEGACY_NCP_ASH_SERIAL_PORT (-1) - -#endif /* LEGACY_NCP_ASH_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_hal_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_hal_config.h deleted file mode 100644 index e3386e94..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/legacy_hal_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy HAL configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_HAL_CONFIG_H -#define LEGACY_HAL_CONFIG_H - -// Translate button interrupt callback -// When the Simple Button component is included, it provides a callback for -// buttons configured in interrupt mode. When this option is 1, Legacy HAL -// will try to consume that callback and translate it to "halButtonIsr", -// the legacy callback. If anything else in the application consumes the -// Simple button callback, it will override Legacy HAL's version. -// Default: 1 -#define LEGACY_HAL_TRANSLATE_BUTTON_INTERRUPT (1) - -#endif /* LEGACY_HAL_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/nvm3_default_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/nvm3_default_config.h deleted file mode 100644 index 5f127358..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/nvm3_default_config.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef NVM3_DEFAULT_CONFIG_H -#define NVM3_DEFAULT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// NVM3 Default Instance Configuration - -#ifndef NVM3_DEFAULT_CACHE_SIZE -// NVM3 Default Instance Cache Size -// Number of NVM3 objects to cache. To reduce access times this number -// should be equal to or higher than the number of NVM3 objects in the -// default NVM3 instance. -// Default: 200 -#define NVM3_DEFAULT_CACHE_SIZE 200 -#endif - -#ifndef NVM3_DEFAULT_MAX_OBJECT_SIZE -// NVM3 Default Instance Max Object Size -// Max NVM3 object size that can be stored. -// Default: 254 -#define NVM3_DEFAULT_MAX_OBJECT_SIZE 254 -#endif - -#ifndef NVM3_DEFAULT_REPACK_HEADROOM -// NVM3 Default Instance User Repack Headroom -// Headroom determining how many bytes below the forced repack limit the user -// repack limit should be placed. The default is 0, which means the user and -// forced repack limits are equal. -// Default: 0 -#define NVM3_DEFAULT_REPACK_HEADROOM 0 -#endif - -#ifndef NVM3_DEFAULT_NVM_SIZE -// NVM3 Default Instance Size -// Size of the NVM3 storage region in flash. This size should be aligned with -// the flash page size of the device. -// Default: 40960 -#define NVM3_DEFAULT_NVM_SIZE 32768 -#endif - -// - -// <<< end of configuration section >>> - -#endif // NVM3_DEFAULT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/pin_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/pin_config.h deleted file mode 100644 index 4b558eb2..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/pin_config.h +++ /dev/null @@ -1,125 +0,0 @@ -#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 SWV on PA03 -#ifndef GPIO_SWV_PORT -#define GPIO_SWV_PORT gpioPortA -#endif -#ifndef GPIO_SWV_PIN -#define GPIO_SWV_PIN 3 -#endif - -// [GPIO]$ - -// $[TIMER0] -// [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 gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/psa_crypto_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_manufacturing_token_header.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_manufacturing_token_header.h deleted file mode 100644 index 08b66580..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_manufacturing_token_header.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom manufacturing token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Manufacturing Token Usage Examples - * - * The macro DEFINE_MFG_TOKEN() should be used when instantiating a - * manufacturing token. Refer to the list of *_LOCATION defines to - * see what memory is allocated and what memory is unused/available. - * - * The _LOCATION is or'ed with either USERDATA_TOKENS or LOCKBITSDATA_TOKENS - * to control which segment of memory the token is placed in. - * - * REMEMBER: By definition, manufacturing tokens exist at fixed addresses. - * Tokens should not overlap. - * - * Here is a basic example of a manufacturing token header file: - * - * Note that the address used here is just an example. It places the 8 bytes - * in the middle of the USERDATA space on an EFR32MG12P433F1024GM68. - * To review addresses of existing tokens when choosing a new address, refer - * to an961-custom-nodes-efr32.pdf and the files - * platform/service/token_manager/inc/sl_token_manufacturing_series_1.h - * platform/service/token_manager/inc/sl_token_manufacturing_series_2.h - * - * @code - * #define CREATOR_MFG_EXAMPLE 0x4242 - * #ifdef DEFINETYPES - * typedef uint8_t tokTypeMfgExample[8]; - * #endif - * #ifdef DEFINETOKENS - * #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - * DEFINE_MFG_TOKEN(MFG_EXAMPLE, - * tokTypeMfgExample, - * MFG_EXAMPLE_LOCATION, - * {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - * #endif - * @endcode - * - * Since this file contains both the typedefs and the token defs, there are - * two \#defines used to select which one is needed when this file is included. - * \#define DEFINETYPES is used to select the type definitions and - * \#define DEFINETOKENS is used to select the token definitions. - * - * To use this example: - * Ensure the Token Manager's configuration in Studio - * has enabled Custom Manufacuturing Tokens. - * - * Ensure your application has: - * #include "sl_token_api.h" - * #include "sl_token_manager.h" - * - * This code will read the token data: - * uint8_t data[8]; - * sl_token_get_data(TOKEN_MFG_EXAMPLE, 0, &data, sizeof(data)); - ******************************************************************************/ - -/* - #define CREATOR_MFG_EXAMPLE 0x4242 - #ifdef DEFINETYPES - typedef uint8_t tokTypeMfgExample[8]; - #endif - #ifdef DEFINETOKENS - #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - DEFINE_MFG_TOKEN(MFG_EXAMPLE, - tokTypeMfgExample, - MFG_EXAMPLE_LOCATION, - {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - #endif - */ diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_token_header.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_token_header.h deleted file mode 100644 index abfe057a..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_custom_token_header.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Tokens Usage Examples - * - * #define BASICTOKEN1_DEFAULT 0xA5F0 - * #define BASICTOKEN2_DEFAULT { { 0xAA, 0xBB, 0xCC }, 0xDDDD } - * #define BASICTOKEN3_DEFAULT { { 0 } } - * #define COUNTERTOKEN1_DEFAULT 0 - * #define COUNTERTOKEN2_DEFAULT 0xCCCCCCCC - * #define INDEXEDTOKEN1_DEFAULT 0 - * #define INDEXEDTOKEN2_DEFAULT { 0xDDDD } - * #define INDEXEDTOKEN3_DEFAULT { 0xAA, 0xBBBB, { 0x00, 0x11, 0x22 }, 0xCC } - * - * #ifdef DEFINETYPES - * typedef uint16_t tokTypeBasicToken1; - * typedef struct { - * uint8_t basicToken2Array[3]; - * uint16_t basicToken2VarA; - * } tokTypeBasicToken2; - * - * typedef struct { - * uint8_t basicToken3Array[254]; - * } tokTypeBasicToken3; - * - * typedef uint32_t tokTypeCounterToken1; - * typedef uint32_t tokTypeCounterToken2; - * - * typedef uint8_t tokTypeIndexedToken1Element; - * typedef uint16_t tokTypeIndexedToken2Element; - * - * typedef struct { - * uint8_t indexedToken3VarA; - * uint16_t indexedToken3VarB; - * uint8_t indexedToken3Array[3]; - * int8_t indexedToken3VarC; - * } tokTypeIndexedToken3Element; - * - * #endif - * - * #ifdef DEFINETOKENS - * DEFINE_BASIC_TOKEN(BASICTOKEN1, - * tokTypeBasicToken1, - * BASICTOKEN1_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN2, - * tokTypeBasicToken2, - * BASICTOKEN2_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN3, - * tokTypeBasicToken3, - * BASICTOKEN3_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN1, - * tokTypeCounterToken1, - * COUNTERTOKEN1_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN2, - * tokTypeCounterToken2, - * COUNTERTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN1, - * tokTypeIndexedToken1Element, - * INDEXEDTOKEN1_ELEMENTS, - * INDEXEDTOKEN1_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN2, - * tokTypeIndexedToken2Element, - * INDEXEDTOKEN2_ELEMENTS, - * INDEXEDTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN3, - * tokTypeIndexedToken3Element, - * INDEXEDTOKEN3_ELEMENTS, - * INDEXEDTOKEN3_DEFAULT) - * #endif - * - ******************************************************************************/ diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_debug_swo_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_debug_swo_config.h deleted file mode 100644 index fee7e65d..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_debug_swo_config.h +++ /dev/null @@ -1,106 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SWO configuration - ******************************************************************************* - * # 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_DEBUG_SWO_CONFIG_H -#define SL_DEBUG_SWO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// SWO Configuration - -// SWO Frequency -// Must be 875 kHz for communication with Silicon Labs debuggers -// Default: 875000 -#define SL_DEBUG_SWO_FREQ 875000 - -// Enable interrupt event trace -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_IRQ 0 - -// Enable Program Counter samples -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_PC 0 - -// SWO debug sample intervals -// <64=> 64 -// <128=> 128 -// <192=> 192 -// <256=> 256 -// <320=> 320 -// <384=> 384 -// <448=> 448 -// <512=> 512 -// <576=> 576 -// <640=> 640 -// <704=> 704 -// <768=> 768 -// <832=> 832 -// <896=> 896 -// <960=> 960 -// <1024=> 1024 -// <2048=> 2048 -// <3072=> 3072 -// <4096=> 4096 -// <5102=> 5102 -// <6144=> 6144 -// <7168=> 7168 -// <8192=> 8192 -// <9216=> 9216 -// <10240=> 10240 -// <11264=> 11264 -// <12288=> 12288 -// <13312=> 13312 -// <14336=> 14336 -// <15360=> 15360 -// Must be 64, 128, 192, [ n * 64 ], 1024, 2048, 3072, [ n * 1024 ] , 15360 -// Default: 15360 -#define SL_DEBUG_SWO_SAMPLE_INTERVAL 15360 -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[GPIO_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL GPIO -#endif - -// GPIO SWV on PA03 -#ifndef SL_DEBUG_SWV_PORT -#define SL_DEBUG_SWV_PORT gpioPortA -#endif -#ifndef SL_DEBUG_SWV_PIN -#define SL_DEBUG_SWV_PIN 3 -#endif -// [GPIO_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // SL_DEBUG_SWO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_emu_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_emu_config.h deleted file mode 100644 index 4ac96bac..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_emu_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfrco_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfrco_config.h deleted file mode 100644 index d2d99400..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfrco_config.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFRCO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFRCO_CONFIG_H -#define SL_DEVICE_INIT_HFRCO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// 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 -// Default: cmuHFRCODPLLFreq_80M0Hz -#define SL_DEVICE_INIT_HFRCO_BAND cmuHFRCODPLLFreq_80M0Hz - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFRCO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfxo_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfxo_config.h deleted file mode 100644 index 675037de..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_device_init_hfxo_config.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFXO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFXO_CONFIG_H -#define SL_DEVICE_INIT_HFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// External sine wave -// Default: cmuHfxoOscMode_Crystal -#define SL_DEVICE_INIT_HFXO_MODE cmuHfxoOscMode_Crystal - -// Frequency <38000000-40000000> -// Default: 38400000 -#define SL_DEVICE_INIT_HFXO_FREQ 38400000 - -// HFXO precision in PPM <0-65535> -// Default: 500 -#define SL_DEVICE_INIT_HFXO_PRECISION 500 - -// CTUNE <0-255> -// Default: 140 -#define SL_DEVICE_INIT_HFXO_CTUNE 140 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFXO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_fem_util_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_fem_util_config.h deleted file mode 100644 index 7cf4f4fb..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_fem_util_config.h +++ /dev/null @@ -1,95 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Front End Module 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. - * - ******************************************************************************/ - -#ifndef SL_FEM_UTIL_CONFIG_H -#define SL_FEM_UTIL_CONFIG_H - -#include "em_gpio.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// FEM Configuration -// Enable RX Mode -// Default: 0 -#define SL_FEM_UTIL_RX_ENABLE 0 -// Enable TX Mode -// Default: 0 -#define SL_FEM_UTIL_TX_ENABLE 0 -// Enable Bypass Mode -// Default: 0 -#define SL_FEM_UTIL_BYPASS_ENABLE 0 -// Enable TX High Power Mode -// Default: 0 -#define SL_FEM_UTIL_TX_HIGH_POWER_ENABLE 0 -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_FEM_UTIL_RX -// $[PRS_SL_FEM_UTIL_RX] -//#define SL_FEM_UTIL_RX_CHANNEL 5 - -// PRS CH5 on PD10 -//#define SL_FEM_UTIL_RX_PORT gpioPortD -//#define SL_FEM_UTIL_RX_PIN 10 -//#define SL_FEM_UTIL_RX_LOC 0 - -// [PRS_SL_FEM_UTIL_RX]$ - -// SL_FEM_UTIL_TX -// $[PRS_SL_FEM_UTIL_TX] - -// [PRS_SL_FEM_UTIL_TX]$ - -// SL_FEM_UTIL_SLEEP -// $[PRS_SL_FEM_UTIL_SLEEP] -//#define SL_FEM_UTIL_SLEEP_CHANNEL 6 - -// PRS CH6 on PD11 -//#define SL_FEM_UTIL_SLEEP_PORT gpioPortD -//#define SL_FEM_UTIL_SLEEP_PIN 11 -//#define SL_FEM_UTIL_SLEEP_LOC 13 - -// [PRS_SL_FEM_UTIL_SLEEP]$ - -// SL_FEM_UTIL_BYPASS -// $[GPIO_SL_FEM_UTIL_BYPASS] - -// [GPIO_SL_FEM_UTIL_BYPASS]$ - -// SL_FEM_UTIL_TX_HIGH_POWER -// $[GPIO_SL_FEM_UTIL_TX_HIGH_POWER] - -// [GPIO_SL_FEM_UTIL_TX_HIGH_POWER]$ -// <<< sl:end pin_tool >>> - -#define SL_FEM_UTIL_OPTIMIZED_PHY_ENABLE 0 -#define SL_FEM_UTIL_RUNTIME_PHY_SELECT 0 - -#endif // SL_FEM_UTIL_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_usart_vcom_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_usart_vcom_config.h deleted file mode 100644 index 7053d4f5..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_usart_vcom_config.h +++ /dev/null @@ -1,105 +0,0 @@ -/***************************************************************************//** - * @file - * @brief IOSTREAM_USART Config. - ******************************************************************************* - * # 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_IOSTREAM_USART_VCOM_CONFIG_H -#define SL_IOSTREAM_USART_VCOM_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_IOSTREAM_USART_VCOM_BAUDRATE 115200 - -// Parity mode to use -// No Parity -// Even parity -// Odd parity -// Default: usartNoParity -#define SL_IOSTREAM_USART_VCOM_PARITY usartNoParity - -// Number of stop bits to use. -// 0.5 stop bits -// 1 stop bits -// 1.5 stop bits -// 2 stop bits -// Default: usartStopbits1 -#define SL_IOSTREAM_USART_VCOM_STOP_BITS usartStopbits1 - -// Flow control -// None -// CTS -// RTS -// CTS/RTS -// Software Flow control (XON/XOFF) -// Default: usartHwFlowControlNone -#define SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE usartHwFlowControlCtsAndRts - -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE 32 - -// Convert \n to \r\n -// It can be changed at runtime using the C API. -// Default: 0 -#define SL_IOSTREAM_USART_VCOM_CONVERT_BY_DEFAULT_LF_TO_CRLF 0 - -// Restrict the energy mode to allow the reception. -// Default: 1 -// Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption. -#define SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION 1 - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_IOSTREAM_USART_VCOM -// $[USART_SL_IOSTREAM_USART_VCOM] -#warning "IO Stream USART peripheral not configured" -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL USART0 -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO 0 - -// #define SL_IOSTREAM_USART_VCOM_TX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_TX_PIN 11 - -// #define SL_IOSTREAM_USART_VCOM_RX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RX_PIN 10 - -// #define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortA -// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12 - -// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8 -// [USART_SL_IOSTREAM_USART_VCOM]$ -// <<< sl:end pin_tool >>> - -#endif diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_vuart_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_vuart_config.h deleted file mode 100644 index 82889008..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_iostream_vuart_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SL_IOSTREAM_VUART 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_IOSTREAM_VUART_CONFIG_H -#define SL_IOSTREAM_VUART_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// VUART settings -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_VUART_RX_BUFFER_SIZE 32 - -// -// <<< end of configuration section >>> -#endif diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_legacy_hal_wdog_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_legacy_hal_wdog_config.h deleted file mode 100644 index 86a5c629..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_legacy_hal_wdog_config.h +++ /dev/null @@ -1,88 +0,0 @@ -/***************************************************************************//** - * @file sl_legacy_hal_wdog_config.h - * @brief Legacy HAL watchdog configuration file. - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_LEGACY_HAL_WDOG_CONFIG_H -#define SL_LEGACY_HAL_WDOG_CONFIG_H - -// Legacy HAL WDOG Configurations - -// Disable calling halInternalEnableWatchDog in base-replacement.c's halInit(). -// Default: 0 -#define SL_LEGACY_HAL_DISABLE_WATCHDOG 0 -// - -// WDOG to use for SL_LEGACY_HAL_WDOGn. -// Default: 0 -// <0=> WDOG0 -// <1=> WDOD1 -#define SL_LEGACY_HAL_WDOGn 0 - -// Period for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogPeriod_64k -// The default period of wdogPeriod_64k will trigger watchdog reset after 2 seconds (64k / 32k) and warning interrupt is triggered after 1.5 seconds (75% of timeout). -// wdogPeriod_9 / 9 clock periods -// wdogPeriod_17 / 17 clock periods -// wdogPeriod_33 / 33 clock periods -// wdogPeriod_65 / 65 clock periods -// wdogPeriod_129 / 129 clock periods -// wdogPeriod_257 / 257 clock periods -// wdogPeriod_513 / 513 clock periods -// wdogPeriod_1k / 1025 clock periods -// wdogPeriod_2k / 2049 clock periods -// wdogPeriod_4k / 4097 clock periods -// wdogPeriod_8k / 8193 clock periods -// wdogPeriod_16k / 16385 clock periods -// wdogPeriod_32k / 32769 clock periods -// wdogPeriod_64k / 65537 clock periods -// wdogPeriod_128k / 131073 clock periods -// wdogPeriod_256k / 262145 clock periods -#define SL_LEGACY_HAL_WDOG_PERIOD wdogPeriod_64k - -// Warning for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogWarnTime75pct -// The default warning of wdogWarnTime75pct will trigger warning interrupt after 1.5 seconds (75% of timeout) if the period is wdogPeriod_64k. -// wdogWarnDisable / Watchdog warning period is disabled -// wdogWarnTime25pct / Watchdog warning period is 25% of the timeout -// wdogWarnTime50pct / Watchdog warning period is 50% of the timeout -// wdogWarnTime75pct / Watchdog warning period is 75% of the timeout -#define SL_LEGACY_HAL_WDOG_WARNING wdogWarnTime75pct - -// Counter keeps running during debug halt. -// Default: 0 -#define SL_LEGACY_HAL_WDOG_DEBUG_RUN 0 -// - -// - -#endif /* SL_LEGACY_HAL_WDOG_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_device_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_memory_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_power_manager_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_power_manager_config.h deleted file mode 100644 index a97fb038..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_power_manager_config.h +++ /dev/null @@ -1,64 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Manager 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_POWER_MANAGER_CONFIG_H -#define SL_POWER_MANAGER_CONFIG_H - -// Power Manager Configuration - -// Enable custom IRQ handler for external HF oscillator. -// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application. -// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0 - -// Enable fast wakeup (disable voltage scaling in EM2/3 mode) -// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us. -// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup() -// Default: 0 -#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0 - -// Enable debugging feature -// Enable or disable debugging features (trace the different modules that have requirements). -// Default: 0 -#define SL_POWER_MANAGER_DEBUG 0 - -// Maximum numbers of requirements that can be logged -// Default: 10 -#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10 -// - -// - -#endif /* SL_POWER_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pa_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pa_config.h deleted file mode 100644 index a300b57e..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pa_config.h +++ /dev/null @@ -1,81 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Amplifier 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PA_CONFIG_H -#define SL_RAIL_UTIL_PA_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// PA Configuration -// Initial PA Power (deci-dBm, 100 = 10.0 dBm) -// Default: 100 -#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100 -// PA Ramp Time (microseconds) -// <0-65535:1> -// Default: 10 -#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10 -// Milli-volts on PA supply pin (PA_VDD) -// <0-65535:1> -// Default: 3300 -#define SL_RAIL_UTIL_PA_VOLTAGE_MV 3300 -// 2.4 GHz PA Selection -// Highest Possible -// High Power (chip-specific) -// Medium Power (chip-specific) -// Low Power -// Disable -// Default: RAIL_TX_POWER_MODE_2P4GIG_HIGHEST -#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HIGHEST -// Sub-1 GHz PA Selection -// Disable -// Default: RAIL_TX_POWER_MODE_NONE -#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE -// - -// PA Curve Configuration -// Header file containing custom PA curves -// Default: "pa_curves_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h" -// Header file containing PA curve types -// Default: "pa_curve_types_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h" -// - -// PA Calibration Configuration -// Apply PA Calibration Factory Offset -// Default: 1 -#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 1 -// - -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_PA_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_power_manager_init_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_power_manager_init_config.h deleted file mode 100644 index cbc69f24..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_power_manager_init_config.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief RAIL power manager 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H -#define SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// RAIL power manager configuration - -// Enable RAIL power manager initialization -// Default: 1 -#define SL_RAIL_UTIL_RAIL_POWER_MANAGER_INIT 1 - -// -// <<< end of configuration section >>> -#endif // SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pti_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pti_config.h deleted file mode 100644 index cb485cf6..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_pti_config.h +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Packet Trace Information 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PTI_CONFIG_H -#define SL_RAIL_UTIL_PTI_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PTI Configuration - -// PTI mode -// UART -// UART onewire -// SPI -// Disabled -// Default: RAIL_PTI_MODE_UART -#define SL_RAIL_UTIL_PTI_MODE RAIL_PTI_MODE_DISABLED - -// PTI Baud Rate (Hertz) -// <147800-20000000:1> -// Default: 1600000 -#define SL_RAIL_UTIL_PTI_BAUD_RATE_HZ 1600000 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_RAIL_UTIL_PTI -// $[PTI_SL_RAIL_UTIL_PTI] -#ifndef SL_RAIL_UTIL_PTI_PERIPHERAL -#define SL_RAIL_UTIL_PTI_PERIPHERAL PTI -#endif - -// [PTI_SL_RAIL_UTIL_PTI]$ - -// <<< sl:end pin_tool >>> - -#endif // SL_RAIL_UTIL_PTI_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_rf_path_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_rf_path_config.h deleted file mode 100644 index f3ea8351..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_rail_util_rf_path_config.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief - ******************************************************************************* - * # 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_RAIL_UTIL_RF_PATH_CONFIG_H -#define SL_RAIL_UTIL_RF_PATH_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// Chip-internal RF Path Configuration -// RF Path Mode -// Path 0 -// Path 1 -// Default: RAIL_ANTENNA_1 -#define SL_RAIL_UTIL_RF_PATH_INT_RF_PATH_MODE RAIL_ANTENNA_0 -// - -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_RF_PATH_CONFIG_H diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_sleeptimer_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_sleeptimer_config.h deleted file mode 100644 index 8344ef5f..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_sleeptimer_config.h +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM210PA32JIA/config/sl_token_manager_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_token_manager_config.h deleted file mode 100644 index d99e78e0..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_token_manager_config.h +++ /dev/null @@ -1,54 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Token Manager Configurations - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_TOKEN_MANAGER_CONFIG_H -#define SL_TOKEN_MANAGER_CONFIG_H - -// TOKEN MANAGER Configurations - -// Enable Custom Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_TOKENS_PRESENT 0 - -// File containing custom tokens -// Default: "sl_custom_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_TOKEN_HEADER "sl_custom_token_header.h" - -// - -// Enable Custom Manufacturing Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT 0 - -// File containing custom manufacturing tokens -// Default: "sl_custom_manufacturing_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER "sl_custom_manufacturing_token_header.h" - -// -// - -#if (SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT) -#define APPLICATION_MFG_TOKEN_HEADER SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER -#endif // SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT - -#endif // SL_TOKEN_MANAGER_CONFIG_H - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_debug_print_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_debug_print_config.h deleted file mode 100644 index 9c901f40..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_debug_print_config.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Debug Print component configuration header. - * - ******************************************************************************* - * # License - * Copyright 2019 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// ZigBee Debug Print configuration - -// Stack group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_ENABLED (1) - -// Stack group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT (1) - -// Core group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_ENABLED (1) - -// Core group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_APP_GROUP_ENABLED (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_ENABLED (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT (1) - -// Legacy App Framework Debug group enabled -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_ENABLED (0) - -// Legacy App Framework Debug runtime default -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_RUNTIME_DEFAULT (0) - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_green_power_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_green_power_config.h deleted file mode 100644 index 3d62c926..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_green_power_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Green Power component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Green Power Library configuration - -// Green Power Proxy Table Size <1-126> -// Default: 5 -// The maximum number of Green Power proxy table entries supported by the stack. -#define EMBER_GP_PROXY_TABLE_SIZE 5 - -// Green Power Sink Table Size <0-126> -// Default: 0 -// The maximum number of Green Power sink table entries supported by the stack. -#define EMBER_GP_SINK_TABLE_SIZE 0 - -// Green Power incoming FC (as part of proxy table) Token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of proxy table) table token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_PROXY_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_TOKEN_TABLE_SIZE 0 - -// Green Power incoming FC (as part of sink table) token table token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of sink table)Token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_SINK_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TABLE_SIZE 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_light_link_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_light_link_config.h deleted file mode 100644 index 7be64b76..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_light_link_config.h +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Light Link component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee ZigBee Light Link Library configuration - -// Group addresses <0-255> -// Default: 0 -// The number of unique group identifiers that this device requires. -#define EMBER_ZLL_GROUP_ADDRESSES 0 - -// RSSI threshold <-128..127:1> -// Default: -40 -// The RSSI threshold applied to incoming scan requests. The stack will ignore scan requests with corrected RSSI values less than this threshold. -#define EMBER_ZLL_RSSI_THRESHOLD -40 - -// Apply RSSI threshold to all interpan messages -// Default: FALSE -// True if the RSSI threshold is to be applied to all incoming touchlink interpan messages. This is not required by the Zigbee 3.0 specifications, but may be useful for testing in a busy environment. -#define EMBER_ZLL_APPLY_THRESHOLD_TO_ALL_INTERPANS 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_pro_stack_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_pro_stack_config.h deleted file mode 100644 index 0d1f068c..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_pro_stack_config.h +++ /dev/null @@ -1,111 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee PRO Full Stack component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee PRO Stack Library configuration - -// Child Table Size <0-64> -// Default: 6 -// The maximum number of ZigBee PRO End Devices that can be supported by a single device. -#define EMBER_MAX_END_DEVICE_CHILDREN 32 - -// Packet Buffer Count <20-255> -// Default: 75 -// The maximum number of packet buffers supported by the system. This is limited by the amount of available RAM. -#define EMBER_PACKET_BUFFER_COUNT 255 - -// End Device keep alive support mode -// End Device keep alive support mode -// MAC Data Poll Keep Alive -// End Device Timeout Keep Alive -// Keep Alive Support All -// Default: EMBER_KEEP_ALIVE_SUPPORT_ALL -// End Device keep alive support mode on the coordinator/router could be set here. -#define EMBER_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE EMBER_KEEP_ALIVE_SUPPORT_ALL - -// End Device Poll Timeout Value -// End Device Poll Timeout Value -// Seconds-10 -// Minutes-2 -// Minutes-4 -// Minutes-8 -// Minutes-16 -// Minutes-32 -// Minutes-64 -// Minutes-128 -// Minutes-256 -// Minutes-512 -// Minutes-1024 -// Minutes-2048 -// Minutes-4096 -// Minutes-8192 -// Minutes-16384 -// Default: MINUTES_256 -// The amount of time that must pass without hearing a MAC data poll from the device before the end device is removed from the child table. For a router device this applies to its children. For an end device, this is the amount of time before it automatically times itself out. -#define EMBER_END_DEVICE_POLL_TIMEOUT MINUTES_256 - -// Link Power Delta Request Interval <1-65535> -// Default: 300 -// The amount of time in seconds that pass between link power delta requests. -#define EMBER_LINK_POWER_DELTA_INTERVAL 300 - -// APS Unicast Message Queue Size <1-255> -// Default: 10 -// The maximum number of APS unicast messages that can be queued up by the stack. A message is considered queued when emberSendUnicast() is called and is de-queued when the emberMessageSentHandler() is called. -#define EMBER_APS_UNICAST_MESSAGE_COUNT 10 - -// APS unicast Message Duplicate Rejection table Size <1-255> -// Default: 5 -// The maximum number of APS unicast messages that can be stored in the stack, to reject duplicate processing/forwarding of APS messages. -// Size of 1 is basically the same thing as no duplicate rejection -#define SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES 5 - -// Broadcast Table Size <15-254> -// Default: 15 -// The size of the broadcast table. -#define EMBER_BROADCAST_TABLE_SIZE 15 - -// Neighbor Table Size -// Neighbor Table Size -// <16=> 16 -// <26=> 26 -// Default: 16 -// The size of the neighbor table. -#define EMBER_NEIGHBOR_TABLE_SIZE 16 - -// Transient key timeout (in seconds) <0-65535> -// Default: 300 -// The amount of time a device will store a transient link key that can be used to join a network. -#define EMBER_TRANSIENT_KEY_TIMEOUT_S 300 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_BINDING_TABLE_SIZE 32 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_ADDRESS_TABLE_SIZE 16 - -// Route Table Size <1-255> -// Default: 3 -// The number of entries that the Route table can hold. -#define EMBER_ROUTE_TABLE_SIZE 16 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_security_link_keys_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_security_link_keys_config.h deleted file mode 100644 index 9a0c8488..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_security_link_keys_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Security Link Keys component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Security Link Keys Library configuration - -// Link Key Table Size <1-127> -// Default: 6 -// The maximum number of link key table entries supported by the stack. -#define EMBER_KEY_TABLE_SIZE 12 - -// Request Key Timeout <0-10> -// Default: 0 -// The length of time that a node will wait for a trust center to answer its Application Link Key request. -#define EMBER_REQUEST_KEY_TIMEOUT 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_source_route_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_source_route_config.h deleted file mode 100644 index 41b5e4bb..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/sl_zigbee_source_route_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Source Route component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Source Route Library configuration - -// Source route table Size (SoC or NCP) <2-255> -// Default: 7 -// The size of the source route table for storing source routes on the SOC or NCP. -#define EMBER_SOURCE_ROUTE_TABLE_SIZE 7 - -// Max source route relay counts <11-40> -// Default: 11 -// Max source route hops accepted or/and inserted in the source route table/header. -#define EMBER_MAX_SOURCE_ROUTE_RELAY_COUNT 11 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_sleep_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_sleep_config.h deleted file mode 100644 index fa4efd14..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_sleep_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Application Framework common component configuration header. - *\n******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Sleep configuration - -// Minimum Sleep Duration <5-1000> -// Default: 5 -// The minimum duration in milliseconds that the application will attempt to sleep for. If the sleep duration would be less than this amount, the application will not sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_MINIMUM_SLEEP_DURATION_MS 5 - -// Sleep Backoff time <0-10000> -// Default: 0 -// This setting will keep a device from going back to sleep immediately upon waking up -#define SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS 0 - -// Stay awake when NOT joined -// Default: TRUE -// This will force a device to stay awake even when not joined to the network. This is often used for debugging and is not recommended for production devices since it cause the device to consume battery power even when not joined to a ZigBee network. -#define SL_ZIGBEE_APP_FRAMEWORK_STAY_AWAKE_WHEN_NOT_JOINED 1 - -// Use button to force wakeup or allow sleep -// Default: FALSE -// This will setup the hardware buttons to wake-up or allow the device to go to sleep. Button 0 will force the device to wake up and stay awake. Button 1 will turn off this behavior to allow the device to sleep normally. Please note that in order for this option to be fully functional, button 0 and button 1 have to be configured to wake the device from sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_USE_BUTTON_TO_STAY_AWAKE 0 -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_watchdog_periodic_refresh_config.h b/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_watchdog_periodic_refresh_config.h deleted file mode 100644 index e317fedb..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/config/zigbee_watchdog_periodic_refresh_config.h +++ /dev/null @@ -1,34 +0,0 @@ -/***************************************************************************//** - * @brief Sample watchdog refresh event component configuration header. - ******************************************************************************** - * # License - * Copyright 2022 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Watchdog reset component configuration - -// Enable periodic watchdog refresh -// Default: TRUE -// This allows for enabling or disabling periodic watchdog refresh -#define SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE 1 - -// Watchdog refresh duration <50-5000> -// Default: 1000 -// Defines the periodic interval at which the watchdog timer is reset in the application -#define SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS 1000 - -// -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM210PA32JIA/main.c b/src/ncp-uart-hw_MGM210PA32JIA/main.c deleted file mode 100644 index 996b1e0b..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/main.c +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @file main.c - * @brief main() function. - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -#ifdef SL_COMPONENT_CATALOG_PRESENT -#include "sl_component_catalog.h" -#endif -#include "sl_system_init.h" -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) -#include "sl_power_manager.h" -#endif -#if defined(SL_CATALOG_KERNEL_PRESENT) -#include "sl_system_kernel.h" -#else -#include "sl_system_process_action.h" -#endif // SL_CATALOG_KERNEL_PRESENT - -#ifdef EMBER_TEST -#define main nodeMain -#endif - -void app_init(void) -{ -} - -void app_process_action(void) -{ -} - -int main(void) -{ - // Initialize Silicon Labs device, system, service(s) and protocol stack(s). - // Note that if the kernel is present, processing task(s) will be created by - // this call. - sl_system_init(); - - // Initialize the application. For example, create periodic timer(s) or - // task(s) if the kernel is present. - app_init(); - -#if defined(SL_CATALOG_KERNEL_PRESENT) - // Start the kernel. Task(s) created in app_init() will start running. - sl_system_kernel_start(); -#else // SL_CATALOG_KERNEL_PRESENT - while (1) { - // Do not remove this call: Silicon Labs components process action routine - // must be called from the super loop. - sl_system_process_action(); - - // Application process. - app_process_action(); - - // Let the CPU go to sleep if the system allow it. -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) - sl_power_manager_sleep(); -#endif // SL_CATALOG_POWER_MANAGER_PRESENT - } -#endif // SL_CATALOG_KERNEL_PRESENT - - return 0; -} diff --git a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.pintool b/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.pintool deleted file mode 100644 index f9ff9477..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slcp b/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slcp deleted file mode 100644 index 1b6cd2ec..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slcp +++ /dev/null @@ -1,73 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: ncp-uart-hw_MGM210PA32JIA -label: ncp-uart-hw_MGM210PA32JIA -author: Silicon Laboratories, Inc. -description: This network coprocessor (NCP) application supports communication with - a host application over a UART interface with hardware flow control. This NCP application - can be built as configured, or optionally can be augmented with customized extensions - for initialization, main loop processing, event definition/handling, and messaging - with the host. To create a ECC-enabled application for the Smart Energy Profile, - please download and extract the 'EmberZnet-Smart-Energy.zip' side-package over your - installed SDK and add, depending on use-case, one of two new components ('CBKE 163k1'; - 'CBKE 283k1') to your application. -category: Zigbee Application -filter: -- name: Device Type - value: [NCP] -- name: Project Difficulty - value: [Advanced] -- name: Wireless Technology - value: [Zigbee] -package: Zigbee -quality: production -readme: -- {path: readme.html} -- {path: readme.html} -source: -- {path: main.c} -- {path: app.c} -tag: [prebuilt_demo] -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: MGM210PA32JIA} -- instance: [vcom] - id: iostream_usart -- {id: iostream_vuart} -- {id: token_manager} -- {id: zigbee_app_framework_common} -- {id: zigbee_debug_basic} -- {id: zigbee_debug_extended} -- {id: zigbee_debug_print} -- {id: zigbee_gp} -- {id: zigbee_ncp_uart_hardware} -- {id: zigbee_pro_stack} -- {id: zigbee_r22_support} -- {id: zigbee_security_link_keys} -- {id: zigbee_source_route} -- {id: zigbee_zll} -define: -- {name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE, value: '15'} -configuration: -- {name: SL_BOARD_ENABLE_VCOM, value: '1'} -- {name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE, value: usartHwFlowControlCtsAndRts} -- {name: SL_CLI_MAX_INPUT_ARGUMENTS, value: '16'} -- {name: EMBER_BINDING_TABLE_SIZE, value: '32'} -- {name: EMBER_MAX_END_DEVICE_CHILDREN, value: '32'} -- {name: EMBER_PACKET_BUFFER_COUNT, value: '255'} -- {name: EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE, value: '32'} -- {name: EMBER_KEY_TABLE_SIZE, value: '12'} -- {name: SL_CLI_EXAMPLE_IOSTREAM_HANDLE, value: sl_iostream_vuart_handle} -- condition: [device_series_1] - name: NVM3_DEFAULT_NVM_SIZE - value: '36864' -- condition: [device_series_2] - name: NVM3_DEFAULT_NVM_SIZE - value: '32768' -- {name: SL_PSA_ITS_SUPPORT_V1_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V2_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V3_DRIVER, value: '1'} -ui_hints: - highlight: - - {path: readme.html} - diff --git a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slps b/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slps deleted file mode 100644 index 90da91f2..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/ncp-uart-hw_MGM210PA32JIA.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM210PA32JIA/readme.html b/src/ncp-uart-hw_MGM210PA32JIA/readme.html deleted file mode 100644 index 055d0cfc..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/readme.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - -readme - - -

NCP UART Application

-

This network coprocessor (NCP) application supports communication with a host application over a UART interface with hardware flow control. This NCP application can be built as configured, or optionally can be augmented with customizations for target hardware, initialization, main loop processing, event definition/handling, and messaging with the host. - -As configured, this NCP UART application is the basis for building the corresponding binary ncp-uart images delivered with the Silicon Labs Zigbee stack. - -Due to thread safety concerns with EZSP, this application cannot include an RTOS unless CPC (Co-Processor Communication) components are also added. - -Refer to the Silicon Labs Zigbee documentation for more information about NCP customization. -

-
- - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM210PA32JIA/sl_zigbee_watchdog_periodic_refresh.c b/src/ncp-uart-hw_MGM210PA32JIA/sl_zigbee_watchdog_periodic_refresh.c deleted file mode 100644 index e3251c3c..00000000 --- a/src/ncp-uart-hw_MGM210PA32JIA/sl_zigbee_watchdog_periodic_refresh.c +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Sample watchdog refresh event implementation and related configuration - ******************************************************************************* - * # License - * Copyright 2022 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 PLATFORM_HEADER -#include "hal.h" -#include "ember.h" -#include "zigbee_app_framework_event.h" -#include "zigbee_app_framework_common.h" -#include "zigbee_watchdog_periodic_refresh_config.h" - -#if (SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) - -static sl_zigbee_event_t watchdog_refresh_event; -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event); - -// Initialization of watchdog refresh event -void sli_zigbee_watchdog_refresh_handler_init(uint8_t init_level) -{ - switch (init_level) { - case SL_ZIGBEE_INIT_LEVEL_EVENT: - { - sl_zigbee_event_init(&watchdog_refresh_event, watchdog_refresh_event_handler); - sl_zigbee_event_set_active(&watchdog_refresh_event); - break; - } - default: - break; - } -} - -// In RTOS-based applications, the Zigbee task refreshes the watchdog. -// However, when the node is not on a network the Zigbee task does not run. -// Therefore, there needs to be a way to ensure that the watchdog does not fire -// and reset the node unnecessarily. Below we provide an example of an application -// event that periodically resets the watchdog. -// Note, such a periodic event gets the node out of EM1/EM2 low power modes, -// which may result in unnecessary energy consumption. -// The application should ultimately own the refreshing of the watchdog and tailor -// it based on the specific use case. -// In the bare-metal case, this is done in the zigbee stack and app framework ticks -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event) -{ - halResetWatchdog(); - sl_zigbee_event_set_delay_ms(&watchdog_refresh_event, SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS); -} -#endif //(SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) diff --git a/src/ncp-uart-hw_MGM240PA32VNN/.cproject b/src/ncp-uart-hw_MGM240PA32VNN/.cproject deleted file mode 100644 index 792434ca..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/.cproject +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PA32VNN/app.c b/src/ncp-uart-hw_MGM240PA32VNN/app.c deleted file mode 100644 index 9e7f24f5..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/app.c +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @file app.c - * @brief Callbacks implementation and application specific code. - ******************************************************************************* - * # License - * Copyright 2021 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 PLATFORM_HEADER -#include "ember.h" - -//---------------------- -// Implemented Callbacks - -/** @brief - * - * Application framework equivalent of ::emberRadioNeedsCalibratingHandler - */ -void emberAfRadioNeedsCalibratingCallback(void) -{ - sl_mac_calibrate_current_channel(); -} - -/** @brief Init - * Application init function - */ -void emberAfMainInitCallback(void) -{ -} diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/SEGGER_RTT_Conf.h b/src/ncp-uart-hw_MGM240PA32VNN/config/SEGGER_RTT_Conf.h deleted file mode 100644 index df57e166..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/SEGGER_RTT_Conf.h +++ /dev/null @@ -1,428 +0,0 @@ -/********************************************************************* -* SEGGER Microcontroller GmbH * -* The Embedded Experts * -********************************************************************** -* * -* (c) 1995 - 2023 SEGGER Microcontroller GmbH * -* * -* www.segger.com Support: support@segger.com * -* * -********************************************************************** -* * -* SEGGER SystemView * Real-time application analysis * -* * -********************************************************************** -* * -* All rights reserved. * -* * -* SEGGER strongly recommends to not make any changes * -* to or modify the source code of this software in order to stay * -* compatible with the SystemView and RTT protocol, and J-Link. * -* * -* Redistribution and use in source and binary forms, with or * -* without modification, are permitted provided that the following * -* condition is met: * -* * -* o Redistributions of source code must retain the above copyright * -* notice, this condition and the following disclaimer. * -* * -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * -* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * -* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * -* DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR * -* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * -* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * -* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * -* DAMAGE. * -* * -********************************************************************** -* * -* SystemView version: 3.52 * -* * -********************************************************************** ----------------------------END-OF-HEADER------------------------------ -File : SEGGER_RTT_Conf.h -Purpose : Implementation of SEGGER real-time transfer (RTT) which - allows real-time communication on targets which support - debugger memory accesses while the CPU is running. -Revision: $Rev: 24316 $ - -*/ - -#ifndef SEGGER_RTT_CONF_H -#define SEGGER_RTT_CONF_H - -#ifdef __IAR_SYSTEMS_ICC__ - #include -#endif - -/********************************************************************* -* -* Defines, configurable -* -********************************************************************** -*/ - -// -// Take in and set to correct values for Cortex-A systems with CPU cache -// -//#define SEGGER_RTT_CPU_CACHE_LINE_SIZE (32) // Largest cache line size (in bytes) in the current system -//#define SEGGER_RTT_UNCACHED_OFF (0xFB000000) // Address alias where RTT CB and buffers can be accessed uncached -// -// Most common case: -// Up-channel 0: RTT -// Up-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_UP_BUFFERS - #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (3) // Max. number of up-buffers (T->H) available on this target (Default: 3) -#endif -// -// Most common case: -// Down-channel 0: RTT -// Down-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_DOWN_BUFFERS - #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (3) // Max. number of down-buffers (H->T) available on this target (Default: 3) -#endif - -#ifndef BUFFER_SIZE_UP - #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) -#endif - -#ifndef BUFFER_SIZE_DOWN - #define BUFFER_SIZE_DOWN (1024) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) -#endif - -#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE - #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) -#endif - -#ifndef SEGGER_RTT_MODE_DEFAULT - #define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0) -#endif - -/********************************************************************* -* -* RTT memcpy configuration -* -* memcpy() is good for large amounts of data, -* but the overhead is big for small amounts, which are usually stored via RTT. -* With SEGGER_RTT_MEMCPY_USE_BYTELOOP a simple byte loop can be used instead. -* -* SEGGER_RTT_MEMCPY() can be used to replace standard memcpy() in RTT functions. -* This is may be required with memory access restrictions, -* such as on Cortex-A devices with MMU. -*/ -#ifndef SEGGER_RTT_MEMCPY_USE_BYTELOOP - #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 // 0: Use memcpy/SEGGER_RTT_MEMCPY, 1: Use a simple byte-loop -#endif -// -// Example definition of SEGGER_RTT_MEMCPY to external memcpy with GCC toolchains and Cortex-A targets -// -//#if ((defined __SES_ARM) || (defined __CROSSWORKS_ARM) || (defined __GNUC__)) && (defined (__ARM_ARCH_7A__)) -// #define SEGGER_RTT_MEMCPY(pDest, pSrc, NumBytes) SEGGER_memcpy((pDest), (pSrc), (NumBytes)) -//#endif - -// -// Target is not allowed to perform other RTT operations while string still has not been stored completely. -// Otherwise we would probably end up with a mixed string in the buffer. -// If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. -// -// SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. -// Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. -// When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. -// (Higher priority = lower priority number) -// Default value for embOS: 128u -// Default configuration in FreeRTOS: configMAX_SYSCALL_INTERRUPT_PRIORITY: ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) -// In case of doubt mask all interrupts: 1 << (8 - BASEPRI_PRIO_BITS) i.e. 1 << 5 when 3 bits are implemented in NVIC -// or define SEGGER_RTT_LOCK() to completely disable interrupts. -// -#ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) // Interrupt priority to lock on SEGGER_RTT_LOCK on Cortex-M3/4 (Default: 0x20) -#endif - -/********************************************************************* -* -* RTT lock configuration for SEGGER Embedded Studio, -* Rowley CrossStudio and GCC -*/ -#if ((defined(__SES_ARM) || defined(__SES_RISCV) || defined(__CROSSWORKS_ARM) || defined(__GNUC__) || defined(__clang__)) && !defined (__CC_ARM) && !defined(WIN32)) - #if (defined(__ARM_ARCH_6M__) || defined(__ARM_ARCH_8M_BASE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, primask \n\t" \ - "movs r1, #1 \n\t" \ - "msr primask, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr primask, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - #elif (defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_8M_MAIN__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, basepri \n\t" \ - "mov r1, %1 \n\t" \ - "msr basepri, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : "i"(SEGGER_RTT_MAX_INTERRUPT_PRIORITY) \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr basepri, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - - #elif (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #elif defined(__riscv) || defined(__riscv_xlen) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("csrr %0, mstatus \n\t" \ - "csrci mstatus, 8 \n\t" \ - "andi %0, %0, 8 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("csrr a1, mstatus \n\t" \ - "or %0, %0, a1 \n\t" \ - "csrs mstatus, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "a1" \ - ); \ - } - #else - #define SEGGER_RTT_LOCK() - #define SEGGER_RTT_UNLOCK() - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR EWARM -*/ -#ifdef __ICCARM__ - #if (defined (__ARM6M__) && (__CORE__ == __ARM6M__)) || \ - (defined (__ARM8M_BASELINE__) && (__CORE__ == __ARM8M_BASELINE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7EM__) && (__CORE__ == __ARM7EM__)) || \ - (defined (__ARM7M__) && (__CORE__ == __ARM7M__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_BASEPRI(); \ - __set_BASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() __set_BASEPRI(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7A__) && (__CORE__ == __ARM7A__)) || \ - (defined (__ARM7R__) && (__CORE__ == __ARM7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RX -*/ -#ifdef __ICCRX__ - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RL78 -*/ -#ifdef __ICCRL78__ - #define SEGGER_RTT_LOCK() { \ - __istate_t _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for KEIL ARM -*/ -#ifdef __CC_ARM - #if (defined __TARGET_ARCH_6S_M) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char _SEGGER_RTT__PRIMASK __asm( "primask"); \ - _SEGGER_RTT__LockState = _SEGGER_RTT__PRIMASK; \ - _SEGGER_RTT__PRIMASK = 1u; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() _SEGGER_RTT__PRIMASK = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #elif (defined(__TARGET_ARCH_7_M) || defined(__TARGET_ARCH_7E_M)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char BASEPRI __asm( "basepri"); \ - _SEGGER_RTT__LockState = BASEPRI; \ - BASEPRI = SEGGER_RTT_MAX_INTERRUPT_PRIORITY; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() BASEPRI = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for TI ARM -*/ -#ifdef __TI_ARM__ - #if defined (__TI_ARM_V6M0__) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(_SEGGER_RTT__LockState); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for CCRX -*/ -#ifdef __RX - #include - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = get_psw() & 0x010000; \ - clrpsw_i(); - - #define SEGGER_RTT_UNLOCK() set_psw(get_psw() | _SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for embOS Simulation on Windows -* (Can also be used for generic RTT locking with embOS) -*/ -#if defined(WIN32) || defined(SEGGER_RTT_LOCK_EMBOS) - -void OS_SIM_EnterCriticalSection(void); -void OS_SIM_LeaveCriticalSection(void); - -#define SEGGER_RTT_LOCK() { \ - OS_SIM_EnterCriticalSection(); - -#define SEGGER_RTT_UNLOCK() OS_SIM_LeaveCriticalSection(); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration fallback -*/ -#ifndef SEGGER_RTT_LOCK - #define SEGGER_RTT_LOCK() // Lock RTT (nestable) (i.e. disable interrupts) -#endif - -#ifndef SEGGER_RTT_UNLOCK - #define SEGGER_RTT_UNLOCK() // Unlock RTT (nestable) (i.e. enable previous interrupt lock state) -#endif - -#endif -/*************************** End of file ****************************/ diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/app_properties_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/app_properties_config.h deleted file mode 100644 index 6a6b9766..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/app_properties_config.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Application Properties Header File - ******************************************************************************* - * # License - * Copyright 2021 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 APP_PROPERTIES_CONFIG_H -#define APP_PROPERTIES_CONFIG_H - -#include "sl_application_type.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// App Properties settings - -// Type of signature this application is signed with -// Default: APPLICATION_SIGNATURE_NONE(0) -#define SL_APPLICATION_SIGNATURE 0 - -// Location of the signature -// Default: 0xFFFFFFFF -#define SL_APPLICATION_SIGNATURE_LOCATION 0xFFFFFFFF - -// Bitfield representing type of application -#define SL_APPLICATION_TYPE APPLICATION_TYPE - -// Version number for this application -// <0-4294967295:1> -// Default: 1 [0-4294967295] -#define SL_APPLICATION_VERSION 1 - -// Capabilities of this application -// Default: 0 -#define SL_APPLICATION_CAPABILITIES 0 - -//Product ID of the device for which the application is built -#define SL_APPLICATION_PRODUCT_ID { 0 } - -// - -#endif // APP_PROPERTIES_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg.h b/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg.h deleted file mode 100644 index 8e246f80..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_H -#define BTL_INTERFACE_CFG_H - -#if !defined(BOOTLOADER_APPLOADER) - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_1) -#include "btl_interface_cfg_s2c1.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2) -#include "btl_interface_cfg_s2c2.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_3) -#include "btl_interface_cfg_s2c3.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_4) -#include "btl_interface_cfg_s2c4.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_5) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_8) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#endif // !BOOTLOADER_APPLOADER - -#endif // BTL_INTERFACE_CFG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg_s2c4.h b/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg_s2c4.h deleted file mode 100644 index 4c80d86f..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/btl_interface_cfg_s2c4.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_S2C4_H -#define BTL_INTERFACE_CFG_S2C4_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Interface Trust Zone Security State Configuration - -// Disable multi tiered fallback logic -// The fault handling logic as well as the USART auto-detection logic will be disabled. -// The re-configuration of SMU will be handled by querying the running bootloader -// for the peripheral list. Querying the peripheral list is supported from the bootloader -// version 2.0.0. Check for the BOOTLOADER_CAPABILITY_PERIPHERAL_LIST capability to -// see if the running bootloader supports querying the peripheral list. -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 0 - -// Disable peripheral access fault handling -// The fault handling triggered by an erroneous access of peripherals will be disabled. -// -// This should be disabled iff all the peripherals that are in use by the bootloader -// have been properly configured by the "Manually override security state of peripherals" option. -#define BOOTLOADER_DISABLE_NVM3_FAULT_HANDLING 0 - -// Manually override the security state of peripherals in use by the bootloader -// Default: 0. -// Manually override the security state of peripherals. Choose the peripherals touched -// by the customized code to have a valid secure access state before interacting with the bootloader -// In practice, this means that the chosen peripherals will be available at the secure address, -// which is accessible by the bootloader. Once the application is entered back the secure access state -// is changed back to the original state. -// -// The USART auto-detection logic that detects which, if any, USART is in use by the bootloader -// will be disabled. Make sure to choose the correct USART used by the bootloader. -#define BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE 0 -// EMU -// Update secure access state of EMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_EMU 0 - -// CMU -// Update secure access state of CMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_CMU 0 - -// HFRCO0 -// Update secure access state of HFRCO0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_HFRCO0 0 - -// FSRCO -// Update secure access state of FSRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_FSRCO 0 - -// DPLL0 -// Update secure access state of DPLL0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_DPLL0 0 - -// LFXO -// Update secure access state of LFXO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFXO 0 - -// LFRCO -// Update secure access state of LFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFRCO 0 - -// ULFRCO -// Update secure access state of ULFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_ULFRCO 0 - -// MSC -// Update secure access state of MSC before calling into bootloader -#define BOOTLOADER_PPUSATD0_MSC 0 - -// ICACHE0 -// Update secure access state of ICACHE0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_ICACHE0 0 - -// PRS -// Update secure access state of PRS before calling into bootloader -#define BOOTLOADER_PPUSATD0_PRS 0 - -// GPIO -// Update secure access state of GPIO before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPIO 0 - -// LDMA -// Update secure access state of LDMA before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMA 0 - -// LDMAXBAR -// Update secure access state of LDMAXBAR before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMAXBAR 0 - -// TIMER0 -// Update secure access state of TIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER0 0 - -// TIMER1 -// Update secure access state of TIMER1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER1 0 - -// TIMER2 -// Update secure access state of TIMER2 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER2 0 - -// TIMER3 -// Update secure access state of TIMER3 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER3 0 - -// TIMER4 -// Update secure access state of TIMER4 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER4 0 - -// USART0 -// Update secure access state of USART0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART0 0 - -// BURTC -// Update secure access state of BURTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURTC 0 - -// I2C1 -// Update secure access state of I2C1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_I2C1 0 - -// CHIPTESTCTRL -// Update secure access state of CHIPTESTCTRL before calling into bootloader -#define BOOTLOADER_PPUSATD0_CHIPTESTCTRL 0 - -// SYSCFGCFGNS -// Update secure access state of SYSCFGCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFGCFGNS 0 - -// SYSCFG -// Update secure access state of SYSCFG before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFG 0 - -// BURAM -// Update secure access state of BURAM before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURAM 0 - -// GPCRC -// Update secure access state of GPCRC before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPCRC 0 - -// DCDC -// Update secure access state of DCDC before calling into bootloader -#define BOOTLOADER_PPUSATD0_DCDC 0 - -// HOSTMAILBOX -// Update secure access state of HOSTMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD0_HOSTMAILBOX 0 - -// EUSART1 -// Update secure access state of EUSART1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_EUSART1 0 - -// SYSRTC -// Update secure access state of SYSRTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSRTC 0 - -// KEYSCAN -// Update secure access state of KEYSCAN before calling into bootloader -#define BOOTLOADER_PPUSATD1_KEYSCAN 0 - -// DMEM -// Update secure access state of DMEM before calling into bootloader -#define BOOTLOADER_PPUSATD1_DMEM 0 - -// RADIOAES -// Update secure access state of RADIOAES before calling into bootloader -#define BOOTLOADER_PPUSATD1_RADIOAES 0 - -// SMU -// Update secure access state of SMU before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMU 0 - -// SMUCFGNS -// Update secure access state of SMUCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMUCFGNS 0 - -// LETIMER0 -// Update secure access state of LETIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_LETIMER0 0 - -// IADC0 -// Update secure access state of IADC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_IADC0 0 - -// ACMP0 -// Update secure access state of ACMP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP0 0 - -// ACMP1 -// Update secure access state of ACMP1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP1 0 - -// AMUXCP0 -// Update secure access state of AMUXCP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_AMUXCP0 0 - -// VDAC0 -// Update secure access state of VDAC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC0 0 - -// VDAC1 -// Update secure access state of VDAC1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC1 0 - -// PCNT -// Update secure access state of PCNT before calling into bootloader -#define BOOTLOADER_PPUSATD1_PCNT 0 - -// HFRCO1 -// Update secure access state of HFRCO1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFRCO1 0 - -// HFXO0 -// Update secure access state of HFXO0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFXO0 0 - -// I2C0 -// Update secure access state of I2C0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_I2C0 0 - -// WDOG0 -// Update secure access state of WDOG0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG0 0 - -// WDOG1 -// Update secure access state of WDOG1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG1 0 - -// EUSART0 -// Update secure access state of EUSART0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_EUSART0 0 - -// SEMAILBOX -// Update secure access state of SEMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD1_SEMAILBOX 0 - -// MVP -// Update secure access state of MVP before calling into bootloader -#define BOOTLOADER_PPUSATD1_MVP 0 - -// AHBRADIO -// Update secure access state of AHBRADIO before calling into bootloader -#define BOOTLOADER_PPUSATD1_AHBRADIO 0 -// - -// -// <<< end of configuration section >>> - -#if BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE == 1 -#define BOOTLOADER_PPUSATD0_MASK ((BOOTLOADER_PPUSATD0_EMU << _SMU_PPUSATD0_EMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CMU << _SMU_PPUSATD0_CMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HFRCO0 << _SMU_PPUSATD0_HFRCO0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_FSRCO << _SMU_PPUSATD0_FSRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DPLL0 << _SMU_PPUSATD0_DPLL0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFXO << _SMU_PPUSATD0_LFXO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFRCO << _SMU_PPUSATD0_LFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ULFRCO << _SMU_PPUSATD0_ULFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_MSC << _SMU_PPUSATD0_MSC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ICACHE0 << _SMU_PPUSATD0_ICACHE0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_PRS << _SMU_PPUSATD0_PRS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPIO << _SMU_PPUSATD0_GPIO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMA << _SMU_PPUSATD0_LDMA_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMAXBAR << _SMU_PPUSATD0_LDMAXBAR_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER0 << _SMU_PPUSATD0_TIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER1 << _SMU_PPUSATD0_TIMER1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER2 << _SMU_PPUSATD0_TIMER2_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER3 << _SMU_PPUSATD0_TIMER3_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER4 << _SMU_PPUSATD0_TIMER4_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART0 << _SMU_PPUSATD0_USART0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURTC << _SMU_PPUSATD0_BURTC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_I2C1 << _SMU_PPUSATD0_I2C1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CHIPTESTCTRL << _SMU_PPUSATD0_CHIPTESTCTRL_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFGCFGNS << _SMU_PPUSATD0_SYSCFGCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFG << _SMU_PPUSATD0_SYSCFG_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURAM << _SMU_PPUSATD0_BURAM_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPCRC << _SMU_PPUSATD0_GPCRC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DCDC << _SMU_PPUSATD0_DCDC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HOSTMAILBOX << _SMU_PPUSATD0_HOSTMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD0_EUSART1 << _SMU_PPUSATD0_EUSART1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSRTC << _SMU_PPUSATD0_SYSRTC_SHIFT)) -#define BOOTLOADER_PPUSATD1_MASK ((BOOTLOADER_PPUSATD1_KEYSCAN << _SMU_PPUSATD1_KEYSCAN_SHIFT) \ - | (BOOTLOADER_PPUSATD1_DMEM << _SMU_PPUSATD1_DMEM_SHIFT) \ - | (BOOTLOADER_PPUSATD1_RADIOAES << _SMU_PPUSATD1_RADIOAES_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMU << _SMU_PPUSATD1_SMU_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMUCFGNS << _SMU_PPUSATD1_SMUCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD1_LETIMER0 << _SMU_PPUSATD1_LETIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_IADC0 << _SMU_PPUSATD1_IADC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP0 << _SMU_PPUSATD1_ACMP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP1 << _SMU_PPUSATD1_ACMP1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AMUXCP0 << _SMU_PPUSATD1_AMUXCP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC0 << _SMU_PPUSATD1_VDAC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC1 << _SMU_PPUSATD1_VDAC1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_PCNT << _SMU_PPUSATD1_PCNT_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFRCO1 << _SMU_PPUSATD1_HFRCO1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFXO0 << _SMU_PPUSATD1_HFXO0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_I2C0 << _SMU_PPUSATD1_I2C0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG0 << _SMU_PPUSATD1_WDOG0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG1 << _SMU_PPUSATD1_WDOG1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_EUSART0 << _SMU_PPUSATD1_EUSART0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SEMAILBOX << _SMU_PPUSATD1_SEMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD1_MVP << _SMU_PPUSATD1_MVP_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AHBRADIO << _SMU_PPUSATD1_AHBRADIO_SHIFT)) -#endif // BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE - -#endif // BTL_INTERFACE_CFG_S2C4_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/dmadrv_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/dmadrv_config.h deleted file mode 100644 index ed105e4f..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/dmadrv_config.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef DMADRV_CONFIG_H -#define DMADRV_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// DMA interrupt priority <0-15> -// Priority of the DMA interrupt. Smaller number equals higher priority. -// Default: 8 -#define EMDRV_DMADRV_DMA_IRQ_PRIORITY 8 - -// Number of available channels <1-8> -// Number of DMA channels supported by the driver. A lower channel count -// will reduce RAM memory footprint. The default is to support all channels -// on the device. -// Default: 8 -#define EMDRV_DMADRV_DMA_CH_COUNT 8 - -// Number of fixed priority channels -// This will configure channels [0, CH_PRIORITY - 1] as fixed priority, -// and channels [CH_PRIORITY, CH_COUNT] as round-robin. -// Default: 0 -#define EMDRV_DMADRV_DMA_CH_PRIORITY 0 - -// <<< end of configuration section >>> - -#endif // DMADRV_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/emlib_core_debug_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_common_ash_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_common_ash_config.h deleted file mode 100644 index ce1ad5d7..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_common_ash_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy Host ASH configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_NCP_ASH_CONFIG_H -#define LEGACY_NCP_ASH_CONFIG_H - -// The USART used for ASH communications in COM_Port_t format, as defined in platform/service/legacy_hal/inc/serial.h (see defined names for USART ports) <-1..3:1> -// Default: (-1) -// The default value of -1 causes the ASH code to try to use the USART assigned to the "VCOM" instance of SL_IOSTREAM_USART. Otherwise the value is passed to Legacy HAL, which attempts to find an instance of SL_IOSTREAM_USART which uses that USART. -#define LEGACY_NCP_ASH_SERIAL_PORT (-1) - -#endif /* LEGACY_NCP_ASH_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_hal_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_hal_config.h deleted file mode 100644 index e3386e94..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/legacy_hal_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy HAL configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_HAL_CONFIG_H -#define LEGACY_HAL_CONFIG_H - -// Translate button interrupt callback -// When the Simple Button component is included, it provides a callback for -// buttons configured in interrupt mode. When this option is 1, Legacy HAL -// will try to consume that callback and translate it to "halButtonIsr", -// the legacy callback. If anything else in the application consumes the -// Simple button callback, it will override Legacy HAL's version. -// Default: 1 -#define LEGACY_HAL_TRANSLATE_BUTTON_INTERRUPT (1) - -#endif /* LEGACY_HAL_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/nvm3_default_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/nvm3_default_config.h deleted file mode 100644 index 5f127358..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/nvm3_default_config.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef NVM3_DEFAULT_CONFIG_H -#define NVM3_DEFAULT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// NVM3 Default Instance Configuration - -#ifndef NVM3_DEFAULT_CACHE_SIZE -// NVM3 Default Instance Cache Size -// Number of NVM3 objects to cache. To reduce access times this number -// should be equal to or higher than the number of NVM3 objects in the -// default NVM3 instance. -// Default: 200 -#define NVM3_DEFAULT_CACHE_SIZE 200 -#endif - -#ifndef NVM3_DEFAULT_MAX_OBJECT_SIZE -// NVM3 Default Instance Max Object Size -// Max NVM3 object size that can be stored. -// Default: 254 -#define NVM3_DEFAULT_MAX_OBJECT_SIZE 254 -#endif - -#ifndef NVM3_DEFAULT_REPACK_HEADROOM -// NVM3 Default Instance User Repack Headroom -// Headroom determining how many bytes below the forced repack limit the user -// repack limit should be placed. The default is 0, which means the user and -// forced repack limits are equal. -// Default: 0 -#define NVM3_DEFAULT_REPACK_HEADROOM 0 -#endif - -#ifndef NVM3_DEFAULT_NVM_SIZE -// NVM3 Default Instance Size -// Size of the NVM3 storage region in flash. This size should be aligned with -// the flash page size of the device. -// Default: 40960 -#define NVM3_DEFAULT_NVM_SIZE 32768 -#endif - -// - -// <<< end of configuration section >>> - -#endif // NVM3_DEFAULT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/pin_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/pin_config.h deleted file mode 100644 index 4852473e..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/pin_config.h +++ /dev/null @@ -1,155 +0,0 @@ -#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.ASYNCH12] -// [PRS.ASYNCH12]$ - -// $[PRS.ASYNCH13] -// [PRS.ASYNCH13]$ - -// $[PRS.ASYNCH14] -// [PRS.ASYNCH14]$ - -// $[PRS.ASYNCH15] -// [PRS.ASYNCH15]$ - -// $[PRS.SYNCH0] -// [PRS.SYNCH0]$ - -// $[PRS.SYNCH1] -// [PRS.SYNCH1]$ - -// $[PRS.SYNCH2] -// [PRS.SYNCH2]$ - -// $[PRS.SYNCH3] -// [PRS.SYNCH3]$ - -// $[GPIO] -// GPIO SWV on PA03 -#ifndef GPIO_SWV_PORT -#define GPIO_SWV_PORT gpioPortA -#endif -#ifndef GPIO_SWV_PIN -#define GPIO_SWV_PIN 3 -#endif - -// [GPIO]$ - -// $[TIMER0] -// [TIMER0]$ - -// $[TIMER1] -// [TIMER1]$ - -// $[TIMER2] -// [TIMER2]$ - -// $[TIMER3] -// [TIMER3]$ - -// $[TIMER4] -// [TIMER4]$ - -// $[USART0] -// [USART0]$ - -// $[I2C1] -// [I2C1]$ - -// $[EUSART1] -// [EUSART1]$ - -// $[KEYSCAN] -// [KEYSCAN]$ - -// $[LETIMER0] -// [LETIMER0]$ - -// $[IADC0] -// [IADC0]$ - -// $[ACMP0] -// [ACMP0]$ - -// $[ACMP1] -// [ACMP1]$ - -// $[VDAC0] -// [VDAC0]$ - -// $[VDAC1] -// [VDAC1]$ - -// $[PCNT0] -// [PCNT0]$ - -// $[HFXO0] -// [HFXO0]$ - -// $[I2C0] -// [I2C0]$ - -// $[EUSART0] -// [EUSART0]$ - -// $[PTI] -// [PTI]$ - -// $[MODEM] -// [MODEM]$ - -// $[CUSTOM_PIN_NAME] -#ifndef _PORT -#define _PORT gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/psa_crypto_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_manufacturing_token_header.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_manufacturing_token_header.h deleted file mode 100644 index 08b66580..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_manufacturing_token_header.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom manufacturing token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Manufacturing Token Usage Examples - * - * The macro DEFINE_MFG_TOKEN() should be used when instantiating a - * manufacturing token. Refer to the list of *_LOCATION defines to - * see what memory is allocated and what memory is unused/available. - * - * The _LOCATION is or'ed with either USERDATA_TOKENS or LOCKBITSDATA_TOKENS - * to control which segment of memory the token is placed in. - * - * REMEMBER: By definition, manufacturing tokens exist at fixed addresses. - * Tokens should not overlap. - * - * Here is a basic example of a manufacturing token header file: - * - * Note that the address used here is just an example. It places the 8 bytes - * in the middle of the USERDATA space on an EFR32MG12P433F1024GM68. - * To review addresses of existing tokens when choosing a new address, refer - * to an961-custom-nodes-efr32.pdf and the files - * platform/service/token_manager/inc/sl_token_manufacturing_series_1.h - * platform/service/token_manager/inc/sl_token_manufacturing_series_2.h - * - * @code - * #define CREATOR_MFG_EXAMPLE 0x4242 - * #ifdef DEFINETYPES - * typedef uint8_t tokTypeMfgExample[8]; - * #endif - * #ifdef DEFINETOKENS - * #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - * DEFINE_MFG_TOKEN(MFG_EXAMPLE, - * tokTypeMfgExample, - * MFG_EXAMPLE_LOCATION, - * {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - * #endif - * @endcode - * - * Since this file contains both the typedefs and the token defs, there are - * two \#defines used to select which one is needed when this file is included. - * \#define DEFINETYPES is used to select the type definitions and - * \#define DEFINETOKENS is used to select the token definitions. - * - * To use this example: - * Ensure the Token Manager's configuration in Studio - * has enabled Custom Manufacuturing Tokens. - * - * Ensure your application has: - * #include "sl_token_api.h" - * #include "sl_token_manager.h" - * - * This code will read the token data: - * uint8_t data[8]; - * sl_token_get_data(TOKEN_MFG_EXAMPLE, 0, &data, sizeof(data)); - ******************************************************************************/ - -/* - #define CREATOR_MFG_EXAMPLE 0x4242 - #ifdef DEFINETYPES - typedef uint8_t tokTypeMfgExample[8]; - #endif - #ifdef DEFINETOKENS - #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - DEFINE_MFG_TOKEN(MFG_EXAMPLE, - tokTypeMfgExample, - MFG_EXAMPLE_LOCATION, - {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - #endif - */ diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_token_header.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_token_header.h deleted file mode 100644 index abfe057a..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_custom_token_header.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Tokens Usage Examples - * - * #define BASICTOKEN1_DEFAULT 0xA5F0 - * #define BASICTOKEN2_DEFAULT { { 0xAA, 0xBB, 0xCC }, 0xDDDD } - * #define BASICTOKEN3_DEFAULT { { 0 } } - * #define COUNTERTOKEN1_DEFAULT 0 - * #define COUNTERTOKEN2_DEFAULT 0xCCCCCCCC - * #define INDEXEDTOKEN1_DEFAULT 0 - * #define INDEXEDTOKEN2_DEFAULT { 0xDDDD } - * #define INDEXEDTOKEN3_DEFAULT { 0xAA, 0xBBBB, { 0x00, 0x11, 0x22 }, 0xCC } - * - * #ifdef DEFINETYPES - * typedef uint16_t tokTypeBasicToken1; - * typedef struct { - * uint8_t basicToken2Array[3]; - * uint16_t basicToken2VarA; - * } tokTypeBasicToken2; - * - * typedef struct { - * uint8_t basicToken3Array[254]; - * } tokTypeBasicToken3; - * - * typedef uint32_t tokTypeCounterToken1; - * typedef uint32_t tokTypeCounterToken2; - * - * typedef uint8_t tokTypeIndexedToken1Element; - * typedef uint16_t tokTypeIndexedToken2Element; - * - * typedef struct { - * uint8_t indexedToken3VarA; - * uint16_t indexedToken3VarB; - * uint8_t indexedToken3Array[3]; - * int8_t indexedToken3VarC; - * } tokTypeIndexedToken3Element; - * - * #endif - * - * #ifdef DEFINETOKENS - * DEFINE_BASIC_TOKEN(BASICTOKEN1, - * tokTypeBasicToken1, - * BASICTOKEN1_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN2, - * tokTypeBasicToken2, - * BASICTOKEN2_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN3, - * tokTypeBasicToken3, - * BASICTOKEN3_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN1, - * tokTypeCounterToken1, - * COUNTERTOKEN1_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN2, - * tokTypeCounterToken2, - * COUNTERTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN1, - * tokTypeIndexedToken1Element, - * INDEXEDTOKEN1_ELEMENTS, - * INDEXEDTOKEN1_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN2, - * tokTypeIndexedToken2Element, - * INDEXEDTOKEN2_ELEMENTS, - * INDEXEDTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN3, - * tokTypeIndexedToken3Element, - * INDEXEDTOKEN3_ELEMENTS, - * INDEXEDTOKEN3_DEFAULT) - * #endif - * - ******************************************************************************/ diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_debug_swo_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_debug_swo_config.h deleted file mode 100644 index fee7e65d..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_debug_swo_config.h +++ /dev/null @@ -1,106 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SWO configuration - ******************************************************************************* - * # 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_DEBUG_SWO_CONFIG_H -#define SL_DEBUG_SWO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// SWO Configuration - -// SWO Frequency -// Must be 875 kHz for communication with Silicon Labs debuggers -// Default: 875000 -#define SL_DEBUG_SWO_FREQ 875000 - -// Enable interrupt event trace -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_IRQ 0 - -// Enable Program Counter samples -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_PC 0 - -// SWO debug sample intervals -// <64=> 64 -// <128=> 128 -// <192=> 192 -// <256=> 256 -// <320=> 320 -// <384=> 384 -// <448=> 448 -// <512=> 512 -// <576=> 576 -// <640=> 640 -// <704=> 704 -// <768=> 768 -// <832=> 832 -// <896=> 896 -// <960=> 960 -// <1024=> 1024 -// <2048=> 2048 -// <3072=> 3072 -// <4096=> 4096 -// <5102=> 5102 -// <6144=> 6144 -// <7168=> 7168 -// <8192=> 8192 -// <9216=> 9216 -// <10240=> 10240 -// <11264=> 11264 -// <12288=> 12288 -// <13312=> 13312 -// <14336=> 14336 -// <15360=> 15360 -// Must be 64, 128, 192, [ n * 64 ], 1024, 2048, 3072, [ n * 1024 ] , 15360 -// Default: 15360 -#define SL_DEBUG_SWO_SAMPLE_INTERVAL 15360 -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[GPIO_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL GPIO -#endif - -// GPIO SWV on PA03 -#ifndef SL_DEBUG_SWV_PORT -#define SL_DEBUG_SWV_PORT gpioPortA -#endif -#ifndef SL_DEBUG_SWV_PIN -#define SL_DEBUG_SWV_PIN 3 -#endif -// [GPIO_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // SL_DEBUG_SWO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_dcdc_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_dcdc_config.h deleted file mode 100644 index 8904e24d..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_dcdc_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_DEVICE_INIT_DCDC_CONFIG_H -#define SL_DEVICE_INIT_DCDC_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Enable DC/DC Converter -// -// Default: 1 -#define SL_DEVICE_INIT_DCDC_ENABLE 1 - -// Set DC/DC Converter in Bypass Mode -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_BYPASS 0 - -// Override for DCDC PFMX Mode Peak Current Setting -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL_OVERRIDE 1 - -// DCDC PFMX Mode Peak Current Setting <0-15> -// -// Default: DCDC_PFMXCTRL_IPKVAL_DEFAULT -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL 3 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_DCDC_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_emu_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_emu_config.h deleted file mode 100644 index 4ac96bac..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_emu_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_hfxo_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_hfxo_config.h deleted file mode 100644 index dcf6e51c..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_device_init_hfxo_config.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFXO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFXO_CONFIG_H -#define SL_DEVICE_INIT_HFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// External sine wave -// Default: cmuHfxoOscMode_Crystal -#define SL_DEVICE_INIT_HFXO_MODE cmuHfxoOscMode_Crystal - -// Frequency <38000000-40000000> -// Default: 39000000 -#define SL_DEVICE_INIT_HFXO_FREQ 39000000 - -// HFXO precision in PPM <0-65535> -// Default: 500 -#define SL_DEVICE_INIT_HFXO_PRECISION 500 - -// CTUNE <0-255> -// Default: 140 -#define SL_DEVICE_INIT_HFXO_CTUNE 140 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFXO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_fem_util_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_fem_util_config.h deleted file mode 100644 index 7cf4f4fb..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_fem_util_config.h +++ /dev/null @@ -1,95 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Front End Module 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. - * - ******************************************************************************/ - -#ifndef SL_FEM_UTIL_CONFIG_H -#define SL_FEM_UTIL_CONFIG_H - -#include "em_gpio.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// FEM Configuration -// Enable RX Mode -// Default: 0 -#define SL_FEM_UTIL_RX_ENABLE 0 -// Enable TX Mode -// Default: 0 -#define SL_FEM_UTIL_TX_ENABLE 0 -// Enable Bypass Mode -// Default: 0 -#define SL_FEM_UTIL_BYPASS_ENABLE 0 -// Enable TX High Power Mode -// Default: 0 -#define SL_FEM_UTIL_TX_HIGH_POWER_ENABLE 0 -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_FEM_UTIL_RX -// $[PRS_SL_FEM_UTIL_RX] -//#define SL_FEM_UTIL_RX_CHANNEL 5 - -// PRS CH5 on PD10 -//#define SL_FEM_UTIL_RX_PORT gpioPortD -//#define SL_FEM_UTIL_RX_PIN 10 -//#define SL_FEM_UTIL_RX_LOC 0 - -// [PRS_SL_FEM_UTIL_RX]$ - -// SL_FEM_UTIL_TX -// $[PRS_SL_FEM_UTIL_TX] - -// [PRS_SL_FEM_UTIL_TX]$ - -// SL_FEM_UTIL_SLEEP -// $[PRS_SL_FEM_UTIL_SLEEP] -//#define SL_FEM_UTIL_SLEEP_CHANNEL 6 - -// PRS CH6 on PD11 -//#define SL_FEM_UTIL_SLEEP_PORT gpioPortD -//#define SL_FEM_UTIL_SLEEP_PIN 11 -//#define SL_FEM_UTIL_SLEEP_LOC 13 - -// [PRS_SL_FEM_UTIL_SLEEP]$ - -// SL_FEM_UTIL_BYPASS -// $[GPIO_SL_FEM_UTIL_BYPASS] - -// [GPIO_SL_FEM_UTIL_BYPASS]$ - -// SL_FEM_UTIL_TX_HIGH_POWER -// $[GPIO_SL_FEM_UTIL_TX_HIGH_POWER] - -// [GPIO_SL_FEM_UTIL_TX_HIGH_POWER]$ -// <<< sl:end pin_tool >>> - -#define SL_FEM_UTIL_OPTIMIZED_PHY_ENABLE 0 -#define SL_FEM_UTIL_RUNTIME_PHY_SELECT 0 - -#endif // SL_FEM_UTIL_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_hfxo_manager_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_hfxo_manager_config.h deleted file mode 100644 index d9ccd3c7..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_hfxo_manager_config.h +++ /dev/null @@ -1,56 +0,0 @@ -/***************************************************************************//** - * @file - * @brief HFXO Manager 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_HFXO_MANAGER_CONFIG_H -#define SL_HFXO_MANAGER_CONFIG_H - -// HFXO Manager Configuration - -// Enable custom IRQ handler for crystal HF oscillator. -// Enable if HFXO0_IRQHandler is needed from your application. -// The HFXO IRQ priority must not be changed as the HFXO Manager module needs it to be high priority -// and to stay enabled through atomic sections. -// The function sl_hfxo_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER 0 - -// Enable support for Sleepy Crystals. -// If Enabled and if HFXO fails to startup due to a sleepy crystal, HFXO Manager will retry the startup with more aggressive settings -// before falling back to the configured settings. -// Default: 0 -#define SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT 0 - -// - -#endif /* SL_HFXO_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_usart_vcom_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_usart_vcom_config.h deleted file mode 100644 index 7053d4f5..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_usart_vcom_config.h +++ /dev/null @@ -1,105 +0,0 @@ -/***************************************************************************//** - * @file - * @brief IOSTREAM_USART Config. - ******************************************************************************* - * # 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_IOSTREAM_USART_VCOM_CONFIG_H -#define SL_IOSTREAM_USART_VCOM_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_IOSTREAM_USART_VCOM_BAUDRATE 115200 - -// Parity mode to use -// No Parity -// Even parity -// Odd parity -// Default: usartNoParity -#define SL_IOSTREAM_USART_VCOM_PARITY usartNoParity - -// Number of stop bits to use. -// 0.5 stop bits -// 1 stop bits -// 1.5 stop bits -// 2 stop bits -// Default: usartStopbits1 -#define SL_IOSTREAM_USART_VCOM_STOP_BITS usartStopbits1 - -// Flow control -// None -// CTS -// RTS -// CTS/RTS -// Software Flow control (XON/XOFF) -// Default: usartHwFlowControlNone -#define SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE usartHwFlowControlCtsAndRts - -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE 32 - -// Convert \n to \r\n -// It can be changed at runtime using the C API. -// Default: 0 -#define SL_IOSTREAM_USART_VCOM_CONVERT_BY_DEFAULT_LF_TO_CRLF 0 - -// Restrict the energy mode to allow the reception. -// Default: 1 -// Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption. -#define SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION 1 - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_IOSTREAM_USART_VCOM -// $[USART_SL_IOSTREAM_USART_VCOM] -#warning "IO Stream USART peripheral not configured" -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL USART0 -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO 0 - -// #define SL_IOSTREAM_USART_VCOM_TX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_TX_PIN 11 - -// #define SL_IOSTREAM_USART_VCOM_RX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RX_PIN 10 - -// #define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortA -// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12 - -// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8 -// [USART_SL_IOSTREAM_USART_VCOM]$ -// <<< sl:end pin_tool >>> - -#endif diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_vuart_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_vuart_config.h deleted file mode 100644 index 82889008..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_iostream_vuart_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SL_IOSTREAM_VUART 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_IOSTREAM_VUART_CONFIG_H -#define SL_IOSTREAM_VUART_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// VUART settings -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_VUART_RX_BUFFER_SIZE 32 - -// -// <<< end of configuration section >>> -#endif diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_legacy_hal_wdog_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_legacy_hal_wdog_config.h deleted file mode 100644 index 86a5c629..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_legacy_hal_wdog_config.h +++ /dev/null @@ -1,88 +0,0 @@ -/***************************************************************************//** - * @file sl_legacy_hal_wdog_config.h - * @brief Legacy HAL watchdog configuration file. - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_LEGACY_HAL_WDOG_CONFIG_H -#define SL_LEGACY_HAL_WDOG_CONFIG_H - -// Legacy HAL WDOG Configurations - -// Disable calling halInternalEnableWatchDog in base-replacement.c's halInit(). -// Default: 0 -#define SL_LEGACY_HAL_DISABLE_WATCHDOG 0 -// - -// WDOG to use for SL_LEGACY_HAL_WDOGn. -// Default: 0 -// <0=> WDOG0 -// <1=> WDOD1 -#define SL_LEGACY_HAL_WDOGn 0 - -// Period for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogPeriod_64k -// The default period of wdogPeriod_64k will trigger watchdog reset after 2 seconds (64k / 32k) and warning interrupt is triggered after 1.5 seconds (75% of timeout). -// wdogPeriod_9 / 9 clock periods -// wdogPeriod_17 / 17 clock periods -// wdogPeriod_33 / 33 clock periods -// wdogPeriod_65 / 65 clock periods -// wdogPeriod_129 / 129 clock periods -// wdogPeriod_257 / 257 clock periods -// wdogPeriod_513 / 513 clock periods -// wdogPeriod_1k / 1025 clock periods -// wdogPeriod_2k / 2049 clock periods -// wdogPeriod_4k / 4097 clock periods -// wdogPeriod_8k / 8193 clock periods -// wdogPeriod_16k / 16385 clock periods -// wdogPeriod_32k / 32769 clock periods -// wdogPeriod_64k / 65537 clock periods -// wdogPeriod_128k / 131073 clock periods -// wdogPeriod_256k / 262145 clock periods -#define SL_LEGACY_HAL_WDOG_PERIOD wdogPeriod_64k - -// Warning for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogWarnTime75pct -// The default warning of wdogWarnTime75pct will trigger warning interrupt after 1.5 seconds (75% of timeout) if the period is wdogPeriod_64k. -// wdogWarnDisable / Watchdog warning period is disabled -// wdogWarnTime25pct / Watchdog warning period is 25% of the timeout -// wdogWarnTime50pct / Watchdog warning period is 50% of the timeout -// wdogWarnTime75pct / Watchdog warning period is 75% of the timeout -#define SL_LEGACY_HAL_WDOG_WARNING wdogWarnTime75pct - -// Counter keeps running during debug halt. -// Default: 0 -#define SL_LEGACY_HAL_WDOG_DEBUG_RUN 0 -// - -// - -#endif /* SL_LEGACY_HAL_WDOG_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_device_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_memory_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_power_manager_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_power_manager_config.h deleted file mode 100644 index a97fb038..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_power_manager_config.h +++ /dev/null @@ -1,64 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Manager 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_POWER_MANAGER_CONFIG_H -#define SL_POWER_MANAGER_CONFIG_H - -// Power Manager Configuration - -// Enable custom IRQ handler for external HF oscillator. -// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application. -// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0 - -// Enable fast wakeup (disable voltage scaling in EM2/3 mode) -// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us. -// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup() -// Default: 0 -#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0 - -// Enable debugging feature -// Enable or disable debugging features (trace the different modules that have requirements). -// Default: 0 -#define SL_POWER_MANAGER_DEBUG 0 - -// Maximum numbers of requirements that can be logged -// Default: 10 -#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10 -// - -// - -#endif /* SL_POWER_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pa_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pa_config.h deleted file mode 100644 index 65b767f9..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pa_config.h +++ /dev/null @@ -1,81 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Amplifier 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PA_CONFIG_H -#define SL_RAIL_UTIL_PA_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PA configuration - -// Initial PA Power (deci-dBm, 100 = 10.0 dBm) -// Default: 100 -#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100 - -// PA Ramp Time (microseconds) -// <10-10:1> -// Default: 10 -#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10 - -// Milli-volts on PA supply pin (PA_VDD) -// <0-65535:1> -// Default: 3300 -#define SL_RAIL_UTIL_PA_VOLTAGE_MV 3300 - -// 2.4 GHz PA Selection -// Highest Possible -// High Power (chip-specific) -// Low Power -// Disable -// Default: RAIL_TX_POWER_MODE_2P4GIG_HIGHEST -#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HIGHEST - -// Sub-1 GHz PA Selection -// Disable -// Default: RAIL_TX_POWER_MODE_NONE -#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE - -// Header file containing custom PA curves -// Default: "pa_curves_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h" - -// Header file containing PA curve types -// Default: "pa_curve_types_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h" - -// Enable PA Calibration -// Default: 0 -#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 0 - -// -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_PA_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_power_manager_init_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_power_manager_init_config.h deleted file mode 100644 index cbc69f24..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_power_manager_init_config.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief RAIL power manager 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H -#define SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// RAIL power manager configuration - -// Enable RAIL power manager initialization -// Default: 1 -#define SL_RAIL_UTIL_RAIL_POWER_MANAGER_INIT 1 - -// -// <<< end of configuration section >>> -#endif // SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pti_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pti_config.h deleted file mode 100644 index cb485cf6..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_pti_config.h +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Packet Trace Information 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PTI_CONFIG_H -#define SL_RAIL_UTIL_PTI_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PTI Configuration - -// PTI mode -// UART -// UART onewire -// SPI -// Disabled -// Default: RAIL_PTI_MODE_UART -#define SL_RAIL_UTIL_PTI_MODE RAIL_PTI_MODE_DISABLED - -// PTI Baud Rate (Hertz) -// <147800-20000000:1> -// Default: 1600000 -#define SL_RAIL_UTIL_PTI_BAUD_RATE_HZ 1600000 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_RAIL_UTIL_PTI -// $[PTI_SL_RAIL_UTIL_PTI] -#ifndef SL_RAIL_UTIL_PTI_PERIPHERAL -#define SL_RAIL_UTIL_PTI_PERIPHERAL PTI -#endif - -// [PTI_SL_RAIL_UTIL_PTI]$ - -// <<< sl:end pin_tool >>> - -#endif // SL_RAIL_UTIL_PTI_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_sequencer_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_sequencer_config.h deleted file mode 100644 index 8bf6f367..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_rail_util_sequencer_config.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief - ******************************************************************************* - * # 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_RAIL_UTIL_SEQUENCER_H -#define SL_RAIL_UTIL_SEQUENCER_H - -#include "rail.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define SL_RAIL_UTIL_SEQUENCER_RUNTIME_IMAGE_SELECTION 0 - -#define SL_RAIL_UTIL_SEQUENCER_IMAGE RAIL_SEQ_IMAGE_PA_20_DBM - -#ifdef __cplusplus -} -#endif - -#endif // SL_RAIL_UTIL_SEQUENCER_H diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_sleeptimer_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_sleeptimer_config.h deleted file mode 100644 index 8344ef5f..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_sleeptimer_config.h +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM240PA32VNN/config/sl_token_manager_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_token_manager_config.h deleted file mode 100644 index d99e78e0..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_token_manager_config.h +++ /dev/null @@ -1,54 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Token Manager Configurations - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_TOKEN_MANAGER_CONFIG_H -#define SL_TOKEN_MANAGER_CONFIG_H - -// TOKEN MANAGER Configurations - -// Enable Custom Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_TOKENS_PRESENT 0 - -// File containing custom tokens -// Default: "sl_custom_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_TOKEN_HEADER "sl_custom_token_header.h" - -// - -// Enable Custom Manufacturing Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT 0 - -// File containing custom manufacturing tokens -// Default: "sl_custom_manufacturing_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER "sl_custom_manufacturing_token_header.h" - -// -// - -#if (SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT) -#define APPLICATION_MFG_TOKEN_HEADER SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER -#endif // SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT - -#endif // SL_TOKEN_MANAGER_CONFIG_H - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_debug_print_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_debug_print_config.h deleted file mode 100644 index 9c901f40..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_debug_print_config.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Debug Print component configuration header. - * - ******************************************************************************* - * # License - * Copyright 2019 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// ZigBee Debug Print configuration - -// Stack group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_ENABLED (1) - -// Stack group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT (1) - -// Core group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_ENABLED (1) - -// Core group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_APP_GROUP_ENABLED (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_ENABLED (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT (1) - -// Legacy App Framework Debug group enabled -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_ENABLED (0) - -// Legacy App Framework Debug runtime default -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_RUNTIME_DEFAULT (0) - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_green_power_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_green_power_config.h deleted file mode 100644 index 3d62c926..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_green_power_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Green Power component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Green Power Library configuration - -// Green Power Proxy Table Size <1-126> -// Default: 5 -// The maximum number of Green Power proxy table entries supported by the stack. -#define EMBER_GP_PROXY_TABLE_SIZE 5 - -// Green Power Sink Table Size <0-126> -// Default: 0 -// The maximum number of Green Power sink table entries supported by the stack. -#define EMBER_GP_SINK_TABLE_SIZE 0 - -// Green Power incoming FC (as part of proxy table) Token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of proxy table) table token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_PROXY_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_TOKEN_TABLE_SIZE 0 - -// Green Power incoming FC (as part of sink table) token table token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of sink table)Token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_SINK_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TABLE_SIZE 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_light_link_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_light_link_config.h deleted file mode 100644 index 7be64b76..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_light_link_config.h +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Light Link component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee ZigBee Light Link Library configuration - -// Group addresses <0-255> -// Default: 0 -// The number of unique group identifiers that this device requires. -#define EMBER_ZLL_GROUP_ADDRESSES 0 - -// RSSI threshold <-128..127:1> -// Default: -40 -// The RSSI threshold applied to incoming scan requests. The stack will ignore scan requests with corrected RSSI values less than this threshold. -#define EMBER_ZLL_RSSI_THRESHOLD -40 - -// Apply RSSI threshold to all interpan messages -// Default: FALSE -// True if the RSSI threshold is to be applied to all incoming touchlink interpan messages. This is not required by the Zigbee 3.0 specifications, but may be useful for testing in a busy environment. -#define EMBER_ZLL_APPLY_THRESHOLD_TO_ALL_INTERPANS 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_pro_stack_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_pro_stack_config.h deleted file mode 100644 index 0d1f068c..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_pro_stack_config.h +++ /dev/null @@ -1,111 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee PRO Full Stack component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee PRO Stack Library configuration - -// Child Table Size <0-64> -// Default: 6 -// The maximum number of ZigBee PRO End Devices that can be supported by a single device. -#define EMBER_MAX_END_DEVICE_CHILDREN 32 - -// Packet Buffer Count <20-255> -// Default: 75 -// The maximum number of packet buffers supported by the system. This is limited by the amount of available RAM. -#define EMBER_PACKET_BUFFER_COUNT 255 - -// End Device keep alive support mode -// End Device keep alive support mode -// MAC Data Poll Keep Alive -// End Device Timeout Keep Alive -// Keep Alive Support All -// Default: EMBER_KEEP_ALIVE_SUPPORT_ALL -// End Device keep alive support mode on the coordinator/router could be set here. -#define EMBER_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE EMBER_KEEP_ALIVE_SUPPORT_ALL - -// End Device Poll Timeout Value -// End Device Poll Timeout Value -// Seconds-10 -// Minutes-2 -// Minutes-4 -// Minutes-8 -// Minutes-16 -// Minutes-32 -// Minutes-64 -// Minutes-128 -// Minutes-256 -// Minutes-512 -// Minutes-1024 -// Minutes-2048 -// Minutes-4096 -// Minutes-8192 -// Minutes-16384 -// Default: MINUTES_256 -// The amount of time that must pass without hearing a MAC data poll from the device before the end device is removed from the child table. For a router device this applies to its children. For an end device, this is the amount of time before it automatically times itself out. -#define EMBER_END_DEVICE_POLL_TIMEOUT MINUTES_256 - -// Link Power Delta Request Interval <1-65535> -// Default: 300 -// The amount of time in seconds that pass between link power delta requests. -#define EMBER_LINK_POWER_DELTA_INTERVAL 300 - -// APS Unicast Message Queue Size <1-255> -// Default: 10 -// The maximum number of APS unicast messages that can be queued up by the stack. A message is considered queued when emberSendUnicast() is called and is de-queued when the emberMessageSentHandler() is called. -#define EMBER_APS_UNICAST_MESSAGE_COUNT 10 - -// APS unicast Message Duplicate Rejection table Size <1-255> -// Default: 5 -// The maximum number of APS unicast messages that can be stored in the stack, to reject duplicate processing/forwarding of APS messages. -// Size of 1 is basically the same thing as no duplicate rejection -#define SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES 5 - -// Broadcast Table Size <15-254> -// Default: 15 -// The size of the broadcast table. -#define EMBER_BROADCAST_TABLE_SIZE 15 - -// Neighbor Table Size -// Neighbor Table Size -// <16=> 16 -// <26=> 26 -// Default: 16 -// The size of the neighbor table. -#define EMBER_NEIGHBOR_TABLE_SIZE 16 - -// Transient key timeout (in seconds) <0-65535> -// Default: 300 -// The amount of time a device will store a transient link key that can be used to join a network. -#define EMBER_TRANSIENT_KEY_TIMEOUT_S 300 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_BINDING_TABLE_SIZE 32 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_ADDRESS_TABLE_SIZE 16 - -// Route Table Size <1-255> -// Default: 3 -// The number of entries that the Route table can hold. -#define EMBER_ROUTE_TABLE_SIZE 16 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_security_link_keys_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_security_link_keys_config.h deleted file mode 100644 index 9a0c8488..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_security_link_keys_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Security Link Keys component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Security Link Keys Library configuration - -// Link Key Table Size <1-127> -// Default: 6 -// The maximum number of link key table entries supported by the stack. -#define EMBER_KEY_TABLE_SIZE 12 - -// Request Key Timeout <0-10> -// Default: 0 -// The length of time that a node will wait for a trust center to answer its Application Link Key request. -#define EMBER_REQUEST_KEY_TIMEOUT 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_source_route_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_source_route_config.h deleted file mode 100644 index 41b5e4bb..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/sl_zigbee_source_route_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Source Route component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Source Route Library configuration - -// Source route table Size (SoC or NCP) <2-255> -// Default: 7 -// The size of the source route table for storing source routes on the SOC or NCP. -#define EMBER_SOURCE_ROUTE_TABLE_SIZE 7 - -// Max source route relay counts <11-40> -// Default: 11 -// Max source route hops accepted or/and inserted in the source route table/header. -#define EMBER_MAX_SOURCE_ROUTE_RELAY_COUNT 11 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_sleep_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_sleep_config.h deleted file mode 100644 index fa4efd14..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_sleep_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Application Framework common component configuration header. - *\n******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Sleep configuration - -// Minimum Sleep Duration <5-1000> -// Default: 5 -// The minimum duration in milliseconds that the application will attempt to sleep for. If the sleep duration would be less than this amount, the application will not sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_MINIMUM_SLEEP_DURATION_MS 5 - -// Sleep Backoff time <0-10000> -// Default: 0 -// This setting will keep a device from going back to sleep immediately upon waking up -#define SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS 0 - -// Stay awake when NOT joined -// Default: TRUE -// This will force a device to stay awake even when not joined to the network. This is often used for debugging and is not recommended for production devices since it cause the device to consume battery power even when not joined to a ZigBee network. -#define SL_ZIGBEE_APP_FRAMEWORK_STAY_AWAKE_WHEN_NOT_JOINED 1 - -// Use button to force wakeup or allow sleep -// Default: FALSE -// This will setup the hardware buttons to wake-up or allow the device to go to sleep. Button 0 will force the device to wake up and stay awake. Button 1 will turn off this behavior to allow the device to sleep normally. Please note that in order for this option to be fully functional, button 0 and button 1 have to be configured to wake the device from sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_USE_BUTTON_TO_STAY_AWAKE 0 -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_watchdog_periodic_refresh_config.h b/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_watchdog_periodic_refresh_config.h deleted file mode 100644 index e317fedb..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/config/zigbee_watchdog_periodic_refresh_config.h +++ /dev/null @@ -1,34 +0,0 @@ -/***************************************************************************//** - * @brief Sample watchdog refresh event component configuration header. - ******************************************************************************** - * # License - * Copyright 2022 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Watchdog reset component configuration - -// Enable periodic watchdog refresh -// Default: TRUE -// This allows for enabling or disabling periodic watchdog refresh -#define SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE 1 - -// Watchdog refresh duration <50-5000> -// Default: 1000 -// Defines the periodic interval at which the watchdog timer is reset in the application -#define SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS 1000 - -// -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PA32VNN/main.c b/src/ncp-uart-hw_MGM240PA32VNN/main.c deleted file mode 100644 index 996b1e0b..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/main.c +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @file main.c - * @brief main() function. - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -#ifdef SL_COMPONENT_CATALOG_PRESENT -#include "sl_component_catalog.h" -#endif -#include "sl_system_init.h" -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) -#include "sl_power_manager.h" -#endif -#if defined(SL_CATALOG_KERNEL_PRESENT) -#include "sl_system_kernel.h" -#else -#include "sl_system_process_action.h" -#endif // SL_CATALOG_KERNEL_PRESENT - -#ifdef EMBER_TEST -#define main nodeMain -#endif - -void app_init(void) -{ -} - -void app_process_action(void) -{ -} - -int main(void) -{ - // Initialize Silicon Labs device, system, service(s) and protocol stack(s). - // Note that if the kernel is present, processing task(s) will be created by - // this call. - sl_system_init(); - - // Initialize the application. For example, create periodic timer(s) or - // task(s) if the kernel is present. - app_init(); - -#if defined(SL_CATALOG_KERNEL_PRESENT) - // Start the kernel. Task(s) created in app_init() will start running. - sl_system_kernel_start(); -#else // SL_CATALOG_KERNEL_PRESENT - while (1) { - // Do not remove this call: Silicon Labs components process action routine - // must be called from the super loop. - sl_system_process_action(); - - // Application process. - app_process_action(); - - // Let the CPU go to sleep if the system allow it. -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) - sl_power_manager_sleep(); -#endif // SL_CATALOG_POWER_MANAGER_PRESENT - } -#endif // SL_CATALOG_KERNEL_PRESENT - - return 0; -} diff --git a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.pintool b/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.pintool deleted file mode 100644 index 55ed04bb..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slcp b/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slcp deleted file mode 100644 index 3991f0cd..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slcp +++ /dev/null @@ -1,73 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: ncp-uart-hw_MGM240PA32VNN -label: ncp-uart-hw_MGM240PA32VNN -author: Silicon Laboratories, Inc. -description: This network coprocessor (NCP) application supports communication with - a host application over a UART interface with hardware flow control. This NCP application - can be built as configured, or optionally can be augmented with customized extensions - for initialization, main loop processing, event definition/handling, and messaging - with the host. To create a ECC-enabled application for the Smart Energy Profile, - please download and extract the 'EmberZnet-Smart-Energy.zip' side-package over your - installed SDK and add, depending on use-case, one of two new components ('CBKE 163k1'; - 'CBKE 283k1') to your application. -category: Zigbee Application -filter: -- name: Device Type - value: [NCP] -- name: Project Difficulty - value: [Advanced] -- name: Wireless Technology - value: [Zigbee] -package: Zigbee -quality: production -readme: -- {path: readme.html} -- {path: readme.html} -source: -- {path: main.c} -- {path: app.c} -tag: [prebuilt_demo] -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: MGM240PA32VNN} -- instance: [vcom] - id: iostream_usart -- {id: iostream_vuart} -- {id: token_manager} -- {id: zigbee_app_framework_common} -- {id: zigbee_debug_basic} -- {id: zigbee_debug_extended} -- {id: zigbee_debug_print} -- {id: zigbee_gp} -- {id: zigbee_ncp_uart_hardware} -- {id: zigbee_pro_stack} -- {id: zigbee_r22_support} -- {id: zigbee_security_link_keys} -- {id: zigbee_source_route} -- {id: zigbee_zll} -define: -- {name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE, value: '15'} -configuration: -- {name: SL_BOARD_ENABLE_VCOM, value: '1'} -- {name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE, value: usartHwFlowControlCtsAndRts} -- {name: SL_CLI_MAX_INPUT_ARGUMENTS, value: '16'} -- {name: EMBER_BINDING_TABLE_SIZE, value: '32'} -- {name: EMBER_MAX_END_DEVICE_CHILDREN, value: '32'} -- {name: EMBER_PACKET_BUFFER_COUNT, value: '255'} -- {name: EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE, value: '32'} -- {name: EMBER_KEY_TABLE_SIZE, value: '12'} -- {name: SL_CLI_EXAMPLE_IOSTREAM_HANDLE, value: sl_iostream_vuart_handle} -- condition: [device_series_1] - name: NVM3_DEFAULT_NVM_SIZE - value: '36864' -- condition: [device_series_2] - name: NVM3_DEFAULT_NVM_SIZE - value: '32768' -- {name: SL_PSA_ITS_SUPPORT_V1_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V2_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V3_DRIVER, value: '1'} -ui_hints: - highlight: - - {path: readme.html} - diff --git a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slps b/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slps deleted file mode 100644 index 6d6de5c2..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/ncp-uart-hw_MGM240PA32VNN.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PA32VNN/readme.html b/src/ncp-uart-hw_MGM240PA32VNN/readme.html deleted file mode 100644 index 055d0cfc..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/readme.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - -readme - - -

NCP UART Application

-

This network coprocessor (NCP) application supports communication with a host application over a UART interface with hardware flow control. This NCP application can be built as configured, or optionally can be augmented with customizations for target hardware, initialization, main loop processing, event definition/handling, and messaging with the host. - -As configured, this NCP UART application is the basis for building the corresponding binary ncp-uart images delivered with the Silicon Labs Zigbee stack. - -Due to thread safety concerns with EZSP, this application cannot include an RTOS unless CPC (Co-Processor Communication) components are also added. - -Refer to the Silicon Labs Zigbee documentation for more information about NCP customization. -

-
- - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PA32VNN/sl_zigbee_watchdog_periodic_refresh.c b/src/ncp-uart-hw_MGM240PA32VNN/sl_zigbee_watchdog_periodic_refresh.c deleted file mode 100644 index e3251c3c..00000000 --- a/src/ncp-uart-hw_MGM240PA32VNN/sl_zigbee_watchdog_periodic_refresh.c +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Sample watchdog refresh event implementation and related configuration - ******************************************************************************* - * # License - * Copyright 2022 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 PLATFORM_HEADER -#include "hal.h" -#include "ember.h" -#include "zigbee_app_framework_event.h" -#include "zigbee_app_framework_common.h" -#include "zigbee_watchdog_periodic_refresh_config.h" - -#if (SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) - -static sl_zigbee_event_t watchdog_refresh_event; -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event); - -// Initialization of watchdog refresh event -void sli_zigbee_watchdog_refresh_handler_init(uint8_t init_level) -{ - switch (init_level) { - case SL_ZIGBEE_INIT_LEVEL_EVENT: - { - sl_zigbee_event_init(&watchdog_refresh_event, watchdog_refresh_event_handler); - sl_zigbee_event_set_active(&watchdog_refresh_event); - break; - } - default: - break; - } -} - -// In RTOS-based applications, the Zigbee task refreshes the watchdog. -// However, when the node is not on a network the Zigbee task does not run. -// Therefore, there needs to be a way to ensure that the watchdog does not fire -// and reset the node unnecessarily. Below we provide an example of an application -// event that periodically resets the watchdog. -// Note, such a periodic event gets the node out of EM1/EM2 low power modes, -// which may result in unnecessary energy consumption. -// The application should ultimately own the refreshing of the watchdog and tailor -// it based on the specific use case. -// In the bare-metal case, this is done in the zigbee stack and app framework ticks -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event) -{ - halResetWatchdog(); - sl_zigbee_event_set_delay_ms(&watchdog_refresh_event, SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS); -} -#endif //(SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) diff --git a/src/ncp-uart-hw_MGM240PB32VNN/.cproject b/src/ncp-uart-hw_MGM240PB32VNN/.cproject deleted file mode 100644 index 016462ea..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/.cproject +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PB32VNN/app.c b/src/ncp-uart-hw_MGM240PB32VNN/app.c deleted file mode 100644 index 9e7f24f5..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/app.c +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @file app.c - * @brief Callbacks implementation and application specific code. - ******************************************************************************* - * # License - * Copyright 2021 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 PLATFORM_HEADER -#include "ember.h" - -//---------------------- -// Implemented Callbacks - -/** @brief - * - * Application framework equivalent of ::emberRadioNeedsCalibratingHandler - */ -void emberAfRadioNeedsCalibratingCallback(void) -{ - sl_mac_calibrate_current_channel(); -} - -/** @brief Init - * Application init function - */ -void emberAfMainInitCallback(void) -{ -} diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/SEGGER_RTT_Conf.h b/src/ncp-uart-hw_MGM240PB32VNN/config/SEGGER_RTT_Conf.h deleted file mode 100644 index df57e166..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/SEGGER_RTT_Conf.h +++ /dev/null @@ -1,428 +0,0 @@ -/********************************************************************* -* SEGGER Microcontroller GmbH * -* The Embedded Experts * -********************************************************************** -* * -* (c) 1995 - 2023 SEGGER Microcontroller GmbH * -* * -* www.segger.com Support: support@segger.com * -* * -********************************************************************** -* * -* SEGGER SystemView * Real-time application analysis * -* * -********************************************************************** -* * -* All rights reserved. * -* * -* SEGGER strongly recommends to not make any changes * -* to or modify the source code of this software in order to stay * -* compatible with the SystemView and RTT protocol, and J-Link. * -* * -* Redistribution and use in source and binary forms, with or * -* without modification, are permitted provided that the following * -* condition is met: * -* * -* o Redistributions of source code must retain the above copyright * -* notice, this condition and the following disclaimer. * -* * -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * -* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * -* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * -* DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR * -* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * -* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * -* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * -* DAMAGE. * -* * -********************************************************************** -* * -* SystemView version: 3.52 * -* * -********************************************************************** ----------------------------END-OF-HEADER------------------------------ -File : SEGGER_RTT_Conf.h -Purpose : Implementation of SEGGER real-time transfer (RTT) which - allows real-time communication on targets which support - debugger memory accesses while the CPU is running. -Revision: $Rev: 24316 $ - -*/ - -#ifndef SEGGER_RTT_CONF_H -#define SEGGER_RTT_CONF_H - -#ifdef __IAR_SYSTEMS_ICC__ - #include -#endif - -/********************************************************************* -* -* Defines, configurable -* -********************************************************************** -*/ - -// -// Take in and set to correct values for Cortex-A systems with CPU cache -// -//#define SEGGER_RTT_CPU_CACHE_LINE_SIZE (32) // Largest cache line size (in bytes) in the current system -//#define SEGGER_RTT_UNCACHED_OFF (0xFB000000) // Address alias where RTT CB and buffers can be accessed uncached -// -// Most common case: -// Up-channel 0: RTT -// Up-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_UP_BUFFERS - #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (3) // Max. number of up-buffers (T->H) available on this target (Default: 3) -#endif -// -// Most common case: -// Down-channel 0: RTT -// Down-channel 1: SystemView -// -#ifndef SEGGER_RTT_MAX_NUM_DOWN_BUFFERS - #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (3) // Max. number of down-buffers (H->T) available on this target (Default: 3) -#endif - -#ifndef BUFFER_SIZE_UP - #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) -#endif - -#ifndef BUFFER_SIZE_DOWN - #define BUFFER_SIZE_DOWN (1024) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) -#endif - -#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE - #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) -#endif - -#ifndef SEGGER_RTT_MODE_DEFAULT - #define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0) -#endif - -/********************************************************************* -* -* RTT memcpy configuration -* -* memcpy() is good for large amounts of data, -* but the overhead is big for small amounts, which are usually stored via RTT. -* With SEGGER_RTT_MEMCPY_USE_BYTELOOP a simple byte loop can be used instead. -* -* SEGGER_RTT_MEMCPY() can be used to replace standard memcpy() in RTT functions. -* This is may be required with memory access restrictions, -* such as on Cortex-A devices with MMU. -*/ -#ifndef SEGGER_RTT_MEMCPY_USE_BYTELOOP - #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 // 0: Use memcpy/SEGGER_RTT_MEMCPY, 1: Use a simple byte-loop -#endif -// -// Example definition of SEGGER_RTT_MEMCPY to external memcpy with GCC toolchains and Cortex-A targets -// -//#if ((defined __SES_ARM) || (defined __CROSSWORKS_ARM) || (defined __GNUC__)) && (defined (__ARM_ARCH_7A__)) -// #define SEGGER_RTT_MEMCPY(pDest, pSrc, NumBytes) SEGGER_memcpy((pDest), (pSrc), (NumBytes)) -//#endif - -// -// Target is not allowed to perform other RTT operations while string still has not been stored completely. -// Otherwise we would probably end up with a mixed string in the buffer. -// If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. -// -// SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. -// Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. -// When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. -// (Higher priority = lower priority number) -// Default value for embOS: 128u -// Default configuration in FreeRTOS: configMAX_SYSCALL_INTERRUPT_PRIORITY: ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) -// In case of doubt mask all interrupts: 1 << (8 - BASEPRI_PRIO_BITS) i.e. 1 << 5 when 3 bits are implemented in NVIC -// or define SEGGER_RTT_LOCK() to completely disable interrupts. -// -#ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) // Interrupt priority to lock on SEGGER_RTT_LOCK on Cortex-M3/4 (Default: 0x20) -#endif - -/********************************************************************* -* -* RTT lock configuration for SEGGER Embedded Studio, -* Rowley CrossStudio and GCC -*/ -#if ((defined(__SES_ARM) || defined(__SES_RISCV) || defined(__CROSSWORKS_ARM) || defined(__GNUC__) || defined(__clang__)) && !defined (__CC_ARM) && !defined(WIN32)) - #if (defined(__ARM_ARCH_6M__) || defined(__ARM_ARCH_8M_BASE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, primask \n\t" \ - "movs r1, #1 \n\t" \ - "msr primask, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr primask, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - #elif (defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_8M_MAIN__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs %0, basepri \n\t" \ - "mov r1, %1 \n\t" \ - "msr basepri, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : "i"(SEGGER_RTT_MAX_INTERRUPT_PRIORITY) \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("msr basepri, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : \ - ); \ - } - - #elif (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #elif defined(__riscv) || defined(__riscv_xlen) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("csrr %0, mstatus \n\t" \ - "csrci mstatus, 8 \n\t" \ - "andi %0, %0, 8 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("csrr a1, mstatus \n\t" \ - "or %0, %0, a1 \n\t" \ - "csrs mstatus, %0 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "a1" \ - ); \ - } - #else - #define SEGGER_RTT_LOCK() - #define SEGGER_RTT_UNLOCK() - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR EWARM -*/ -#ifdef __ICCARM__ - #if (defined (__ARM6M__) && (__CORE__ == __ARM6M__)) || \ - (defined (__ARM8M_BASELINE__) && (__CORE__ == __ARM8M_BASELINE__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7EM__) && (__CORE__ == __ARM7EM__)) || \ - (defined (__ARM7M__) && (__CORE__ == __ARM7M__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) || \ - (defined (__ARM8M_MAINLINE__) && (__CORE__ == __ARM8M_MAINLINE__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_BASEPRI(); \ - __set_BASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() __set_BASEPRI(_SEGGER_RTT__LockState); \ - } - #elif (defined (__ARM7A__) && (__CORE__ == __ARM7A__)) || \ - (defined (__ARM7R__) && (__CORE__ == __ARM7R__)) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - __asm volatile ("mrs r1, CPSR \n\t" \ - "mov %0, r1 \n\t" \ - "orr r1, r1, #0xC0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : "=r" (_SEGGER_RTT__LockState) \ - : \ - : "r1", "cc" \ - ); - - #define SEGGER_RTT_UNLOCK() __asm volatile ("mov r0, %0 \n\t" \ - "mrs r1, CPSR \n\t" \ - "bic r1, r1, #0xC0 \n\t" \ - "and r0, r0, #0xC0 \n\t" \ - "orr r1, r1, r0 \n\t" \ - "msr CPSR_c, r1 \n\t" \ - : \ - : "r" (_SEGGER_RTT__LockState) \ - : "r0", "r1", "cc" \ - ); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RX -*/ -#ifdef __ICCRX__ - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for IAR RL78 -*/ -#ifdef __ICCRL78__ - #define SEGGER_RTT_LOCK() { \ - __istate_t _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_interrupt_state(); \ - __disable_interrupt(); - - #define SEGGER_RTT_UNLOCK() __set_interrupt_state(_SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for KEIL ARM -*/ -#ifdef __CC_ARM - #if (defined __TARGET_ARCH_6S_M) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char _SEGGER_RTT__PRIMASK __asm( "primask"); \ - _SEGGER_RTT__LockState = _SEGGER_RTT__PRIMASK; \ - _SEGGER_RTT__PRIMASK = 1u; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() _SEGGER_RTT__PRIMASK = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #elif (defined(__TARGET_ARCH_7_M) || defined(__TARGET_ARCH_7E_M)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - register unsigned char BASEPRI __asm( "basepri"); \ - _SEGGER_RTT__LockState = BASEPRI; \ - BASEPRI = SEGGER_RTT_MAX_INTERRUPT_PRIORITY; \ - __schedule_barrier(); - - #define SEGGER_RTT_UNLOCK() BASEPRI = _SEGGER_RTT__LockState; \ - __schedule_barrier(); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for TI ARM -*/ -#ifdef __TI_ARM__ - #if defined (__TI_ARM_V6M0__) - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = __get_PRIMASK(); \ - __set_PRIMASK(1); - - #define SEGGER_RTT_UNLOCK() __set_PRIMASK(_SEGGER_RTT__LockState); \ - } - #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) - #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY - #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) - #endif - #define SEGGER_RTT_LOCK() { \ - unsigned int _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY); - - #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(_SEGGER_RTT__LockState); \ - } - #endif -#endif - -/********************************************************************* -* -* RTT lock configuration for CCRX -*/ -#ifdef __RX - #include - #define SEGGER_RTT_LOCK() { \ - unsigned long _SEGGER_RTT__LockState; \ - _SEGGER_RTT__LockState = get_psw() & 0x010000; \ - clrpsw_i(); - - #define SEGGER_RTT_UNLOCK() set_psw(get_psw() | _SEGGER_RTT__LockState); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration for embOS Simulation on Windows -* (Can also be used for generic RTT locking with embOS) -*/ -#if defined(WIN32) || defined(SEGGER_RTT_LOCK_EMBOS) - -void OS_SIM_EnterCriticalSection(void); -void OS_SIM_LeaveCriticalSection(void); - -#define SEGGER_RTT_LOCK() { \ - OS_SIM_EnterCriticalSection(); - -#define SEGGER_RTT_UNLOCK() OS_SIM_LeaveCriticalSection(); \ - } -#endif - -/********************************************************************* -* -* RTT lock configuration fallback -*/ -#ifndef SEGGER_RTT_LOCK - #define SEGGER_RTT_LOCK() // Lock RTT (nestable) (i.e. disable interrupts) -#endif - -#ifndef SEGGER_RTT_UNLOCK - #define SEGGER_RTT_UNLOCK() // Unlock RTT (nestable) (i.e. enable previous interrupt lock state) -#endif - -#endif -/*************************** End of file ****************************/ diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/app_properties_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/app_properties_config.h deleted file mode 100644 index 6a6b9766..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/app_properties_config.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Application Properties Header File - ******************************************************************************* - * # License - * Copyright 2021 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 APP_PROPERTIES_CONFIG_H -#define APP_PROPERTIES_CONFIG_H - -#include "sl_application_type.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// App Properties settings - -// Type of signature this application is signed with -// Default: APPLICATION_SIGNATURE_NONE(0) -#define SL_APPLICATION_SIGNATURE 0 - -// Location of the signature -// Default: 0xFFFFFFFF -#define SL_APPLICATION_SIGNATURE_LOCATION 0xFFFFFFFF - -// Bitfield representing type of application -#define SL_APPLICATION_TYPE APPLICATION_TYPE - -// Version number for this application -// <0-4294967295:1> -// Default: 1 [0-4294967295] -#define SL_APPLICATION_VERSION 1 - -// Capabilities of this application -// Default: 0 -#define SL_APPLICATION_CAPABILITIES 0 - -//Product ID of the device for which the application is built -#define SL_APPLICATION_PRODUCT_ID { 0 } - -// - -#endif // APP_PROPERTIES_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg.h b/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg.h deleted file mode 100644 index 8e246f80..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_H -#define BTL_INTERFACE_CFG_H - -#if !defined(BOOTLOADER_APPLOADER) - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_1) -#include "btl_interface_cfg_s2c1.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2) -#include "btl_interface_cfg_s2c2.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_3) -#include "btl_interface_cfg_s2c3.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_4) -#include "btl_interface_cfg_s2c4.h" -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_5) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_8) -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 1 -#endif - -#endif // !BOOTLOADER_APPLOADER - -#endif // BTL_INTERFACE_CFG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg_s2c4.h b/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg_s2c4.h deleted file mode 100644 index 4c80d86f..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/btl_interface_cfg_s2c4.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Configuration header of Bootloader Interface - ******************************************************************************* - * # License - * Copyright 2021 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 BTL_INTERFACE_CFG_S2C4_H -#define BTL_INTERFACE_CFG_S2C4_H - -// <<< Use Configuration Wizard in Context Menu >>> -// Bootloader Interface Trust Zone Security State Configuration - -// Disable multi tiered fallback logic -// The fault handling logic as well as the USART auto-detection logic will be disabled. -// The re-configuration of SMU will be handled by querying the running bootloader -// for the peripheral list. Querying the peripheral list is supported from the bootloader -// version 2.0.0. Check for the BOOTLOADER_CAPABILITY_PERIPHERAL_LIST capability to -// see if the running bootloader supports querying the peripheral list. -#define BOOTLOADER_DISABLE_OLD_BOOTLOADER_MITIGATION 0 - -// Disable peripheral access fault handling -// The fault handling triggered by an erroneous access of peripherals will be disabled. -// -// This should be disabled iff all the peripherals that are in use by the bootloader -// have been properly configured by the "Manually override security state of peripherals" option. -#define BOOTLOADER_DISABLE_NVM3_FAULT_HANDLING 0 - -// Manually override the security state of peripherals in use by the bootloader -// Default: 0. -// Manually override the security state of peripherals. Choose the peripherals touched -// by the customized code to have a valid secure access state before interacting with the bootloader -// In practice, this means that the chosen peripherals will be available at the secure address, -// which is accessible by the bootloader. Once the application is entered back the secure access state -// is changed back to the original state. -// -// The USART auto-detection logic that detects which, if any, USART is in use by the bootloader -// will be disabled. Make sure to choose the correct USART used by the bootloader. -#define BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE 0 -// EMU -// Update secure access state of EMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_EMU 0 - -// CMU -// Update secure access state of CMU before calling into bootloader -#define BOOTLOADER_PPUSATD0_CMU 0 - -// HFRCO0 -// Update secure access state of HFRCO0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_HFRCO0 0 - -// FSRCO -// Update secure access state of FSRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_FSRCO 0 - -// DPLL0 -// Update secure access state of DPLL0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_DPLL0 0 - -// LFXO -// Update secure access state of LFXO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFXO 0 - -// LFRCO -// Update secure access state of LFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_LFRCO 0 - -// ULFRCO -// Update secure access state of ULFRCO before calling into bootloader -#define BOOTLOADER_PPUSATD0_ULFRCO 0 - -// MSC -// Update secure access state of MSC before calling into bootloader -#define BOOTLOADER_PPUSATD0_MSC 0 - -// ICACHE0 -// Update secure access state of ICACHE0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_ICACHE0 0 - -// PRS -// Update secure access state of PRS before calling into bootloader -#define BOOTLOADER_PPUSATD0_PRS 0 - -// GPIO -// Update secure access state of GPIO before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPIO 0 - -// LDMA -// Update secure access state of LDMA before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMA 0 - -// LDMAXBAR -// Update secure access state of LDMAXBAR before calling into bootloader -#define BOOTLOADER_PPUSATD0_LDMAXBAR 0 - -// TIMER0 -// Update secure access state of TIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER0 0 - -// TIMER1 -// Update secure access state of TIMER1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER1 0 - -// TIMER2 -// Update secure access state of TIMER2 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER2 0 - -// TIMER3 -// Update secure access state of TIMER3 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER3 0 - -// TIMER4 -// Update secure access state of TIMER4 before calling into bootloader -#define BOOTLOADER_PPUSATD0_TIMER4 0 - -// USART0 -// Update secure access state of USART0 before calling into bootloader -#define BOOTLOADER_PPUSATD0_USART0 0 - -// BURTC -// Update secure access state of BURTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURTC 0 - -// I2C1 -// Update secure access state of I2C1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_I2C1 0 - -// CHIPTESTCTRL -// Update secure access state of CHIPTESTCTRL before calling into bootloader -#define BOOTLOADER_PPUSATD0_CHIPTESTCTRL 0 - -// SYSCFGCFGNS -// Update secure access state of SYSCFGCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFGCFGNS 0 - -// SYSCFG -// Update secure access state of SYSCFG before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSCFG 0 - -// BURAM -// Update secure access state of BURAM before calling into bootloader -#define BOOTLOADER_PPUSATD0_BURAM 0 - -// GPCRC -// Update secure access state of GPCRC before calling into bootloader -#define BOOTLOADER_PPUSATD0_GPCRC 0 - -// DCDC -// Update secure access state of DCDC before calling into bootloader -#define BOOTLOADER_PPUSATD0_DCDC 0 - -// HOSTMAILBOX -// Update secure access state of HOSTMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD0_HOSTMAILBOX 0 - -// EUSART1 -// Update secure access state of EUSART1 before calling into bootloader -#define BOOTLOADER_PPUSATD0_EUSART1 0 - -// SYSRTC -// Update secure access state of SYSRTC before calling into bootloader -#define BOOTLOADER_PPUSATD0_SYSRTC 0 - -// KEYSCAN -// Update secure access state of KEYSCAN before calling into bootloader -#define BOOTLOADER_PPUSATD1_KEYSCAN 0 - -// DMEM -// Update secure access state of DMEM before calling into bootloader -#define BOOTLOADER_PPUSATD1_DMEM 0 - -// RADIOAES -// Update secure access state of RADIOAES before calling into bootloader -#define BOOTLOADER_PPUSATD1_RADIOAES 0 - -// SMU -// Update secure access state of SMU before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMU 0 - -// SMUCFGNS -// Update secure access state of SMUCFGNS before calling into bootloader -#define BOOTLOADER_PPUSATD1_SMUCFGNS 0 - -// LETIMER0 -// Update secure access state of LETIMER0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_LETIMER0 0 - -// IADC0 -// Update secure access state of IADC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_IADC0 0 - -// ACMP0 -// Update secure access state of ACMP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP0 0 - -// ACMP1 -// Update secure access state of ACMP1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_ACMP1 0 - -// AMUXCP0 -// Update secure access state of AMUXCP0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_AMUXCP0 0 - -// VDAC0 -// Update secure access state of VDAC0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC0 0 - -// VDAC1 -// Update secure access state of VDAC1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_VDAC1 0 - -// PCNT -// Update secure access state of PCNT before calling into bootloader -#define BOOTLOADER_PPUSATD1_PCNT 0 - -// HFRCO1 -// Update secure access state of HFRCO1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFRCO1 0 - -// HFXO0 -// Update secure access state of HFXO0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_HFXO0 0 - -// I2C0 -// Update secure access state of I2C0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_I2C0 0 - -// WDOG0 -// Update secure access state of WDOG0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG0 0 - -// WDOG1 -// Update secure access state of WDOG1 before calling into bootloader -#define BOOTLOADER_PPUSATD1_WDOG1 0 - -// EUSART0 -// Update secure access state of EUSART0 before calling into bootloader -#define BOOTLOADER_PPUSATD1_EUSART0 0 - -// SEMAILBOX -// Update secure access state of SEMAILBOX before calling into bootloader -#define BOOTLOADER_PPUSATD1_SEMAILBOX 0 - -// MVP -// Update secure access state of MVP before calling into bootloader -#define BOOTLOADER_PPUSATD1_MVP 0 - -// AHBRADIO -// Update secure access state of AHBRADIO before calling into bootloader -#define BOOTLOADER_PPUSATD1_AHBRADIO 0 -// - -// -// <<< end of configuration section >>> - -#if BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE == 1 -#define BOOTLOADER_PPUSATD0_MASK ((BOOTLOADER_PPUSATD0_EMU << _SMU_PPUSATD0_EMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CMU << _SMU_PPUSATD0_CMU_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HFRCO0 << _SMU_PPUSATD0_HFRCO0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_FSRCO << _SMU_PPUSATD0_FSRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DPLL0 << _SMU_PPUSATD0_DPLL0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFXO << _SMU_PPUSATD0_LFXO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LFRCO << _SMU_PPUSATD0_LFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ULFRCO << _SMU_PPUSATD0_ULFRCO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_MSC << _SMU_PPUSATD0_MSC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_ICACHE0 << _SMU_PPUSATD0_ICACHE0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_PRS << _SMU_PPUSATD0_PRS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPIO << _SMU_PPUSATD0_GPIO_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMA << _SMU_PPUSATD0_LDMA_SHIFT) \ - | (BOOTLOADER_PPUSATD0_LDMAXBAR << _SMU_PPUSATD0_LDMAXBAR_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER0 << _SMU_PPUSATD0_TIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER1 << _SMU_PPUSATD0_TIMER1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER2 << _SMU_PPUSATD0_TIMER2_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER3 << _SMU_PPUSATD0_TIMER3_SHIFT) \ - | (BOOTLOADER_PPUSATD0_TIMER4 << _SMU_PPUSATD0_TIMER4_SHIFT) \ - | (BOOTLOADER_PPUSATD0_USART0 << _SMU_PPUSATD0_USART0_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURTC << _SMU_PPUSATD0_BURTC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_I2C1 << _SMU_PPUSATD0_I2C1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_CHIPTESTCTRL << _SMU_PPUSATD0_CHIPTESTCTRL_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFGCFGNS << _SMU_PPUSATD0_SYSCFGCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSCFG << _SMU_PPUSATD0_SYSCFG_SHIFT) \ - | (BOOTLOADER_PPUSATD0_BURAM << _SMU_PPUSATD0_BURAM_SHIFT) \ - | (BOOTLOADER_PPUSATD0_GPCRC << _SMU_PPUSATD0_GPCRC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_DCDC << _SMU_PPUSATD0_DCDC_SHIFT) \ - | (BOOTLOADER_PPUSATD0_HOSTMAILBOX << _SMU_PPUSATD0_HOSTMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD0_EUSART1 << _SMU_PPUSATD0_EUSART1_SHIFT) \ - | (BOOTLOADER_PPUSATD0_SYSRTC << _SMU_PPUSATD0_SYSRTC_SHIFT)) -#define BOOTLOADER_PPUSATD1_MASK ((BOOTLOADER_PPUSATD1_KEYSCAN << _SMU_PPUSATD1_KEYSCAN_SHIFT) \ - | (BOOTLOADER_PPUSATD1_DMEM << _SMU_PPUSATD1_DMEM_SHIFT) \ - | (BOOTLOADER_PPUSATD1_RADIOAES << _SMU_PPUSATD1_RADIOAES_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMU << _SMU_PPUSATD1_SMU_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SMUCFGNS << _SMU_PPUSATD1_SMUCFGNS_SHIFT) \ - | (BOOTLOADER_PPUSATD1_LETIMER0 << _SMU_PPUSATD1_LETIMER0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_IADC0 << _SMU_PPUSATD1_IADC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP0 << _SMU_PPUSATD1_ACMP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_ACMP1 << _SMU_PPUSATD1_ACMP1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AMUXCP0 << _SMU_PPUSATD1_AMUXCP0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC0 << _SMU_PPUSATD1_VDAC0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_VDAC1 << _SMU_PPUSATD1_VDAC1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_PCNT << _SMU_PPUSATD1_PCNT_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFRCO1 << _SMU_PPUSATD1_HFRCO1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_HFXO0 << _SMU_PPUSATD1_HFXO0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_I2C0 << _SMU_PPUSATD1_I2C0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG0 << _SMU_PPUSATD1_WDOG0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_WDOG1 << _SMU_PPUSATD1_WDOG1_SHIFT) \ - | (BOOTLOADER_PPUSATD1_EUSART0 << _SMU_PPUSATD1_EUSART0_SHIFT) \ - | (BOOTLOADER_PPUSATD1_SEMAILBOX << _SMU_PPUSATD1_SEMAILBOX_SHIFT) \ - | (BOOTLOADER_PPUSATD1_MVP << _SMU_PPUSATD1_MVP_SHIFT) \ - | (BOOTLOADER_PPUSATD1_AHBRADIO << _SMU_PPUSATD1_AHBRADIO_SHIFT)) -#endif // BOOTLOADER_MANUAL_OVERRIDE_SECURITY_STATE - -#endif // BTL_INTERFACE_CFG_S2C4_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/dmadrv_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/dmadrv_config.h deleted file mode 100644 index ed105e4f..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/dmadrv_config.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef DMADRV_CONFIG_H -#define DMADRV_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// DMA interrupt priority <0-15> -// Priority of the DMA interrupt. Smaller number equals higher priority. -// Default: 8 -#define EMDRV_DMADRV_DMA_IRQ_PRIORITY 8 - -// Number of available channels <1-8> -// Number of DMA channels supported by the driver. A lower channel count -// will reduce RAM memory footprint. The default is to support all channels -// on the device. -// Default: 8 -#define EMDRV_DMADRV_DMA_CH_COUNT 8 - -// Number of fixed priority channels -// This will configure channels [0, CH_PRIORITY - 1] as fixed priority, -// and channels [CH_PRIORITY, CH_COUNT] as round-robin. -// Default: 0 -#define EMDRV_DMADRV_DMA_CH_PRIORITY 0 - -// <<< end of configuration section >>> - -#endif // DMADRV_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/emlib_core_debug_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/emlib_core_debug_config.h deleted file mode 100644 index 07ee9b9e..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/emlib_core_debug_config.h +++ /dev/null @@ -1,45 +0,0 @@ -/***************************************************************************//** - * @file - * @brief emlib_core Configuration - ******************************************************************************* - * # 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 EM_CORE_DEBUG_CONFIG_H -#define EM_CORE_DEBUG_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Core Configuration - -// Enables measuring of interrupt disable time for debugging purposes. -// Default: 0 -#define SL_EMLIB_CORE_ENABLE_INTERRUPT_DISABLED_TIMING 0 - -// - -// <<< end of configuration section >>> -#endif // EM_CORE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_common_ash_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_common_ash_config.h deleted file mode 100644 index ce1ad5d7..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_common_ash_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy Host ASH configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_NCP_ASH_CONFIG_H -#define LEGACY_NCP_ASH_CONFIG_H - -// The USART used for ASH communications in COM_Port_t format, as defined in platform/service/legacy_hal/inc/serial.h (see defined names for USART ports) <-1..3:1> -// Default: (-1) -// The default value of -1 causes the ASH code to try to use the USART assigned to the "VCOM" instance of SL_IOSTREAM_USART. Otherwise the value is passed to Legacy HAL, which attempts to find an instance of SL_IOSTREAM_USART which uses that USART. -#define LEGACY_NCP_ASH_SERIAL_PORT (-1) - -#endif /* LEGACY_NCP_ASH_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_hal_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_hal_config.h deleted file mode 100644 index e3386e94..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/legacy_hal_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Legacy HAL configuration file. - ******************************************************************************* - * # License - * Copyright 2021 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 LEGACY_HAL_CONFIG_H -#define LEGACY_HAL_CONFIG_H - -// Translate button interrupt callback -// When the Simple Button component is included, it provides a callback for -// buttons configured in interrupt mode. When this option is 1, Legacy HAL -// will try to consume that callback and translate it to "halButtonIsr", -// the legacy callback. If anything else in the application consumes the -// Simple button callback, it will override Legacy HAL's version. -// Default: 1 -#define LEGACY_HAL_TRANSLATE_BUTTON_INTERRUPT (1) - -#endif /* LEGACY_HAL_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/nvm3_default_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/nvm3_default_config.h deleted file mode 100644 index 5f127358..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/nvm3_default_config.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef NVM3_DEFAULT_CONFIG_H -#define NVM3_DEFAULT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// NVM3 Default Instance Configuration - -#ifndef NVM3_DEFAULT_CACHE_SIZE -// NVM3 Default Instance Cache Size -// Number of NVM3 objects to cache. To reduce access times this number -// should be equal to or higher than the number of NVM3 objects in the -// default NVM3 instance. -// Default: 200 -#define NVM3_DEFAULT_CACHE_SIZE 200 -#endif - -#ifndef NVM3_DEFAULT_MAX_OBJECT_SIZE -// NVM3 Default Instance Max Object Size -// Max NVM3 object size that can be stored. -// Default: 254 -#define NVM3_DEFAULT_MAX_OBJECT_SIZE 254 -#endif - -#ifndef NVM3_DEFAULT_REPACK_HEADROOM -// NVM3 Default Instance User Repack Headroom -// Headroom determining how many bytes below the forced repack limit the user -// repack limit should be placed. The default is 0, which means the user and -// forced repack limits are equal. -// Default: 0 -#define NVM3_DEFAULT_REPACK_HEADROOM 0 -#endif - -#ifndef NVM3_DEFAULT_NVM_SIZE -// NVM3 Default Instance Size -// Size of the NVM3 storage region in flash. This size should be aligned with -// the flash page size of the device. -// Default: 40960 -#define NVM3_DEFAULT_NVM_SIZE 32768 -#endif - -// - -// <<< end of configuration section >>> - -#endif // NVM3_DEFAULT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/pin_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/pin_config.h deleted file mode 100644 index 4852473e..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/pin_config.h +++ /dev/null @@ -1,155 +0,0 @@ -#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.ASYNCH12] -// [PRS.ASYNCH12]$ - -// $[PRS.ASYNCH13] -// [PRS.ASYNCH13]$ - -// $[PRS.ASYNCH14] -// [PRS.ASYNCH14]$ - -// $[PRS.ASYNCH15] -// [PRS.ASYNCH15]$ - -// $[PRS.SYNCH0] -// [PRS.SYNCH0]$ - -// $[PRS.SYNCH1] -// [PRS.SYNCH1]$ - -// $[PRS.SYNCH2] -// [PRS.SYNCH2]$ - -// $[PRS.SYNCH3] -// [PRS.SYNCH3]$ - -// $[GPIO] -// GPIO SWV on PA03 -#ifndef GPIO_SWV_PORT -#define GPIO_SWV_PORT gpioPortA -#endif -#ifndef GPIO_SWV_PIN -#define GPIO_SWV_PIN 3 -#endif - -// [GPIO]$ - -// $[TIMER0] -// [TIMER0]$ - -// $[TIMER1] -// [TIMER1]$ - -// $[TIMER2] -// [TIMER2]$ - -// $[TIMER3] -// [TIMER3]$ - -// $[TIMER4] -// [TIMER4]$ - -// $[USART0] -// [USART0]$ - -// $[I2C1] -// [I2C1]$ - -// $[EUSART1] -// [EUSART1]$ - -// $[KEYSCAN] -// [KEYSCAN]$ - -// $[LETIMER0] -// [LETIMER0]$ - -// $[IADC0] -// [IADC0]$ - -// $[ACMP0] -// [ACMP0]$ - -// $[ACMP1] -// [ACMP1]$ - -// $[VDAC0] -// [VDAC0]$ - -// $[VDAC1] -// [VDAC1]$ - -// $[PCNT0] -// [PCNT0]$ - -// $[HFXO0] -// [HFXO0]$ - -// $[I2C0] -// [I2C0]$ - -// $[EUSART0] -// [EUSART0]$ - -// $[PTI] -// [PTI]$ - -// $[MODEM] -// [MODEM]$ - -// $[CUSTOM_PIN_NAME] -#ifndef _PORT -#define _PORT gpioPortA -#endif -#ifndef _PIN -#define _PIN 0 -#endif - -// [CUSTOM_PIN_NAME]$ - -#endif // PIN_CONFIG_H - diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/psa_crypto_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/psa_crypto_config.h deleted file mode 100644 index 20703b41..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/psa_crypto_config.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef PSA_CRYPTO_CONFIG_H -#define PSA_CRYPTO_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Key management configuration - -// PSA User Maximum Open Keys Count <0-128> -// Maximum amount of keys that the user application will have open -// simultaneously. In context of PSA Crypto, an open key means any key -// either stored in RAM (lifetime set to PSA_KEY_LIFETIME_VOLATILE), or -// used as part of a cryptographic operation. -// When using a key for a multi-part (setup/update/finish) operation, a key -// is considered to be open from the moment the operation is successfully -// setup, until it finishes or aborts. -// When an application tries to open more keys than this value accounts for, -// the PSA API may return PSA_ERROR_INSUFFICIENT_MEMORY. Keep in mind that -// other software included in the application (e.g. wireless protocol stacks) -// also can have a need to have open keys in PSA Crypto. This could lead to -// a race condition when the application key slot count is set too low for -// the actual usage of the application, as a software stack may not fail -// gracefully in case an application opens more than its declared amount of -// keys, thereby precluding the stack from functioning. -// Default: 4 -#define SL_PSA_KEY_USER_SLOT_COUNT (4) - -// PSA Maximum User Persistent Keys Count <0-1024> -// Maximum amount of keys (or other files) that can be stored persistently -// by the application through the PSA interface, when persistent storage -// support for PSA Crypto is included in the project. -// Due to caching logic, this setting does have an impact on static RAM usage. -// Note that this number is added to the potential requirements from other -// software components in the project, such that the total amount of keys -// which can be stored through the ITS backend can be higher than what is -// configured here. -// -// WARNING: When changing this setting on an application that is already -// deployed, and thus will get the change through an application upgrade, -// care should be taken to ensure that the setting is only ever increased, -// and never decreased. Decreasing this setting might cause previously -// stored keys/files to become inaccessible. -// -// It is not possible to change this setting when using V3 ITS Driver. -// The file-storage indexing is dependent on the maximum number of files, -// and if SL_PSA_ITS_USER_MAX_FILES is changed, ITS should be cleared and -// all files need to be stored again. -// Default: 128 -#define SL_PSA_ITS_USER_MAX_FILES (128) - -// Enable V1 Format Support For ITS Files <0-1> -// Devices that used PSA ITS together with gecko_sdk_3.1.x or earlier -// might have keys (or other files) stored in V1 format. -// If no v1 files are used, its support can be disabled for space -// optimization. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V1_DRIVER 0 - -// Enable V2 ITS Driver Support <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. Enabling this -// config option adds upgrade code which converts V2 (and V1 if -// supported) format ITS keys/files to the latest V3 format. Update is -// fully automatic, needs to be run once and require extra flash space of -// approximately the size of the largest key. -// V1 ITS driver support can be disabled if the device has never used ITS -// driver before in GSDK 4.1.x and earlier, or the keys has been already -// migrated. -// Default: 0 -#define SL_PSA_ITS_SUPPORT_V2_DRIVER 0 - -// Enable support for V3 ITS Driver <0-1> -// Devices that have used GSDK 4.1.x and earlier, and used ITS have the keys -// (or other files) stored using different address range. In rare case -// that those devices have full nvm3 and not enough space for the -// upgrade, (that requires an extra space to store largest key in memory -// twice), this config option can disable v3 driver and use v2 one. -// To upgrade the device, make space for the upgrade, and enable v3 driver again. -// -// WARNING: When using V3 driver, it is not possible to increase or decrease -// the value of SL_PSA_ITS_USER_MAX_FILES. If the change of -// SL_PSA_ITS_USER_MAX_FILES is required, ITS should be cleared and -// all files need to be stored again. -// Default: 1 -#define SL_PSA_ITS_SUPPORT_V3_DRIVER 1 - -// Built-in AES Key Mode of Operation -// CTR Mode -// CFB Mode -// OFB Mode -// ECB Mode -// CBC Mode (no padding) -// CBC Mode (PKCS#7 padding) -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// Default: PSA_ALG_CTR -#define SL_SE_BUILTIN_KEY_AES128_ALG_CONFIG (PSA_ALG_CTR) - -#ifndef SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG -// Built-in PUF Key Algorithm -// PBKDF2 (CMAC-AES-128-PRF) -// CMAC -// PSA Crypto only allows one specific usage algorithm per built-in key ID. -// It is recommended to only use the PUF key for deriving further key -// material. -// Default: PSA_ALG_PBKDF2_AES_CMAC_PRF_128 -#define SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG (PSA_ALG_PBKDF2_AES_CMAC_PRF_128) -#endif // SL_CRYPTOACC_BUILTIN_KEY_PUF_ALG - -// - -// Power optimization configuration - -// Store already-generated random bytes before putting the device to sleep -// Using the hardware TRNG (for example through psa_generate_random()) will -// consume a non-negligible amount of power. A start-up routine must pass -// and a relatively large minimum amount of random bytes will be generated. -// Use cases where the device is frequently entering EM2/EM3 and thereafter -// consumes a small amount of data from the TRNG may benefit from buffering -// the existing random bytes before putting the device to sleep. These -// buffered bytes are then consumed until exhaustion before the TRNG needs -// to be initialized and used again. -// -// NOTE: this configuration option is only applicable for devices with a -// Virtual Secure Engine (VSE), and requires the 'Power Manager' component -// to be included in the project. -// -// Default: 0 -#define SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP (0) - -// Number of random words to buffer before putting the device to sleep <1-63> -// This option can be used to decrease the amount of random words that -// (if enabled) are buffered before the device enters EM2/EM3. Lowering this -// number will result in less static RAM usage, but also means that the TRNG -// potentially has to be initialized more times--leading to increased power -// consumption. By default this option in configured to buffer as much TRNG -// data as possible (limited by the depth of the TRNG FIFO). -// -// NOTE: this configuration option is only applicable when -// SL_VSE_BUFFER_TRNG_DATA_DURING_SLEEP is enabled. -// -// Default: 63 -#define SL_VSE_MAX_TRNG_WORDS_BUFFERED_DURING_SLEEP (63) -// - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_PSA_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_psa_config_autogen.h" -#endif - -#if defined(TFM_CONFIG_SL_SECURE_LIBRARY) - #include "sli_psa_tfm_translation.h" -#endif - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_psa_acceleration.h" -#endif - -#include "sli_psa_builtin_config_autogen.h" - -#endif // PSA_CRYPTO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_manufacturing_token_header.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_manufacturing_token_header.h deleted file mode 100644 index 08b66580..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_manufacturing_token_header.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom manufacturing token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Manufacturing Token Usage Examples - * - * The macro DEFINE_MFG_TOKEN() should be used when instantiating a - * manufacturing token. Refer to the list of *_LOCATION defines to - * see what memory is allocated and what memory is unused/available. - * - * The _LOCATION is or'ed with either USERDATA_TOKENS or LOCKBITSDATA_TOKENS - * to control which segment of memory the token is placed in. - * - * REMEMBER: By definition, manufacturing tokens exist at fixed addresses. - * Tokens should not overlap. - * - * Here is a basic example of a manufacturing token header file: - * - * Note that the address used here is just an example. It places the 8 bytes - * in the middle of the USERDATA space on an EFR32MG12P433F1024GM68. - * To review addresses of existing tokens when choosing a new address, refer - * to an961-custom-nodes-efr32.pdf and the files - * platform/service/token_manager/inc/sl_token_manufacturing_series_1.h - * platform/service/token_manager/inc/sl_token_manufacturing_series_2.h - * - * @code - * #define CREATOR_MFG_EXAMPLE 0x4242 - * #ifdef DEFINETYPES - * typedef uint8_t tokTypeMfgExample[8]; - * #endif - * #ifdef DEFINETOKENS - * #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - * DEFINE_MFG_TOKEN(MFG_EXAMPLE, - * tokTypeMfgExample, - * MFG_EXAMPLE_LOCATION, - * {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - * #endif - * @endcode - * - * Since this file contains both the typedefs and the token defs, there are - * two \#defines used to select which one is needed when this file is included. - * \#define DEFINETYPES is used to select the type definitions and - * \#define DEFINETOKENS is used to select the token definitions. - * - * To use this example: - * Ensure the Token Manager's configuration in Studio - * has enabled Custom Manufacuturing Tokens. - * - * Ensure your application has: - * #include "sl_token_api.h" - * #include "sl_token_manager.h" - * - * This code will read the token data: - * uint8_t data[8]; - * sl_token_get_data(TOKEN_MFG_EXAMPLE, 0, &data, sizeof(data)); - ******************************************************************************/ - -/* - #define CREATOR_MFG_EXAMPLE 0x4242 - #ifdef DEFINETYPES - typedef uint8_t tokTypeMfgExample[8]; - #endif - #ifdef DEFINETOKENS - #define MFG_EXAMPLE_LOCATION (USERDATA_TOKENS | 0x2000) - DEFINE_MFG_TOKEN(MFG_EXAMPLE, - tokTypeMfgExample, - MFG_EXAMPLE_LOCATION, - {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}) - #endif - */ diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_token_header.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_token_header.h deleted file mode 100644 index abfe057a..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_custom_token_header.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Custom token header - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -/***************************************************************************//** - * Custom Tokens Usage Examples - * - * #define BASICTOKEN1_DEFAULT 0xA5F0 - * #define BASICTOKEN2_DEFAULT { { 0xAA, 0xBB, 0xCC }, 0xDDDD } - * #define BASICTOKEN3_DEFAULT { { 0 } } - * #define COUNTERTOKEN1_DEFAULT 0 - * #define COUNTERTOKEN2_DEFAULT 0xCCCCCCCC - * #define INDEXEDTOKEN1_DEFAULT 0 - * #define INDEXEDTOKEN2_DEFAULT { 0xDDDD } - * #define INDEXEDTOKEN3_DEFAULT { 0xAA, 0xBBBB, { 0x00, 0x11, 0x22 }, 0xCC } - * - * #ifdef DEFINETYPES - * typedef uint16_t tokTypeBasicToken1; - * typedef struct { - * uint8_t basicToken2Array[3]; - * uint16_t basicToken2VarA; - * } tokTypeBasicToken2; - * - * typedef struct { - * uint8_t basicToken3Array[254]; - * } tokTypeBasicToken3; - * - * typedef uint32_t tokTypeCounterToken1; - * typedef uint32_t tokTypeCounterToken2; - * - * typedef uint8_t tokTypeIndexedToken1Element; - * typedef uint16_t tokTypeIndexedToken2Element; - * - * typedef struct { - * uint8_t indexedToken3VarA; - * uint16_t indexedToken3VarB; - * uint8_t indexedToken3Array[3]; - * int8_t indexedToken3VarC; - * } tokTypeIndexedToken3Element; - * - * #endif - * - * #ifdef DEFINETOKENS - * DEFINE_BASIC_TOKEN(BASICTOKEN1, - * tokTypeBasicToken1, - * BASICTOKEN1_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN2, - * tokTypeBasicToken2, - * BASICTOKEN2_DEFAULT) - * DEFINE_BASIC_TOKEN(BASICTOKEN3, - * tokTypeBasicToken3, - * BASICTOKEN3_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN1, - * tokTypeCounterToken1, - * COUNTERTOKEN1_DEFAULT) - * DEFINE_COUNTER_TOKEN(COUNTERTOKEN2, - * tokTypeCounterToken2, - * COUNTERTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN1, - * tokTypeIndexedToken1Element, - * INDEXEDTOKEN1_ELEMENTS, - * INDEXEDTOKEN1_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN2, - * tokTypeIndexedToken2Element, - * INDEXEDTOKEN2_ELEMENTS, - * INDEXEDTOKEN2_DEFAULT) - * DEFINE_INDEXED_TOKEN(INDEXEDTOKEN3, - * tokTypeIndexedToken3Element, - * INDEXEDTOKEN3_ELEMENTS, - * INDEXEDTOKEN3_DEFAULT) - * #endif - * - ******************************************************************************/ diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_debug_swo_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_debug_swo_config.h deleted file mode 100644 index fee7e65d..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_debug_swo_config.h +++ /dev/null @@ -1,106 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SWO configuration - ******************************************************************************* - * # 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_DEBUG_SWO_CONFIG_H -#define SL_DEBUG_SWO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// SWO Configuration - -// SWO Frequency -// Must be 875 kHz for communication with Silicon Labs debuggers -// Default: 875000 -#define SL_DEBUG_SWO_FREQ 875000 - -// Enable interrupt event trace -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_IRQ 0 - -// Enable Program Counter samples -// Default: 0 -#define SL_DEBUG_SWO_SAMPLE_PC 0 - -// SWO debug sample intervals -// <64=> 64 -// <128=> 128 -// <192=> 192 -// <256=> 256 -// <320=> 320 -// <384=> 384 -// <448=> 448 -// <512=> 512 -// <576=> 576 -// <640=> 640 -// <704=> 704 -// <768=> 768 -// <832=> 832 -// <896=> 896 -// <960=> 960 -// <1024=> 1024 -// <2048=> 2048 -// <3072=> 3072 -// <4096=> 4096 -// <5102=> 5102 -// <6144=> 6144 -// <7168=> 7168 -// <8192=> 8192 -// <9216=> 9216 -// <10240=> 10240 -// <11264=> 11264 -// <12288=> 12288 -// <13312=> 13312 -// <14336=> 14336 -// <15360=> 15360 -// Must be 64, 128, 192, [ n * 64 ], 1024, 2048, 3072, [ n * 1024 ] , 15360 -// Default: 15360 -#define SL_DEBUG_SWO_SAMPLE_INTERVAL 15360 -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_DEBUG -// $[GPIO_SL_DEBUG] -#ifndef SL_DEBUG_PERIPHERAL -#define SL_DEBUG_PERIPHERAL GPIO -#endif - -// GPIO SWV on PA03 -#ifndef SL_DEBUG_SWV_PORT -#define SL_DEBUG_SWV_PORT gpioPortA -#endif -#ifndef SL_DEBUG_SWV_PIN -#define SL_DEBUG_SWV_PIN 3 -#endif -// [GPIO_SL_DEBUG]$ -// <<< sl:end pin_tool >>> - -#endif // SL_DEBUG_SWO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_dcdc_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_dcdc_config.h deleted file mode 100644 index 8904e24d..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_dcdc_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_DEVICE_INIT_DCDC_CONFIG_H -#define SL_DEVICE_INIT_DCDC_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Enable DC/DC Converter -// -// Default: 1 -#define SL_DEVICE_INIT_DCDC_ENABLE 1 - -// Set DC/DC Converter in Bypass Mode -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_BYPASS 0 - -// Override for DCDC PFMX Mode Peak Current Setting -// -// Default: 0 -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL_OVERRIDE 1 - -// DCDC PFMX Mode Peak Current Setting <0-15> -// -// Default: DCDC_PFMXCTRL_IPKVAL_DEFAULT -#define SL_DEVICE_INIT_DCDC_PFMX_IPKVAL 3 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_DCDC_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_emu_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_emu_config.h deleted file mode 100644 index 4ac96bac..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_emu_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_hfxo_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_hfxo_config.h deleted file mode 100644 index dcf6e51c..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_device_init_hfxo_config.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************//** - * @file - * @brief DEVICE_INIT_HFXO Config - ******************************************************************************* - * # 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_DEVICE_INIT_HFXO_CONFIG_H -#define SL_DEVICE_INIT_HFXO_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// Mode -// -// Crystal oscillator -// External sine wave -// Default: cmuHfxoOscMode_Crystal -#define SL_DEVICE_INIT_HFXO_MODE cmuHfxoOscMode_Crystal - -// Frequency <38000000-40000000> -// Default: 39000000 -#define SL_DEVICE_INIT_HFXO_FREQ 39000000 - -// HFXO precision in PPM <0-65535> -// Default: 500 -#define SL_DEVICE_INIT_HFXO_PRECISION 500 - -// CTUNE <0-255> -// Default: 140 -#define SL_DEVICE_INIT_HFXO_CTUNE 140 - -// <<< end of configuration section >>> - -#endif // SL_DEVICE_INIT_HFXO_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_fem_util_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_fem_util_config.h deleted file mode 100644 index 7cf4f4fb..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_fem_util_config.h +++ /dev/null @@ -1,95 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Front End Module 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. - * - ******************************************************************************/ - -#ifndef SL_FEM_UTIL_CONFIG_H -#define SL_FEM_UTIL_CONFIG_H - -#include "em_gpio.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// FEM Configuration -// Enable RX Mode -// Default: 0 -#define SL_FEM_UTIL_RX_ENABLE 0 -// Enable TX Mode -// Default: 0 -#define SL_FEM_UTIL_TX_ENABLE 0 -// Enable Bypass Mode -// Default: 0 -#define SL_FEM_UTIL_BYPASS_ENABLE 0 -// Enable TX High Power Mode -// Default: 0 -#define SL_FEM_UTIL_TX_HIGH_POWER_ENABLE 0 -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_FEM_UTIL_RX -// $[PRS_SL_FEM_UTIL_RX] -//#define SL_FEM_UTIL_RX_CHANNEL 5 - -// PRS CH5 on PD10 -//#define SL_FEM_UTIL_RX_PORT gpioPortD -//#define SL_FEM_UTIL_RX_PIN 10 -//#define SL_FEM_UTIL_RX_LOC 0 - -// [PRS_SL_FEM_UTIL_RX]$ - -// SL_FEM_UTIL_TX -// $[PRS_SL_FEM_UTIL_TX] - -// [PRS_SL_FEM_UTIL_TX]$ - -// SL_FEM_UTIL_SLEEP -// $[PRS_SL_FEM_UTIL_SLEEP] -//#define SL_FEM_UTIL_SLEEP_CHANNEL 6 - -// PRS CH6 on PD11 -//#define SL_FEM_UTIL_SLEEP_PORT gpioPortD -//#define SL_FEM_UTIL_SLEEP_PIN 11 -//#define SL_FEM_UTIL_SLEEP_LOC 13 - -// [PRS_SL_FEM_UTIL_SLEEP]$ - -// SL_FEM_UTIL_BYPASS -// $[GPIO_SL_FEM_UTIL_BYPASS] - -// [GPIO_SL_FEM_UTIL_BYPASS]$ - -// SL_FEM_UTIL_TX_HIGH_POWER -// $[GPIO_SL_FEM_UTIL_TX_HIGH_POWER] - -// [GPIO_SL_FEM_UTIL_TX_HIGH_POWER]$ -// <<< sl:end pin_tool >>> - -#define SL_FEM_UTIL_OPTIMIZED_PHY_ENABLE 0 -#define SL_FEM_UTIL_RUNTIME_PHY_SELECT 0 - -#endif // SL_FEM_UTIL_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_hfxo_manager_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_hfxo_manager_config.h deleted file mode 100644 index d9ccd3c7..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_hfxo_manager_config.h +++ /dev/null @@ -1,56 +0,0 @@ -/***************************************************************************//** - * @file - * @brief HFXO Manager 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_HFXO_MANAGER_CONFIG_H -#define SL_HFXO_MANAGER_CONFIG_H - -// HFXO Manager Configuration - -// Enable custom IRQ handler for crystal HF oscillator. -// Enable if HFXO0_IRQHandler is needed from your application. -// The HFXO IRQ priority must not be changed as the HFXO Manager module needs it to be high priority -// and to stay enabled through atomic sections. -// The function sl_hfxo_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER 0 - -// Enable support for Sleepy Crystals. -// If Enabled and if HFXO fails to startup due to a sleepy crystal, HFXO Manager will retry the startup with more aggressive settings -// before falling back to the configured settings. -// Default: 0 -#define SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT 0 - -// - -#endif /* SL_HFXO_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_usart_vcom_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_usart_vcom_config.h deleted file mode 100644 index 7053d4f5..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_usart_vcom_config.h +++ /dev/null @@ -1,105 +0,0 @@ -/***************************************************************************//** - * @file - * @brief IOSTREAM_USART Config. - ******************************************************************************* - * # 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_IOSTREAM_USART_VCOM_CONFIG_H -#define SL_IOSTREAM_USART_VCOM_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// USART settings - -// Baud rate -// Default: 115200 -#define SL_IOSTREAM_USART_VCOM_BAUDRATE 115200 - -// Parity mode to use -// No Parity -// Even parity -// Odd parity -// Default: usartNoParity -#define SL_IOSTREAM_USART_VCOM_PARITY usartNoParity - -// Number of stop bits to use. -// 0.5 stop bits -// 1 stop bits -// 1.5 stop bits -// 2 stop bits -// Default: usartStopbits1 -#define SL_IOSTREAM_USART_VCOM_STOP_BITS usartStopbits1 - -// Flow control -// None -// CTS -// RTS -// CTS/RTS -// Software Flow control (XON/XOFF) -// Default: usartHwFlowControlNone -#define SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE usartHwFlowControlCtsAndRts - -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE 32 - -// Convert \n to \r\n -// It can be changed at runtime using the C API. -// Default: 0 -#define SL_IOSTREAM_USART_VCOM_CONVERT_BY_DEFAULT_LF_TO_CRLF 0 - -// Restrict the energy mode to allow the reception. -// Default: 1 -// Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption. -#define SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION 1 - -// - -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_IOSTREAM_USART_VCOM -// $[USART_SL_IOSTREAM_USART_VCOM] -#warning "IO Stream USART peripheral not configured" -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL USART0 -// #define SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO 0 - -// #define SL_IOSTREAM_USART_VCOM_TX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_TX_PIN 11 - -// #define SL_IOSTREAM_USART_VCOM_RX_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RX_PIN 10 - -// #define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortA -// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12 - -// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC -// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8 -// [USART_SL_IOSTREAM_USART_VCOM]$ -// <<< sl:end pin_tool >>> - -#endif diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_vuart_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_vuart_config.h deleted file mode 100644 index 82889008..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_iostream_vuart_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @file - * @brief SL_IOSTREAM_VUART 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_IOSTREAM_VUART_CONFIG_H -#define SL_IOSTREAM_VUART_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// VUART settings -// Receive buffer size -// Default: 32 -#define SL_IOSTREAM_VUART_RX_BUFFER_SIZE 32 - -// -// <<< end of configuration section >>> -#endif diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_legacy_hal_wdog_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_legacy_hal_wdog_config.h deleted file mode 100644 index 86a5c629..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_legacy_hal_wdog_config.h +++ /dev/null @@ -1,88 +0,0 @@ -/***************************************************************************//** - * @file sl_legacy_hal_wdog_config.h - * @brief Legacy HAL watchdog configuration file. - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_LEGACY_HAL_WDOG_CONFIG_H -#define SL_LEGACY_HAL_WDOG_CONFIG_H - -// Legacy HAL WDOG Configurations - -// Disable calling halInternalEnableWatchDog in base-replacement.c's halInit(). -// Default: 0 -#define SL_LEGACY_HAL_DISABLE_WATCHDOG 0 -// - -// WDOG to use for SL_LEGACY_HAL_WDOGn. -// Default: 0 -// <0=> WDOG0 -// <1=> WDOD1 -#define SL_LEGACY_HAL_WDOGn 0 - -// Period for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogPeriod_64k -// The default period of wdogPeriod_64k will trigger watchdog reset after 2 seconds (64k / 32k) and warning interrupt is triggered after 1.5 seconds (75% of timeout). -// wdogPeriod_9 / 9 clock periods -// wdogPeriod_17 / 17 clock periods -// wdogPeriod_33 / 33 clock periods -// wdogPeriod_65 / 65 clock periods -// wdogPeriod_129 / 129 clock periods -// wdogPeriod_257 / 257 clock periods -// wdogPeriod_513 / 513 clock periods -// wdogPeriod_1k / 1025 clock periods -// wdogPeriod_2k / 2049 clock periods -// wdogPeriod_4k / 4097 clock periods -// wdogPeriod_8k / 8193 clock periods -// wdogPeriod_16k / 16385 clock periods -// wdogPeriod_32k / 32769 clock periods -// wdogPeriod_64k / 65537 clock periods -// wdogPeriod_128k / 131073 clock periods -// wdogPeriod_256k / 262145 clock periods -#define SL_LEGACY_HAL_WDOG_PERIOD wdogPeriod_64k - -// Warning for SL_LEGACY_HAL_WDOG timeout. -// Default: wdogWarnTime75pct -// The default warning of wdogWarnTime75pct will trigger warning interrupt after 1.5 seconds (75% of timeout) if the period is wdogPeriod_64k. -// wdogWarnDisable / Watchdog warning period is disabled -// wdogWarnTime25pct / Watchdog warning period is 25% of the timeout -// wdogWarnTime50pct / Watchdog warning period is 50% of the timeout -// wdogWarnTime75pct / Watchdog warning period is 75% of the timeout -#define SL_LEGACY_HAL_WDOG_WARNING wdogWarnTime75pct - -// Counter keeps running during debug halt. -// Default: 0 -#define SL_LEGACY_HAL_WDOG_DEBUG_RUN 0 -// - -// - -#endif /* SL_LEGACY_HAL_WDOG_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_config.h deleted file mode 100644 index 39b51496..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_config.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef SL_MBEDTLS_CONFIG_H -#define SL_MBEDTLS_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// TLS/DTLS configuration - -// Complete list of ciphersuites to use, in order of preference. -// Default: MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 -// Complete list of ciphersuites to use, in order of preference. -// The value of this configuration should be updated for the application needs. -#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 - -// Maximum TLS/DTLS fragment length in bytes (input). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when receiving data. -#define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 - -// Maximum TLS/DTLS fragment length in bytes (output). -// Default: 768 -// The size configured here determines the size of the internal I/O -// buffer used in mbedTLS when sending data. -#define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 - -// Enable support for RFC 6066 max_fragment_length extension in SSL. -// Default: 1 -// Enable support for RFC 6066 max_fragment_length extension in SSL. -#define SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 1 - -// Enable support for exporting key block and master secret. -// Default: 1 -// Enable support for exporting key block and master secret. -// This is required for certain users of TLS, e.g. EAP-TLS. -#define SL_MBEDTLS_SSL_EXPORT_KEYS 1 - -// Enable the PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED 0 - -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-PSK based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED 0 - -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 0 - -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDHE-RSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 0 - -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -// Default: 0 -// Enable the ECDH-ECDSA based ciphersuite modes in SSL / TLS. -#define SL_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED 0 - -// Enable parsing of the compressed curves. -// Default: 0 -// Enable parsing of the compressed curves. -#define SL_MBEDTLS_ECP_ENABLE_COMPRESSED_CURVE_PARSING 0 - -// - -// RSA configuration - -// Disable use of the Chinese Remainder Theorem for RSA. -// Default: 0 -// Disable use of the Chinese Remainder Theorem for RSA private key -// computations. -#define SL_MBEDTLS_RSA_NO_CRT 0 - -// - -// Miscellaneous configuration - -// Enable Silicon Labs' Mbed TLS- and PSA Crypto drivers. -// Default: 1 -// Enable drivers for hardware acceleration (Mbed TLS and PSA Crypto) and -// secure key handling (PSA Crypto). -#define SL_MBEDTLS_DRIVERS_ENABLED 1 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Sub-files - -#if defined(SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE) - #include SLI_MBEDTLS_CONFIG_AUTOGEN_OVERRIDE_FILE -#else - #include "sli_mbedtls_config_autogen.h" -#endif - -#include "sli_mbedtls_omnipresent.h" - -#if SL_MBEDTLS_DRIVERS_ENABLED - #include "sli_mbedtls_acceleration.h" -#endif - -#include "sl_mbedtls_device_config.h" - -// Include transformation logic to apply CMSIS-config configuration options to -// the correct Mbed TLS / PSA Crypto options. -#include "sli_mbedtls_config_transform_autogen.h" - -// Included for backward compatibility reasons. -#include "mbedtls/build_info.h" - -#endif // SL_MBEDTLS_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_device_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_device_config.h deleted file mode 100644 index 33c34c42..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_mbedtls_device_config.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef SL_MBEDTLS_DEVICE_CONFIG_H -#define SL_MBEDTLS_DEVICE_CONFIG_H - -// ----------------------------------------------------------------------------- -// User exposed config options - -// <<< Use Configuration Wizard in Context Menu >>> - -// Secure Engine (SE) version configuration - -// Support SE firmware versions older than 1.2.2 <0-1> -// Enable software fallback for ECDH and ECC public key validation on xG21 -// devices running SE firmware versions lower than 1.2.2. -// -// Due to other stability concerns, it is strongly recommended to upgrade -// these devices to the latest firmware revision instead of turning on -// software fallback support. -// -// Not having fallback support will make ECDH operations, as well as PSA -// Crypto public key import, return an error code on affected devices. -// -// Default: 0 -#define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 0 - -// Assume an SE firmware version newer than 1.2.2 <0-1> -// For enhanced performance: if it is guaranteed that all devices on which -// this library will run are updated to at least SE FW 1.2.2, then turning -// on this option will remove certain fallback checks, thereby reducing the -// amount of processing required for ECDH and public key verification -// operations. -// Default: 0 -#define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 0 - -// Assume an SE firmware version that is unaffected by Ed25519 errata <0-1> -// For minimal code size and performance savings: if it is guaranteed that -// none of the devices running this library has SE FWs in the range -// [1.2.2, 1.2.8], then enabling this option will disable runtime version -// checks. -// Default: 0 -#define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 0 - -// - -// <<< end of configuration section >>> - -// ----------------------------------------------------------------------------- -// Additional SE version related logic (DO NOT MODIFY) - -// SL_SE_ASSUME_FW_AT_LEAST_1_2_10 is no longer in use, however, it is kept here -// for backwards compatibility. */ -#if defined(SL_SE_ASSUME_FW_AT_LEAST_1_2_10) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 - #undef SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA - #define SL_SE_ASSUME_FW_UNAFFECTED_BY_ED25519_ERRATA 1 -#endif - -// SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_SUPPORT_FW_PRIOR_TO_1_2_2) - #undef SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 - #define SL_SE_SUPPORT_FW_PRIOR_TO_1_2_2 1 -#endif - -// SLI_SE_ASSUME_FW_AT_LEAST_1_2_2 is no longer in use, however, it is kept -// here for backwards compatibility. */ -#if defined(SLI_SE_ASSUME_FW_AT_LEAST_1_2_2) - #undef SL_SE_ASSUME_FW_AT_LEAST_1_2_2 - #define SL_SE_ASSUME_FW_AT_LEAST_1_2_2 1 -#endif - -#endif // SL_MBEDTLS_DEVICE_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_memory_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_memory_config.h deleted file mode 100644 index b43ebcba..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_memory_config.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SL_MEMORY_CONFIG_H -#define SL_MEMORY_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// 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 - -// Minimum heap size for the application. -// Default: 2048 -// Note that this value will configure the c heap which is normally used by -// malloc() and free() from the c library. The value defines a minimum heap -// size that is guaranteed to be available. The available heap may be larger -// to make use of any memory that would otherwise remain unused. -#ifndef SL_HEAP_SIZE - #define SL_HEAP_SIZE 2048 -#endif - -// -// <<< end of configuration section >>> - -#endif diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_power_manager_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_power_manager_config.h deleted file mode 100644 index a97fb038..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_power_manager_config.h +++ /dev/null @@ -1,64 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Manager 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_POWER_MANAGER_CONFIG_H -#define SL_POWER_MANAGER_CONFIG_H - -// Power Manager Configuration - -// Enable custom IRQ handler for external HF oscillator. -// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application. -// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled. -// Default: 0 -#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0 - -// Enable fast wakeup (disable voltage scaling in EM2/3 mode) -// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us. -// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup() -// Default: 0 -#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0 - -// Enable debugging feature -// Enable or disable debugging features (trace the different modules that have requirements). -// Default: 0 -#define SL_POWER_MANAGER_DEBUG 0 - -// Maximum numbers of requirements that can be logged -// Default: 10 -#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10 -// - -// - -#endif /* SL_POWER_MANAGER_CONFIG_H */ - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pa_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pa_config.h deleted file mode 100644 index 65b767f9..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pa_config.h +++ /dev/null @@ -1,81 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Power Amplifier 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PA_CONFIG_H -#define SL_RAIL_UTIL_PA_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PA configuration - -// Initial PA Power (deci-dBm, 100 = 10.0 dBm) -// Default: 100 -#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100 - -// PA Ramp Time (microseconds) -// <10-10:1> -// Default: 10 -#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10 - -// Milli-volts on PA supply pin (PA_VDD) -// <0-65535:1> -// Default: 3300 -#define SL_RAIL_UTIL_PA_VOLTAGE_MV 3300 - -// 2.4 GHz PA Selection -// Highest Possible -// High Power (chip-specific) -// Low Power -// Disable -// Default: RAIL_TX_POWER_MODE_2P4GIG_HIGHEST -#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HIGHEST - -// Sub-1 GHz PA Selection -// Disable -// Default: RAIL_TX_POWER_MODE_NONE -#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE - -// Header file containing custom PA curves -// Default: "pa_curves_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h" - -// Header file containing PA curve types -// Default: "pa_curve_types_efr32.h" -#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h" - -// Enable PA Calibration -// Default: 0 -#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 0 - -// -// <<< end of configuration section >>> - -#endif // SL_RAIL_UTIL_PA_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_power_manager_init_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_power_manager_init_config.h deleted file mode 100644 index cbc69f24..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_power_manager_init_config.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************************//** - * @file - * @brief RAIL power manager 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H -#define SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> - -// RAIL power manager configuration - -// Enable RAIL power manager initialization -// Default: 1 -#define SL_RAIL_UTIL_RAIL_POWER_MANAGER_INIT 1 - -// -// <<< end of configuration section >>> -#endif // SL_RAIL_UTIL_POWER_MANAGER_INIT_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pti_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pti_config.h deleted file mode 100644 index cb485cf6..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_pti_config.h +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Packet Trace Information 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. - * - ******************************************************************************/ - -#ifndef SL_RAIL_UTIL_PTI_CONFIG_H -#define SL_RAIL_UTIL_PTI_CONFIG_H - -#include "rail_types.h" - -// <<< Use Configuration Wizard in Context Menu >>> -// PTI Configuration - -// PTI mode -// UART -// UART onewire -// SPI -// Disabled -// Default: RAIL_PTI_MODE_UART -#define SL_RAIL_UTIL_PTI_MODE RAIL_PTI_MODE_DISABLED - -// PTI Baud Rate (Hertz) -// <147800-20000000:1> -// Default: 1600000 -#define SL_RAIL_UTIL_PTI_BAUD_RATE_HZ 1600000 - -// -// <<< end of configuration section >>> - -// <<< sl:start pin_tool >>> -// SL_RAIL_UTIL_PTI -// $[PTI_SL_RAIL_UTIL_PTI] -#ifndef SL_RAIL_UTIL_PTI_PERIPHERAL -#define SL_RAIL_UTIL_PTI_PERIPHERAL PTI -#endif - -// [PTI_SL_RAIL_UTIL_PTI]$ - -// <<< sl:end pin_tool >>> - -#endif // SL_RAIL_UTIL_PTI_CONFIG_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_sequencer_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_sequencer_config.h deleted file mode 100644 index 8bf6f367..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_rail_util_sequencer_config.h +++ /dev/null @@ -1,48 +0,0 @@ -/***************************************************************************//** - * @file - * @brief - ******************************************************************************* - * # 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_RAIL_UTIL_SEQUENCER_H -#define SL_RAIL_UTIL_SEQUENCER_H - -#include "rail.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define SL_RAIL_UTIL_SEQUENCER_RUNTIME_IMAGE_SELECTION 0 - -#define SL_RAIL_UTIL_SEQUENCER_IMAGE RAIL_SEQ_IMAGE_PA_20_DBM - -#ifdef __cplusplus -} -#endif - -#endif // SL_RAIL_UTIL_SEQUENCER_H diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_sleeptimer_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_sleeptimer_config.h deleted file mode 100644 index 8344ef5f..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_sleeptimer_config.h +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************//** - * @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/src/ncp-uart-hw_MGM240PB32VNN/config/sl_token_manager_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_token_manager_config.h deleted file mode 100644 index d99e78e0..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_token_manager_config.h +++ /dev/null @@ -1,54 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Token Manager Configurations - ******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -#ifndef SL_TOKEN_MANAGER_CONFIG_H -#define SL_TOKEN_MANAGER_CONFIG_H - -// TOKEN MANAGER Configurations - -// Enable Custom Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_TOKENS_PRESENT 0 - -// File containing custom tokens -// Default: "sl_custom_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_TOKEN_HEADER "sl_custom_token_header.h" - -// - -// Enable Custom Manufacturing Tokens -// Default: 0 -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT 0 - -// File containing custom manufacturing tokens -// Default: "sl_custom_manufacturing_token_header.h" -// Header file containing custom tokens located at project_root/config -#define SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER "sl_custom_manufacturing_token_header.h" - -// -// - -#if (SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT) -#define APPLICATION_MFG_TOKEN_HEADER SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKEN_HEADER -#endif // SL_TOKEN_MANAGER_CUSTOM_MANUFACTURING_TOKENS_PRESENT - -#endif // SL_TOKEN_MANAGER_CONFIG_H - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_debug_print_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_debug_print_config.h deleted file mode 100644 index 9c901f40..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_debug_print_config.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Debug Print component configuration header. - * - ******************************************************************************* - * # License - * Copyright 2019 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// ZigBee Debug Print configuration - -// Stack group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_ENABLED (1) - -// Stack group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "stack" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT (1) - -// Core group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_ENABLED (1) - -// Core group runtime default -// Default: 1 -// If this option is enabled, prints belonging to the "core" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_APP_GROUP_ENABLED (1) - -// App group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "app" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_ENABLED (1) - -// ZCL group enabled -// Default: 1 -// If this option is enabled, prints belonging to the "zcl" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT (1) - -// Legacy App Framework Debug group enabled -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be included in the build. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_ENABLED (0) - -// Legacy App Framework Debug runtime default -// Default: 0 -// If both this option and ZIGBEE_DEBUG_ZCL_GROUP_ENABLED are enabled, prints belonging to the "legacy app framework debug" group shall be runtime enabled by default. -#define SL_ZIGBEE_DEBUG_PRINTS_ZCL_LEGACY_AF_DEBUG_RUNTIME_DEFAULT (0) - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_green_power_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_green_power_config.h deleted file mode 100644 index 3d62c926..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_green_power_config.h +++ /dev/null @@ -1,53 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Green Power component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Green Power Library configuration - -// Green Power Proxy Table Size <1-126> -// Default: 5 -// The maximum number of Green Power proxy table entries supported by the stack. -#define EMBER_GP_PROXY_TABLE_SIZE 5 - -// Green Power Sink Table Size <0-126> -// Default: 0 -// The maximum number of Green Power sink table entries supported by the stack. -#define EMBER_GP_SINK_TABLE_SIZE 0 - -// Green Power incoming FC (as part of proxy table) Token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of proxy table) table token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_PROXY_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_TOKEN_TABLE_SIZE 0 - -// Green Power incoming FC (as part of sink table) token table token timeout <0-60> -// Default: 0 -// The timeout (seconds) to restore the GPD incoming security frame counter in the Flash (0 being never). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TIMEOUT 7 - -// Green Power incoming FC (as part of sink table)Token table size <0-126> -// Default: 0 -// The maximum table size to restore the GPD incoming security frame counter in the Flash (being either 0 or EMBER_GP_SINK_TABLE_SIZE). -#define EMBER_GP_INCOMING_FC_IN_SINK_TOKEN_TABLE_SIZE 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_light_link_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_light_link_config.h deleted file mode 100644 index 7be64b76..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_light_link_config.h +++ /dev/null @@ -1,38 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee Light Link component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee ZigBee Light Link Library configuration - -// Group addresses <0-255> -// Default: 0 -// The number of unique group identifiers that this device requires. -#define EMBER_ZLL_GROUP_ADDRESSES 0 - -// RSSI threshold <-128..127:1> -// Default: -40 -// The RSSI threshold applied to incoming scan requests. The stack will ignore scan requests with corrected RSSI values less than this threshold. -#define EMBER_ZLL_RSSI_THRESHOLD -40 - -// Apply RSSI threshold to all interpan messages -// Default: FALSE -// True if the RSSI threshold is to be applied to all incoming touchlink interpan messages. This is not required by the Zigbee 3.0 specifications, but may be useful for testing in a busy environment. -#define EMBER_ZLL_APPLY_THRESHOLD_TO_ALL_INTERPANS 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_pro_stack_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_pro_stack_config.h deleted file mode 100644 index 0d1f068c..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_pro_stack_config.h +++ /dev/null @@ -1,111 +0,0 @@ -/***************************************************************************//** - * @brief ZigBee PRO Full Stack component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee PRO Stack Library configuration - -// Child Table Size <0-64> -// Default: 6 -// The maximum number of ZigBee PRO End Devices that can be supported by a single device. -#define EMBER_MAX_END_DEVICE_CHILDREN 32 - -// Packet Buffer Count <20-255> -// Default: 75 -// The maximum number of packet buffers supported by the system. This is limited by the amount of available RAM. -#define EMBER_PACKET_BUFFER_COUNT 255 - -// End Device keep alive support mode -// End Device keep alive support mode -// MAC Data Poll Keep Alive -// End Device Timeout Keep Alive -// Keep Alive Support All -// Default: EMBER_KEEP_ALIVE_SUPPORT_ALL -// End Device keep alive support mode on the coordinator/router could be set here. -#define EMBER_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE EMBER_KEEP_ALIVE_SUPPORT_ALL - -// End Device Poll Timeout Value -// End Device Poll Timeout Value -// Seconds-10 -// Minutes-2 -// Minutes-4 -// Minutes-8 -// Minutes-16 -// Minutes-32 -// Minutes-64 -// Minutes-128 -// Minutes-256 -// Minutes-512 -// Minutes-1024 -// Minutes-2048 -// Minutes-4096 -// Minutes-8192 -// Minutes-16384 -// Default: MINUTES_256 -// The amount of time that must pass without hearing a MAC data poll from the device before the end device is removed from the child table. For a router device this applies to its children. For an end device, this is the amount of time before it automatically times itself out. -#define EMBER_END_DEVICE_POLL_TIMEOUT MINUTES_256 - -// Link Power Delta Request Interval <1-65535> -// Default: 300 -// The amount of time in seconds that pass between link power delta requests. -#define EMBER_LINK_POWER_DELTA_INTERVAL 300 - -// APS Unicast Message Queue Size <1-255> -// Default: 10 -// The maximum number of APS unicast messages that can be queued up by the stack. A message is considered queued when emberSendUnicast() is called and is de-queued when the emberMessageSentHandler() is called. -#define EMBER_APS_UNICAST_MESSAGE_COUNT 10 - -// APS unicast Message Duplicate Rejection table Size <1-255> -// Default: 5 -// The maximum number of APS unicast messages that can be stored in the stack, to reject duplicate processing/forwarding of APS messages. -// Size of 1 is basically the same thing as no duplicate rejection -#define SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES 5 - -// Broadcast Table Size <15-254> -// Default: 15 -// The size of the broadcast table. -#define EMBER_BROADCAST_TABLE_SIZE 15 - -// Neighbor Table Size -// Neighbor Table Size -// <16=> 16 -// <26=> 26 -// Default: 16 -// The size of the neighbor table. -#define EMBER_NEIGHBOR_TABLE_SIZE 16 - -// Transient key timeout (in seconds) <0-65535> -// Default: 300 -// The amount of time a device will store a transient link key that can be used to join a network. -#define EMBER_TRANSIENT_KEY_TIMEOUT_S 300 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_BINDING_TABLE_SIZE 32 - -// Binding Table Size <1-127> -// Default: 3 -// The number of entries that the binding table can hold. -#define EMBER_ADDRESS_TABLE_SIZE 16 - -// Route Table Size <1-255> -// Default: 3 -// The number of entries that the Route table can hold. -#define EMBER_ROUTE_TABLE_SIZE 16 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_security_link_keys_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_security_link_keys_config.h deleted file mode 100644 index 9a0c8488..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_security_link_keys_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Security Link Keys component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Security Link Keys Library configuration - -// Link Key Table Size <1-127> -// Default: 6 -// The maximum number of link key table entries supported by the stack. -#define EMBER_KEY_TABLE_SIZE 12 - -// Request Key Timeout <0-10> -// Default: 0 -// The length of time that a node will wait for a trust center to answer its Application Link Key request. -#define EMBER_REQUEST_KEY_TIMEOUT 0 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_source_route_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_source_route_config.h deleted file mode 100644 index 41b5e4bb..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/sl_zigbee_source_route_config.h +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Source Route component configuration header. - *\n******************************************************************************* - * # 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Source Route Library configuration - -// Source route table Size (SoC or NCP) <2-255> -// Default: 7 -// The size of the source route table for storing source routes on the SOC or NCP. -#define EMBER_SOURCE_ROUTE_TABLE_SIZE 7 - -// Max source route relay counts <11-40> -// Default: 11 -// Max source route hops accepted or/and inserted in the source route table/header. -#define EMBER_MAX_SOURCE_ROUTE_RELAY_COUNT 11 - -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_sleep_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_sleep_config.h deleted file mode 100644 index fa4efd14..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_sleep_config.h +++ /dev/null @@ -1,42 +0,0 @@ -/***************************************************************************//** - * @brief Zigbee Application Framework common component configuration header. - *\n******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Sleep configuration - -// Minimum Sleep Duration <5-1000> -// Default: 5 -// The minimum duration in milliseconds that the application will attempt to sleep for. If the sleep duration would be less than this amount, the application will not sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_MINIMUM_SLEEP_DURATION_MS 5 - -// Sleep Backoff time <0-10000> -// Default: 0 -// This setting will keep a device from going back to sleep immediately upon waking up -#define SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS 0 - -// Stay awake when NOT joined -// Default: TRUE -// This will force a device to stay awake even when not joined to the network. This is often used for debugging and is not recommended for production devices since it cause the device to consume battery power even when not joined to a ZigBee network. -#define SL_ZIGBEE_APP_FRAMEWORK_STAY_AWAKE_WHEN_NOT_JOINED 1 - -// Use button to force wakeup or allow sleep -// Default: FALSE -// This will setup the hardware buttons to wake-up or allow the device to go to sleep. Button 0 will force the device to wake up and stay awake. Button 1 will turn off this behavior to allow the device to sleep normally. Please note that in order for this option to be fully functional, button 0 and button 1 have to be configured to wake the device from sleep. -#define SL_ZIGBEE_APP_FRAMEWORK_USE_BUTTON_TO_STAY_AWAKE 0 -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_watchdog_periodic_refresh_config.h b/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_watchdog_periodic_refresh_config.h deleted file mode 100644 index e317fedb..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/config/zigbee_watchdog_periodic_refresh_config.h +++ /dev/null @@ -1,34 +0,0 @@ -/***************************************************************************//** - * @brief Sample watchdog refresh event component configuration header. - ******************************************************************************** - * # License - * Copyright 2022 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. - * - ******************************************************************************/ - -// <<< Use Configuration Wizard in Context Menu >>> - -// Zigbee Watchdog reset component configuration - -// Enable periodic watchdog refresh -// Default: TRUE -// This allows for enabling or disabling periodic watchdog refresh -#define SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE 1 - -// Watchdog refresh duration <50-5000> -// Default: 1000 -// Defines the periodic interval at which the watchdog timer is reset in the application -#define SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS 1000 - -// -// - -// <<< end of configuration section >>> diff --git a/src/ncp-uart-hw_MGM240PB32VNN/main.c b/src/ncp-uart-hw_MGM240PB32VNN/main.c deleted file mode 100644 index 996b1e0b..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/main.c +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************************//** - * @file main.c - * @brief main() function. - ******************************************************************************* - * # License - * Copyright 2021 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. - * - ******************************************************************************/ - -#ifdef SL_COMPONENT_CATALOG_PRESENT -#include "sl_component_catalog.h" -#endif -#include "sl_system_init.h" -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) -#include "sl_power_manager.h" -#endif -#if defined(SL_CATALOG_KERNEL_PRESENT) -#include "sl_system_kernel.h" -#else -#include "sl_system_process_action.h" -#endif // SL_CATALOG_KERNEL_PRESENT - -#ifdef EMBER_TEST -#define main nodeMain -#endif - -void app_init(void) -{ -} - -void app_process_action(void) -{ -} - -int main(void) -{ - // Initialize Silicon Labs device, system, service(s) and protocol stack(s). - // Note that if the kernel is present, processing task(s) will be created by - // this call. - sl_system_init(); - - // Initialize the application. For example, create periodic timer(s) or - // task(s) if the kernel is present. - app_init(); - -#if defined(SL_CATALOG_KERNEL_PRESENT) - // Start the kernel. Task(s) created in app_init() will start running. - sl_system_kernel_start(); -#else // SL_CATALOG_KERNEL_PRESENT - while (1) { - // Do not remove this call: Silicon Labs components process action routine - // must be called from the super loop. - sl_system_process_action(); - - // Application process. - app_process_action(); - - // Let the CPU go to sleep if the system allow it. -#if defined(SL_CATALOG_POWER_MANAGER_PRESENT) - sl_power_manager_sleep(); -#endif // SL_CATALOG_POWER_MANAGER_PRESENT - } -#endif // SL_CATALOG_KERNEL_PRESENT - - return 0; -} diff --git a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.pintool b/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.pintool deleted file mode 100644 index c3a5f2f1..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.pintool +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slcp b/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slcp deleted file mode 100644 index 712d17ce..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slcp +++ /dev/null @@ -1,73 +0,0 @@ -# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file. -project_name: ncp-uart-hw_MGM240PB32VNN -label: ncp-uart-hw_MGM240PB32VNN -author: Silicon Laboratories, Inc. -description: This network coprocessor (NCP) application supports communication with - a host application over a UART interface with hardware flow control. This NCP application - can be built as configured, or optionally can be augmented with customized extensions - for initialization, main loop processing, event definition/handling, and messaging - with the host. To create a ECC-enabled application for the Smart Energy Profile, - please download and extract the 'EmberZnet-Smart-Energy.zip' side-package over your - installed SDK and add, depending on use-case, one of two new components ('CBKE 163k1'; - 'CBKE 283k1') to your application. -category: Zigbee Application -filter: -- name: Device Type - value: [NCP] -- name: Project Difficulty - value: [Advanced] -- name: Wireless Technology - value: [Zigbee] -package: Zigbee -quality: production -readme: -- {path: readme.html} -- {path: readme.html} -source: -- {path: main.c} -- {path: app.c} -tag: [prebuilt_demo] -sdk: {id: gecko_sdk, version: 4.4.4} -toolchain_settings: [] -component: -- {id: MGM240PB32VNN} -- instance: [vcom] - id: iostream_usart -- {id: iostream_vuart} -- {id: token_manager} -- {id: zigbee_app_framework_common} -- {id: zigbee_debug_basic} -- {id: zigbee_debug_extended} -- {id: zigbee_debug_print} -- {id: zigbee_gp} -- {id: zigbee_ncp_uart_hardware} -- {id: zigbee_pro_stack} -- {id: zigbee_r22_support} -- {id: zigbee_security_link_keys} -- {id: zigbee_source_route} -- {id: zigbee_zll} -define: -- {name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE, value: '15'} -configuration: -- {name: SL_BOARD_ENABLE_VCOM, value: '1'} -- {name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE, value: usartHwFlowControlCtsAndRts} -- {name: SL_CLI_MAX_INPUT_ARGUMENTS, value: '16'} -- {name: EMBER_BINDING_TABLE_SIZE, value: '32'} -- {name: EMBER_MAX_END_DEVICE_CHILDREN, value: '32'} -- {name: EMBER_PACKET_BUFFER_COUNT, value: '255'} -- {name: EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE, value: '32'} -- {name: EMBER_KEY_TABLE_SIZE, value: '12'} -- {name: SL_CLI_EXAMPLE_IOSTREAM_HANDLE, value: sl_iostream_vuart_handle} -- condition: [device_series_1] - name: NVM3_DEFAULT_NVM_SIZE - value: '36864' -- condition: [device_series_2] - name: NVM3_DEFAULT_NVM_SIZE - value: '32768' -- {name: SL_PSA_ITS_SUPPORT_V1_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V2_DRIVER, value: '0'} -- {name: SL_PSA_ITS_SUPPORT_V3_DRIVER, value: '1'} -ui_hints: - highlight: - - {path: readme.html} - diff --git a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slps b/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slps deleted file mode 100644 index 118b9c60..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/ncp-uart-hw_MGM240PB32VNN.slps +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PB32VNN/readme.html b/src/ncp-uart-hw_MGM240PB32VNN/readme.html deleted file mode 100644 index 055d0cfc..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/readme.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - -readme - - -

NCP UART Application

-

This network coprocessor (NCP) application supports communication with a host application over a UART interface with hardware flow control. This NCP application can be built as configured, or optionally can be augmented with customizations for target hardware, initialization, main loop processing, event definition/handling, and messaging with the host. - -As configured, this NCP UART application is the basis for building the corresponding binary ncp-uart images delivered with the Silicon Labs Zigbee stack. - -Due to thread safety concerns with EZSP, this application cannot include an RTOS unless CPC (Co-Processor Communication) components are also added. - -Refer to the Silicon Labs Zigbee documentation for more information about NCP customization. -

-
- - \ No newline at end of file diff --git a/src/ncp-uart-hw_MGM240PB32VNN/sl_zigbee_watchdog_periodic_refresh.c b/src/ncp-uart-hw_MGM240PB32VNN/sl_zigbee_watchdog_periodic_refresh.c deleted file mode 100644 index e3251c3c..00000000 --- a/src/ncp-uart-hw_MGM240PB32VNN/sl_zigbee_watchdog_periodic_refresh.c +++ /dev/null @@ -1,59 +0,0 @@ -/***************************************************************************//** - * @file - * @brief Sample watchdog refresh event implementation and related configuration - ******************************************************************************* - * # License - * Copyright 2022 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 PLATFORM_HEADER -#include "hal.h" -#include "ember.h" -#include "zigbee_app_framework_event.h" -#include "zigbee_app_framework_common.h" -#include "zigbee_watchdog_periodic_refresh_config.h" - -#if (SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1) - -static sl_zigbee_event_t watchdog_refresh_event; -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event); - -// Initialization of watchdog refresh event -void sli_zigbee_watchdog_refresh_handler_init(uint8_t init_level) -{ - switch (init_level) { - case SL_ZIGBEE_INIT_LEVEL_EVENT: - { - sl_zigbee_event_init(&watchdog_refresh_event, watchdog_refresh_event_handler); - sl_zigbee_event_set_active(&watchdog_refresh_event); - break; - } - default: - break; - } -} - -// In RTOS-based applications, the Zigbee task refreshes the watchdog. -// However, when the node is not on a network the Zigbee task does not run. -// Therefore, there needs to be a way to ensure that the watchdog does not fire -// and reset the node unnecessarily. Below we provide an example of an application -// event that periodically resets the watchdog. -// Note, such a periodic event gets the node out of EM1/EM2 low power modes, -// which may result in unnecessary energy consumption. -// The application should ultimately own the refreshing of the watchdog and tailor -// it based on the specific use case. -// In the bare-metal case, this is done in the zigbee stack and app framework ticks -static void watchdog_refresh_event_handler(sl_zigbee_event_t *event) -{ - halResetWatchdog(); - sl_zigbee_event_set_delay_ms(&watchdog_refresh_event, SL_ZIGBEE_WATCHDOG_REFRESH_DURATION_MS); -} -#endif //(SL_ZIGBEE_WATCHDOG_PERIODIC_REFRESH_ENABLE == 1)