Skip to content

Commit

Permalink
Revert bump third_pary/asr, because project-chip#27000 PR
Browse files Browse the repository at this point in the history
  • Loading branch information
tx2rx committed Jun 1, 2023
1 parent 071a7e3 commit eb24ede
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
9 changes: 2 additions & 7 deletions examples/all-clusters-minimal-app/asr/.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/asr.gni")
import("//build_overrides/build.gni")

# The location of the build configuration file.
Expand All @@ -22,12 +21,8 @@ buildconfig = "${build_root}/config/BUILDCONFIG.gn"
check_system_includes = true

default_args = {
if (asr_ic_family == "asr582x") {
target_cpu = "arm"
}
if (asr_ic_family == "asr595x") {
target_cpu = "riscv"
}
target_cpu = "arm"

target_os = "freertos"

import("//args.gni")
Expand Down
10 changes: 0 additions & 10 deletions examples/lock-app/asr/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,3 @@ void AppTask::UpdateClusterState(void)
{
chip::DeviceLayer::PlatformMgr().ScheduleWork(UpdateCluster, reinterpret_cast<intptr_t>(nullptr));
}

void vApplicationStackOverflowHook(TaskHandle_t pxTask, char * pcTaskName)
{
(void) pxTask;

/* Run time stack overflow checking is performed if
configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook
function is called if a stack overflow is detected. */
printf("ERROR: stack overflow with task %s\r\n", pcTaskName);
}
2 changes: 2 additions & 0 deletions src/platform/ASR/PlatformManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
#include <platform/internal/GenericPlatformManagerImpl_FreeRTOS.h>
#endif
#include <atomic>
#include <lega_rtos_api.h>

namespace chip {
namespace DeviceLayer {

Expand Down

0 comments on commit eb24ede

Please sign in to comment.