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

feat(drivers): common code for iob_class drivers, linux header generation #15

Merged
merged 5 commits into from
Feb 15, 2024

Conversation

P-Miranda
Copy link
Contributor

  • add iob_class utility functions
  • drivers makefile imports driver.mk makefile segment with
    $(MODULE_NAME)-obj := src1.o src2.o
    list of objects for the target module driver to compile
  • add drivers.py script to generate linux drivers C headers with module's register information
  • generate header with the command:
./path/to/drivers.py [module] -o [output_dir]
./submodules/OS/software/scripts/drivers.py iob_timer -o
./submodules/OS/software/drivers/

- add iob_class utility functions
- drivers makefile imports `driver.mk` makefile segment with
  `$(MODULE_NAME)-obj := src1.o src2.o`
list of objects for the target module driver to compile
- add script to generate linux header files
- generate header with the command:
```
./path/to/drivers.py [module] -o [output_dir]
./submodules/OS/software/scripts/drivers.py iob_timer -o
./submodules/OS/software/drivers/
```
- update makefile to use `drivers.py` script
- move script to `scripts/` directory
@P-Miranda P-Miranda closed this Feb 14, 2024
@P-Miranda P-Miranda reopened this Feb 14, 2024
@jjts jjts merged commit 3a466ec into IObundle:main Feb 15, 2024
1 of 2 checks passed
@P-Miranda P-Miranda deleted the timer-driver branch February 15, 2024 11:14
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

Successfully merging this pull request may close these issues.

None yet

2 participants