1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Add Crystal Frequency menu item for Generic module

The Generic ESP8266 Module provides the basis to compile for anything not on the current list.  Although most current boards use the 26MHz crystal, there are many using the 40MHz.  This change permits these to be readily accommodated as generic ESP8266 boards.
This commit is contained in:
Jim Watson 2017-05-24 14:15:00 +01:00 committed by Ivan Grokhotkov
parent 8166263c0d
commit db8868da1d

View File

@ -38,6 +38,10 @@ generic.menu.CpuFrequency.80.build.f_cpu=80000000L
generic.menu.CpuFrequency.160=160 MHz
generic.menu.CpuFrequency.160.build.f_cpu=160000000L
generic.menu.CrystalFreq.26=26 MHz
generic.menu.CrystalFreq.40=40 MHz
generic.menu.CrystalFreq.40.build.extra_flags=-DF_CRYSTAL=40000000
generic.menu.FlashFreq.40=40MHz
generic.menu.FlashFreq.40.build.flash_freq=40
generic.menu.FlashFreq.80=80MHz