aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-11-10 08:23:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-11-10 08:23:59 +0000
commitd672c60a80d0a00473a4c86fe5ab44f34730b36f (patch)
treeb505d8708c14f04607373d56681e78768cb3b8fe /demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
parente101c0af715bcc3881647cf88523935682daf8de (diff)
downloadChibiOS-d672c60a80d0a00473a4c86fe5ab44f34730b36f.tar.gz
ChibiOS-d672c60a80d0a00473a4c86fe5ab44f34730b36f.tar.bz2
ChibiOS-d672c60a80d0a00473a4c86fe5ab44f34730b36f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4810 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h')
0 files changed, 0 insertions, 0 deletions
'>132 133 134 135 136 137 138 139 140
# More Detailed `make` Instructions

The full syntax of the `make` command is `<keyboard_folder>:<keymap>:<target>`, where:

* `<keyboard_folder>` is the path of the keyboard, for example `planck`
  * Use `all` to compile all keyboards
  * Specify the path to compile a revision, for example `planck/rev4` or `planck/rev3`
  * If the keyboard doesn't have any folders, it can be left out
  * To compile the default folder, you can leave it out
* `<keymap>` is the name of the keymap, for example `algernon`
  * Use `all` to compile all keymaps
* `<target>` will be explained in more detail below.

The `<target>` means the following
* If no target is given, then it's the same as `all` below
* `all` compiles as many keyboard/revision/keymap combinations as specified. For example, `make planck/rev4:default` will generate a single .hex, while `make planck/rev4:all` will generate a hex for every keymap available to the planck.
* `dfu`, `teensy` or `dfu-util`, compile and upload the firmware to the keyboard. If the compilation fails, then nothing will be uploaded. The programmer to use depends on the keyboard. For most keyboards it's `dfu`, but for ChibiOS keyboards you should use `dfu-util`, and `teensy` for standard Teensys. To find out which command you should use for your keyboard, check the keyboard specific readme.
 * **Note**: some operating systems need root access for these commands to work, so in that case you need to run for example `sudo make planck/rev4:default:dfu`.
* `clean`, cleans the build output folders to make sure that everything is built from scratch. Run this before normal compilation if you have some unexplainable problems.

You can also add extra options at the end of the make command line, after the target

* `make COLOR=false` - turns off color output
* `make SILENT=true` - turns off output besides errors/warnings
* `make VERBOSE=true` - outputs all of the gcc stuff (not interesting, unless you need to debug)
* `make EXTRAFLAGS=-E` - Preprocess the code without doing any compiling (useful if you are trying to debug #define commands)