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

devices: MCXNxxx: Update system file to remove SDK sepecific defines #1

Open
wants to merge 20 commits into
base: sdk_2.16.0
Choose a base branch
from

Conversation

NeilChen93
Copy link

__Vectors is not defined in non-SDK projects such as Zephyr which like to call SystemInit function. This causes build failures as a result.

@NeilChen93 NeilChen93 requested a review from dleach02 August 5, 2024 03:01
@NeilChen93 NeilChen93 force-pushed the update_mcxn_system_file branch from 4f63201 to 8554591 Compare August 5, 2024 06:54
@NeilChen93
Copy link
Author

Hi @dleach02 , I also added MCXC444, MCXA156 cmake and pinctrl files in this PR, because I need to do those two cores' zephyr support late. Please help review, thanks a lot.

dleach02 and others added 13 commits August 5, 2024 16:52
Updating mcux components to 2.16.000

Signed-off-by: David Leach <[email protected]>
BIT macro is defined in util_macro.h in zephyr, let's rename this macro to avoid
conflicts.

Signed-off-by: Lucien Zhao <[email protected]>
fixup this commit when done

Signed-off-by: David Leach <[email protected]>
selected from commit by Lucien-Zhao.

Signed-off-by: David Leach <[email protected]>
Signed-off-by: Lucien-Zhao <[email protected]>
Adding in the v2.16.000 of USB middleware

Signed-off-by: David Leach <[email protected]>
Update the readme to align with the SDK 2.16.000 update

Signed-off-by: David Leach <[email protected]>
Force the constant 8.0 to be 8.0f to avoid the double promotion warning.

Signed-off-by: David Leach <[email protected]>
dleach02 and others added 6 commits August 5, 2024 20:54
Wrap code setting SCB->VTOR with !defined(__ZEPHYR__). Zephyr
will handle this.

Signed-off-by: David Leach <[email protected]>
__Vectors is not defined in non-SDK projects such as Zephyr which like
to call SystemInit function. This causes build failures as a result.

Signed-off-by: Neil Chen <[email protected]>
Add pinctrl generate support for MCXA156, and generate mcxa156 pinctrl files

Signed-off-by: Neil Chen <[email protected]>
@NeilChen93 NeilChen93 force-pushed the update_mcxn_system_file branch from b88aecb to 23010a7 Compare August 6, 2024 07:23
@dleach02
Copy link

dleach02 commented Aug 6, 2024

Let me move these to the sdk2.16 HAL update. I've been fixing the vectors problem a little differently so that the code could presumably be used in the SDK

@dleach02 dleach02 force-pushed the sdk_2.16.0 branch 3 times, most recently from 565a6b6 to 8113337 Compare August 8, 2024 11:53
@dleach02 dleach02 force-pushed the sdk_2.16.0 branch 3 times, most recently from 767e329 to 5872634 Compare August 12, 2024 02:39
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.

3 participants