8000 Switch default FW to "2.2.2-dev(38a443e)" (menu:2.2.1+100) by d-a-v · Pull Request #6272 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Switch default FW to "2.2.2-dev(38a443e)" (menu:2.2.1+100) #6272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 9, 2019
Prev Previous commit
Next Next commit
serial speed defaults to 921k in menu for all boards (testing, since …
…esptool.py)
  • Loading branch information
d-a-v committed Jul 8, 2019
commit 3a1bc9526926afa2f26dbcfd431097f825919843
1 change: 0 additions & 1 deletion doc/boards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ Parameters in Arduino IDE:
- Card: "WEMOS D1 Mini Lite"
- Flash Size: "1M (512K SPIFFS)"
- CPU Frequency: "80 Mhz"
- Upload Speed: "230400"

Power:
~~~~~~
Expand Down
16 changes: 8 additions & 8 deletions tools/boards.txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
'flashfreq_40',
'4M',
],
'serial': '57',
# 'serial': '57',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why disabling the hardcoded serial speeds? If it's 921 it will silently use 400k. If it's 56K, there might be a HW reason for it on those specific boards....

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(like a really, really cheap USB<->serial chip, or high resistance/capacitance on the lines due to something else like LEDs sharing the pin, etc.)

Copy link
Collaborator Author
@d-a-v d-a-v Jul 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. I was wrongly thinking esptool would try at lower rates.
I will revert this.
edit: done

'desc': [ '*TODO*' ],
}),
( 'd1_mini', {
Expand All @@ -557,7 +557,7 @@
'flashfreq_40',
'4M',
],
'serial': '921',
# 'serial': '921',
'desc': [ 'Product page: https://www.wemos.cc/' ],
}),
( 'd1_mini_pro', {
Expand All @@ -572,7 +572,7 @@
'flashfreq_40',
'16M',
],
'serial': '921',
# 'serial': '921',
'desc': [ 'Product page: https://www.wemos.cc/' ],
}),
( 'd1_mini_lite', {
Expand All @@ -587,7 +587,7 @@
'flashfreq_40',
'1M',
],
'serial': '921',
# 'serial': '921',
'desc': [
'Parameters in Arduino IDE:',
'~~~~~~~~~~~~~~~~~~~~~~~~~~',
Expand Down Expand Up @@ -625,7 +625,7 @@
'flashfreq_40',
'4M',
],
'serial': '921',
# 'serial': '921',
'desc': [ 'Product page: https://www.wemos.cc/' ],
}),
( 'espino', {
Expand Down Expand Up @@ -767,7 +767,7 @@
'flashfreq_40',
'4M',
],
'serial': '921',
# 'serial': '921',
'desc': [ 'The Oak requires an `Serial Adapter`_ for a serial connection or flashing; its micro USB port is only for power.',
'',
'To make a serial connection, wire the adapter\'s **TX to P3**, **RX to P4**, and **GND** to **GND**. Supply 3.3v from the serial adapter if not already powered via USB.',
Expand All @@ -787,7 +787,7 @@
'flashfreq_40',
'4M',
],
'serial': '921',
# 'serial': '921',
'desc': [ 'Product page: https://wifiduino.com/esp8266' ],
}),
( 'wifi_slot', {
Expand Down Expand Up @@ -1573,7 +1573,7 @@ def usage (name,ret):
# entry point

lwip = 2
default_speed = '115'
default_speed = '921'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little worried here about the speed change, see above comment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speed change is now reverted.

led_default = 2
led_max = 16
nofloat = False
Expand Down
0