Skip to content

JalonWong/mcu_meson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross compilation in Meson

Cross files for gcc-arm-none-eabi and ARMClang in the Meson build system.

Usage

  1. Get python wheel from release page
  2. pip install ./mcu_meson_setup-*.whl
  3. Copy example/setup.py to your project, and modify it.
    1. the link of cross files can be a:
      • URL link: https://*
      • local relative path: ../*
      • main branch of this repository: main:gcc-arm-none-eabi.ini
      • tag of this repository: tag:v0.3.0:gcc-arm-none-eabi.ini
  4. Run python setup.py
    1. You can see options via python setup.py --h
    2. The extra arguments will be passed to meson python setup.py --debug
    3. You can also pass arguments via the function setup(args=["--debug"])

See also example.

Known issues

  • Currently, armclang doesn't work. It needs this PR

About

Cross files for gcc-arm-none-eabi and ARMClang in the Meson build system.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors