Skip to content

zephyr: fix uart transport for latest release (4.5.0) - #487

Open
joelguittet wants to merge 2 commits into
EmbeddedRPC:mainfrom
joelguittet:fix/zephyr-latest-release
Open

joelguittet wants to merge 2 commits into
EmbeddedRPC:mainfrom
joelguittet:fix/zephyr-latest-release

Conversation

@joelguittet

Copy link
Copy Markdown

Pull request

Choose Correct

  • bug
  • feature

Describe the pull request

Update usage of serial and ring buffer for latest zephyr release (4.5.0):

  • several UART APIs have changed
  • usage of ring buffer API has changed and RING_BUFFER doesn't exist anymore

Usage of ZEPHYR_VERSION_CODE has been done so that the previous zephyr releases still work.

To Reproduce

N/A

Expected behavior

Working UART transport

Screenshots

N/A

Desktop (please complete the following information):

  • OS: ubuntu
  • eRPC Version: main

Steps you didn't forgot to do

  • I checked if other PR isn't solving this issue.
  • I read Contribution details and did appropriate actions.
  • PR code is tested.
  • PR code is formatted.
  • Allow edits from maintainers pull request option is set (recommended).

Additional context

Zephyr, UART transport

Fix dependencies for latest Zephyr release (4.5.0):
* select SERIAL if using UART transport
* RING_BUFFER doesn't exist anymore

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
Fix usage of serial and ring buffer API for latest zephyr release (4.5.0).

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
@joelguittet

Copy link
Copy Markdown
Author

To maintainers, there is an unrelated (?) error reported:

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!

Exited with code exit status 1

Probably i need to rebase after this is fixed?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant