Skip to main content

Project generator

Build Status

Source code is often times simple but building it is difficult when more than one person is involved. Developers like what they like: IDE, compiler, debugger and really all we want is to produce an executable. Sharing project files decoding XML in commit messages because someone was debugging and changed compile options before commiting distracts from doing what you want to do; develop software.

This project allows you to define a project in text using YAML files and generate IDE project files based on the rules defined in records. No one should ever commit IDE specific project file to a repository again!

All open sourced - licensed under Apache v2.0 license.

Current Status

The project is in alpha phase. Check issues for the ongoing tasks or todo tasks.

Project generator currently generaters projects for the following tools (IDE, Makefile, etc..):

  • uVision4 and uVision5
  • IAR
  • Makefile (GCC ARM)
  • Makefile (ARMCC)
  • Cmake (GCC ARM)
  • CoIDE (GCC ARM)
  • Eclipse (Makefile with GCC ARM)
  • Sublime (Makefile with GCC ARM)
  • Visual studio (Makefile with GCC ARM)

We appreciate any help and you are more than welcome to send a pull request or create a new issue in this repository. The plan is to support as many IDE as possible , same applies for targets/MCU.

How to use it

There are two options, how to use it. Either you download pypi package or you can clone this repository to your project directory.

Using package

Once installed, test if project_generator is recognized:

progen --version

This should print the current installed version. You can use progen or project_generator as a command.

Using directly the repository

In case of using this repository directly, be aware, the project generator is using relative paths. To solve this, invoke run.py with arguments as you would if using the package. Something like: python run.py --version. This helps with debugging the package.

Getting started

An example how to use progen baremetal blinky examples or more advanced mbed blinky examples.

Docs

To get familiar with it, read our wiki. Good start is Getting started guide (wiki). There are other sections which describe the each blocks of the project generator.

Add a new target/mcu

We use project generator definitions, which is a separate python module and contains mcu/target database plus parser to obtain those from tools projects, visit github page here.

Dependencies for Project generator

Release files for project-generator 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for project-generator 0.12.0
File Size Uploaded
project_generator-0.12.0.tar.gz 78.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for project-generator 0.12.0
File Interpreter ABI Platform
project_generator-0.12.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 185.3 kB

Release files / project_generator-0.12.0.tar.gz

Download URL project_generator-0.12.0.tar.gz
Size 78.7 kB
Tags Source
SHA-256 checksum
How to use checksums
09001ea5f04fc4294ad970f84acbeec1fb937662cd7425c05f5f463385002683
BLAKE2b-256 checksum
How to use checksums
f447fd0cac2fff5d6a13952c6d88bb34d41572395841477f48e15db28e33b470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / project_generator-0.12.0-py2.py3-none-any.whl

Download URL project_generator-0.12.0-py2.py3-none-any.whl
Size 106.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8dd9b1639db4f0838f768cce0d25d0ef79a03980de53e33b7e728db755b1db3e
BLAKE2b-256 checksum
How to use checksums
1dfff53d8dd8829688e78e15f7017959d3da6e25fe23a970d0ed751aae78b578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.11.0

2 release files

0.9.17

2 release files

0.9.16

1 release file

0.9.15

1 release file

0.9.13

1 release file

0.9.12

2 release files

0.9.11

1 release file

0.9.10

1 release file

0.9.9

1 release file

0.9.8

1 release file

0.9.7

1 release file

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.17

1 release file

0.8.15

1 release file

0.8.14

1 release file

0.8.13

1 release file

0.8.12

1 release file

0.8.11

1 release file

0.8.10

1 release file

0.8.9

1 release file

0.8.8

1 release file

0.8.7

1 release file

0.8.6

1 release file

0.8.5

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.8

1 release file

0.7.7

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.10

2 release files

0.5.9

1 release file

0.5.8

1 release file

0.5.7

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.1

1 release file

0.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page