-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactor multiple RTOS v2 #4
Conversation
Update gitignore Building FreeRTOS Removed folder Update Working state
FreeRTOS/arm_toolchain.cmake.in
Outdated
@INCLUDES@ | ||
) | ||
|
||
set(__BIG_ENDIAN__ 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you set the endianness?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
README.md
Outdated
@@ -0,0 +1,3 @@ | |||
# Micro-XRCE-DDS Apps | |||
|
|||
This repo contains Micro XRCE-DDS sample aplications and build instructions for the supported embedded RTOS: Zephyr, FreeRTOS and Nuttx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repo contains Micro XRCE-DDS sample aplications and build instructions for the supported embedded RTOS: Zephyr, FreeRTOS and Nuttx. | |
This repo contains Micro XRCE-DDS sample applications and build instructions for the supported embedded RTOS: Zephyr, FreeRTOS and NuttX. |
Zephyr/arm_toolchain.cmake.in
Outdated
set(CMAKE_C_FLAGS_INIT "@CFLAGS@" CACHE STRING "" FORCE) | ||
set(CMAKE_CXX_FLAGS_INIT "@CXXFLAGS@" CACHE STRING "" FORCE) | ||
|
||
set(__BIG_ENDIAN__ 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you set the endianness?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
Zephyr/zephyr_usb_serial_transport.c
Outdated
// int acc_timeout = 0; | ||
// size_t read; | ||
|
||
// uart_irq_rx_disable(platform->uart_dev); | ||
// read = ring_buf_get(&in_ringbuf, buf, len); | ||
// uart_irq_rx_enable(platform->uart_dev); | ||
|
||
// if(read < len){ | ||
// k_sleep(K_MSEC(timeout)); | ||
|
||
// uart_irq_rx_disable(platform->uart_dev); | ||
// read += ring_buf_get(&in_ringbuf, &buf[read], len-read); | ||
// uart_irq_rx_enable(platform->uart_dev); | ||
// } | ||
|
||
// return read; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Co-Authored-By: Julián Bermúdez Ortega <[email protected]>
Co-Authored-By: Julián Bermúdez Ortega <[email protected]>
Co-Authored-By: Julián Bermúdez Ortega <[email protected]>
This PR add sample apps for Micro XRCE-DDS and some RTOS.
This PR superseded #3