-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. disable SPI Cache 2. tune temp buffer size for incoming and outgoing packets Overall ~30% reduce in memory usage. Not that it was very high, but still.
- Loading branch information
1 parent
cb0168e
commit de18ca9
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
menu "sx127x" | ||
config SX127X_DISABLE_SPI_CACHE | ||
bool "Disable SPI cache" | ||
help | ||
Disable SPI cache to reduce memory footprint at a cost of longer SPI communication | ||
config SX127X_MAX_PACKET_SIZE | ||
int "Max packet size" | ||
default 2047 | ||
help | ||
Expected max packet size. Used to initialize internal buffer. Can be fine-tuned to reduce memory footprint. | ||
endmenu |
This file contains 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 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