Skip to content

Allow multiple extensions for assembly file types #947

@cosmikwolf

Description

@cosmikwolf

🍍
Some libraries sometimes have .s and .S files that come together (like threadx for example), and it looks like the function find_build_input_file strips the extension from the file name, and then tries to re-add using the :extension: selection. It appears that there is not support for multiple extensions here.

I think it would make a lot of sense to allow someone to put a list of extensions for filenames like so:

:extension:
  :header: .h
  :source: .c
  :assembly:
    - .s
    - .S
    - .asm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions