0

Is it possible to program ESP8266 wirh rtx rtos?

I know it’s possible to program with:

AT (terminal) commands, Official ESP8266 SDK and Toolchain, NodeMCU with eLua, Arduino IDE.

Or may you suggest a wifi chip like esp8266 that i program with rtx rtos. I’m totally a beginner so excuse me if it’s a stupid question.

Exon
  • 315
  • 2
  • 9

1 Answers1

1

"RTX" may refer to an ARM specific RTOS from Keil, or IntervalZero's real-time extensions for Microsoft Windows. Either way the answer is no because ESP8266 is not an ARM processor or a Windows platform.

The Expressif SDK is provided with or without RTOS support. The RTOS SDK is based on FreeRTOS - FreeRTOS provides much the same features as Keil's RTX, though is not identical.

If you specifically want a WiFi module you can program with Keil's RTX, it will need to be ARM based. uBlox's WiFi modules are ARM based and the SDKs are based on mbed OS which is itself based on RTX, though with teh CMSIS API rather then the native RTX API. CMSIS RTOS is an API specification for ARM Cortex-M microcontrollers, rather than an actual RTOS.

While you could use RTX on any ARM based WiFi module that allows user code, where the vendors SDK is already based on an RTOS, you would be making a lot of work for yourself to attempt to change it. Not least because the vendor may only provide SDK code as object code, so linking to a different RTOS may not be straightforward. In that case the decision to use an alternative RTOS would entail developing the drivers and stack from scratch, which misses te point of using such a module, and would require very complete documentation.

The constraint that only RTX may be used is probably impractical. The general principles of any RTOS are transferable knowledge, It would serve you well to be aware of more that one API.

Clifford
  • 88,407
  • 13
  • 85
  • 165