Mercurial > public > ostc4
diff wiki/Detailed CPU1-Discovery Project.md @ 589:8d95bab5bf6a
Minor: Update the documentation for building the code
author | heinrichsweikamp |
---|---|
date | Thu, 17 Dec 2020 10:58:28 +0100 |
parents | 1eee6fb108cb |
children |
line wrap: on
line diff
--- a/wiki/Detailed CPU1-Discovery Project.md Thu Dec 17 09:52:12 2020 +0100 +++ b/wiki/Detailed CPU1-Discovery Project.md Thu Dec 17 10:58:28 2020 +0100 @@ -80,7 +80,7 @@ ## Prepare generation of bin file ## 1. Select your top-level project, right-click to edit `properties`. In `C/C++ Build` choose `Settings`, then tab `Build Steps` and `Post build step command`. -2. Add option -R .upper\* to the command to removed the upper memory section, which is provided by the font library =>arm-none-eabi-objcopy -R .upper\* -O binary "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.bin"; arm-none-eabi-size "${BuildArtifactFileName}" +2. Add option -R .upper\* and -R.font_firmware_data to the command to removed the upper memory section, which is provided by the font library =>arm-none-eabi-objcopy -R .upper\* -R.font_firmware_data -O binary "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.bin"; arm-none-eabi-size "${BuildArtifactFileName}" ## Build ELF firmware ##