1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00
Files
esp8266/cores/esp8266
Earle F. Philhower, III bc2d4ec18b Allow GPIO 9 and 10 for waveform generation (#5055)
* Allow GPIO 9 and 10 for waveform generation

While most ESP8266 modules use quad-io mode for their SPI flash ROM,
there are some which only use dual-io mode.  Allow the unused pins
(GPIO 9 and 10) to have waveforms generated on them.  Should the user try
this on a quad-io mode board, expect very bad things to happen.

* Add variant for 8285 to init GPIO 9/10

The 8285 only has 2-bit flash IO, so the other two pins can be used as
inputs (9/10).  Set them to input to mirror the way other pins are set
up.

* Update waveform gen to only allow 9/10 on 8285

Update the common.h in both generic (remove TODO, it's done!) and the
8285 variant to make isFlashInterfacePin macro correct.  Use that macro
to disable pins 9 and 10 in the common, non-8285 case.
2018-09-17 22:58:06 -03:00
..
2017-12-08 02:08:54 -03:00
2018-08-26 13:47:01 -04:00
2017-01-31 10:07:59 +03:00
2016-05-20 10:20:04 +08:00
2016-05-20 10:20:04 +08:00
2018-03-09 12:47:22 +08:00
2018-03-09 12:47:22 +08:00
2018-04-02 07:37:21 -07:00
2017-05-12 01:03:14 -05:00
2018-09-10 01:50:01 -03:00
2016-03-03 02:13:22 +03:00
2016-05-26 12:53:48 +02:00
2014-12-01 00:34:28 +03:00