A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Build with -fno-exceptions (#1412)

## Summary

**What is the goal of this PR?**

Until today, I sincerely thought we were building without exception
support. The codebase is not set up with any exception handling
infrastructure. The SKILL.md file specifies no exceptions.

I just learned that we actually were building with exceptions enabled,
with `-fexceptions` coming from
~/.platformio/packages/framework-arduinoespressif32-libs/esp32c3/pioarduino-build.py.

This change removes the `-fexceptions` flag and adds `-fno-exceptions`.
The result is **53,670 bytes in flash savings**.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_

authored by

Zach Nelson and committed by
GitHub
d6951f81 99721c08

+2
+2
platformio.ini
··· 36 36 -DPNG_MAX_BUFFERED_PIXELS=16416 37 37 -Wno-bidi-chars 38 38 -Wl,--wrap=panic_print_backtrace,--wrap=panic_abort 39 + -fno-exceptions 39 40 40 41 build_unflags = 41 42 -std=gnu++11 43 + -fexceptions 42 44 43 45 ; Board configuration 44 46 board_build.flash_mode = dio