apache / apache/nuttx

[HELP] Optimization Level -O2 issue for NXP's S32K148

Open
#17,170 5 comments 0 reactions 0 assignees View on GitHub
Community: Question
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description

Hi,

Iam trying to run few examples or Applications on NXP's S32K148 hardware by using NuttX RTOS. These Applications or examples mainly for Performance related, So i configured optimization options as below.
CONFIG_DEBUG_CUSTOMOPT=y
CONFIG_DEBUG_OPTLEVEL="-O2"

with this configuration if i generate binary and flash on S32K148 during pin configuration or uart configuration triggering exception_common handler. Please check attached screenshot for more details.

Image

Could you please let me know how to configure optimization level O2 properly or is it a known issue?

Thanks,
Harish Nayineni

### Verification

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.