comparison wiki/Detailed CPU1-Discovery Project.md @ 568:1eee6fb108cb

Minor: Update the documentation for building the code
author heinrichsweikamp
date Sun, 29 Nov 2020 11:41:03 +0100
parents 0e7c16dd774d
children 8d95bab5bf6a
comparison
equal deleted inserted replaced
567:1c95f811967c 568:1eee6fb108cb
57 57
58 Ok, sources are there. You can read them. But you need a few more efforts to let the IDE find everything he requires to compile _CPU1 Discovery_ firmware. 58 Ok, sources are there. You can read them. But you need a few more efforts to let the IDE find everything he requires to compile _CPU1 Discovery_ firmware.
59 59
60 ## Add include paths ## 60 ## Add include paths ##
61 61
62 1. Select your top-level project, right-click to edit `properties`. In `C/C++ Build` choose `Settings`, then `MCU GCC Compiler` and `Includes`. **Make sure to select `Configuration: [All Configurations]` **. Click `Add...` choose `Workspace...` and select the `Common/Drivers/CMIS_v210` directory. 62 1. Select your top-level project, right-click to edit `properties`. In `C/C++ Build` choose `Settings`, then `MCU GCC Compiler` and `Includes`. **Make sure to select `Configuration: [All Configurations]` **. Click `Add...` choose `Workspace...` and select the `Common/Drivers/CMIS/Include` directory.
63 2. Do the same for `Common/Drivers/STM32F4xx_v220/Include` directory. 63 2. Do the same for `Common/Drivers/STM32F4xx/Include` directory.
64 3. Do the same for `Common/Drivers/STM32F4xx_HAL_DRIVER_v120/Inc` directory. 64 3. Do the same for `Common/Drivers/STM32F4xx_HAL_DRIVER/Inc` directory.
65 4. Do the same for `Common/Inc` directory. 65 4. Do the same for `Common/Inc` directory.
66 5. Do the same for `Discovery/Inc` directory. 66 5. Do the same for `Discovery/Inc` directory.
67 6. Use the _Move Up_ icon to make sure `Discovery/Inc` is first. 67 6. Use the _Move Up_ icon to make sure `Discovery/Inc` is first.
68 7. Use the `Configuration:` pop-up to check you have all the includes in both `Debug` and `Release` configuration. 68 7. Use the `Configuration:` pop-up to check you have all the includes in both `Debug` and `Release` configuration.
69 69