Replies: 7 comments 7 replies
-
FreeRTOS is already working well with rp2040, I just don't follow this to make tinyusb's example to work with it yet. I think it needs to use a specific port for freeRTOS or something. @kilograham would you mind give a brief update on freeRTOS with rp2040, I think it is probably a good time to update freertos example to work with rp2040 |
Beta Was this translation helpful? Give feedback.
-
@hathach The FreeRTOS demo for the Pico/RP2040 is here. Follow the Raspberry Pi Pico link. I was starting to look at this too. Is there a project already started on this? |
Beta Was this translation helpful? Give feedback.
-
Hi, /Kasper |
Beta Was this translation helpful? Give feedback.
-
@hathach As I understand it, the picoprobe code does not change the An alternate solution: the tinyusb RP2040 I believe this solution can be implemented and is more consistent with what was done for the CYW43 arch drivers in the pico-sdk to support the Pico W Wi-Fi/Bluetooth chip. @hathach if you think this is a worthwhile solution, I can work on a pull-request. |
Beta Was this translation helpful? Give feedback.
-
The order of the config headers in TinyUSB makes it hard to inject an MCU override before the user tusb_config.h, but perhaps we could do something like
Perhaps this should be called But to avoid just recreating the same problem with a differently named variable, we can have anyway, @hathach probably has some better ideas ;-) |
Beta Was this translation helpful? Give feedback.
-
@kilograham I proposed this solution: see pull request #1993. Does that seem like it is on the right track? |
Beta Was this translation helpful? Give feedback.
-
I would like to discuss @hathach's and @kilograham's last comments. The way I read the code, the For example, the To track the details, For maximum backward compatibility, I propose leaving the |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'd like to use FreeRTOS for my application, which is running on the RP2040. However, the TinyUSB support for the RP2040 seems to be hardwired to only use the pico-sdk support utilities via
OPT_OS_PICO
(line 57):tinyusb/hw/bsp/rp2040/family.cmake
Lines 55 to 59 in be21413
Ofcourse its trivial to change from
OPT_OS_PICO
toOPT_OS_FREERTOS
, but it means that I now have to carry a non-standard version of the library, or carry around a patch that gets applied to the library before building.Would it be possible to make this option configurable?
Beta Was this translation helpful? Give feedback.
All reactions