Skip to content

Commit

Permalink
Update platformio.ini (#43)
Browse files Browse the repository at this point in the history
The used CPU has 4MB of flash memory. With the default settings only 1310720 bytes are used for the program
Current omote with default settings: Flash: [========= ]  85.1% (used 1115225 bytes from 1310720 bytes)

Using a different partition table will solve this problem. 

As the OTA feature is not needed this partition can be used for the application.
With this partition table 3145728 bytes are available for the application

Flash: [====      ]  35.5% (used 1115225 bytes from 3145728 bytes)
  • Loading branch information
phant0mias authored Sep 27, 2023
1 parent 8e7d6e1 commit a42a756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ framework = arduino
monitor_speed = 115200
board_build.f_flash = 80000000L
board_build.f_cpu = 240000000L
board_build.partitions = huge_app.csv
upload_speed = 1000000
lib_deps =
sparkfun/SparkFun LIS3DH Arduino Library@^1.0.3
Expand Down

0 comments on commit a42a756

Please sign in to comment.