Jump to content

Ahsanu

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Ahsanu

  1. after searching, Msys 2 will automatic convert unix/posix path style to windows (using cygpath), so if the mios32_path variable

    $MIOS32_PATH = /c/to/your/mios32/base

    the msys2 will auto convert to

    $MIOS32_PATH = c:/to/your/mios32/base
    
    # resulting this
    
    c:/to/your/mios32/base/Mios32/mios32/include/makefile/common.mk:143: *** multiple target patterns.  Stop.

    this auto conversion can disabled use MSYS2_ENV_CONV_EXCL=* an then call make

    MSYS2_ENV_CONV_EXCL=* make

    but, after the unix style path correct (use /c/... instead of c:/), make still cant read common.mk

    $ MSYS2_ENV_CONV_EXCL=* make
    
    Makefile:55: /d/savePCB/2022Project/polyphonicSynthesizer/Program/Mios32/mios32/include/makefile/common.mk: No such file or directory
    mingw32-make: *** No rule to make target '/d/savePCB/2022Project/polyphonicSynthesizer/Program/Mios32/mios32/include/makefile/common.mk'.  Stop.

     

    is this possible that problem come from make itself, cause my make version was build for windows 32

    $ make --version
    GNU Make 4.3
    Built for Windows32
    Copyright (C) 1988-2020 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

     

    any help really appreciated, thanks

  2. hey, i got same problem as you, and still search for solution too

    i found this old threads, say this was because "UNIX style PATH"


    but after checking my MIOS32_PATH, its already same as TK show in that post

    $ echo $MIOS32_PATH
    /d/savePCB/2022Project/polyphonicSynthesizer/Program/Mios32/mios32

    but when i run make(mingw32-make) this path change as windows path (use colon : instead of slash /), same as yours @arty

    D:/savePCB/2022Project/polyphonicSynthesizer/Program/Mios32/mios32/include/makefile/common.mk:143: *** multiple target patterns.  Stop.

    is this problem cause MSYS2(i use Msys2) setting? because the midibox wiki still use MSYS version 1.0(as shown in link below), and official GNU make doc says "the path need not to contain colon", but how to setting it?

    Quote
    missing target pattern. Stop.
    multiple target patterns. Stop.
    target pattern contains no `%'. Stop.
    mixed implicit and static pattern rules. Stop.

    These errors are generated for malformed static pattern rules (see Syntax of Static Pattern Rules). The first means the target-pattern part of the rule is empty; the second means there are multiple pattern characters (%) in the target-pattern part; the third means there are no pattern characters in the target-pattern part; and the fourth means that all three parts of the static pattern rule contain pattern characters (%)–the first part should not contain pattern characters.

    If you see these errors and you aren’t trying to create a static pattern rule, check the value of any variables in your target and prerequisite lists to be sure they do not contain colons.

    http://www.midibox.org/dokuwiki/doku.php?id=windows_mios32_toolchain_core

    thanks for any help
     

  3. hey, iam new in this forum and midibox,
    i try learn build stm32 midibox core by making schematic from zero, cause its my first time using stm32 uC i little bit confuse about i/o  input voltage level, in midibox core, for example PC13 can connect to 5v and 3.3v using j19, but i look in datasheet, say that pin (pc13) is not 5v tolerant.

    so is connecting 5v to not 5v tolerant is safe?


    i am using stm32f103rb chip,
    and here i attach schematic and datasheet screenshot

    thanks for attention, sorry my bad english

    Screenshot 2021-12-30 182649.png

    Screenshot 2021-12-30 182842.png

×
×
  • Create New...