mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
eb6addeba5
It turns out that the fix for the missing terminating newline is not robust. This hopefully fixes the issue and resolves the following error message: In file included from /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/main.c:25: /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:36: error: stray '\' in program 7221 | /* fix for no newline at eof */\n | ^ /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:38: error: expected ';' before '_Alignas' 7221 | /* fix for no newline at eof */\n | ^ | ;
14 lines
242 B
Makefile
14 lines
242 B
Makefile
include ../Makefile.tests_common
|
|
|
|
USEPKG += emlearn
|
|
|
|
BLOBS += digit
|
|
|
|
BUILDDEPS += model.h
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
model.h: $(CURDIR)/model
|
|
$(Q)$(CURDIR)/generate_model.py
|
|
$(Q)echo "/* fix for no newline at eof */" >> model.h
|