![]() HAL_TARGET_SRC := $(MBED_SRC_ROOT)/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE # Some libraries (mbed and rtos) have device specific source folders. # Vendor/device for which the library should be built. I copied parts out of the exported Makefile to find the answers for both the device.mk and the project makefile. The first make compiled all of mbed for NUCLEO. build/NUCLEO_F401RE-device.mkĪnd samples/NucIMU_test/makefile is more than just the name change ![]() export the project for Nucleo target and GCC (ARM embedded) as the IDE.then from convert the mbed include to a library.And 4 workspaces with various non-working pieces of code. Also have a couple terminal emulators for monitoring output from the print statements in the micro. So I have 4 different installed copies of gcc for ARM, 5 libraries of code for the STM32-arm micros, 2 manual/Makefile setups with no working makefile except delivered demos and 2 IDEs.Īlso I have several utility programs that I'm not sure about, openocd to download and manage a debug session over USB to the micro, stlink to reinstall firmware in the STM32 micros and mri to actively debug the micro over the USB and single step the code. But they can in Checked mode, which still includes the debug code! Great, I am now standalone!!! The compiler and linker can't find all the mbed libraries in Debug mode. I went back to th eonline and suffered some more.ĭecided to try off-line one more time when I ran across this instruction page It worked! Well, almost. So I tried gcc4mbed both stand alone and inside of eclipse, which I also downloaded. After several days I decided I missed something in the fine print. ![]() I found a version of the mbed libraries to use locally. I didn't have much luck with anything but the blinky Helloworld program. There are several web pages describing various commercial and open source IDEs (Integrated Development Environments) all of which are either too limited, don't support the ST micros or only run on Windows! We all know I don't do Windows!įirst I tried using the STM32CubeF4 and STM32F4-Discovery_FW_V1.1.0 from st.com according to So I began searching for ways to develop, compile and download the code locally on my own machine. Usually when I am in the middle of something. First I used the online compiler at It would be fine if not for paying for internet access by the byte! Not to mention that it goes off completely for a while several times a week. For a program I chose to try to implement a smart autopilot control head using the 10DOF inertial sensor. Of the 3 boards, I decided to attempt the NUCLEO-F401RE first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |