aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann2010-12-29 15:52:37 +0100
committerUwe Hermann2010-12-29 15:55:12 +0100
commit36931dc991e4e68ed1ac32b328be788ae1affbe1 (patch)
tree894bbb7acd2fb732b1be2c40835224c3d468f281
parenta6e6a08a3ac7a61e3067e3d26bdb65ee6149e259 (diff)
Whitespace fixes.
-rw-r--r--HACKING2
-rw-r--r--examples/Makefile.include27
-rw-r--r--examples/lisa-m/usb_dfu/Makefile2
-rw-r--r--examples/lisa-m/usb_hid/Makefile2
-rw-r--r--examples/mb525/fancyblink/Makefile3
-rw-r--r--examples/mb525/pwmleds/Makefile3
-rw-r--r--examples/obldc/can/Makefile1
-rw-r--r--examples/obldc/led/Makefile1
-rw-r--r--examples/obldc/systick/Makefile1
-rw-r--r--examples/obldc/usart/Makefile3
-rw-r--r--examples/obldc/usart_irq/Makefile1
-rw-r--r--examples/other/adc_temperature_sensor/Makefile3
-rw-r--r--examples/other/dma_mem2mem/Makefile3
-rw-r--r--examples/other/dogm128/Makefile3
-rw-r--r--examples/other/i2c_stts75_sensor/Makefile3
-rw-r--r--examples/other/rtc/Makefile3
-rw-r--r--examples/other/systick/Makefile3
-rw-r--r--examples/other/timer_interrupt/Makefile3
-rw-r--r--examples/other/usb_cdcacm/Makefile3
-rw-r--r--examples/other/usb_dfu/Makefile3
-rw-r--r--examples/other/usb_hid/Makefile3
-rw-r--r--examples/stm32-h103/fancyblink/Makefile3
-rw-r--r--examples/stm32-h103/miniblink/Makefile3
-rw-r--r--examples/stm32-h103/spi/Makefile3
-rw-r--r--examples/stm32-h103/usart/Makefile3
-rw-r--r--examples/stm32-h103/usb_cdcacm/Makefile3
-rw-r--r--examples/stm32-h103/usb_dfu/Makefile2
-rw-r--r--examples/stm32-h103/usb_hid/Makefile2
-rw-r--r--examples/stm32-h103/usb_iap/Makefile2
29 files changed, 60 insertions, 37 deletions
diff --git a/HACKING b/HACKING
index 6a2a877..70f34fd 100644
--- a/HACKING
+++ b/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().
diff --git a/examples/Makefile.include b/examples/Makefile.include
index 53cf598..9677067 100644
--- a/examples/Makefile.include
+++ b/examples/Makefile.include
@@ -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
+
diff --git a/examples/lisa-m/usb_dfu/Makefile b/examples/lisa-m/usb_dfu/Makefile
index b9ab00a..183b7c8 100644
--- a/examples/lisa-m/usb_dfu/Makefile
+++ b/examples/lisa-m/usb_dfu/Makefile
@@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbdfu
+BINARY = usbdfu
include ../../Makefile.include
diff --git a/examples/lisa-m/usb_hid/Makefile b/examples/lisa-m/usb_hid/Makefile
index ea2018f..7967467 100644
--- a/examples/lisa-m/usb_hid/Makefile
+++ b/examples/lisa-m/usb_hid/Makefile
@@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbhid
+BINARY = usbhid
include ../../Makefile.include
diff --git a/examples/mb525/fancyblink/Makefile b/examples/mb525/fancyblink/Makefile
index a712cc4..09aff6f 100644
--- a/examples/mb525/fancyblink/Makefile
+++ b/examples/mb525/fancyblink/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = fancyblink
+BINARY = fancyblink
include ../../Makefile.include
+
diff --git a/examples/mb525/pwmleds/Makefile b/examples/mb525/pwmleds/Makefile
index 241e1fa..a6f9f4e 100644
--- a/examples/mb525/pwmleds/Makefile
+++ b/examples/mb525/pwmleds/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = pwmleds
+BINARY = pwmleds
include ../../Makefile.include
+
diff --git a/examples/obldc/can/Makefile b/examples/obldc/can/Makefile
index 397a445..4d9fd57 100644
--- a/examples/obldc/can/Makefile
+++ b/examples/obldc/can/Makefile
@@ -20,3 +20,4 @@
BINARY = can
include ../../Makefile.include
+
diff --git a/examples/obldc/led/Makefile b/examples/obldc/led/Makefile
index 40d30f3..665cd45 100644
--- a/examples/obldc/led/Makefile
+++ b/examples/obldc/led/Makefile
@@ -20,3 +20,4 @@
BINARY = led
include ../../Makefile.include
+
diff --git a/examples/obldc/systick/Makefile b/examples/obldc/systick/Makefile
index a83b7ff..f08d085 100644
--- a/examples/obldc/systick/Makefile
+++ b/examples/obldc/systick/Makefile
@@ -20,3 +20,4 @@
BINARY = systick
include ../../Makefile.include
+
diff --git a/examples/obldc/usart/Makefile b/examples/obldc/usart/Makefile
index 6484117..75050cd 100644
--- a/examples/obldc/usart/Makefile
+++ b/examples/obldc/usart/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usart
+BINARY = usart
include ../../Makefile.include
+
diff --git a/examples/obldc/usart_irq/Makefile b/examples/obldc/usart_irq/Makefile
index 1c0a6c2..eba2bb5 100644
--- a/examples/obldc/usart_irq/Makefile
+++ b/examples/obldc/usart_irq/Makefile
@@ -22,3 +22,4 @@ BINARY = usart_irq
OOCD_BOARD = open-bldc
include ../../Makefile.include
+
diff --git a/examples/other/adc_temperature_sensor/Makefile b/examples/other/adc_temperature_sensor/Makefile
index 2b26a1b..c5020db 100644
--- a/examples/other/adc_temperature_sensor/Makefile
+++ b/examples/other/adc_temperature_sensor/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = adc
+BINARY = adc
include ../../Makefile.include
+
diff --git a/examples/other/dma_mem2mem/Makefile b/examples/other/dma_mem2mem/Makefile
index b92e395..ea78213 100644
--- a/examples/other/dma_mem2mem/Makefile
+++ b/examples/other/dma_mem2mem/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = dma
+BINARY = dma
include ../../Makefile.include
+
diff --git a/examples/other/dogm128/Makefile b/examples/other/dogm128/Makefile
index 158b33b..74ec0e5 100644
--- a/examples/other/dogm128/Makefile
+++ b/examples/other/dogm128/Makefile
@@ -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
+
diff --git a/examples/other/i2c_stts75_sensor/Makefile b/examples/other/i2c_stts75_sensor/Makefile
index 6ca704e..32ee066 100644
--- a/examples/other/i2c_stts75_sensor/Makefile
+++ b/examples/other/i2c_stts75_sensor/Makefile
@@ -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
+
diff --git a/examples/other/rtc/Makefile b/examples/other/rtc/Makefile
index 10fa5af..d74946f 100644
--- a/examples/other/rtc/Makefile
+++ b/examples/other/rtc/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = rtc
+BINARY = rtc
include ../../Makefile.include
+
diff --git a/examples/other/systick/Makefile b/examples/other/systick/Makefile
index 20c889f..f08d085 100644
--- a/examples/other/systick/Makefile
+++ b/examples/other/systick/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = systick
+BINARY = systick
include ../../Makefile.include
+
diff --git a/examples/other/timer_interrupt/Makefile b/examples/other/timer_interrupt/Makefile
index c4cd3b6..f6721e9 100644
--- a/examples/other/timer_interrupt/Makefile
+++ b/examples/other/timer_interrupt/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = timer
+BINARY = timer
include ../../Makefile.include
+
diff --git a/examples/other/usb_cdcacm/Makefile b/examples/other/usb_cdcacm/Makefile
index 1ca37fc..ab55ba2 100644
--- a/examples/other/usb_cdcacm/Makefile
+++ b/examples/other/usb_cdcacm/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = cdcacm
+BINARY = cdcacm
include ../../Makefile.include
+
diff --git a/examples/other/usb_dfu/Makefile b/examples/other/usb_dfu/Makefile
index 9b107aa..183b7c8 100644
--- a/examples/other/usb_dfu/Makefile
+++ b/examples/other/usb_dfu/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbdfu
+BINARY = usbdfu
include ../../Makefile.include
+
diff --git a/examples/other/usb_hid/Makefile b/examples/other/usb_hid/Makefile
index 378a374..7967467 100644
--- a/examples/other/usb_hid/Makefile
+++ b/examples/other/usb_hid/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbhid
+BINARY = usbhid
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/fancyblink/Makefile b/examples/stm32-h103/fancyblink/Makefile
index a712cc4..09aff6f 100644
--- a/examples/stm32-h103/fancyblink/Makefile
+++ b/examples/stm32-h103/fancyblink/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = fancyblink
+BINARY = fancyblink
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/miniblink/Makefile b/examples/stm32-h103/miniblink/Makefile
index 37c70fd..cbbded6 100644
--- a/examples/stm32-h103/miniblink/Makefile
+++ b/examples/stm32-h103/miniblink/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = miniblink
+BINARY = miniblink
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/spi/Makefile b/examples/stm32-h103/spi/Makefile
index 1e22919..a63e92d 100644
--- a/examples/stm32-h103/spi/Makefile
+++ b/examples/stm32-h103/spi/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = spi
+BINARY = spi
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/usart/Makefile b/examples/stm32-h103/usart/Makefile
index 6484117..75050cd 100644
--- a/examples/stm32-h103/usart/Makefile
+++ b/examples/stm32-h103/usart/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usart
+BINARY = usart
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/usb_cdcacm/Makefile b/examples/stm32-h103/usb_cdcacm/Makefile
index 1ca37fc..ab55ba2 100644
--- a/examples/stm32-h103/usb_cdcacm/Makefile
+++ b/examples/stm32-h103/usb_cdcacm/Makefile
@@ -17,6 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = cdcacm
+BINARY = cdcacm
include ../../Makefile.include
+
diff --git a/examples/stm32-h103/usb_dfu/Makefile b/examples/stm32-h103/usb_dfu/Makefile
index b9ab00a..183b7c8 100644
--- a/examples/stm32-h103/usb_dfu/Makefile
+++ b/examples/stm32-h103/usb_dfu/Makefile
@@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbdfu
+BINARY = usbdfu
include ../../Makefile.include
diff --git a/examples/stm32-h103/usb_hid/Makefile b/examples/stm32-h103/usb_hid/Makefile
index ea2018f..7967467 100644
--- a/examples/stm32-h103/usb_hid/Makefile
+++ b/examples/stm32-h103/usb_hid/Makefile
@@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbhid
+BINARY = usbhid
include ../../Makefile.include
diff --git a/examples/stm32-h103/usb_iap/Makefile b/examples/stm32-h103/usb_iap/Makefile
index 674de74..9c93f91 100644
--- a/examples/stm32-h103/usb_iap/Makefile
+++ b/examples/stm32-h103/usb_iap/Makefile
@@ -17,7 +17,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-BINARY = usbiap
+BINARY = usbiap
include ../../Makefile.includes