rage1
rage1 copied to clipboard
all: refactor configuration data into config file
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:
- [x] Create config file
- [ ] Create tool to generate
rageconfig.h
andrageconfig.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 - [x] Refactor memory map config (base addresses for dataset, codesets, etc.)
- [x] Refactor memory bank assignments (for codeset/dataset/banked)
- [ ] ...
What about this for a parser (I'm the maintainer)? https://github.com/andy5995/canfigger
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 :-)
You're welcome @jorgegv . Thanks for the reply. Good luck with your project!