Whitespace fixes.
This commit is contained in:
parent
a6e6a08a3a
commit
36931dc991
2
HACKING
2
HACKING
@ -30,7 +30,7 @@ Development guidelines
|
||||
- The name should be of the form SUBSYSTEM_REGISTER_BIT, e.g.
|
||||
ADC_CR2_DMA, where ADC is the subsystem name, CR2 is the register NAME,
|
||||
and DMA is the name of the bit in the register that is defined.
|
||||
|
||||
|
||||
- All subsystem-specific function names should be prefixed with the
|
||||
subsystem name. For example, gpio_set_mode() or rcc_osc_on().
|
||||
|
||||
|
@ -94,24 +94,25 @@ ifeq ($(OOCD_SERIAL),)
|
||||
@printf " FLASH $<\n"
|
||||
@# IMPORTANT: Don't use "resume", only "reset" will work correctly!
|
||||
$(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
|
||||
-f board/$(OOCD_BOARD).cfg \
|
||||
-c "init" -c "reset init" \
|
||||
-c "stm32x mass_erase 0" \
|
||||
-c "flash write_image $(*).hex" \
|
||||
-c "reset" \
|
||||
-c "shutdown" $(NULL)
|
||||
-f board/$(OOCD_BOARD).cfg \
|
||||
-c "init" -c "reset init" \
|
||||
-c "stm32x mass_erase 0" \
|
||||
-c "flash write_image $(*).hex" \
|
||||
-c "reset" \
|
||||
-c "shutdown" $(NULL)
|
||||
else
|
||||
%.flash: %.hex
|
||||
@printf " FLASH $<\n"
|
||||
@# IMPORTANT: Don't use "resume", only "reset" will work correctly!
|
||||
$(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
|
||||
-f board/$(OOCD_BOARD).cfg \
|
||||
-c "ft2232_serial $(OOCD_SERIAL)" \
|
||||
-c "init" -c "reset init" \
|
||||
-c "stm32x mass_erase 0" \
|
||||
-c "flash write_image $(*).hex" \
|
||||
-c "reset" \
|
||||
-c "shutdown" $(NULL)
|
||||
-f board/$(OOCD_BOARD).cfg \
|
||||
-c "ft2232_serial $(OOCD_SERIAL)" \
|
||||
-c "init" -c "reset init" \
|
||||
-c "stm32x mass_erase 0" \
|
||||
-c "flash write_image $(*).hex" \
|
||||
-c "reset" \
|
||||
-c "shutdown" $(NULL)
|
||||
endif
|
||||
|
||||
.PHONY: images clean
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbdfu
|
||||
BINARY = usbdfu
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbhid
|
||||
BINARY = usbhid
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = fancyblink
|
||||
BINARY = fancyblink
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = pwmleds
|
||||
BINARY = pwmleds
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -20,3 +20,4 @@
|
||||
BINARY = can
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -20,3 +20,4 @@
|
||||
BINARY = led
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -20,3 +20,4 @@
|
||||
BINARY = systick
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usart
|
||||
BINARY = usart
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -22,3 +22,4 @@ BINARY = usart_irq
|
||||
OOCD_BOARD = open-bldc
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = adc
|
||||
BINARY = adc
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = dma
|
||||
BINARY = dma
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,8 +17,9 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = main
|
||||
BINARY = main
|
||||
|
||||
OBJS = dogm128.o
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,8 +17,9 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = i2c_stts75_sensor
|
||||
BINARY = i2c_stts75_sensor
|
||||
|
||||
OBJS = stts75.o
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = rtc
|
||||
BINARY = rtc
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = systick
|
||||
BINARY = systick
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = timer
|
||||
BINARY = timer
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = cdcacm
|
||||
BINARY = cdcacm
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbdfu
|
||||
BINARY = usbdfu
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbhid
|
||||
BINARY = usbhid
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = fancyblink
|
||||
BINARY = fancyblink
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = miniblink
|
||||
BINARY = miniblink
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = spi
|
||||
BINARY = spi
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usart
|
||||
BINARY = usart
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = cdcacm
|
||||
BINARY = cdcacm
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbdfu
|
||||
BINARY = usbdfu
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbhid
|
||||
BINARY = usbhid
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
BINARY = usbiap
|
||||
BINARY = usbiap
|
||||
|
||||
include ../../Makefile.includes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user