Code Monkey home page Code Monkey logo

stm32cube-f3-meson's Introduction

STM32Cube-f3-meson

Another STM32Cube-f3 repos. Optimized for Meson Build System

differences from original STM32Cube-F3

This repo is mostly just a copy of the original 1.9.0 I added of course a meson.build file and made a instance of the stm32f3xx_hal_conf.h file. The stm32f3xx_hal_conf.h enables all libs.

This is not a downside! Because the linker will strip all unused symbols and functions from the libs and will only compile if something was changed in the sources we don't have more code- or data-size and also compiles with meson in an instant.

usage (easy)

use my example project STM32F3Discovery-meson-example

usage

Use this project as a git submodule.

The meson.build file defines two variables

  • stm32cube_srcs
  • stm32cube_incdirs

use this project in your main Meson Project as subdir project and use the variables for generating your executable

    # subdir
    subdir('STM32Cube-f3-meson')

    main = executable(
                'main.elf',
                [srcs, stm32cube_srcs],
                c_args              : compilerArgs,
                link_args           : linkArgs,
                include_directories : [incdirs, stm32cube_incdirs] )

License

Of course the STM32Cube Library is under its own license, all other stuff under my chosen MIT License

stm32cube-f3-meson's People

Contributors

hwengineer avatar

Watchers

James Cloos avatar

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.