Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate project configuration and build system #9

Open
powerbroker opened this issue Jun 21, 2023 · 0 comments
Open

Separate project configuration and build system #9

powerbroker opened this issue Jun 21, 2023 · 0 comments

Comments

@powerbroker
Copy link

there are configuration subfolders in the /transistortester/software/trunk, e.g. 'mega328_MK-328', 'mega644_LCD2004' and so on, containing 'Makefile', specific for each configuration.
there are lots of configuration settings in the config-specific 'Makefile's, and a short build procedure definition. the most of settings are in form of compiler flags, defining macros.

it's extremely hard to enforce proper code assistance and to build project from sources within IDE(with it's own build procedure).

would be great to have configuration setting inside some header file, like default "avr/io.h" is done. depending on project's 'MCU Type' it includes corresponding IO definition header, e.g. 'avr/iom328p.h' in case of 'ATmega328P' or 'ATmega328'.
this way, 'to build the project user just include e.g. 'config.h', which in case of 'st7565_kit' includes default 'st7565_kit.h', in case of 'GM328' - default 'gm328.h', in case of custom schematics - 'custom.h'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant