<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Na počítači, kde mám v uživatelském
      jménu diakritiku, mi to v záložce Problems píše</div>
    <div class="moz-cite-prefix"><br>
      cannot open linker script file
      C:\Users\Vl????a\STM32CubeIDE\workspace_1.10.1\blink
      led\STM32F103C8TX_FLASH.ld: No such file or directory <br>
      make: *** [makefile:64: blink led.elf] Error 1    <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Takže tady se to asi do té složky
      nedostane, i když ten soubor tam je. main.c by měl teď být na obou
      počítačích stejný.</div>
    <div class="moz-cite-prefix">Anděl</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Dne 22.03.2023 v 10:28 Vláďa Anděl
      napsal(a):<br>
    </div>
    <blockquote type="cite"
      cite="mid:baa5b395-4706-4d18-1ff2-9e83d7f6ebaa@vaelektronik.cz">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">Teď to zkouším na druhém počítači</div>
      <div class="moz-cite-prefix">a dole jsem si všimnul vedle záložky 
        Console i těch dalších. V záložce Problems je</div>
      <div class="moz-cite-prefix"><br>
        ./Core/Src/main.o: in function `main':    BLINK_LED  <br>
C:/Users/Intel/STM32CubeIDE/workspace_1.12.0/BLINK_LED/Debug/../Core/Src/main.c:100:
        undefined reference to `HAL_delay'  <br>
        make: *** [makefile:64: BLINK_LED.elf] Error 1  <br>
        undefined reference to `HAL_delay' <br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Takže ta funkce HAL_delay(), která se
        v těch tutoriálech objevuje, tam není definovaná? Kde bych našel
        nějaký seznam funkcí, které tam už jsou a dají se používat? <br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Anděl<br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Dne 22.03.2023 v 10:01 Jaroslav
        Buchta napsal(a):<br>
      </div>
      <blockquote type="cite"
        cite="mid:7a64e72f-aeb8-f27f-25d5-d2cc573388a1@hascomp.cz">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <div class="moz-cite-prefix">S diakritikou v cestach je, co mam
          zkusenosti, problem. <br>
        </div>
        <div class="moz-cite-prefix">Na druhem pocitaci to nejde i kdyz
          se vygeneruje novy projekt primo na nem?</div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">Dne 22.03.2023 v 9:55 Vláďa Anděl
          napsal(a):<br>
        </div>
        <blockquote type="cite"
          cite="mid:34497115-f4ae-3401-0b8a-fffef03c2ed5@vaelektronik.cz">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          <p><font face="Times New Roman">Dobrý den,</font></p>
          <p><font face="Times New Roman">snad mi tady někdo poradí.
              Nainstaloval jsem si STM32Cube a zkouším na BluePill
              rozblikat ledku. Nejdřív jsem to dělal podle tohoto
              tutoriálu</font></p>
          <p style="line-height: 100%; margin-bottom: 0cm"> <a
              class="moz-txt-link-freetext"
href="https://microcontrollerslab.com/stm32-blue-pill-gpio-pins-stm32cube-ide-led-blinking-tutorial/"
              moz-do-not-send="true">https://microcontrollerslab.com/stm32-blue-pill-gpio-pins-stm32cube-ide-led-blinking-tutorial/</a>
            a nechodilo to. Při překladu to hlásí, jestli jsem to dobře
            pochopil, že složka nebo soubor neexistuje.</p>
          <p style="line-height: 100%; margin-bottom: 0cm">Hledal jsem
            pak jinde na netu. Místo vlastní funkce delay, která přičítá
            číslo,  všude používají už hotovou HAL_delay. Tak jsem to
            změnil a výsledek je stejný. <br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm">  /* USER
            CODE BEGIN WHILE */<br>
              while (1)<br>
              {<br>
                  HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin,
            GPIO_PIN_RESET);<br>
                /*  delay(500000);  */<br>
                  HAL_Delay (300);   /* Insert delay 300 ms */<br>
                  HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin,
            GPIO_PIN_SET);<br>
                /*  delay(500000);*/<br>
                  HAL_Delay (300);   /* Insert delay 300 ms */<br>
                  /* USER CODE END WHILE */<br>
            <br>
                /* USER CODE BEGIN 3 */<br>
              }<br>
              /* USER CODE END 3 */<br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm">Při překladu
            mi to píše:<br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm">09:05:19 ****
            Build of configuration Debug for project blink led ****<br>
            make -j16 all <br>
            arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m3
            -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xB -c
            -I../Core/Inc -I../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy
            -I../Drivers/STM32F1xx_HAL_Driver/Inc
            -I../Drivers/CMSIS/Device/ST/STM32F1xx/Include
            -I../Drivers/CMSIS/Include -O0 -ffunction-sections
            -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity
            -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o"
            --specs=nano.specs -mfloat-abi=soft -mthumb -o
            "Core/Src/main.o"<br>
            arm-none-eabi-gcc -o "blink led.elf" @"objects.list"  
            -mcpu=cortex-m3
            -T"C:\Users\Vláďa\STM32CubeIDE\workspace_1.10.1\blink
            led\STM32F103C8TX_FLASH.ld" --specs=nosys.specs
            -Wl,-Map="blink led.map" -Wl,--gc-sections -static
            --specs=nano.specs -mfloat-abi=soft -mthumb
            -Wl,--start-group -lc -lm -Wl,--end-group<br>
c:\st\stm32cubeide_1.10.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe:
            cannot open linker script file
            C:\Users\Vl????a\STM32CubeIDE\workspace_1.10.1\blink
            led\STM32F103C8TX_FLASH.ld: No such file or directory<br>
            collect2.exe: error: ld returned 1 exit status<br>
            make: *** [makefile:64: blink led.elf] Error 1<br>
            "make -j16 all" terminated with exit code 2. Build might be
            incomplete.<br>
            <br>
            09:05:20 Build Failed. 2 errors, 0 warnings. (took 854ms) <br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm">Když se
            podívám do workspace_1.10.1 jsou tam složky</p>
          <p style="line-height: 100%; margin-bottom: 0cm">.metadata</p>
          <p style="line-height: 100%; margin-bottom: 0cm">blink led</p>
          <p style="line-height: 100%; margin-bottom: 0cm">a v něm je i
            soubor STM32F103C8TX_FLASH.ld</p>
          <p style="line-height: 100%; margin-bottom: 0cm">Už jsem
            prověřoval tyto možné problémy:</p>
          <p style="line-height: 100%; margin-bottom: 0cm">Cube jsem měl
            nainstalované už dřív a teď jsem ho aktualizoval z 1.10.1 na
            1.12.0 a jestli to místo do workspace_1.10.1 nechce
            přistupovat do workspace_1.12.0. Nechce, zapisuje to stále
            do té původní.</p>
          <p style="line-height: 100%; margin-bottom: 0cm">Uživatelské
            jméno ve Windows mám Vláďa (s diakritikou), a tady se
            písmenka mrší, ale soubor to do workspace zapisuje na
            správné místo, takže by ho to tam mělo i najít. Cube jsem si
            nainstaloval taky na druhém počítači, kde uživatelské jméno
            nemám a dělá to tam to samé. <br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm">Dokáže mě,
            prosím, někdo nasměrovat, co jsem kde opominul, nebo co
            dělám špatně?</p>
          <p style="line-height: 100%; margin-bottom: 0cm">Anděl<br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm"><br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm"><br>
          </p>
          <p style="line-height: 100%; margin-bottom: 0cm"><br>
          </p>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz" moz-do-not-send="true">www.HW.cz</a>
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
        </blockquote>
        <p><br>
        </p>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz" moz-do-not-send="true">www.HW.cz</a>
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
      </blockquote>
      <p><br>
      </p>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>