Skip to content

simplify creation of Serial1 #47

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

Closed
ladyada opened this issue Nov 13, 2016 · 2 comments
Closed

simplify creation of Serial1 #47

ladyada opened this issue Nov 13, 2016 · 2 comments

Comments

@ladyada
Copy link
Contributor

ladyada commented Nov 13, 2016

since Serial is hardcoded for debug, its nice to use one of the extra uarts for talkin' to a GPS

this diff:
adafruit@1bf6318
makes it easier, just add HardwareSerial Serial1(2); and in setup: Serial1.begin(115200);

note that uart #1 is not available because it is shared with SPI flash, so it was not tested. uart #2 works great on gpio #16 + #17. no other gpio's are available

@me-no-dev
Copy link
Member

I'm totally cool with this :) You want to PR the change, or do you want me to add it together with shiftIn/Out stuff? Also if flash is DIO, UART1 should be available.

@me-no-dev
Copy link
Member

added here thanks!

@ladyada ladyada closed this as completed Nov 13, 2016
Lzw655 pushed a commit to Lzw655/arduino-esp32 that referenced this issue Oct 12, 2023
on commit deacf43

sdkconfig modifications to build libraries with compile optimization to size (-Os)
keep all the bootloaders with -Os and no boot messages
changes max number of sockets from 10 to 16
disables LWIP "Experimental PPP and SLIP" because it adds about 60K to the binary size and it's not used in Arduino
on commit a133257

sets WIFI LWIP to try first to allocate from SPIRAM on esp32 (this is esp32s2 default configuration)
defines SPIRAM_MALLOC_ALWAYSINTERNAL to 4096 bytes on esp32 (same as default for esp32s2)
disables SPIRAM_MALLOC_RESERVE_INTERNAL on both esp32 and esp32s2 to release more RAM to heap
Related PRs in Arduino-ESP32:
espressif#5789
espressif#5791

Related issue:
espressif#5699
espressif#5474
espressif#5630
espressif#5751
brentru pushed a commit to adafruit/arduino-esp32 that referenced this issue Oct 22, 2024
* Note about installing multiple libraries

* "Hack" on how to install external libraries

* Explaining what ARDUINO_IDE_VERSION="1.8.7" does

The script usually chooses the newset stable version

* typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants