Skip to content

Conversation

@masayuki2009
Copy link
Contributor

Summary

  • This PR contains the following 2 commits
  • commit1: arch: imx6: Refactor imx_lowputc()
    • Remove '\n' -> '\r\n' conversion
    • Remove waiting for FIFO empty after sending a character
    • Remove CONFIG_DEBUG_FEATURES
  • commit2: Remove sem_t from imx_serial.c
    • I noticed that when exiting getprime, DEBUGASSERT happens in
      nxsem_wait()
    • Finally, I found that up_putc() uses nxsem_wait()
    • This commit fixes this issue by removing the semaphore.
    • Also, up_putc() now calls imx_lowputc()

Impact

  • None

Testing

  • Tested with sabre-6quad:netknsh (not merged yet)

Summary:
- Remove '\n' -> '\r\n' conversion
- Remove waiting for FIFO empty after sending a character
- Remove CONFIG_DEBUG_FEATURES

Impact:
- None

Testing:
- Tested with sabre-6quad:netknsh (not merged yet)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Summary:
- I noticed that when exiting getprime, DEBUGASSERT happens in
  nxsem_wait()
- Finally, I found that up_putc() uses nxsem_wait()
- This commit fixes this issue by removing the semaphore.
- Also, up_putc() now calls imx_lowputc()

Impact:
- None

Testing:
- Tested with sabre-6quad:netknsh (not merged yet)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 56e0e6a into apache:master Feb 28, 2022
@masayuki2009 masayuki2009 deleted the fix_imx6 branch March 17, 2022 01:52
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