Update `IOCTLPORT` in `abstract_inout`
Add doxyfile
Add doxygen link to README.md
Move constants and defines to `constants.hpp`
Please add new defines here. Enum types should be put in its correct namespace.
Add state machine diagram of conveyor 1
Add new enum `loglevel` to `constants.hpp`
this enum is defined for namespace `se2::util`.
Add `logging` class
To access the logging functionality, use the defines from `logging.hpp`.
The available defines are `LOG_TRACE(msg)`, `LOG_DEBUG(msg)`, `LOG_WARNING(msg)`,
`LOG_ERROR(msg)`. You should avoid calling `logging::log()` directly.
Make `m_io` in `hwaccess` replaceable
this is only possible with `iostubs` and is just supported when compiled with `USE_STUBS`.
Fix include of `iostub.hpp` in `HWaccess.hpp`
Add HAL unit tests
Add state machine diagram of conveyor 2 v0
Add addresses and defines for IRQ and Analog IO
The following defines were added to `constants.hpp`:
`IOANALOG_BASE`, `IOANALOG_OFFSET`, `START_HEIGHT_MEASURE`,
`IRQ_ENABLE_MASK`, `IRQ_INIT_MASK`, `PORTB_INTERRUPT`,
`PORTB_INTERRUPT`, `IO_IRQ`. The enum `port_num` also got new
entries: `IRQ_ENABLE_REG`, `IRQ_CLEAR_REG`.
Extend `hwaccess` to handle irq from DIO ports
Add functionality to `hwaccess::get_height_value()`
All loggings except `LOG_TRACE` are printed to `cout`
Add simple unit test runtime
this include an abstract class `abstract_test`, every unit test has to inherit
from this class. The unit test has to run in a `test_suite` class.
Also add unit tests for the HAL.
Merge branch 'topic/unit_testing' into develop
Add `hwaccess::stop_isr()`
This function unregisters all irq related handles. This function is called in `hwaccess::~hwaccess()`.
Simplify `test_suite` class
Fix some define glitches