「なんか動かない」「突然落ちる」「時々おかしい」――FreeRTOS初手がハマる症状のほとんどは、コードの書き方に原因がある。 この記事はBADコードと症状の対応表だ。自分のコードと照らし合わせて、同じパターンが紛れ込んでいないか確認してほしい。
Arduino(特にUnoなどAVR系)では Linuxみたいな汎用OS は基本的に動きません。代わりに「OS」としては RTOS(リアルタイムOS)/ IoT向けOS を載せるのが定番です。 Arduino Documentation FreeRTOS(Arduinoライブラリ) Arduino公式のFreeRTOSライブラリがあり、avrアーキテクチャ ...
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the ...