mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/735718 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
# arduino-preprocessor
|
|
# --------------------
|
|
|
|
tools.arduino-preprocessor.path={runtime.tools.arduino-preprocessor.path}
|
|
tools.arduino-preprocessor.cmd.path={path}/arduino-preprocessor
|
|
tools.arduino-preprocessor.pattern="{cmd.path}" "{source_file}" "{codecomplete}" -- -std=gnu++11
|
|
|
|
# ctags
|
|
# ------------------------------
|
|
tools.ctags.path=/usr/bin
|
|
tools.ctags.cmd.path={path}/arduino-ctags
|
|
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
|
|
|
|
# additional entries
|
|
tools.avrdude.path=/usr/bin
|
|
|
|
preproc.macros.flags=-w -x c++ -E -CC
|
|
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
|
|
#recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_flags} {includes} "{source_file}" -o "{preprocessed_file_path}"
|