Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move test runner to build/native | David Phillips | 2021-02-13 |
| | |||
* | Add dep files to Makefile | David Phillips | 2021-02-13 |
| | | | | Also includes WIP data manager code. | ||
* | Add test runner | David Phillips | 2021-02-13 |
| | | | | | | | | | | | | | | This patch adds a "magic" test runner which discovers all test cases in the executable into which it is linked. This is achieved through the use of a special macro used to declare tests, so that they are added onto a linker- generated list. The linker list logic is largely taken from U-Boot source code, with minor some tweaks made. This linker-generated list is then used at runtime in order to pick out every test case which can be run, resulting in a cross-file "suite" of unity unit tests, rather than separate test executables per module. A sample test module, test_test.c is provided to illustrate the test runner's ability to correctly discover tests across multiple translation units. | ||
* | Print MCU fill as well as section size | David Phillips | 2021-02-08 |
| | |||
* | Print cross ELF section size on make | David Phillips | 2021-02-08 |
| | |||
* | Add basic unit testing for util.c | David Phillips | 2021-02-08 |
| | |||
* | Add documentation to Makefile | David Phillips | 2021-02-08 |
| | |||
* | Use float-enabled printf implementation | David Phillips | 2020-12-20 |
| | | | | | I hadn't realised there is a float-enabled printf implementation in AVR libc, so let's use that instead of our own hack. | ||
* | Remove unneeded variables | David Phillips | 2020-12-13 |
| | |||
* | Set a 2 second watchdog timer | David Phillips | 2020-12-13 |
| | |||
* | Initial prototype | David Phillips | 2020-12-13 |
This patch adds a skeleton of AVR code for a "simulator" target (atmega2560) and for the real intended hardware target (atmega32u4). The simulator target is one that is supported by the QEMU AVR emulator, while the 32u4 is currently not. |