arduino / arduino/Arduino

Please add maximum_data_size parameter value (RAM size) of board to gcc call with -D option flag

Open
#7,371 2 comments 0 reactions 0 assignees View on GitHub
Component: Compilation feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Hi!

Please add a "-D option flag" for the gcc call,
to check/detect the RAM size of MCU.

e.g.: On arduino uno: -DRAMSIZE=2048
maximum_data_size=2048

Best regards

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the board configuration and the gcc invocation used for Arduino builds, then trace how each board's maximum_data_size is represented. Done means the selected board's RAM value is passed to gcc as a -D definition such as RAMSIZE=2048.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.