-if [ ${LIBOPENSTM32_EN} != 0 ]; then
-if [ ! -e libopenstm32-${LIBOPENSTM32}.tar.bz2 ]; then
- log "Cloning libopenstm32 sources..."
- git clone git://libopenstm32.git.sourceforge.net/gitroot/libopenstm32/libopenstm32
- cd libopenstm32
- git archive --format=tar --prefix=libopenstm32-${LIBOPENSTM32}/ ${LIBOPENSTM32} | \
- bzip2 --stdout > ../libopenstm32-${LIBOPENSTM32}.tar.bz2
+if [ ${LIBOPENCM3_EN} != 0 ]; then
+if [ ! -e libopencm3-${LIBOPENCM3}.tar.bz2 ]; then
+ log "Cloning libopencm3 sources..."
+ git clone https://github.com/libopencm3/libopencm3
+ cd libopencm3
+ git archive --format=tar --prefix=libopencm3-${LIBOPENCM3}/ ${LIBOPENCM3} | \
+ bzip2 --stdout > ../libopencm3-${LIBOPENCM3}.tar.bz2