Xin các cao thủ biết về toolchain trên linux chỉ giáo.
Mình tìm được một open project cực hay, nhưng tác giả sử dụng toolchain trên MAC OS.
Top Page - STM32F4-Discovery Motion Player Project
Dùng chrom để có thể dịch ra tiếng anh hoặc tiếng việt
Chức năng:
Motion Player will have the following functions mainly.
Music reproduction
I can play the music file formats such as AAC · MP3 · WAV.
It is also possible Bass Boost by DSP (low-frequency effects) reverb (reverberation effect) and vocal canceller (voice removal).
Video playback
I can play the Motion JPEG video files.
Image viewing
I can view JPEG images.
Filer
And list-set to sort the files in the SD card
Other
Anti-aliased fonts, saving, such as a screen shot function by XMODEM as a background image.
Development environment
Mac OS X 10.8 Mountain Lion
Eclipse Indigo
binutils 2.21
Linaro GCC 4.6-2011.10
Linaro GDB 7.3-2011.10
newlib 1.19
openocd 0.6.1
Mình dùng eclipse trên Windows + toolchain Sourcery_CodeBench_Lite_for_ARM_EABI để build thì có lổi sau:
Bác nào biết chỉ dúm cách config để có thể biện dịch trên windows
Không biết cài cũng như thiềt lập thư viện binutils 2.21, newlib 1.19 ra sao?
Mình tìm được một open project cực hay, nhưng tác giả sử dụng toolchain trên MAC OS.
Top Page - STM32F4-Discovery Motion Player Project
Dùng chrom để có thể dịch ra tiếng anh hoặc tiếng việt
Chức năng:
Motion Player will have the following functions mainly.
Music reproduction
I can play the music file formats such as AAC · MP3 · WAV.
It is also possible Bass Boost by DSP (low-frequency effects) reverb (reverberation effect) and vocal canceller (voice removal).
Video playback
I can play the Motion JPEG video files.
Image viewing
I can view JPEG images.
Filer
And list-set to sort the files in the SD card
Other
Anti-aliased fonts, saving, such as a screen shot function by XMODEM as a background image.
Development environment
Mac OS X 10.8 Mountain Lion
Eclipse Indigo
binutils 2.21
Linaro GCC 4.6-2011.10
Linaro GDB 7.3-2011.10
newlib 1.19
openocd 0.6.1
Mình dùng eclipse trên Windows + toolchain Sourcery_CodeBench_Lite_for_ARM_EABI để build thì có lổi sau:
Code:
22:03:59 **** Incremental Build of configuration Debug for project stm32f4_test **** cs-make all arm-none-eabi-gcc --version arm-none-eabi-gcc (Sourcery CodeBench Lite 2012.09-63) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cs-make -C ./lib/CMSIS/ST/STM32F4xx cs-make[1]: Entering directory `D:/Projects/MJPG_Player/Firmware/stm32f4_motion_player/lib/CMSIS/ST/STM32F4xx' cs-make[1]: Nothing to be done for `all'. cs-make[1]: Leaving directory `D:/Projects/MJPG_Player/Firmware/stm32f4_motion_player/lib/CMSIS/ST/STM32F4xx' cs-make -C ./lib/STM32F4xx_StdPeriph_Driver cs-make[1]: Entering directory `D:/Projects/MJPG_Player/Firmware/stm32f4_motion_player/lib/STM32F4xx_StdPeriph_Driver' cs-make[1]: Nothing to be done for `all'. cs-make[1]: Leaving directory `D:/Projects/MJPG_Player/Firmware/stm32f4_motion_player/lib/STM32F4xx_StdPeriph_Driver' ECHO is off. main.c arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=softfp -mlittle-endian -mthumb-interwork -I. -g -DBUILD=0x2234 -DARM -DARM_MATH_CM4 -D__FPU_PRESENT -Os -fno-strict-aliasing -Ilib/CMSIS/Include -Ilib/STM32F4xx_StdPeriph_Driver/inc -Ilib/CMSIS/ST/STM32F4xx/Include -I/usr/local/arm/arm-none-eabi/include -I./jpeg-7 -I./aac -I./mp3 main.c -o main.o arm-none-eabi-gcc: error: CreateProcess: No such file or directory cs-make: *** [main.o] Error 1 22:04:00 Build Finished (took 641ms)
Không biết cài cũng như thiềt lập thư viện binutils 2.21, newlib 1.19 ra sao?
Comment