Skip to content

Commit

Permalink
reset ic when assert
Browse files Browse the repository at this point in the history
  • Loading branch information
shih840426 committed Mar 11, 2024
1 parent 752f2ec commit 1276408
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/platform/RT58x/CHIPPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
#pragma once

#include <stdint.h>
#include "cm3_mcu.h"

// ==================== General Platform Adaptations ====================

#define CHIP_CONFIG_ABORT() abort()
#define NL_ASSERT_ABORT() Sys_Software_Reset()
#define CHIP_CONFIG_ABORT() Sys_Software_Reset()

#define CHIP_CONFIG_PERSISTED_STORAGE_KEY_TYPE uint16_t
#define CHIP_CONFIG_PERSISTED_STORAGE_ENC_MSG_CNTR_ID 1
Expand Down

0 comments on commit 1276408

Please sign in to comment.