espressif/esp32-arduino-lib-builder

How to compile with debug info?

jsmith173 opened this issue · 0 comments

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

build.ninja file entries with -Og

Actual behavior (suspected bug)

build.ninja file entries with -Os

Error logs or terminal output

No response

Steps to reproduce the behavior

added line to defconfig.esp32c3
CONFIG_COMPILER_OPTIMIZATION_DEBUG=y

./build.sh -t esp32c3 -D none

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu 22

Shell

Bash

Additional context

Problem: how to compile the library with debug info.