From fdd2423815d27bc20be21f8a4bf7dd4a27fd0320 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Wed, 17 May 2017 11:05:09 -0700 Subject: Re-arrange some Makefile instructions --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fe6574f..fe5c25e 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,7 @@ make tools [BOARD=freedom-e300-hifive1] If your machine has enough resources, you can speed up the build process by adding `-j n` to `make`, where `n` is the number of processors of your build system. -To compile a bare-metal RISC-V program: -``` -cd freedom-e-sdk -make software [PROGRAM=demo_gpio] [BOARD=freedom-e300-hifive1] -``` #### Using Pre-Built Binary Tools #### If you would like to avoid compiling the tools from source, they are @@ -83,6 +78,16 @@ If you would like to recompile the entire toolchain after performing the above: make uninstall make tools ``` +### Using the Tools ### + +To compile a bare-metal RISC-V program: + +``` +cd freedom-e-sdk +make software [PROGRAM=demo_gpio] [BOARD=freedom-e300-hifive1] +``` + +Run `make help` for more commands. ### Benchmarking ### -- cgit v1.2.3