You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first time I do not find an configuration file (pin_mapping.json) for download and I create an own.
I hadn't do this If I am aware that into the docs/DeviceProfiles/ is allready an json file named opendtu_fusion.json. ;)
It have to be optimized, because the littleFS seems to be now an big Filesystem with 1600kb. So the OTA partitions can be made bigger
and the spiffs smaller. You can play arround with this partitionmaker to do this. I will change this in the next time.
Then I want to use the PSRAM I payed for. In the standard confguration it was switched off.
I found an ESP32-S3-DevKitC-1-N8R2.json from Wolles ESP32 Miniradio since this board seems not to be available from PlatformIO. ESP32-S3-DevKitC-1-N8R2.json
I made an "Boards" directory and copied it inside.
Into this json I changed the option from -DARDUINO_USB_CDC_ON_BOOT=0 to "1" and switched it off into the PlattformIO.ini
You can also let it on and uncomment it into the json file instead, as you like.
Into the section fusionv2 I changed the board to get the 2MB PSRAM and full 8MB flash instead of 4MB Flash and zero PSRAM.
[env:opendtufusionv2]
**;board = esp32-s3-devkitc-1
board = ESP32-S3-DevKitC-1-N8R2 ; 8 MB Flash, 2MB quad PSRAM ,
to use the jsonfile OpenDTU-OnBattery\boards\ESP32-S3-DevKitC-1-N8R2.json
board_build.partitions = partitions_custom_8mb.csv ; to use this you have to erase the full flash before, because I got some trouble
with the LittleFS Filesystem!**
upload_protocol = esp-builtin
debug_tool = esp-builtin
debug_speed = 12000
build_flags = ${env.build_flags}
-DHOYMILES_PIN_MISO=48
-DHOYMILES_PIN_MOSI=35
-DHOYMILES_PIN_SCLK=36
-DHOYMILES_PIN_IRQ=47
-DHOYMILES_PIN_CE=38
-DHOYMILES_PIN_CS=37
-DLED0=17
-DLED1=18
-DCMT_CLK=6
-DCMT_CS=4
-DCMT_FCS=21
-DCMT_GPIO2=3
-DCMT_GPIO3=8
-DCMT_SDIO=5
-DARDUINO_USB_MODE=1 ;-DARDUINO_USB_CDC_ON_BOOT=1 in "Board Json "ESP32-S3-DevKitC-1-N8R2" I activate this option instead.
-DBOARD_HAS_PSRAM ; not sure if this necessary.
Now my systeminfo looks like this:
May be there is an easier way to get the full PSRAM........
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I purchased an OPEN DTU Fusion V2 Board:
In the first time I do not find an configuration file (pin_mapping.json) for download and I create an own.
I hadn't do this If I am aware that into the docs/DeviceProfiles/ is allready an json file named opendtu_fusion.json. ;)
Since I do not found any 8MB Partion I create one, thanks to https://esp32.jgarrettcorbin.com/
partitions_custom_8mb.csv
It have to be optimized, because the littleFS seems to be now an big Filesystem with 1600kb. So the OTA partitions can be made bigger
and the spiffs smaller. You can play arround with this partitionmaker to do this. I will change this in the next time.
Then I want to use the PSRAM I payed for. In the standard confguration it was switched off.
I found an ESP32-S3-DevKitC-1-N8R2.json from Wolles ESP32 Miniradio since this board seems not to be available from PlatformIO.
ESP32-S3-DevKitC-1-N8R2.json
I made an "Boards" directory and copied it inside.
Into this json I changed the option from -DARDUINO_USB_CDC_ON_BOOT=0 to "1" and switched it off into the PlattformIO.ini
You can also let it on and uncomment it into the json file instead, as you like.
Into the section fusionv2 I changed the board to get the 2MB PSRAM and full 8MB flash instead of 4MB Flash and zero PSRAM.
[env:opendtufusionv2]
**;board = esp32-s3-devkitc-1
board = ESP32-S3-DevKitC-1-N8R2 ; 8 MB Flash, 2MB quad PSRAM ,
to use the jsonfile OpenDTU-OnBattery\boards\ESP32-S3-DevKitC-1-N8R2.json
board_build.partitions = partitions_custom_8mb.csv ; to use this you have to erase the full flash before, because I got some trouble
with the LittleFS Filesystem!**
upload_protocol = esp-builtin
debug_tool = esp-builtin
debug_speed = 12000
build_flags = ${env.build_flags}
-DHOYMILES_PIN_MISO=48
-DHOYMILES_PIN_MOSI=35
-DHOYMILES_PIN_SCLK=36
-DHOYMILES_PIN_IRQ=47
-DHOYMILES_PIN_CE=38
-DHOYMILES_PIN_CS=37
-DLED0=17
-DLED1=18
-DCMT_CLK=6
-DCMT_CS=4
-DCMT_FCS=21
-DCMT_GPIO2=3
-DCMT_GPIO3=8
-DCMT_SDIO=5
-DARDUINO_USB_MODE=1
;-DARDUINO_USB_CDC_ON_BOOT=1 in "Board Json "ESP32-S3-DevKitC-1-N8R2" I activate this option instead.
-DBOARD_HAS_PSRAM ; not sure if this necessary.
Now my systeminfo looks like this:
May be there is an easier way to get the full PSRAM........
I hope this is usefull.
Beta Was this translation helpful? Give feedback.
All reactions