1

I am just getting started with embedded programming using a nRF52 DK and want to use FreeRTOS, but am struggling with a simple example to follow. All of the examples in the Nordic SDK are Zephyr. Is there a simple blinky example for nRF52 DK using FreeRTOS?

I want to use VSCode as the development environment and have followed this video, which has been helpful, but again the examples are Zephyr. This link was also helpful.

I eventually want to flash a PineTime, which is why I am choosing FreeRTOS. Infinitime software is written using FreeRTOS so I know all the drivers, etc. are available if I use FreeRTOS. I saw this post about PlatformIO, but only Zephyr is supported and apparently PlatformIO is not recommended by Zephyr.

The blinky example helps me work through all the necessary required components, which can be a challenge, particularly for a beginner.

lcj
  • 1,355
  • 16
  • 37
  • One of the arduino cores for nrf52840 is using freertos: https://github.com/zhanggw7/Seeed_52840_Core/blob/main/cores/nRF5/main.cpp lines 92 and 98 are the most crucial and in the loop() you can have vTaskDelay + toggling some pin – KIIV Apr 06 '23 at 13:37

0 Answers0