]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
target: stm8: drop include file stm8.h
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 19 Apr 2025 09:03:46 +0000 (11:03 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Thu, 1 May 2025 15:22:53 +0000 (15:22 +0000)
commitcbd7987c7ca2656b60bc8964bb1d9b7819e66ccb
tree2c5556f46187c336082e2412e9f6c625ba71a512
parent4d4c45cfd25703f39f9e2413b22d91a48c4b4565
target: stm8: drop include file stm8.h

The file stm8.h is only included by stm8.c and provides some basic
declaration that can be simply part of the C file.

Drop the file stm8.h and move its content in stm8.c
Replace the macro 'STM8_NUM_CORE_REGS' with the existing macro
'STM8_NUM_REGS'.

While there:
- drop the useless include of "hello.h".

Change-Id: Iecd1a27f0630cdbbfd51033d34aa3d468aa63464
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8856
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
src/target/Makefile.am
src/target/stm8.c
src/target/stm8.h [deleted file]