"thank you for being interested in creative electronic music."

diydsp_log.png Join us -  We're making a journey into sound.

building DIYDSP.com/Samos Instruments/Bass Stick for stm32f4 code under cygwin

download libopencm3

git clone https://github.com/libopencm3/libopencm3.git

download mobb1_test

git clone https://DIY_Instruments@bitbucket.org/DIY_Instruments/mobb1_test.git

 building libopencm3
 the obvious approach fails
 cd libopencm3
 C:\Program Files (x86)\GNU Tools ARM Embedded\4.6 2012q2\bin\arm-none-eabi-ar.exe: /cygdrive/c/Users/enzo/fun/mobb/mobb1_test/libopencm3/lib/libopencm3_stm32f0.a: No such file or directory
../../Makefile.include:32: recipe for target '/cygdrive/c/Users/enzo/fun/mobb/mobb1_test/libopencm3/lib/libopencm3_stm32f0.a' failed
make[1]: *** [/cygdrive/c/Users/enzo/fun/mobb/mobb1_test/libopencm3/lib/libopencm3_stm32f0.a] Error 1
Makefile:64: recipe for target 'lib/stm32/f0' failed
make: *** [lib/stm32/f0] Error 2

cd lib/stm32/f0
make clean

(that built libopencm3_stm32f0.a)

get the linker script over here in the right place

cp ~/winHome/fun/mobb/mobb1_test/libopencm3/lib/libopencm3_stm32f4.ld .

fix the path to the ld script in the Makefile

set OPENCM3_DIR to relative, not absolute

(fix paths in header files to short as possible)

Powered by liveSite