2024-11-07 08:50:38 +00:00
|
|
|
# STM32 CMake+CppuTest Template
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- An ARM compiler and linker.
|
|
|
|
- Bash or a POSIX shell.
|
|
|
|
- CMAKE version 3.20 or newer.
|
|
|
|
- Cpputest 3.8 or newer.
|
|
|
|
- Clangd LSP.
|
|
|
|
- Git version control.
|
|
|
|
|
|
|
|
## Instructions
|
|
|
|
|
|
|
|
1. Clone/copy the repo locally.
|
|
|
|
2. Check the requirements to make sure you're development enviroment is ready.
|
|
|
|
3. Update the linker script files to target your current uC.
|
2024-11-10 20:49:39 +00:00
|
|
|
4. Change line 45 of `Doxyfile` with the project name.
|
|
|
|
5.
|
2024-11-07 08:50:38 +00:00
|
|
|
|
|
|
|
## Running Tests
|
2024-11-10 14:35:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
- [ ] Create or copy a linker.ld file.
|
|
|
|
- [ ] Add a startup file for at least the stm32f103c8t6.
|
|
|
|
- [ ] Add messages for case where tool-chain is missing.
|
|
|
|
- [ ] Check for FreeBSD & Linux compat.
|
|
|
|
- [ ] Add in RTOS stuff.
|
2024-11-10 20:49:39 +00:00
|
|
|
|
|
|
|
|