feat: Allow a local configuration file for custom compiles#879
feat: Allow a local configuration file for custom compiles#879daveallie merged 3 commits intocrosspoint-reader:masterfrom
Conversation
|
I'm fine with this if |
📝 WalkthroughWalkthroughConfiguration updates enabling support for local per-user settings. Added a gitignore pattern for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.gitignore (1)
15-15: Consider narrowing the ignore pattern to avoid overreach.
*.local*can unintentionally ignore unrelated files (e.g., localization assets or files containing “local” in the name). If the intent is only to ignore the PlatformIO local config, consider a narrower pattern likeplatformio.local.ini(or*.local.iniif you expect multiple local INI files).🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.gitignore at line 15, The gitignore entry '*.local*' is too broad and may hide unrelated files; replace it with a narrower pattern that targets the intended PlatformIO local config (for example use 'platformio.local.ini' or '*.local.ini' instead of '*.local*') so only local INI files are ignored while leaving other files containing "local" visible.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.gitignoreplatformio.ini
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: cppcheck
- GitHub Check: build
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.gitignore:
- Line 15: The gitignore entry '*.local*' is too broad and may hide unrelated
files; replace it with a narrower pattern that targets the intended PlatformIO
local config (for example use 'platformio.local.ini' or '*.local.ini' instead of
'*.local*') so only local INI files are ignored while leaving other files
containing "local" visible.
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
…t-reader#879) ## Summary * platformio.ini is a repository based config for platformio and cannot be modified without constant nagging of git to include it into you commits * PlatformIO allows you to split your configuration into multiple files using the extra_configs option in the [platformio] block. This effectively merges other .ini files into your main one. This will be silently ignored if such a file does not exist ## Additional Context * Modifiy platformio.ini and add a .gitignore entry to ignore your local config * eg my own ``platformio.local.ini``: ``` [env:custom] extends = base build_flags = ${base.build_flags} -DCROSSPOINT_VERSION=\"${crosspoint.version}-custom\" ; inclusion of additional fonts is disabled in custom builds to save space -DOMIT_FONTS ``` --- ### 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_ --------- Co-authored-by: Dave Allie <[email protected]>
Summary
Additional Context
platformio.local.ini: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