|
112 | 112 | '+-----------------+------------+------------------+',
|
113 | 113 | '| GND | | GND |',
|
114 | 114 | '+-----------------+------------+------------------+',
|
115 |
| - '| TX or GPIO2\* | | RX |', |
| 115 | + '| TX or GPIO2 | | |', |
| 116 | + '| [#tx_or_gpio2]_ | RX | |', |
116 | 117 | '+-----------------+------------+------------------+',
|
117 | 118 | '| RX | | TX |',
|
118 | 119 | '+-----------------+------------+------------------+',
|
119 | 120 | '| GPIO0 | PullUp | DTR |',
|
120 | 121 | '+-----------------+------------+------------------+',
|
121 |
| - '| Reset\* | PullUp | RTS |', |
| 122 | + '| Reset | | |', |
| 123 | + '| [#reset]_ | PullUp | RTS |', |
122 | 124 | '+-----------------+------------+------------------+',
|
123 |
| - '| GPIO15\* | PullDown | |', |
| 125 | + '| GPIO15 | | |', |
| 126 | + '| [#gpio15]_ | PullDown | |', |
124 | 127 | '+-----------------+------------+------------------+',
|
125 |
| - '| CH\_PD | PullUp | |', |
| 128 | + '| CH\\_PD | | |', |
| 129 | + '| [#ch_pd]_ | PullUp | |', |
126 | 130 | '+-----------------+------------+------------------+',
|
127 | 131 | '',
|
128 |
| - '- Note', |
129 |
| - '- GPIO15 is also named MTDO', |
130 |
| - '- Reset is also named RSBT or REST (adding PullUp improves the', |
| 132 | + '.. rubric:: Notes', |
| 133 | + '', |
| 134 | + '.. [#tx_or_gpio2] GPIO15 is also named MTDO', |
| 135 | + '.. [#reset] Reset is also named RSBT or REST (adding PullUp improves the', |
131 | 136 | ' stability of the module)',
|
132 |
| - '- GPIO2 is alternative TX for the boot loader mode', |
133 |
| - '- **Directly connecting a pin to VCC or GND is not a substitute for a', |
| 137 | + '.. [#gpio15] GPIO2 is alternative TX for the boot loader mode', |
| 138 | + '.. [#ch_pd] **Directly connecting a pin to VCC or GND is not a substitute for a', |
134 | 139 | ' PullUp or PullDown resistor, doing this can break upload management',
|
135 | 140 | ' and the serial console, instability has also been noted in some',
|
136 | 141 | ' cases.**',
|
|
161 | 166 | '+---------------+------------+------------------+',
|
162 | 167 | '| GPIO0 | | GND |',
|
163 | 168 | '+---------------+------------+------------------+',
|
164 |
| - '| Reset | | RTS\* |', |
| 169 | + '| Reset | | RTS [#rts]_ |', |
165 | 170 | '+---------------+------------+------------------+',
|
166 | 171 | '| GPIO15 | PullDown | |',
|
167 | 172 | '+---------------+------------+------------------+',
|
168 |
| - '| CH\_PD | PullUp | |', |
| 173 | + '| CH\\_PD | PullUp | |', |
169 | 174 | '+---------------+------------+------------------+',
|
170 | 175 | '',
|
171 |
| - '- Note', |
172 |
| - '- if no RTS is used a manual power toggle is needed', |
| 176 | + '.. rubric:: Notes', |
| 177 | + '', |
| 178 | + '.. [#rts] if no RTS is used a manual power toggle is needed', |
173 | 179 | '',
|
174 | 180 | 'Minimal Hardware Setup for Running only',
|
175 | 181 | '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',
|
|
187 | 193 | '+----------+------------+----------------+',
|
188 | 194 | '| GPIO15 | PullDown | |',
|
189 | 195 | '+----------+------------+----------------+',
|
190 |
| - '| CH\_PD | PullUp | |', |
| 196 | + '| CH\\_PD | PullUp | |', |
191 | 197 | '+----------+------------+----------------+',
|
192 | 198 | '',
|
193 | 199 | 'Minimal',
|
|
249 | 255 | 'boot mode',
|
250 | 256 | '~~~~~~~~~',
|
251 | 257 | '',
|
252 |
| - 'the first value respects the pin setup of the Pins 0, 2 and 15.', |
| 258 | + 'the first value respects the pin setup of the Pins 0, 2 and 15', |
| 259 | + '', |
| 260 | + '.. code-block::', |
| 261 | + '', |
| 262 | + ' Number = (GPIO15 << 2) | (GPIO0 << 1) | GPIO2', |
253 | 263 | '',
|
254 | 264 | '+----------+----------+---------+---------+-------------+',
|
255 | 265 | '| Number | GPIO15 | GPIO0 | GPIO2 | Mode |',
|
|
271 | 281 | '| 7 | 3.3V | 3.3V | 3.3V | SDIO |',
|
272 | 282 | '+----------+----------+---------+---------+-------------+',
|
273 | 283 | '',
|
274 |
| - 'note: - number = ((GPIO15 << 2) \| (GPIO0 << 1) \| GPIO2);', |
275 | 284 | ],
|
276 | 285 | }),
|
277 | 286 | ( 'esp8285', {
|
|
756 | 765 | ],
|
757 | 766 | 'desc': [ 'ESPino by ThaiEasyElec using WROOM-02 module from Espressif Systems with 4 MB Flash.',
|
758 | 767 | '',
|
759 |
| - 'We will update an English description soon. - Product page:', |
760 |
| - 'http://thaieasyelec.com/products/wireless-modules/wifi-modules/espino-wifi-development-board-detail.html', |
761 |
| - '- Schematics:', |
762 |
| - 'www.thaieasyelec.com/downloads/ETEE052/ETEE052\_ESPino\_Schematic.pdf -', |
763 |
| - 'Dimensions:', |
764 |
| - 'http://thaieasyelec.com/downloads/ETEE052/ETEE052\_ESPino\_Dimension.pdf', |
765 |
| - '- Pinouts:', |
766 |
| - 'http://thaieasyelec.com/downloads/ETEE052/ETEE052\_ESPino\_User\_Manual\_TH\_v1\_0\_20160204.pdf (Please see pg. 8)', |
| 768 | + '* Product page (retired product): https://www.thaieasyelec.com/product/%E0%B8%A2%E0%B8%81%E0%B9%80%E0%B8%A5%E0%B8%B4%E0%B8%81%E0%B8%88%E0%B8%B3%E0%B8%AB%E0%B8%99%E0%B9%88%E0%B8%B2%E0%B8%A2-retired-espino-wifi-development-board/11000833173001086', |
| 769 | + '* Schematics: https://downloads.thaieasyelec.com/ETEE052/ETEE052\\_ESPino\\_Schematic.pdf', |
| 770 | + '* Dimensions: https://downloads.thaieasyelec.com/ETEE052/ETEE052\\_ESPino\\_Dimension.pdf', |
| 771 | + '* Pinouts (Please see pg.8): https://downloads.thaieasyelec.com/ETEE052/ETEE052\\_ESPino\\_User\\_Manual\\_TH\\_v1\\_0\\_20160204.pdf', |
767 | 772 | ],
|
768 | 773 | }),
|
769 | 774 | ( 'wifinfo', {
|
@@ -1626,13 +1631,13 @@ def all_flash_map ():
|
1626 | 1631 | print("generated: flash map config file (in cores/esp8266/FlashMap.h)")
|
1627 | 1632 |
|
1628 | 1633 | return {
|
1629 |
| - 'autoflash': { |
1630 |
| - '.menu.eesz.autoflash': 'Mapping defined by Hardware and Sketch', |
1631 |
| - '.menu.eesz.autoflash.build.flash_size': '16M', |
1632 |
| - '.menu.eesz.autoflash.build.flash_ld': 'eagle.flash.auto.ld', |
1633 |
| - '.menu.eesz.autoflash.build.extra_flags': '-DFLASH_MAP_SUPPORT=1', |
1634 |
| - '.menu.eesz.autoflash.upload.maximum_size': '1044464', |
1635 |
| - }, |
| 1634 | + 'autoflash': collections.OrderedDict([ |
| 1635 | + ('.menu.eesz.autoflash', 'Mapping defined by Hardware and Sketch'), |
| 1636 | + ('.menu.eesz.autoflash.build.flash_size', '16M'), |
| 1637 | + ('.menu.eesz.autoflash.build.flash_ld', 'eagle.flash.auto.ld'), |
| 1638 | + ('.menu.eesz.autoflash.build.extra_flags', '-DFLASH_MAP_SUPPORT=1'), |
| 1639 | + ('.menu.eesz.autoflash.upload.maximum_size', '1044464') |
| 1640 | + ]), |
1636 | 1641 | '512K': f512,
|
1637 | 1642 | '1M': f1m,
|
1638 | 1643 | '2M': f2m,
|
|
0 commit comments