From 09d732d776a869d1f8cbfcb62bbed4b0a9c79a4d Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 14 Nov 2011 04:14:41 +0000 Subject: [PATCH] Keep netbeans happy --- nbproject/Package-flash.bash | 75 +++ nbproject/configurations.xml | 1208 ++++++++++------------------------ nbproject/project.xml | 4 - 3 files changed, 411 insertions(+), 876 deletions(-) create mode 100644 nbproject/Package-flash.bash diff --git a/nbproject/Package-flash.bash b/nbproject/Package-flash.bash new file mode 100644 index 0000000..44fd0fc --- /dev/null +++ b/nbproject/Package-flash.bash @@ -0,0 +1,75 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=GNU-Linux-x86 +CND_CONF=flash +CND_DISTDIR=dist +CND_BUILDDIR=build +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=MissingOutputInProject +OUTPUT_BASENAME=MissingOutputInProject +PACKAGE_TOP_DIR=stlink/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/stlink" +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/stlink.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/stlink.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml index e129c44..f1fcd48 100644 --- a/nbproject/configurations.xml +++ b/nbproject/configurations.xml @@ -7,21 +7,42 @@ - - main.c - - + + discover_board.h main.c startup_stm32l1xx_md.s system_stm32l1xx.c - + discover_board.h main.c stm32l_discovery_lcd.c stm32l_discovery_lcd.h - + + main.c + startup_stm32f10x_md_vl.S + stm32f10x_conf.h + stm32f10x_it.c + stm32f10x_it.h + system_stm32f10x.c + + + main.c + + + discover_board.h + main.c + startup_stm32l1xx_md.s + system_stm32l1xx.c + + + + STM32vldiscovery.c + STM32vldiscovery.h + + + @@ -33,71 +54,149 @@ core_cm3.h + stm32f10x.h stm32l1xx.h + system_stm32f10x.h system_stm32l1xx.h - misc.h - stm32l1xx_adc.h - stm32l1xx_comp.h - stm32l1xx_crc.h - stm32l1xx_dac.h - stm32l1xx_dbgmcu.h - stm32l1xx_dma.h - stm32l1xx_exti.h - stm32l1xx_flash.h - stm32l1xx_gpio.h - stm32l1xx_i2c.h - stm32l1xx_iwdg.h - stm32l1xx_lcd.h - stm32l1xx_pwr.h - stm32l1xx_rcc.h - stm32l1xx_rtc.h - stm32l1xx_spi.h - stm32l1xx_syscfg.h - stm32l1xx_tim.h - stm32l1xx_usart.h - stm32l1xx_wwdg.h + + misc.h + stm32f10x_adc.h + stm32f10x_bkp.h + stm32f10x_can.h + stm32f10x_cec.h + stm32f10x_crc.h + stm32f10x_dac.h + stm32f10x_dbgmcu.h + stm32f10x_dma.h + stm32f10x_exti.h + stm32f10x_flash.h + stm32f10x_fsmc.h + stm32f10x_gpio.h + stm32f10x_i2c.h + stm32f10x_iwdg.h + stm32f10x_pwr.h + stm32f10x_rcc.h + stm32f10x_rtc.h + stm32f10x_sdio.h + stm32f10x_spi.h + stm32f10x_tim.h + stm32f10x_usart.h + stm32f10x_wwdg.h + + + misc.h + stm32l1xx_adc.h + stm32l1xx_comp.h + stm32l1xx_crc.h + stm32l1xx_dac.h + stm32l1xx_dbgmcu.h + stm32l1xx_dma.h + stm32l1xx_exti.h + stm32l1xx_flash.h + stm32l1xx_gpio.h + stm32l1xx_i2c.h + stm32l1xx_iwdg.h + stm32l1xx_lcd.h + stm32l1xx_pwr.h + stm32l1xx_rcc.h + stm32l1xx_rtc.h + stm32l1xx_spi.h + stm32l1xx_syscfg.h + stm32l1xx_tim.h + stm32l1xx_usart.h + stm32l1xx_wwdg.h + - misc.c - stm32l1xx_adc.c - stm32l1xx_comp.c - stm32l1xx_crc.c - stm32l1xx_dac.c - stm32l1xx_dbgmcu.c - stm32l1xx_dma.c - stm32l1xx_exti.c - stm32l1xx_flash.c - stm32l1xx_flash_ramfunc.c - stm32l1xx_gpio.c - stm32l1xx_i2c.c - stm32l1xx_iwdg.c - stm32l1xx_lcd.c - stm32l1xx_pwr.c - stm32l1xx_rcc.c - stm32l1xx_rtc.c - stm32l1xx_spi.c - stm32l1xx_syscfg.c - stm32l1xx_tim.c - stm32l1xx_usart.c - stm32l1xx_wwdg.c + + misc.c + stm32f10x_adc.c + stm32f10x_bkp.c + stm32f10x_can.c + stm32f10x_cec.c + stm32f10x_crc.c + stm32f10x_dac.c + stm32f10x_dbgmcu.c + stm32f10x_dma.c + stm32f10x_exti.c + stm32f10x_flash.c + stm32f10x_fsmc.c + stm32f10x_gpio.c + stm32f10x_i2c.c + stm32f10x_iwdg.c + stm32f10x_pwr.c + stm32f10x_rcc.c + stm32f10x_rtc.c + stm32f10x_sdio.c + stm32f10x_spi.c + stm32f10x_tim.c + stm32f10x_usart.c + stm32f10x_wwdg.c + + + misc.c + stm32l1xx_adc.c + stm32l1xx_comp.c + stm32l1xx_crc.c + stm32l1xx_dac.c + stm32l1xx_dbgmcu.c + stm32l1xx_dma.c + stm32l1xx_exti.c + stm32l1xx_flash.c + stm32l1xx_flash_ramfunc.c + stm32l1xx_gpio.c + stm32l1xx_i2c.c + stm32l1xx_iwdg.c + stm32l1xx_lcd.c + stm32l1xx_pwr.c + stm32l1xx_rcc.c + stm32l1xx_rtc.c + stm32l1xx_spi.c + stm32l1xx_syscfg.c + stm32l1xx_tim.c + stm32l1xx_usart.c + stm32l1xx_wwdg.c + - - discover_board.h - discover_functions.c - discover_functions.h - icc_measure.c - icc_measure.h - icc_measure_Ram.c - main.c - stm32_tsl_conf.h - stm32l1xx_conf.h - stm32l1xx_it.c - stm32l1xx_it.h - stm32l_discovery_lcd.c - stm32l_discovery_lcd.h - system_stm32l1xx.c + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -154,18 +253,22 @@ ${MAKE} -f Makefile ${MAKE} -f Makefile clean gdbserver/st-util - - - . - - - DEBUG=1 - - + + + + + + - + - + - - - - - - + - + - + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + . + + + DEBUG=1 + + + + + + + src + + + CONFIG_USE_LIBUSB=1 + DEBUG + + + src - CONFIG_USE_LIBSG=1 CONFIG_USE_LIBUSB=1 - - - - - - + + + + . + + + DEBUG=1 + + + - + LOCAL_SOURCES default - gdbserver + flash ${MAKE} -f Makefile ${MAKE} -f Makefile clean + + + DEBUG + + + + @@ -519,685 +631,37 @@ tool="0" flavor="0"> - - - - - - - - - - - - - - - - - - - - - - - + + + + src + + + CONFIG_USE_LIBUSB=1 + + + + + + + src + + + CONFIG_USE_LIBSG=1 + CONFIG_USE_LIBUSB=1 + + + + + + + . + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src - - - CONFIG_USE_LIBSG=1 - CONFIG_USE_LIBUSB=1 - - - - - - - . - - - DEBUG=1 - - - - - - - - - - - LOCAL_SOURCES - default - - - - flash - ${MAKE} -f Makefile - ${MAKE} -f Makefile clean - - - - DEBUG - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src - - - CONFIG_USE_LIBSG=1 - CONFIG_USE_LIBUSB=1 - - - - - - - src - - - CONFIG_USE_LIBSG=1 - CONFIG_USE_LIBUSB=1 - - - - - - - . - - - DEBUG=1 - - - - + diff --git a/nbproject/project.xml b/nbproject/project.xml index 946c06f..7526e4b 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -17,10 +17,6 @@ Default 0 - - gdbserver - 0 - flash 0 -- 2.30.2