Skip to content

How to compile with debug info? #259

Open
@jsmith173

Description

@jsmith173

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions