http://www.triplespark.net/elec/pdev/arm/stm32.html
os: debian 系列
工具链:summon-arm-toolchain
调试:JLink + OpenOCD
------------------------------------------------------------------------------
1. fetch ${NEWLIB} ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
出错提示 Invalid PORT 的话, 修改 fetch 函数
# Fetch a versioned file from a URL
function fetch {
if [ ! -e ${STAMPS}/$1.fetch ]; then
log "Downloading $1 sources..."
#wget -c --no-passive-ftp --no-check-certificate $2 && touch ${STAMPS}/$1.fetch
wget -c --no-check-certificate $2 && touch ${STAMPS}/$1.fetch
fi
}