Ocef

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Solution configuration(target) and source files #24932
    Ocef
    Participant

    hi,

     

    I am using Make for my project and can’t really edit the source files, so no macros.

    Can I ask for further help with $(filter-out …) ? Where should I put without overwriting it with automatic make generation?

    in reply to: Startup file replacement #23836
    Ocef
    Participant

    Thank you, it works file.

    Is there any chance that it can get overwritten in the future?

    in reply to: Build without VisualGDB #23811
    Ocef
    Participant

    Thank you for your help, everything works fine.

    in reply to: Build without VisualGDB #23777
    Ocef
    Participant

    I have created a new makefile (linux.mak) with an if statement that checks the OS and if isn’t windows, then it overwrites the variables.

    My last question: Inside debug.mak (and release.mak) is it a good place to include it:

    ADDITIONAL_MAKE_FILES := stm32.mak linux.mak

    ?

    It works, I am just worried if the IDE would overwrite it in the future.

    in reply to: Build without VisualGDB #23755
    Ocef
    Participant

    Oh yeah, that was pretty straightforward. The makefile version works fine. Thank you.

    Here is the second question:

    What if the build server is on linux? The toolchain used by VisualGDB doesn’t work there. I managed to compile it with manually editing the makefile (I know, I should, but just for testing):

    CC := arm-none-eabi-gcc #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-gcc.exe
    CXX := arm-none-eabi-g++ #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-g++.exe
    LD := $(CXX)
    AR := arm-none-eabi-ar #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-ar.exe
    OBJCOPY := arm-none-eabi-objcopy #$(<wbr />TOOLCHAIN_ROOT)/bin/arm-eabi-<wbr />objcopy.exe

    Is there any way to do it with the IDE? I mean: it detects the OS and changes these values automatically somehow.

Viewing 5 posts - 1 through 5 (of 5 total)