mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
Add note on embedded system
This commit is contained in:
parent
77b1ad294e
commit
eb228f78cb
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
### Contributing to the Battery-Emulator project
|
### Contributing to the Battery-Emulator project
|
||||||
|
|
||||||
|
## Notes on embedded system
|
||||||
|
The Battery-Emulator is a real-time control system, which performs lots of time critical operations. Some operations, like contactor control, need to complete within 10 milliseconds periodically. The resources of the ESP32 microcontroller is limited, so keeping track of CPU and memory usage is essential. Keep this in mind when coding for the system! Performance profiling the system can be done by enabling the FUNCTION_TIME_MEASUREMENT option in the USER_SETTINGS.h file
|
||||||
|
|
||||||
## Code formatting
|
## Code formatting
|
||||||
The project enforces a specific code formatting in the workflows. To get your code formatted properly, it is easiest to use a pre-commit hook before pushing the code to a pull request.
|
The project enforces a specific code formatting in the workflows. To get your code formatted properly, it is easiest to use a pre-commit hook before pushing the code to a pull request.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue