Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3096: Trim zero-length symbol aliases in print_tock_memory_usage r=bradjc a=phil-levis Some versions of LLVM insert lots of $t and $d symbols; these confuse print_tock_memory_usage's calculation of symbol sizes. This change filters which symbols are considered by only looking at .text symbols that are F (function) or O (object), trimming zero-length symbol aliases. ### Pull Request Overview This pull request changes print_tock_memory_usage to trim symbols which confuse its size calculations. ### Testing Strategy This pull request was tested by running the tool under MacOS. ### TODO or Help Wanted ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make prepush`. 3099: Enable all storage on nRF52840-DK #3098 r=bradjc a=TheConner ### Pull Request Overview This PR increases the userspace storage of the nRF52840-DK (re #3098) to use all of the available external flash on the board. New flash regions are as follows: Kernel: 0-0x60000 (384 Kb) Userspace: 0x60000-0x4000000 (63.625 Mb) For a total of 64Mb. ### Testing Strategy I built and installed the kernel on my nRF52740-DK, and used the [nonvolatile storage test application](https://github.com/tock/libtock-c/tree/master/examples/tests/nonvolatile_storage) to see how much storage is reported. All tests suceeded, and the correct amount of storage (66715648 bytes, 63.625Mb) is reported. ### TODO or Help Wanted Regarding testing, ideally there would be a test application to ensure all the flash is functioning correctly, instead of only 512 bytes. ### Documentation Updated - [x] N/A ### Formatting - [x] Ran `make prepush`. Co-authored-by: Philip Levis <pal@cs.stanford.edu> Co-authored-by: Conner Bradley <bradley@advtech.ca>
- Loading branch information