Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ability to define -DFP_IN_IROM when generating ld script#7188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 2 commits intoesp8266:masterfroms-hadinger:fpinrom2
Apr 6, 2020

Conversation

@s-hadinger
Copy link
Contributor

Follow up of#7180, there was no way to enable the-DFP_IN_IROM flag when generating the ld script.

Copy link
Collaborator

@earlephilhowerearlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, but unfortunately I'm not a PIO user so can't comment if this is the best way to get another flag in.

join(FRAMEWORK_DIR,"tools","sdk","ld","eagle.app.v6.common.ld.h"),
env.VerboseAction(
"$CC -CC -E -P -D%s $SOURCE -o $TARGET"%current_vtables,
"$CC -CC -E -P -D%s%s$SOURCE -o $TARGET"%(current_vtables,fp_in_irom),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I don't speak pythonese or use platformio; however, shouldn't there be a -D in front of the new '%s'.
Déjà Vu, I changed the same line in a PoC PR

"$CC -CC -E -P -D%s -D%s $SOURCE -o $TARGET"% (current_vtables,current_mmu_iram_size),

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

No, because the second parameter can be absent. This would result in-D being inserted and potentially causing an error.
The-D is already included above here:fp_in_irom = "-DFP_IN_IROM"

d-a-v and mhightower83 reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@earlephilhowerearlephilhowerearlephilhower approved these changes

+1 more reviewer

@mhightower83mhightower83mhightower83 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@s-hadinger@earlephilhower@mhightower83@d-a-v

[8]ページ先頭

©2009-2025 Movatter.jp