RP2040ボードのArduinoでの判定方法 (Define method with Arduino for RP2040 board)
Judgment method with Arduino for RP2040 board
0
Project description
RP2040ボードの判定方法を調べてまとめてみました。 目次 アーキテクチャ アーキテクチャの判定 ボード 関連記事 アーキテクチャ アーキテクチャ 定義名 Mbed ARDUINO_ARCH_MBED RP2040 ARDUINO_ARCH_RP2040 アーキテクチャの判定 Arduino公式版 Arduino Mbed OS RP2040 Boards #if defined(ARDUINO_ARCH_RP2040) && defined(ARDUINO_ARCH_MBED) // Arduino Mbed OS RP2040 Boardsの場合 #endif Raspberry Pi Pico/RP2040ボード(earlephilhower版) #if defined(ARDUINO_ARCH_RP2040) && !defined(ARDUINO_ARCH_MBED) // Raspberry Pi Pico/RP2040ボード(earlephilhower版)の場合 #endif RP2040ボードではない場合 #ifndef ARDUINO_ARCH_RP2040 // RP2040ではない場合 #endif ボード Arduinoではboards.txtにボード定義があり、そこから定義名を取得できます。 今回主要なボードを抜粋し一覧にまとめまてみました。…
Keep reading with a free account
Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.