Closed blasco closed 4 years ago
This is the generated file, which doesn't contain any Arduino Nano entry:
# Copyright (c) 2020 Arduino CMake Toolchain
###############################################################################
# This is an automatically generated template file for board options.
# You may edit it to comment/uncomment selected board and board options.
# However do not change the structure of this template, which is fixed and
# any change to the structure gets overwritten.
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Arduino boards.
# Platform: esp32
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# set(ARDUINO_BOARD "ESP32 Dev Module [esp32.esp32]") # ESP32 Dev Module
# set(ARDUINO_BOARD "ESP32 Wrover Module [esp32.esp32wrover]") # ESP32 Wrover Module
# set(ARDUINO_BOARD "ESP32 Pico Kit [esp32.pico32]") # ESP32 Pico Kit
# set(ARDUINO_BOARD "Turta IoT Node [esp32.turta_iot_node]") # Turta IoT Node
# set(ARDUINO_BOARD "TTGO LoRa32-OLED V1 [esp32.ttgo-lora32-v1]") # TTGO LoRa32-OLED V1
# set(ARDUINO_BOARD "XinaBox CW02 [esp32.cw02]") # XinaBox CW02
# set(ARDUINO_BOARD "SparkFun ESP32 Thing [esp32.esp32thing]") # SparkFun ESP32 Thing
# set(ARDUINO_BOARD "u-blox NINA-W10 series (ESP32) [esp32.nina_w10]") # u-blox NINA-W10 series (ESP32)
# set(ARDUINO_BOARD "Widora AIR [esp32.widora-air]") # Widora AIR
# set(ARDUINO_BOARD "Electronic SweetPeas - ESP320 [esp32.esp320]") # Electronic SweetPeas - ESP320
# set(ARDUINO_BOARD "Nano32 [esp32.nano32]") # Nano32
# set(ARDUINO_BOARD "LOLIN D32 [esp32.d32]") # LOLIN D32
# set(ARDUINO_BOARD "LOLIN D32 PRO [esp32.d32_pro]") # LOLIN D32 PRO
# set(ARDUINO_BOARD "WEMOS LOLIN32 [esp32.lolin32]") # WEMOS LOLIN32
# set(ARDUINO_BOARD "Dongsen Tech Pocket 32 [esp32.pocket_32]") # Dongsen Tech Pocket 32
# set(ARDUINO_BOARD ""WeMos" WiFi&Bluetooth Battery [esp32.WeMosBat]") # "WeMos" WiFi&Bluetooth Battery
# set(ARDUINO_BOARD "ESPea32 [esp32.espea32]") # ESPea32
# set(ARDUINO_BOARD "Noduino Quantum [esp32.quantum]") # Noduino Quantum
# set(ARDUINO_BOARD "Node32s [esp32.node32s]") # Node32s
# set(ARDUINO_BOARD "Hornbill ESP32 Dev [esp32.hornbill32dev]") # Hornbill ESP32 Dev
# set(ARDUINO_BOARD "Hornbill ESP32 Minima [esp32.hornbill32minima]") # Hornbill ESP32 Minima
# set(ARDUINO_BOARD "FireBeetle-ESP32 [esp32.firebeetle32]") # FireBeetle-ESP32
# set(ARDUINO_BOARD "IntoRobot Fig [esp32.intorobot-fig]") # IntoRobot Fig
# set(ARDUINO_BOARD "Onehorse ESP32 Dev Module [esp32.onehorse32dev]") # Onehorse ESP32 Dev Module
# set(ARDUINO_BOARD "Adafruit ESP32 Feather [esp32.featheresp32]") # Adafruit ESP32 Feather
# set(ARDUINO_BOARD "NodeMCU-32S [esp32.nodemcu-32s]") # NodeMCU-32S
# set(ARDUINO_BOARD "MH ET LIVE ESP32DevKIT [esp32.mhetesp32devkit]") # MH ET LIVE ESP32DevKIT
# set(ARDUINO_BOARD "MH ET LIVE ESP32MiniKit [esp32.mhetesp32minikit]") # MH ET LIVE ESP32MiniKit
# set(ARDUINO_BOARD "ESP32vn IoT Uno [esp32.esp32vn-iot-uno]") # ESP32vn IoT Uno
# set(ARDUINO_BOARD "DOIT ESP32 DEVKIT V1 [esp32.esp32doit-devkit-v1]") # DOIT ESP32 DEVKIT V1
# set(ARDUINO_BOARD "OLIMEX ESP32-EVB [esp32.esp32-evb]") # OLIMEX ESP32-EVB
# set(ARDUINO_BOARD "OLIMEX ESP32-GATEWAY [esp32.esp32-gateway]") # OLIMEX ESP32-GATEWAY
# set(ARDUINO_BOARD "OLIMEX ESP32-PoE [esp32.esp32-poe]") # OLIMEX ESP32-PoE
# set(ARDUINO_BOARD "ThaiEasyElec's ESPino32 [esp32.espino32]") # ThaiEasyElec's ESPino32
# set(ARDUINO_BOARD "M5Stack-Core-ESP32 [esp32.m5stack-core-esp32]") # M5Stack-Core-ESP32
# set(ARDUINO_BOARD "M5Stack-FIRE [esp32.m5stack-fire]") # M5Stack-FIRE
# set(ARDUINO_BOARD "M5Stick-C [esp32.m5stick-c]") # M5Stick-C
# set(ARDUINO_BOARD "ODROID ESP32 [esp32.odroid_esp32]") # ODROID ESP32
# set(ARDUINO_BOARD "Heltec WiFi Kit 32 [esp32.heltec_wifi_kit_32]") # Heltec WiFi Kit 32
# set(ARDUINO_BOARD "Heltec WiFi LoRa 32 [esp32.heltec_wifi_lora_32]") # Heltec WiFi LoRa 32
# set(ARDUINO_BOARD "Heltec WiFi LoRa 32(V2) [esp32.heltec_wifi_lora_32_V2]") # Heltec WiFi LoRa 32(V2)
# set(ARDUINO_BOARD "Heltec Wireless Stick [esp32.heltec_wireless_stick]") # Heltec Wireless Stick
# set(ARDUINO_BOARD "ESPectro32 [esp32.espectro32]") # ESPectro32
# set(ARDUINO_BOARD "Microduino-CoreESP32 [esp32.CoreESP32]") # Microduino-CoreESP32
# set(ARDUINO_BOARD "ALKS ESP32 [esp32.alksesp32]") # ALKS ESP32
# set(ARDUINO_BOARD "WiPy 3.0 [esp32.wipy3]") # WiPy 3.0
# set(ARDUINO_BOARD "BPI-BIT [esp32.bpi-bit]") # BPI-BIT
# set(ARDUINO_BOARD "Silicognition wESP32 [esp32.wesp32]") # Silicognition wESP32
# set(ARDUINO_BOARD "T-Beam [esp32.t-beam]") # T-Beam
# set(ARDUINO_BOARD "D-duino-32 [esp32.d-duino-32]") # D-duino-32
# set(ARDUINO_BOARD "LoPy [esp32.lopy]") # LoPy
# set(ARDUINO_BOARD "LoPy4 [esp32.lopy4]") # LoPy4
# set(ARDUINO_BOARD "OROCA EduBot [esp32.oroca_edubot]") # OROCA EduBot
# set(ARDUINO_BOARD "ESP32 FM DevKit [esp32.fm-devkit]") # ESP32 FM DevKit
# set(ARDUINO_BOARD "Frog Board ESP32 [esp32.frogboard]") # Frog Board ESP32
# set(ARDUINO_BOARD "AI Thinker ESP32-CAM [esp32.esp32cam]") # AI Thinker ESP32-CAM
# set(ARDUINO_BOARD "SparkFun LoRa Gateway 1-Channel [esp32.sparkfun_lora_gateway_1-channel]") # SparkFun LoRa Gateway 1-Channel
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Arduino boards.
# Platform: esp8266
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# set(ARDUINO_BOARD "Generic ESP8266 Module [esp8266.generic]") # Generic ESP8266 Module
# set(ARDUINO_BOARD "Generic ESP8285 Module [esp8266.esp8285]") # Generic ESP8285 Module
# set(ARDUINO_BOARD "ESPDuino (ESP-13 Module) [esp8266.espduino]") # ESPDuino (ESP-13 Module)
# set(ARDUINO_BOARD "Adafruit Feather HUZZAH ESP8266 [esp8266.huzzah]") # Adafruit Feather HUZZAH ESP8266
# set(ARDUINO_BOARD "Invent One [esp8266.inventone]") # Invent One
# set(ARDUINO_BOARD "XinaBox CW01 [esp8266.cw01]") # XinaBox CW01
# set(ARDUINO_BOARD "ESPresso Lite 1.0 [esp8266.espresso_lite_v1]") # ESPresso Lite 1.0
# set(ARDUINO_BOARD "ESPresso Lite 2.0 [esp8266.espresso_lite_v2]") # ESPresso Lite 2.0
# set(ARDUINO_BOARD "Phoenix 1.0 [esp8266.phoenix_v1]") # Phoenix 1.0
# set(ARDUINO_BOARD "Phoenix 2.0 [esp8266.phoenix_v2]") # Phoenix 2.0
# set(ARDUINO_BOARD "NodeMCU 0.9 (ESP-12 Module) [esp8266.nodemcu]") # NodeMCU 0.9 (ESP-12 Module)
# set(ARDUINO_BOARD "NodeMCU 1.0 (ESP-12E Module) [esp8266.nodemcuv2]") # NodeMCU 1.0 (ESP-12E Module)
# set(ARDUINO_BOARD "Olimex MOD-WIFI-ESP8266(-DEV) [esp8266.modwifi]") # Olimex MOD-WIFI-ESP8266(-DEV)
# set(ARDUINO_BOARD "SparkFun ESP8266 Thing [esp8266.thing]") # SparkFun ESP8266 Thing
# set(ARDUINO_BOARD "SparkFun ESP8266 Thing Dev [esp8266.thingdev]") # SparkFun ESP8266 Thing Dev
# set(ARDUINO_BOARD "SweetPea ESP-210 [esp8266.esp210]") # SweetPea ESP-210
# set(ARDUINO_BOARD "LOLIN(WEMOS) D1 R2 & mini [esp8266.d1_mini]") # LOLIN(WEMOS) D1 R2 & mini
# set(ARDUINO_BOARD "LOLIN(WEMOS) D1 mini Pro [esp8266.d1_mini_pro]") # LOLIN(WEMOS) D1 mini Pro
# set(ARDUINO_BOARD "LOLIN(WEMOS) D1 mini Lite [esp8266.d1_mini_lite]") # LOLIN(WEMOS) D1 mini Lite
# set(ARDUINO_BOARD "WeMos D1 R1 [esp8266.d1]") # WeMos D1 R1
# set(ARDUINO_BOARD "ESPino (ESP-12 Module) [esp8266.espino]") # ESPino (ESP-12 Module)
# set(ARDUINO_BOARD "ThaiEasyElec's ESPino [esp8266.espinotee]") # ThaiEasyElec's ESPino
# set(ARDUINO_BOARD "WifInfo [esp8266.wifinfo]") # WifInfo
# set(ARDUINO_BOARD "Arduino [esp8266.arduino-esp8266]") # Arduino
# set(ARDUINO_BOARD "4D Systems gen4 IoD Range [esp8266.gen4iod]") # 4D Systems gen4 IoD Range
# set(ARDUINO_BOARD "Digistump Oak [esp8266.oak]") # Digistump Oak
# set(ARDUINO_BOARD "WiFiduino [esp8266.wifiduino]") # WiFiduino
# set(ARDUINO_BOARD "Amperka WiFi Slot [esp8266.wifi_slot]") # Amperka WiFi Slot
# set(ARDUINO_BOARD "Seeed Wio Link [esp8266.wiolink]") # Seeed Wio Link
# set(ARDUINO_BOARD "ESPectro Core [esp8266.espectro]") # ESPectro Core
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Arduino boards.
# Platform: Atmel AVR Xplained-minis
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# set(ARDUINO_BOARD "Atmel atmega328p Xplained mini [avr.atmega328p_xplained_mini]") # Atmel atmega328p Xplained mini
# set(ARDUINO_BOARD "Atmel atmega328pb Xplained mini [avr.atmega328pb_xplained_mini]") # Atmel atmega328pb Xplained mini
# set(ARDUINO_BOARD "Atmel atmega168pb Xplained mini [avr.atmega168pb_xplained_mini]") # Atmel atmega168pb Xplained mini
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Arduino boards.
# Platform: Arduino megaAVR Boards
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# set(ARDUINO_BOARD "Arduino Uno WiFi Rev2 [megaavr.uno2018]") # Arduino Uno WiFi Rev2
# set(ARDUINO_BOARD "Arduino Nano Every [megaavr.nona4809]") # Arduino Nano Every
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Arduino boards.
# Platform: Atmel AVR Xplained-minis
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# set(ARDUINO_BOARD "Atmel atmega328p Xplained mini [avr.atmega328p_xplained_mini]") # Atmel atmega328p Xplained mini
# set(ARDUINO_BOARD "Atmel atmega328pb Xplained mini [avr.atmega328pb_xplained_mini]") # Atmel atmega328pb Xplained mini
# set(ARDUINO_BOARD "Atmel atmega168pb Xplained mini [avr.atmega168pb_xplained_mini]") # Atmel atmega168pb Xplained mini
Menu options etc...
Now that I paste the file, I see that it seems to find all platforms but the avr/1.6.23
one
I have fixed this issue, but still working on a stable commit that can be pushed.
The problem is due to "Atmel AVR Xplained-minis" discovery overwriting the previous "AVR" discovery. That is the reason why BoardOptions.txt contains duplicate sections for "Atmel AVR Xplained-minis".
Until I push the fix for this issue in few days, please rename the folder /home/blasco/.arduino15/packages/atmel-avr-xminis to something like /home/blasco/.arduino15/packages/atmel-avr-xminis.bak.
This issue is fixed in the current master branch. Please reopen if you still face issue.
@a9183756-gh Quick somewhat related question - I just got myself an Arduino Nano with an Atmel M328P - Can I just choose the Atmega328P one?
It seems to be looking at the right places:
I can see that there is a Arduino Nano option in boards.txt for
And I can see the arduino nano in board.txt there:
Nevertheless, I don't see arduino nano related content in platform.txt
Is the script currently looking only at platform txt? What do I need to change to make it work with nano? Thank you for the great project