-
-
Notifications
You must be signed in to change notification settings - Fork 323
WIP: make the code compile for esp32 #1039
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
Draft
macbre
wants to merge
15
commits into
opendata-stuttgart:beta
Choose a base branch
from
macbre:esp32/fix
base: beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2008a38
Merge pull request #1024 from opendata-stuttgart/beta
ricki-z 55110d2
enable auto update
ricki-z 21951e0
Merge pull request #1025 from opendata-stuttgart/beta
ricki-z 27f6313
Update airrohr-firmware.ino
ricki-z b28ecd2
Update the Readme.md file
macbre 7d9c574
pio: add a new esp32 environment
macbre 1f8cca5
Pass the proper build flags
macbre 06748a9
Fix the erroring include of the hwcrypto/sha.h header file
macbre 523174e
WiFiEventHandler is defined for esp8266 only
macbre fcba7b4
ESP8266: Wire.setClockStretchLimit
macbre 8f6d51c
Add a ArduinoBearSSL dependency
macbre cc57e7a
Fix the String() ambiguity on esp32
macbre 8504031
CI: cache the dependencies
macbre 32c6a8c
Bump paulstoffregen/OneWire and add the arduino-libraries/ArduinoECCX08
macbre 258f0f9
Bump the software version
macbre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ board_build.f_cpu = 160000000L | |
; (like OneWire, LiquidCrystal_I2C and TinyGPSPlus) | ||
|
||
lib_deps_external = | ||
paulstoffregen/[email protected].5 | ||
paulstoffregen/[email protected].8 | ||
marcoschwartz/[email protected] | ||
adafruit/Adafruit BMP085 [email protected] | ||
adafruit/Adafruit HTU21DF [email protected] | ||
|
@@ -55,6 +55,8 @@ lib_deps_external = | |
bblanchon/[email protected] | ||
ThingPulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.3.0 | ||
mikalhart/[email protected] | ||
[email protected] ; https://registry.platformio.org/libraries/arduino-libraries/ArduinoBearSSL | ||
arduino-libraries/ArduinoECCX08@^1.3.8 | ||
|
||
; system libraries from platform -> no version number | ||
lib_deps_esp8266_platform = | ||
|
@@ -89,7 +91,7 @@ extra_scripts = platformio_script.py | |
# needs to be adjusted to the matching version from | ||
# https://github.com/platformio/platform-espressif8266/releases | ||
platform_version = [email protected] | ||
platform_version_esp32 = espressif32@1.11.1 ; using Arduino core 1.0.4 | ||
platform_version_esp32 = espressif32@6.9.0 | ||
|
||
[env] | ||
build_unflags = -Os | ||
|
@@ -468,3 +470,18 @@ board_build.filesystem = ${common.board_build.filesystem} | |
build_flags = ${common.build_flags} -DINTL_UA | ||
lib_deps = ${common.lib_deps_esp8266} | ||
extra_scripts = ${common.extra_scripts} | ||
|
||
[env:esp32] | ||
lang = en | ||
platform = ${common.platform_version_esp32} | ||
framework = arduino | ||
board = upesy_wroom ; https://docs.platformio.org/en/latest/boards/espressif32/upesy_wroom.html | ||
board_build.ldscript = ${common.board_build.ldscript} | ||
board_build.filesystem = ${common.board_build.filesystem} | ||
build_flags = ${common.build_flags_esp32_release} '-DINTL_EN' '-DESP32_WROOM_MODULE' | ||
lib_deps = ${common.lib_deps_esp32} | ||
extra_scripts = ${common.extra_scripts} | ||
; change microcontroller | ||
board_build.mcu = esp32 | ||
; change MCU frequency | ||
board_build.f_cpu = 240000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.