Make WITH_CEP default-on for PM5, add SKIP_CEP to opt out
doegox asked on PR #3668 whether CEP really needs to be guarded by a compile flag, suggesting it ship on by default with a SKIP_CEP opt-out instead - mirrors the existing NO_LOWBATT_SHUTDOWN/NO_LOWBATT_BEEP opt-out pattern in common_arm/Makefile.hal. WITH_CEP is now baked into PM5's base PLATFORM_DEFS; PLATFORM_EXTRAS=SKIP_CEP filters it back out. No change to armsrc/Makefile (already keys off the WITH_CEP define, not the old extras token) or to the CEP transport logic itself. Updated the PM5-FLIPPER-USAGE doc, the CHANGELOG entry, and one stale comment in include/pm3_cmd.h that referenced the old opt-in token. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
381e1ae2fc
commit
16024ed4a1
4 files changed
+17
-17
No files matched your search
+1
-1
@@ -289,7 +289,7 @@ typedef struct {
|
||||
bool compiled_with_bwm : 1; // PM5 built with PLATFORM_EXTRAS=BWM (battery/wireless module)
|
||||
|
||||
// Appended in version 13.
|
||||
bool compiled_with_cep : 1; // PM5 built with PLATFORM_EXTRAS=CEP (Flipper Zero, Type-C extended port)
|
||||
bool compiled_with_cep : 1; // PM5 built with WITH_CEP (Flipper Zero, Type-C extended port; on by default, SKIP_CEP to disable)
|
||||
} PACKED capabilities_t;
|
||||
// Bump this whenever a command payload changes shape, so a mismatched client and
|
||||
// firmware refuse to talk instead of misparsing each other.
|
||||
|
||||
Reference in new issue
Block a user