Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
Review Summary by QodoAdd comprehensive AGENT.md guide for AI developers
WalkthroughsDescription• Comprehensive AI agent guide for INAV flight controller firmware • Covers architecture, coding conventions, build system, and key concepts • Includes development workflow, common patterns, and important guidelines • Provides quick reference and resources for contributors Diagramflowchart LR
A["INAV Project Overview"] --> B["Architecture & Structure"]
B --> C["Coding Conventions"]
C --> D["Build System"]
D --> E["Key Concepts"]
E --> F["Development Workflow"]
F --> G["AI Agent Guidelines"]
G --> H["Quick Reference"]
File Changes1. AGENT.md
|
Code Review by Qodo
1. SLOW_RAM mislabeled deprecated
|
| ```c | ||
| FASTRAM // Fast RAM section (aligned) | ||
| EXTENDED_FASTRAM // Extended fast RAM (STM32F4/F7 only) | ||
| DMA_RAM // DMA-accessible RAM (STM32H7, AT32F43x) | ||
| SLOW_RAM // Slower external RAM - deprecated, o not use | ||
| STATIC_FASTRAM // Static variable in fast RAM | ||
| STATIC_FASTRAM_UNIT_TESTED // Static fast RAM variable visible in unit tests |
There was a problem hiding this comment.
1. Slow_ram mislabeled deprecated 🐞 Bug ✓ Correctness
AGENT.md states SLOW_RAM is deprecated (“do not use”), but the codebase still defines and uses it, which may prompt agents to remove/avoid it and break memory placement on affected MCUs.
Agent Prompt
## Issue description
AGENT.md incorrectly marks `SLOW_RAM` as deprecated even though it is still defined and used in production code. This can mislead agents into removing or avoiding `SLOW_RAM` usage, potentially breaking memory placement.
## Issue Context
`SLOW_RAM` is defined in `src/main/build/build_config.h` and is used (e.g., for EEPROM buffering) in `src/main/config/config_streamer.c`.
## Fix Focus Areas
- AGENT.md[86-92]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Let's help agents a little