# Pico W FreeRTOS

**URL:** <https://forums.freertos.org/t/pico-w-freertos/19158>\
**Category:** Kernel\
**Created:** [February 11, 2024, 9:43am UTC](https://forums.freertos.org/t/pico-w-freertos/19158 "2024-02-11T09:43:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rais](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rais](https://forums.freertos.org/u/rais)\
**Post date:** [February 11, 2024, 9:43am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/1 "2024-02-11T09:43:22Z")

</div>

Hello Everyone, Has anybody succeed in runing a simple blink program on a Pico W with FreeRTOS? I have succeed in running the program on a Pico W without FreeRTOS, but when I tried to implement FreeRTOS, the Visual Studio Code compile without any complain of error. After transfer the\*.uf2 to the Pico W, it does not work and the computer complain of USB not recognised the devise.

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [February 12, 2024, 6:11am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/2 "2024-02-12T06:11:02Z")

</div>

Can you try using this demo - [FreeRTOS-Community-Supported-Demos/CORTEX\_M0+\_RP2040 at main · FreeRTOS/FreeRTOS-Community-Supported-Demos · GitHub](https://github.com/FreeRTOS/FreeRTOS-Community-Supported-Demos/tree/main/CORTEX_M0%2B_RP2040)?

---

<div class="post-metadata">

**Author:** ![rais](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rais](https://forums.freertos.org/u/rais)\
**Post date:** [February 13, 2024, 1:20am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/3 "2024-02-13T01:20:36Z")

</div>

It seems to work with Pico only and not **Pico W**

---

<div class="post-metadata">

**Author:** ![rais](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rais](https://forums.freertos.org/u/rais)\
**Post date:** [February 13, 2024, 1:30am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/4 "2024-02-13T01:30:47Z")

</div>

It work with Pico but not with **Pico W**

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [February 13, 2024, 5:37am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/5 "2024-02-13T05:37:51Z")

</div>

Are you able to use this example from Pico - [pico-examples/pico\_w/wifi/freertos at master · raspberrypi/pico-examples · GitHub](https://github.com/raspberrypi/pico-examples/tree/master/pico_w/wifi/freertos)?

---

<div class="post-metadata">

**Author:** ![rais](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rais](https://forums.freertos.org/u/rais)\
**Post date:** [February 13, 2024, 8:21am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/6 "2024-02-13T08:21:03Z")

</div>

Sorry, I have not tried it, it seemed too complicated for me. I prefer to do a simple blink program for the Pico W first.

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [February 13, 2024, 11:25am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/7 "2024-02-13T11:25:08Z")

</div>

There seems to be a blink example too - [pico-examples/pico\_w/wifi/blink at master · raspberrypi/pico-examples · GitHub](https://github.com/raspberrypi/pico-examples/tree/master/pico_w/wifi/blink).

---

<div class="post-metadata">

**Author:** ![rais](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rais](https://forums.freertos.org/u/rais)\
**Post date:** [February 14, 2024, 3:14am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/8 "2024-02-14T03:14:48Z")

</div>

Yes, that is what I mean. I have tested the blink program without and with FreeRTOS on Pico, it worked. When I tested the program without FreeRTOS on a Pico W, it worked. When I tested with FreeRTOS on Pico W, it **FAILED!.** (When I compiled with VSCode, there is no error. After uploading \*.uf2, the computer has an error of : USB did not recognised the devise.)

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [February 14, 2024, 5:22am UTC](https://forums.freertos.org/t/pico-w-freertos/19158/9 "2024-02-14T05:22:54Z")

</div>

I do not think we have any other example. May be you can try reaching out to Pico guys and tell them that their blink example is failing with Pico W.
