-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add graphical hardware profile editor #2274
Conversation
Required, for example, to select 'spiffs' option then adjusting it to fit a 1M device
Write separate `debug.mk` file for access by tools Can now resolve paths in partition table so we can check file sizes
(Configuration variables will be wrong otherwise)
This pull request introduces 2 alerts when merging c85a7aa into 2705310 - view on LGTM.com new alerts:
|
e.g. setting 4m option won't otherwise adjust positions
@mikee47 The editor looks great! Would it be possible to add also delimiter/borders marking the end of a MB? For example delimite/border after 1MB, 2MB and so on. |
@slaff Adding markers, etc. isn't practical/possible with the treeview widget, but it was the simplest way to get a useable interface. Further improvement could be made using a fully custom-drawn area, showing a more graphical map with some scaling, shading, etc. Something for the future... |
Ok, sounds fare. Are you ready with this PR or would like to add some more changes before I merge it? |
@slaff All done for now thanks. |
I like the map. I was thinking about something simple but this is much better. If you haven't done so take a look for inspiration at qtparted or gparted in Linux. Their interface is powerful and easy to use. |
I went with TK for this as it's bundled with python3. Basic but hopefully useful.
Enter
make hwconfig-edit
from project directory.