-
Notifications
You must be signed in to change notification settings - Fork 909
FreeRTOS - spp_streamer pi pico2 w #641
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
Comments
Presumably you have modified pico-examples directly to try this? Can you attach a patch so I don't have to copy and paste your changes? Or zip them up and attach them here? In theory you can build the examples for freertos by using the following cmake command line: cmake .. -DBTSTACK_EXAMPLE_TYPE=freertos However you will need this fix #643 |
Isn't FreeRTOS one of the options for the run mode in PicoSDK? |
Yes. It worked for me first time. |
Currently not at my machine till later today. But I overlooked the freertos example on the pi pico 2 w. I thought didn’t see it called the btstack_main. I would have tested this out first before making my own project. I’ll test the: cmake .. -DPICO_BOARD=pico2_w -DBTSTACK_EXAMPLE_TYPE=freertos With the spp_streamer example later today and report back. Appreciate the help! |
@peterharperuk Ran the example with the fix you suggested. Works great. Thanks for the help |
Hi all -
I originally posted this issue on - bluekitchen/btstack#682 - but this repo might be better suited for this issue.
Background:
I'm trying to port spp_streamer.c to use FreeRTOS to my pi pico2 w. I made a project build with just the spp_streamer.c (bare-metal). I have tested that out by connecting my laptop (windows 11) to the pico2w over bluetooth. I open the serial monitor on VSCode, see the comport available, open that port and can get the test data.
Where I'm At:
Below is a core snippet of my FreeRTOS port.
I'm using spp_streamer.c, picow_bt_example_common.c. I'm able to connect to it - via my laptop and successfully view the test data 1/10 times. The other 9/10 times I'm able to connect to it - via my laptop but the com ports don't show up on the serial monitor.
I believe there might be some setup calls i might need to change to fully get freertos working with spp_streamer. Happy to read more documentation, additional examples, or try any suggestions here.
Thanks!
The text was updated successfully, but these errors were encountered: