Updates to GCC ARM README.md for the ARCHFLAGS and correct file to update.

This commit is contained in:
David Garske 2017-09-20 11:43:00 -07:00
parent d4b18a6d3f
commit d88d8c3ed8
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
## Building ## Building
1. Make sure you have `gcc-arm-none-eabi` installed. 1. Make sure you have `gcc-arm-none-eabi` installed.
2. Modify the `Makefile` to point to correct `TOOLCHAIN_DIR`. 2. Modify the `Makefile.common` to use correct toolchain directory `TOOLCHAIN_DIR` and architecture 'ARCHFLAGS' (default is cortex-m0 / thumb). See [GCC ARM Options](https://gcc.gnu.org/onlinedocs/gcc-4.7.3/gcc/ARM-Options.html) `-mcpu=name`.
3. Use `make` and it will build both targets as `.elf` and `.hex` in `/Build`. 3. Use `make` and it will build the static library and wolfCrypt test/benchmark and wolfSSL TLS client targets as `.elf` and `.hex` in `/Build`.
Example: Example: