Skip to content
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

hostlib: support build-time override of the EN_PIN #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alonbl
Copy link

@alonbl alonbl commented Jul 26, 2023

the EN_PIN is currently hard coded into se05x_reset.c the EN_PIN is board specific and should be modified per configuration.

It should actually be runtime parameter, similar to the i2c device and i2c device address.

Let's at least support build time configuration to avoid patching.

@stefanct
Copy link

Also the imx version could easily be merged, and there should be an option to not use an EN pin at all in case it is tied to VCC.

@alonbl
Copy link
Author

alonbl commented Jan 11, 2024

Anyone from @NXP is here?

I now see the same issue for all fsl_sss_ftr.h variables, all have hardcoded value and does not allow to override from external flags.

the EN_PIN is currently hard coded into se05x_reset.c the EN_PIN is board
specific and should be modified per configuration.

It should actually be runtime parameter, similar to the i2c device and i2c
device address.

Let's at least support build time configuration to avoid patching.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
@alonbl alonbl force-pushed the reset branch 2 times, most recently from 1d7c96e to 1b484ba Compare January 11, 2024 16:14
@alonbl
Copy link
Author

alonbl commented Jan 11, 2024

It is even worse the file fsl_sss_ftr.h which is managed by git is modified by cmake! this should not happen.

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.

2 participants