Menu

#196 stm32f1 template doesn't work

Next release
closed
None
5
2015-10-26
2015-09-11
nikola1010
No

Hi,

trying to create new c project "STM32F10x C/C++ Project" there is missing include "system/include/stm32f1-hal".
Compilation fails because missing files.

GNU ARM C/C++ J-Link Debugging Version: 3.2.1.201508190739
Eclipse Version: Mars Release (4.5.0)
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Windows 8.1 pro x64
GNU Tools for ARM Embedded Processors / bleeding-edge-toolchain
version: 150626
build date: 26.06.2015
package date: 26.06.2015

Discussion

  • nikola1010

    nikola1010 - 2015-09-11

    NOTE: I am trying to compile it for STM32F103C8T6.

    EDIT: It seems that only stm32f4-hal.pack exists.

     

    Last edit: nikola1010 2015-09-11
  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    can you show me the C Project wizard -> Target processor settings page you used? (create a similar project and capture the window)

    are you absolutely sure the project was created by the F1 template and not by hand?

    there must be something teribly wrong, since the F1 templates do not use HAL.

     
  • nikola1010

    nikola1010 - 2015-09-11

    I just started with Eclipse Arm plugin so I didn't know that this is missing for all of them.
    I needed hal support and it wasn't there so it confused me, as I was suspecting that if my F4 discovery board is working my F1 should also work the same.

    Is there a reason that HAL is not included in other F1/2/3 but just 4?

     
  • Liviu Ionescu (ilg)

    Is there a reason that HAL is not included in other F1/2/3 but just 4?

    lack of resources to do it.

     
  • nikola1010

    nikola1010 - 2015-09-11

    I would like to involve in that matter, If someone could spare time to mentor how to get in the project.

     
  • Liviu Ionescu (ilg)

    you can first take a look at how the actual template is build, the sources are available on SourceForge and GitHub.

     
  • Liviu Ionescu (ilg)

    • status: open-accepted --> closed