Coder Social home page Coder Social logo

Support more STM32 families about stm32-cmake HOT 8 CLOSED

obko avatar obko commented on June 8, 2024
Support more STM32 families

from stm32-cmake.

Comments (8)

mgiaco avatar mgiaco commented on June 8, 2024

Hello ted-xp,

Can you explain how to build on windows a little bit better - please?
I have tried it but what do you mean with "Prepare initial CMake cache contents build_settings setting paths proper for your installation"

thanks
mathias

from stm32-cmake.

mgiaco avatar mgiaco commented on June 8, 2024

Okay so i got it to work on windows 7
mathias

from stm32-cmake.

xor-gate avatar xor-gate commented on June 8, 2024

@mgiaco please post how you use it on windows so @ObKo could add this to the README.md

from stm32-cmake.

ted-xp avatar ted-xp commented on June 8, 2024

@mgiaco, sorry for not answering for so long - I'm pretty overloaded on my current job now -) I think it might be worth that you explain which steps were unclear to you so that I could explain it better in documentation (At least the words you cited were taken from my branch of @ObKo wonderful original work).

By the way, though I made some refactoring (mostly to suit my needs: using STM32F2 family and new StdPeriph releases) of the original code and made certain handy patches, I can't help feeling that the whole build method looks weird, complicated and difficult to maintain and to extend -(

Anyway my branch is currently used in production environment to build both under Windows and Linux. Though now I prefer to use https://launchpad.net/gcc-arm-embedded/ toolchain instead of CodeSourcery mentioned in documentation file.

from stm32-cmake.

mgiaco avatar mgiaco commented on June 8, 2024

@ted-xp and @jerryjacobs so I only use the fork from ted-xp to build a project for an STM32F1 with the latest STM Lib for the F1. I do not use the Cube stuff till now. So add a branch to my fork I named it ted_update. So I always use out of source builds with cmake so .. I added a read.me in cmsis and in stdp.. and also in the blinky. For the blinky I also added a fab file to build with fabric. That´s really nice I think you can use python fabric to cal local make stuff :-) This also works from eclipse

from stm32-cmake.

mgiaco avatar mgiaco commented on June 8, 2024

In the next days I will switch back to the original master from @ObKo because he updated the whole stuff to the new Cube Libs a few days ago :-). I only use F1 and F4 devices so I can go with it I think. My goal is to build on windows for work and linux for daily test and build. So I only tried windows now. On linux I think i do not need the the cached build settings - right?

Have you already tried to build on windows with the new master from @ObKo ?

thanks mathias

from stm32-cmake.

ObKo avatar ObKo commented on June 8, 2024

Since this issue becomes discussion thread, there is some further improvements I'm planning to done:

  • CMSIS and HAL now used as sources, so projects for CMSIS and HAL is useless. In future, cmake scripts will search for sources directly in STM32CubeMX folders using STM32Cube_DIR variable.
  • Script for searching Cube's HAL will support cmake's COMPONENTS for selecting required hal components as it already done in ChibiOS scripts.
  • (maybe) Autogeneration of linker script and stm32f*_hal_conf.h

from stm32-cmake.

spf67 avatar spf67 commented on June 8, 2024

I use STM32L152RCT6 chip. Can you help me to use this project for this chip?

from stm32-cmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.