Whitespace fixes.

This commit is contained in:
Uwe Hermann 2010-12-29 15:52:37 +01:00
parent a6e6a08a3a
commit 36931dc991
29 changed files with 60 additions and 37 deletions

View File

@ -30,7 +30,7 @@ Development guidelines
- The name should be of the form SUBSYSTEM_REGISTER_BIT, e.g. - 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, 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. and DMA is the name of the bit in the register that is defined.
- All subsystem-specific function names should be prefixed with the - All subsystem-specific function names should be prefixed with the
subsystem name. For example, gpio_set_mode() or rcc_osc_on(). subsystem name. For example, gpio_set_mode() or rcc_osc_on().

View File

@ -94,24 +94,25 @@ ifeq ($(OOCD_SERIAL),)
@printf " FLASH $<\n" @printf " FLASH $<\n"
@# IMPORTANT: Don't use "resume", only "reset" will work correctly! @# IMPORTANT: Don't use "resume", only "reset" will work correctly!
$(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \ $(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
-f board/$(OOCD_BOARD).cfg \ -f board/$(OOCD_BOARD).cfg \
-c "init" -c "reset init" \ -c "init" -c "reset init" \
-c "stm32x mass_erase 0" \ -c "stm32x mass_erase 0" \
-c "flash write_image $(*).hex" \ -c "flash write_image $(*).hex" \
-c "reset" \ -c "reset" \
-c "shutdown" $(NULL) -c "shutdown" $(NULL)
else else
%.flash: %.hex %.flash: %.hex
@printf " FLASH $<\n" @printf " FLASH $<\n"
@# IMPORTANT: Don't use "resume", only "reset" will work correctly! @# IMPORTANT: Don't use "resume", only "reset" will work correctly!
$(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \ $(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
-f board/$(OOCD_BOARD).cfg \ -f board/$(OOCD_BOARD).cfg \
-c "ft2232_serial $(OOCD_SERIAL)" \ -c "ft2232_serial $(OOCD_SERIAL)" \
-c "init" -c "reset init" \ -c "init" -c "reset init" \
-c "stm32x mass_erase 0" \ -c "stm32x mass_erase 0" \
-c "flash write_image $(*).hex" \ -c "flash write_image $(*).hex" \
-c "reset" \ -c "reset" \
-c "shutdown" $(NULL) -c "shutdown" $(NULL)
endif endif
.PHONY: images clean .PHONY: images clean

View File

@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbdfu BINARY = usbdfu
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbhid BINARY = usbhid
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = fancyblink BINARY = fancyblink
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = pwmleds BINARY = pwmleds
include ../../Makefile.include include ../../Makefile.include

View File

@ -20,3 +20,4 @@
BINARY = can BINARY = can
include ../../Makefile.include include ../../Makefile.include

View File

@ -20,3 +20,4 @@
BINARY = led BINARY = led
include ../../Makefile.include include ../../Makefile.include

View File

@ -20,3 +20,4 @@
BINARY = systick BINARY = systick
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usart BINARY = usart
include ../../Makefile.include include ../../Makefile.include

View File

@ -22,3 +22,4 @@ BINARY = usart_irq
OOCD_BOARD = open-bldc OOCD_BOARD = open-bldc
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = adc BINARY = adc
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = dma BINARY = dma
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,8 +17,9 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = main BINARY = main
OBJS = dogm128.o OBJS = dogm128.o
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,8 +17,9 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = i2c_stts75_sensor BINARY = i2c_stts75_sensor
OBJS = stts75.o OBJS = stts75.o
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = rtc BINARY = rtc
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = systick BINARY = systick
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = timer BINARY = timer
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = cdcacm BINARY = cdcacm
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbdfu BINARY = usbdfu
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbhid BINARY = usbhid
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = fancyblink BINARY = fancyblink
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = miniblink BINARY = miniblink
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = spi BINARY = spi
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usart BINARY = usart
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = cdcacm BINARY = cdcacm
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbdfu BINARY = usbdfu
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbhid BINARY = usbhid
include ../../Makefile.include include ../../Makefile.include

View File

@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
BINARY = usbiap BINARY = usbiap
include ../../Makefile.includes include ../../Makefile.includes