Skip to content

target: mbedos5: Modify generate_pins.py #2524

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

fbmrk
Copy link
Contributor

@fbmrk fbmrk commented Sep 12, 2018

It is not necessary to evaluate the values of the PinName's enumerators to generate pins.cpp, it is enough to search for the names of the pins. Generating pins.js is also unnecessary, because it is always ignored.

Fixes #1900

JerryScript-DCO-1.0-Signed-off-by: Marko Fabo mfabo@inf.u-szeged.hu

JerryScript-DCO-1.0-Signed-off-by: Marko Fabo mfabo@inf.u-szeged.hu
@fbmrk
Copy link
Contributor Author

fbmrk commented Sep 12, 2018

cc @janjongboom

@janjongboom
Copy link
Contributor

Great, let me review later this week.

@LaszloLango
Copy link
Contributor

@fbmrk @janjongboom what is the progress of this PR? The code looks good, but I am not too familiar with this particular JerryScript target.

@zherczeg
Copy link
Member

zherczeg commented Nov 5, 2018

There is no activity on this for more than a month. Shall we close it? We can reopen later if needed of course.

@fbmrk
Copy link
Contributor Author

fbmrk commented Nov 5, 2018

I'm waiting for @janjongboom's review.

Copy link
Contributor

@janjongboom janjongboom left a comment

Choose a reason for hiding this comment

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

Verified on K64F, NUCLEO-F446RE and NRF52-DK. This is indeed a way better way, and solves a lot of issues that I saw in the past with the pin generation code. Thanks a lot (and sorry for the very late review).

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

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

LGTM

@zherczeg zherczeg merged commit 22b0851 into jerryscript-project:master Nov 20, 2018
@fbmrk fbmrk deleted the issue_1900 branch December 6, 2019 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants