Create a new component
How to create a new component? Below is an introduction of how to create a new project in CoIDE 2.0 Beta version, using STM32F407 discovery board as an example.
Step1: Click "Browse in Repository".

Step2: Select the manufacturer, and here we select ST.

Step3: Select the chip, and here we select STM32F407VG.

Step4: Click the chip name and select "New Component Project" to create a component project.


Step6: Add the library component of STM32F407. Find component "STM32F407xx_cmsisboot", download it, and add it to the project, CoIDE will generate a component project template for us automatically.

Step7: Accomplish file Hw_Component.h.

Step8: Accomplish file Component_config.h.

Step9: Accomplish file Conponent.c.

Step10: Accomplish file Component.h.

Step11: Modify the name of auto-generated file helloword.c and add it to the project, and then accomplish the example code of the component.

Step12: Write the index document for the code component.


