V1.0 硬件文档与软件算法部分初稿

This commit is contained in:
Michael Chemic 2024-07-25 11:53:36 +08:00
parent 30de808b4c
commit ddb3482908
28 changed files with 16 additions and 96 deletions

View File

@ -177,8 +177,8 @@ int main(void)
/* USER CODE BEGIN 2 */ /* USER CODE BEGIN 2 */
// HAL_TIM_Base_Start_IT(&htim3); // HAL_TIM_Base_Start_IT(&htim3);
// // 配置 NVIC 中断优先级和使能 // // 配置 NVIC 中断优先级和使能
// HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0); // HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0);
// HAL_NVIC_EnableIRQ(TIM3_IRQn); // HAL_NVIC_EnableIRQ(TIM3_IRQn);

View File

@ -1,5 +1,5 @@
build: build:
generated-by: csolution version 2.5.0 generated-by: csolution version 2.4.0
solution: STM32G474RETx_Demo_Blink.csolution.yml solution: STM32G474RETx_Demo_Blink.csolution.yml
project: STM32G474RETx_Demo_Blink.cproject.yml project: STM32G474RETx_Demo_Blink.cproject.yml
context: STM32G474RETx_Demo_Blink+STM32G474RETxDemoBlink context: STM32G474RETx_Demo_Blink+STM32G474RETxDemoBlink
@ -96,12 +96,8 @@ build:
- RTE/_STM32G474RETxDemoBlink - RTE/_STM32G474RETxDemoBlink
- ${CMSIS_PACK_ROOT}/ARM/CMSIS/5.9.0/CMSIS/Core/Include - ${CMSIS_PACK_ROOT}/ARM/CMSIS/5.9.0/CMSIS/Core/Include
- ${CMSIS_PACK_ROOT}/Keil/STM32G4xx_DFP/1.6.0/Drivers/CMSIS/Device/ST/STM32G4xx/Include - ${CMSIS_PACK_ROOT}/Keil/STM32G4xx_DFP/1.6.0/Drivers/CMSIS/Device/ST/STM32G4xx/Include
add-path-asm:
- RTE/_STM32G474RETxDemoBlink
- ${CMSIS_PACK_ROOT}/ARM/CMSIS/5.9.0/CMSIS/Core/Include
- ${CMSIS_PACK_ROOT}/Keil/STM32G4xx_DFP/1.6.0/Drivers/CMSIS/Device/ST/STM32G4xx/Include
output-dirs: output-dirs:
intdir: tmp intdir: tmp/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink
outdir: out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink outdir: out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink
rtedir: RTE rtedir: RTE
output: output:

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd"> <cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd">
<created timestamp="2024-07-24T23:00:37" tool="csolution 2.4.0"/> <created timestamp="2024-07-24T23:11:49" tool="csolution 2.4.0"/>
<info isLayer="false"> <info isLayer="false">
<description>Automatically generated project</description> <description>Automatically generated project</description>

View File

@ -1,7 +1,6 @@
build-idx: build-idx:
generated-by: csolution version 2.5.0 generated-by: csolution version 2.4.0
csolution: STM32G474RETx_Demo_Blink.csolution.yml csolution: STM32G474RETx_Demo_Blink.csolution.yml
tmpdir: tmp
cprojects: cprojects:
- cproject: STM32G474RETx_Demo_Blink.cproject.yml - cproject: STM32G474RETx_Demo_Blink.cproject.yml
cbuilds: cbuilds:

View File

@ -4,7 +4,7 @@
1231 1934 7435158249830086 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_pwr.o 423ff85f281b7935 1231 1934 7435158249830086 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_pwr.o 423ff85f281b7935
107 591 7435158238586267 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/fdcan.o 90905e4fa0b37e80 107 591 7435158238586267 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/fdcan.o 90905e4fa0b37e80
142 643 7435158238924142 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/gpio.o dfb84a660c2a450b 142 643 7435158238924142 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/gpio.o dfb84a660c2a450b
18 607 7435275989968619 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/main.o c37beb02a0084cec 27 566 7435364403771279 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/main.o c37beb02a0084cec
305 844 7435158240554157 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/stm32g4xx_it.o a8fa77ac47c8353c 305 844 7435158240554157 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/stm32g4xx_it.o a8fa77ac47c8353c
177 692 7435158239284148 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/i2c.o 4383b003ca70ae35 177 692 7435158239284148 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/i2c.o 4383b003ca70ae35
263 791 7435158240144158 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/stm32g4xx_hal_msp.o b41d7983174e2003 263 791 7435158240144158 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/stm32g4xx_hal_msp.o b41d7983174e2003
@ -41,8 +41,8 @@
1116 2835 7435158248668738 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_i2c.o 1b7530196ab88eca 1116 2835 7435158248668738 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_i2c.o 1b7530196ab88eca
1583 2934 7435158253344560 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart.o 4495500b23fa23e5 1583 2934 7435158253344560 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart.o 4495500b23fa23e5
1459 3030 7435158252098110 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.o fcc92cb73e4d0466 1459 3030 7435158252098110 CMakeFiles/STM32G474RETx_Demo_Blink.dir/6640f704c74bec87956bb9adb54f2f29/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.o fcc92cb73e4d0466
609 1139 7435275995873478 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/STM32G474RETx_Demo_Blink.axf a54d3d95e47e8b18 568 873 7435364409184520 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/STM32G474RETx_Demo_Blink.axf a54d3d95e47e8b18
17 243 7435355675606988 CMakeFiles/database 7dba96e7cd4e65ce 17 243 7435355675606988 CMakeFiles/database 7dba96e7cd4e65ce
17 243 7435355675606988 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/tmp/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/CMakeFiles/database 7dba96e7cd4e65ce 17 243 7435355675606988 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/tmp/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/CMakeFiles/database 7dba96e7cd4e65ce
27 566 7435364403771279 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/main.o c37beb02a0084cec 22 549 7435371133122182 CMakeFiles/STM32G474RETx_Demo_Blink.dir/C_/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/Core/Src/main.o c37beb02a0084cec
568 873 7435364409184520 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/STM32G474RETx_Demo_Blink.axf a54d3d95e47e8b18 551 887 7435371138414729 C:/Users/Michael_Chemic/Desktop/STM32G4-DRV8301-FOC/MDK-ARM/out/STM32G474RETx_Demo_Blink/STM32G474RETxDemoBlink/STM32G474RETx_Demo_Blink.axf a54d3d95e47e8b18

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View File

@ -4,7 +4,11 @@
<instance-profile id="in" <instance-profile id="in"
name="Instance Name" name="Instance Name"
start-page="starter.md"> >
<toc-element topic="starter.md"/> <toc-element toc-title="Writerside">
<toc-element toc-title="topics">
<toc-element topic="Writerside_topics_starter.md"/>
</toc-element>
</toc-element>
</instance-profile> </instance-profile>

View File

@ -1,79 +0,0 @@
# Starter
<!--Writerside adds this topic when you create a new documentation project.
You can use it as a sandbox to play with Writerside features, and remove it from the TOC when you don't need it anymore.-->
## Add new topics
You can create empty topics, or choose a template for different types of content that contains some boilerplate structure to help you get started:
![Create new topic options](new_topic_options.png){ width=290 }{border-effect=line}
## Write content
%product% supports two types of markup: Markdown and XML.
When you create a new help article, you can choose between two topic types, but this doesn't mean you have to stick to a single format.
You can author content in Markdown and extend it with semantic attributes or inject entire XML elements.
## Inject XML
For example, this is how you inject a procedure:
<procedure title="Inject a procedure" id="inject-a-procedure">
<step>
<p>Start typing and select a procedure type from the completion suggestions:</p>
<img src="completion_procedure.png" alt="completion suggestions for procedure" border-effect="line"/>
</step>
<step>
<p>Press <shortcut>Tab</shortcut> or <shortcut>Enter</shortcut> to insert the markup.</p>
</step>
</procedure>
## Add interactive elements
### Tabs
To add switchable content, you can make use of tabs (inject them by starting to type `tab` on a new line):
<tabs>
<tab title="Markdown">
<code-block lang="plain text">![Alt Text](new_topic_options.png){ width=450 }</code-block>
</tab>
<tab title="Semantic markup">
<code-block lang="xml">
<![CDATA[<img src="new_topic_options.png" alt="Alt text" width="450px"/>]]></code-block>
</tab>
</tabs>
### Collapsible blocks
Apart from injecting entire XML elements, you can use attributes to configure the behavior of certain elements.
For example, you can collapse a chapter that contains non-essential information:
#### Supplementary info {collapsible="true"}
Content under a collapsible header will be collapsed by default,
but you can modify the behavior by adding the following attribute:
`default-state="expanded"`
### Convert selection to XML
If you need to extend an element with more functions, you can convert selected content from Markdown to semantic markup.
For example, if you want to merge cells in a table, it's much easier to convert it to XML than do this in Markdown.
Position the caret anywhere in the table and press <shortcut>Alt+Enter</shortcut>:
<img src="convert_table_to_xml.png" alt="Convert table to XML" width="706" border-effect="line"/>
## Feedback and support
Please report any issues, usability improvements, or feature requests to our
<a href="https://youtrack.jetbrains.com/newIssue?project=WRS">YouTrack project</a>
(you will need to register).
You are welcome to join our
<a href="https://jb.gg/WRS_Slack">public Slack workspace</a>.
Before you do, please read our [Code of conduct](https://plugins.jetbrains.com/plugin/20158-writerside/docs/writerside-code-of-conduct.html).
We assume that youve read and acknowledged it before joining.
You can also always email us at [writerside@jetbrains.com](mailto:writerside@jetbrains.com).
<seealso>
<category ref="wrs">
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/markup-reference.html">Markup reference</a>
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/manage-table-of-contents.html">Reorder topics in the TOC</a>
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/local-build.html">Build and publish</a>
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/configure-search.html">Configure Search</a>
</category>
</seealso>