Skip to content

Enhance GPIO usage using LL #274

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

Closed
fpistm opened this issue Jun 29, 2018 · 4 comments
Closed

Enhance GPIO usage using LL #274

fpistm opened this issue Jun 29, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@fpistm
Copy link
Member

fpistm commented Jun 29, 2018

Using LL instead of HAL will increase GPIO access.

@fpistm fpistm added the enhancement New feature or request label Jun 29, 2018
@fpistm fpistm self-assigned this Sep 20, 2018
@fpistm fpistm added this to the 1.5.0 milestone Oct 21, 2018
@hasenbanck
Copy link
Contributor

hasenbanck commented Nov 2, 2018

Just an idea: In the Marlin STM32 HAL we used the register access to speed up the GPIO operations:
https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/src/HAL/HAL_STM32/fastio_STM32.h
https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/src/HAL/HAL_STM32/fastio_STM32.cpp

For that we had to populate a pin mapping. Maybe the enhancement of the GPIO functionality could make this easier by providing such a mapping?

@ktand
Copy link
Contributor

ktand commented Nov 2, 2018 via email

@hasenbanck
Copy link
Contributor

Upps, yeah. Corrected. Was just programming C stuff and brain got a blackout.

@fpistm fpistm mentioned this issue Nov 5, 2018
@fpistm
Copy link
Member Author

fpistm commented Nov 5, 2018

I've made a first try about this issue, see #368
@hasenbanck , @ktand thanks for sharing.
I guess the get_GPIO_Port enhancement will allow you to avoid use FastIO_init

@fpistm fpistm added the on going Currently work on this label Nov 6, 2018
@fpistm fpistm removed the on going Currently work on this label Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants