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

Create script to setup a new repository #4

Open
aeroniemi opened this issue Mar 11, 2024 · 1 comment
Open

Create script to setup a new repository #4

aeroniemi opened this issue Mar 11, 2024 · 1 comment

Comments

@aeroniemi
Copy link

Currently, setting up a new custom device/board is quite a lot of effort, because you have to go through a lot of locations and edit the names/values of things. This issue suggests creating a interactive script, similar to npm init or create-react-app that asks the user for some values (e.g. the name of the device, supported boards, etc.) and then applies them to setup the project as required. This would reduce the barrier to entry/time taken for creating new devices.

I think the easiest way would be another python script to run pre-build if the project has not been configured as yet with interactive prompts, but it could also be a seporate python script for users to run (e.g python ./project-setup.py)

@aeroniemi
Copy link
Author

Something along the lines of:

New device setup wizard
Pretty name of your project: ...
Code-compliant name of your project: ...
Support Arduino Mega (Y/n):
Support Raspberry Pi Pico (Y/n):

Configure device 1
Pretty name of your device:
Code-compliant name of your device:

Do you require more than one device (y/N)?

*if y*:

Configure device 2
...

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

No branches or pull requests

1 participant