Skip to content

Commit

Permalink
Changed instructions to build without bootloader support
Browse files Browse the repository at this point in the history
  • Loading branch information
itzandroidtab authored Aug 11, 2024
1 parent ba45bbb commit abe1a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Images can be found in the project logs at [hackaday](https://hackaday.io/projec
TOTP uses [klib](https://github.com/itzandroidtab/klib). This repo can be cloned in the klib project folder. See [build.yml](./.github/workflows/build.yml) for more info on compiling this project.

### Extra
Is intended to be used with [USB dfu bootloader](https://github.com/itzandroidtab/dfu_bootloader). To build without bootloader support delete `set(TARGET_LINKERSCRIPT ...)` from the `CMakeLists.txt` in this project.
Is intended to be used with [USB dfu bootloader](https://github.com/itzandroidtab/dfu_bootloader). To build without bootloader support remove the `+ 8k` and `- 8k` from line 20 in the `linkerscript.ld` of this project.

The LPC1756 does not have enough ram to hold a full framebuffer (240 * 135 * 2 = 64'800 bytes). To work around this issue, we use 2 smaller framebuffers we alternate between. While one framebuffer is being transferred to the screen using DMA we fill the other.

Expand Down

0 comments on commit abe1a96

Please sign in to comment.