From aa479e5b91a2dfd963fcc3063196bee7e159a2aa Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 22 Oct 2011 15:22:24 +0000 Subject: [PATCH] Update netbeans project config to reflect combined makefiles --- ...ge-gdbserver.bash => Package-Default.bash} | 2 +- nbproject/Package-library_cli.bash | 75 --- nbproject/configurations.xml | 502 ++++++++++++++++-- nbproject/project.xml | 6 +- 4 files changed, 458 insertions(+), 127 deletions(-) rename nbproject/{Package-gdbserver.bash => Package-Default.bash} (98%) delete mode 100644 nbproject/Package-library_cli.bash diff --git a/nbproject/Package-gdbserver.bash b/nbproject/Package-Default.bash similarity index 98% rename from nbproject/Package-gdbserver.bash rename to nbproject/Package-Default.bash index 722b818..f6abfb4 100644 --- a/nbproject/Package-gdbserver.bash +++ b/nbproject/Package-Default.bash @@ -7,7 +7,7 @@ # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 -CND_CONF=gdbserver +CND_CONF=Default CND_DISTDIR=dist CND_BUILDDIR=build NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging diff --git a/nbproject/Package-library_cli.bash b/nbproject/Package-library_cli.bash deleted file mode 100644 index 5a64472..0000000 --- a/nbproject/Package-library_cli.bash +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/bash -x - -# -# Generated - do not edit! -# - -# Macros -TOP=`pwd` -CND_PLATFORM=GNU-Linux-x86 -CND_CONF=library_cli -CND_DISTDIR=dist -CND_BUILDDIR=build -NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging -TMPDIRNAME=tmp-packaging -OUTPUT_PATH=test_usb -OUTPUT_BASENAME=test_usb -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/bin" -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 3d02ea8..794a3ab 100644 --- a/nbproject/configurations.xml +++ b/nbproject/configurations.xml @@ -2,7 +2,105 @@ + + + + + + main.c + + + main.c + startup_stm32l1xx_md.s + system_stm32l1xx.c + + + discover_board.h + main.c + stm32l_discovery_lcd.c + stm32l_discovery_lcd.h + + + + + + + stdint.h + + + core_cm3.c + core_cm3.h + + + stm32l1xx.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.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 + + + main.c @@ -20,81 +118,393 @@ test_sg.c test_usb.c - + + + + stlink-hw.h + + + + + + + + + + + + + + + + + + - build/Makefile + Makefile ^(nbproject)$ . - build/Makefile + Makefile - - - LOCAL_SOURCES - default - - - - - ${MAKE} -f Makefile - ${MAKE} -f Makefile clean - test_usb - - - stm32l/src - /usr/include/libusb-1.0 - stm32l/build - src - - - CONFIG_USE_LIBUSB=1 - __GNUC_STDC_INLINE__=1 - __OPTIMIZE__=1 - __REGISTER_PREFIX__= - __STDC_VERSION__=199901L - __USER_LABEL_PREFIX__= - - - - - - + LOCAL_SOURCES default - gdbserver + . ${MAKE} -f Makefile ${MAKE} -f Makefile clean gdbserver/st-util - - stm32l/src - /usr/include/libusb-1.0 - stm32l/build - src - + CONFIG_USE_LIBSG=1 CONFIG_USE_LIBUSB=1 - __GNUC_STDC_INLINE__=1 - __OPTIMIZE__=1 - __REGISTER_PREFIX__= - __STDC_VERSION__=199901L - __USER_LABEL_PREFIX__= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + src + + + + + + + . + + + DEBUG=1 + + + + + + + + + diff --git a/nbproject/project.xml b/nbproject/project.xml index 6608636..cd52486 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -14,11 +14,7 @@ - library_cli - 0 - - - gdbserver + Default 0 -- 2.30.2