فهرست منبع

More README fixes

ObKo 10 سال پیش
والد
کامیت
bccc28be97
1فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 7 7
      README.md

+ 7 - 7
README.md

@@ -31,7 +31,7 @@ Template project can be found in stm32-template folder.
 ## Configure
 ## Configure
 Common usage:
 Common usage:
 
 
- ```cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Debug <path_to_source_dir>```
+ ``` cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Debug <path_to_source_dir> ```
 
 
 Where <chip> - stm32 chip name (e.g. STM32F100C8, STM32F407IG). 
 Where <chip> - stm32 chip name (e.g. STM32F100C8, STM32F407IG). 
 This command will generate Makefile for project.
 This command will generate Makefile for project.
@@ -43,25 +43,25 @@ You can set this parameters directly using following cmake variables:
 
 
 For using with Eclipse CDT:
 For using with Eclipse CDT:
 
 
- ```cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Debug -G "Eclipse CDT4 - Unix Makefiles" <path_to_source_dir>```
+ ``` cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Debug -G "Eclipse CDT4 - Unix Makefiles" <path_to_source_dir> ```
 
 
 For release build:
 For release build:
 
 
- ```cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Release <path_to_source_dir>```
+ ``` cmake -DSTM32_CHIP=<chip> -DCMAKE_TOOLCHAIN_FILE=<path_to_gcc_stm32.cmake> -DCMAKE_BUILD_TYPE=Release <path_to_source_dir> ```
 
 
 ## Build
 ## Build
 
 
 To build elf file:
 To build elf file:
 
 
- ```make```
+ ``` make ```
  
  
 To build .hex:
 To build .hex:
 
 
- ```make <project name>.hex```
+ ``` make <project name>.hex ```
  
  
 or .bin:
 or .bin:
 
 
- ```make <project name>.bin```
+ ``` make <project name>.bin ```
 
 
 ## Linker script variables
 ## Linker script variables
 Next cmake variables are useful for linker tuning:
 Next cmake variables are useful for linker tuning:
@@ -86,4 +86,4 @@ Next cmake variables are useful for linker tuning:
 ## ChibiOS Support
 ## ChibiOS Support
 This projects also supports ChibiOS v3.x.x (both nil and rt kernels). 
 This projects also supports ChibiOS v3.x.x (both nil and rt kernels). 
 CMake modules for ChibiOS can find specified ChibiOS components using COMPONENTS directive. 
 CMake modules for ChibiOS can find specified ChibiOS components using COMPONENTS directive. 
-See project stm32-chibios for example usage. 
+See project stm32-chibios for example usage.