Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flipperdevices/libusb_stm32.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfortysixandtwo <devrtz@fortysixandtwo.eu>2021-03-02 23:53:54 +0300
committerGitHub <noreply@github.com>2021-03-02 23:53:54 +0300
commitae25924d4dd64b4fbd00c79ab8c4d38a5969c11d (patch)
tree403169bbe2f4b2b9e8cb6b14f7349628ee9c14e2
parenta9836043879ec60c205644bedf2982548b639ae6 (diff)
Fix typos (#82)
* readme: fix typos * makefile: fix typos in examples
-rw-r--r--Makefile4
-rw-r--r--readme.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4d39f8a..4fce17f 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ help all:
@echo ' '
@echo 'Examples:'
@echo ' make bluepill program'
- @echo ' make module MODULE="usbd.a" CFLAGS="-mcpu=cotrex-m4" DEFINES="STM32L4 STM32L476xx USBD_VBUS_DETECT"'
+ @echo ' make module MODULE="usbd.a" CFLAGS="-mcpu=cortex-m4" DEFINES="STM32L4 STM32L476xx USBD_VBUS_DETECT"'
cmsis: $(CMSISDEV)/ST
@@ -247,4 +247,4 @@ stm32f401xc: clean
@$(MAKE) demo STARTUP='$(CMSISDEV)/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xc.s' \
LDSCRIPT='demo/stm32f401xc.ld' \
DEFINES='STM32F4 STM32F401xC USBD_SOF_DISABLED' \
- CFLAGS='-mcpu=cortex-m4' \ No newline at end of file
+ CFLAGS='-mcpu=cortex-m4'
diff --git a/readme.md b/readme.md
index 41d817e..da712c5 100644
--- a/readme.md
+++ b/readme.md
@@ -105,7 +105,7 @@ See [hardware.md](hardware.md) for details.
### Using makefile ###
+ to build library module
```
-make module MODULE=path/module.a DEFINES="mcu spcified defines" CFLAGS="cpu cpecified compiler flags"
+make module MODULE=path/module.a DEFINES="mcu specified defines" CFLAGS="cpu specified compiler flags"
```
+ to build demo
```