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

all: refactor configuration data into config file #69

Open
3 of 7 tasks
jorgegv opened this issue Oct 22, 2021 · 3 comments
Open
3 of 7 tasks

all: refactor configuration data into config file #69

jorgegv opened this issue Oct 22, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jorgegv
Copy link
Owner

jorgegv commented Oct 22, 2021

Refactor all configurtation data which is spread among the tools and source code into a global config file, and make the tools read it and generate code according to it.

Tasks:

  • Create config file
  • Create tool to generate rageconfig.h and rageconfig.inc from config file (C and ASM include files)
  • DATAGEN: make generated files include the previous include files (C and ASM)
  • Modify data target in Makefile to generate the config include files as the first step before generating any code
  • Refactor memory map config (base addresses for dataset, codesets, etc.)
  • Refactor memory bank assignments (for codeset/dataset/banked)
  • ...
@jorgegv jorgegv added the enhancement New feature or request label Oct 22, 2021
@jorgegv jorgegv added this to the Release 0.5.0 milestone Oct 22, 2021
@jorgegv jorgegv self-assigned this Oct 22, 2021
@jorgegv jorgegv removed this from the Release 0.5.0 milestone Oct 28, 2021
@andy5995
Copy link

What about this for a parser (I'm the maintainer)? https://github.com/andy5995/canfigger

@jorgegv
Copy link
Owner Author

jorgegv commented Dec 21, 2021

hi andy,

thanks but the config file for the build will be a simple key=value format which can be parsed with about half a dozen lines of perl code, so I don't need a full C parser for this. But thanks for the offer :-)

@andy5995
Copy link

You're welcome @jorgegv . Thanks for the reply. Good luck with your project!

@jorgegv jorgegv added this to the Release 0.6.0 milestone Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants