martindunne1 Posted June 30, 2015 Report Share Posted June 30, 2015 hi there sorry if this stupid but i am trying to setup my mios toolchain i have installed msys but when i get to this stage : " Download the latest “windows†file and unzip into your favorite directory, If you unzip into c:\ the toolchain will create c:\mios32_toolchain and various sub-directories containing the toolchain files." it creates a directory called C\:gcc-arm-none-eabi-4_7-2013q3-20130916-win32 and i cannot continue with any of the other steps. please help Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 1, 2015 Report Share Posted July 1, 2015 if you rename the directory name from gcc-arm-none-eabi-4_7-2013q3-20130916-win32 to mios32_toolchain it will be ok and you can continue with the steps. Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 thanks but i have tried that but when i try to put the variables into dos no response then when i run make -version i get make: *** No rule to make target `-version'. Stop. Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 1, 2015 Report Share Posted July 1, 2015 (edited) Clearly make is working. But i guess the option - version is not correct. I don't have a build environment under windows. But under linux the option is either --version or -v. Try that. Edit: The wiki has a problem displaying the -- correctly. I have put it in different tags so it's more clear. Edited July 1, 2015 by Shuriken Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 (edited) got it mate, genius make -v works Edited July 1, 2015 by martindunne1 Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 although the setup guide says the last line should be this :- This program built for i686-pc-msys and mine says this :- This program built for i386-pc-mingw32 ? Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 1, 2015 Report Share Posted July 1, 2015 As long as the version is the same it should not matter. Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 sorry to be a pain but cannot compile am getting this: C:\Documents and Settings\Martin Dunne>cd C:\mios32\trunk\apps\synthesizers\goom C:\mios32\trunk\apps\synthesizers\goom>make Makefile:49: /programming_models/traditional/programming_model.mk: No such file or directory Makefile:52: /modules/app_lcd//app_lcd.mk: No such file or directory Makefile:55: /modules/notestack/notestack.mk: No such file or directory Makefile:59: /include/makefile/common.mk: No such file or directory make: *** No rule to make target `/include/makefile/common.mk'. Stop. C:\mios32\trunk\apps\synthesizers\goom> Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 ok so got it to compile the project build folder but there is no hex file in there this is what i get:- C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_PATH=/c/mios32/trunk C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_BIN_PATH=c:\mios32\trunk\bin C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_GCC_PREFIX=arm-none-eabi C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_FAMILY=STM32F4xx C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_PROCESSOR=STM32F407VG C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_BOARD=MBHP_CORE_STM32F4 C:\mios32\trunk\apps\synthesizers\goom>set MIOS32_LCD=universal C:\mios32\trunk\apps\synthesizers\goom> C:\mios32\trunk\apps\synthesizers\goom> C:\mios32\trunk\apps\synthesizers\goom> C:\mios32\trunk\apps\synthesizers\goom>make rm -f project.hex Creating object file for app.c Creating object file for synth.c Creating object file for main.c Creating object file for strtol.c Creating object file for tasks.c Creating object file for list.c Creating object file for queue.c Creating object file for timers.c Creating object file for port.c Creating object file for umm_malloc.c Creating object file for startup_stm32f4xx.c Creating object file for mios32_srio.c Creating object file for mios32_din.c Creating object file for mios32_dout.c Creating object file for mios32_enc.c Creating object file for mios32_lcd.c Creating object file for mios32_midi.c Creating object file for mios32_osc.c Creating object file for mios32_com.c Creating object file for mios32_uart_midi.c Creating object file for mios32_spi_midi.c Creating object file for mios32_iic_midi.c Creating object file for mios32_iic_bs.c Creating object file for mios32_mf.c Creating object file for mios32_sdcard.c Creating object file for mios32_enc28j60.c Creating object file for mios32_timestamp.c Creating object file for mios32_bsl.c Creating object file for mios32_sys.c Creating object file for mios32_irq.c Creating object file for mios32_spi.c Creating object file for mios32_i2s.c Creating object file for mios32_board.c Creating object file for mios32_timer.c Creating object file for mios32_stopwatch.c Creating object file for mios32_delay.c Creating object file for mios32_ain.c Creating object file for mios32_usb.c Creating object file for mios32_usb_midi.c Creating object file for mios32_usb_com.c Creating object file for mios32_uart.c Creating object file for mios32_iic.c Creating object file for printf-stdarg.c Creating object file for misc.c Creating object file for stm32f4xx_adc.c Creating object file for stm32f4xx_can.c Creating object file for stm32f4xx_crc.c Creating object file for stm32f4xx_cryp.c Creating object file for stm32f4xx_cryp_aes.c Creating object file for stm32f4xx_cryp_des.c Creating object file for stm32f4xx_cryp_tdes.c Creating object file for stm32f4xx_dac.c Creating object file for stm32f4xx_dbgmcu.c Creating object file for stm32f4xx_dcmi.c Creating object file for stm32f4xx_dma.c Creating object file for stm32f4xx_exti.c Creating object file for stm32f4xx_flash.c Creating object file for stm32f4xx_fsmc.c Creating object file for stm32f4xx_gpio.c Creating object file for stm32f4xx_hash.c Creating object file for stm32f4xx_hash_md5.c Creating object file for stm32f4xx_hash_sha1.c Creating object file for stm32f4xx_i2c.c Creating object file for stm32f4xx_iwdg.c Creating object file for stm32f4xx_pwr.c Creating object file for stm32f4xx_rcc.c Creating object file for stm32f4xx_rng.c Creating object file for stm32f4xx_rtc.c Creating object file for stm32f4xx_sdio.c Creating object file for stm32f4xx_spi.c Creating object file for stm32f4xx_syscfg.c Creating object file for stm32f4xx_tim.c Creating object file for stm32f4xx_usart.c Creating object file for stm32f4xx_wwdg.c Creating object file for usbd_core.c Creating object file for usbd_ioreq.c Creating object file for usbd_req.c c:/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_ req.c: In function 'USBD_GetString': c:/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_ req.c:845:18: warning: comparison between pointer and integer [enabled by defaul t] c:/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_ req.c: In function 'USBD_GetLen': c:/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_ req.c:863:17: warning: comparison between pointer and integer [enabled by defaul t] Creating object file for usbh_core.c Creating object file for usbh_hcs.c Creating object file for usbh_ioreq.c Creating object file for usbh_stdreq.c Creating object file for usb_core.c Creating object file for usb_dcd.c Creating object file for usb_dcd_int.c Creating object file for usb_hcd.c Creating object file for usb_hcd_int.c Creating object file for usb_otg.c Creating object file for app_lcd.c Creating object file for glcd_font_normal.c Creating object file for glcd_font_normal_inv.c Creating object file for glcd_font_big.c Creating object file for glcd_font_small.c Creating object file for glcd_font_tiny.c Creating object file for glcd_font_knob_icons.c Creating object file for glcd_font_meter_icons_h.c Creating object file for glcd_font_meter_icons_v.c Creating object file for notestack.c Creating object file for mini_cpp.cpp Creating object file for freertos_heap.cpp Creating object file for wave.s sed: can't read project_build/src/wave.dd: No such file or directory make: *** [project_build/src/wave.o] Error 2 C:\mios32\trunk\apps\synthesizers\goom> Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 1, 2015 Report Share Posted July 1, 2015 (edited) Well, the good news is you seem to have your build env operational :thumbsup: About the error you are getting, i am not sure. I do see a change in the makefile. Old Makefile (rev: 2172): # (following source stubs not relevant for Cortex M3 derivatives) THUMB_AS_SOURCE = ARM_SOURCE = ARM_AS_SOURCE = src/wave.s New Makefile (rev: current): # (following source stubs not relevant for Cortex M3 derivatives) THUMB_AS_SOURCE = src/wave.s ARM_SOURCE = ARM_AS_SOURCE = If you are up for it, you could try changing it to the old one and see if it compiles. Edited July 1, 2015 by Shuriken Quote Link to comment Share on other sites More sharing options...
martindunne1 Posted July 1, 2015 Author Report Share Posted July 1, 2015 that worked like a charm thanks again no doubt i will be posting up here again soon but for now at least all is good, thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.