Skip to content

Commit

Permalink
style: created separate project for 3-phase-sin pwm
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorBel committed Mar 4, 2021
1 parent 2718d6e commit 799ca60
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile → src/3-phase-sin-pwm/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# path to STM32F103 standard peripheral library
STD_PERIPH_LIBS ?= ./STM32F10x_StdPeriph_Lib_V3.5.0
STD_PERIPH_LIBS = /home/fedor/workspace/stm32/bldc-driver/libs

# list of source files
SOURCES = src/main.c
SOURCES = main.c
SOURCES += $(STD_PERIPH_LIBS)/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c
SOURCES += $(STD_PERIPH_LIBS)/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c
SOURCES += $(STD_PERIPH_LIBS)/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c
Expand All @@ -15,7 +15,7 @@ SOURCES += $(STD_PERIPH_LIBS)/STM32F10x_StdPeriph_Driver/src/misc.c
SOURCES += $(STD_PERIPH_LIBS)/CMSIS/CM3/DeviceSupport/ST/STM32F10x/startup/TrueSTUDIO/startup_stm32f10x_md.s

# name for output binary files
PROJECT ?= bldc-driver
PROJECT ?= 3-phase-sin-pwm

# compiler, objcopy (should be in PATH)
CC = arm-none-eabi-gcc
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 799ca60

Please sign in to comment.