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

Fixed errors in CI build tests for pull request #15351 #15352

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

kywwilson11
Copy link
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

There were two simple errors when running ci tests on pull #15351. These errors were unrelated to that pull. After investigating I found two simple errors.

  1. The len variable was likely a typo that should have been the function argument, ien.
  2. The spinlock_t lock was defined in a section dependent on CONFIG_SERIAL_TERMIOS. However, the spinlock_t lock was used in code that did not require the SERIAL_TERMIOS config. Therefore errors resulted. I moved this definition to a general section of the up_dev_s type.

Testing

Re-built Nuttx with fixes. No build errors after changes.

@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Dec 26, 2024
@kywwilson11 kywwilson11 force-pushed the efm32_gd32f4xx_fixes branch 2 times, most recently from 81e5d7f to 16db02c Compare December 27, 2024 15:56
There were two simple errors when running ci tests on pull apache#15351. These errors were unrelated to that pull. After investigating I found two simple errors. 1. The len variable was likely a typo that should have been the function argument, ien. 2. The spinlock_t lock was defined in a section dependent on CONFIG_SERIAL_TERMIOS. However, the spinlock_t lock was used in code that did not require the SERIAL_TERMIOS config. Therefore errors resulted.

imxrt_edma_s missing lock variable

CI build tests noted that the variable g_edma was referencing a lock variable that did not exist in the structure. This change adds that missing lock as a spinlock_t type.

Remove unused flags variable from imxrt_dmach_stop

Removed extra =
@kywwilson11
Copy link
Contributor Author

Hello,
The changes made here seem to have made all CI tests pass. These changes will likely fix CI build issues on other pull requests. Please review when you have time. The changes are very limited and seemingly obvious in all cases.
Thanks,
Kyle

@xiaoxiang781216 xiaoxiang781216 merged commit 96fa400 into apache:master Dec 28, 2024
25 checks passed
lupyuen added a commit to lupyuen2/wip-nuttx that referenced this pull request Dec 30, 2024
An extra `lock` appears in gd32f4xx_serial due to 2 conflicting PRs:
- apache#7011
- apache#15352

This PR removes the extra `lock` in gd32f4xx_serial.
lupyuen added a commit to lupyuen2/wip-nuttx that referenced this pull request Dec 30, 2024
An extra `lock` appears in imxrt_edma due to 2 conflicting PRs:
- apache#15352
- apache#15353

This PR removes the extra `lock` in imxrt_edma.
xiaoxiang781216 pushed a commit that referenced this pull request Dec 30, 2024
An extra `lock` appears in imxrt_edma due to 2 conflicting PRs:
- #15352
- #15353

This PR removes the extra `lock` in imxrt_edma.
xiaoxiang781216 pushed a commit that referenced this pull request Dec 30, 2024
An extra `lock` appears in gd32f4xx_serial due to 2 conflicting PRs:
- #7011
- #15352

This PR removes the extra `lock` in gd32f4xx_serial.
@kywwilson11 kywwilson11 deleted the efm32_gd32f4xx_fixes branch January 2, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants