Lines Matching +full:directory +full:- +full:to +full:- +full:scan
3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
92 bool "Link application into /chosen/zephyr,code-partition from devicetree"
95 selected by the zephyr,code-partition property in /chosen in devicetree.
99 # Workaround for not being able to have commas in macro arguments
100 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
103 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
116 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
121 If non-zero, this option specifies the size, in bytes, of the flash
122 area that the Zephyr image will be allowed to occupy. If zero, the
123 image will be able to occupy from the FLASH_LOAD_OFFSET to the end of
136 If the application is built for chain-loading by a bootloader this
137 variable is required to be set to value that leaves sufficient
139 section to store an image header or any other metadata.
141 space to store the image header, which should also meet vector table
149 If non-zero, this option reduces the maximum size that the Zephyr image is allowed to
150 occupy, this is to allow for additional image storage which can be created and used by
168 Select this option to use the LD linker script templates.
169 The templates are pre-processed by the C pre-processor to create the
176 Select this option to use the Zephyr CMake linker script generator.
187 Set this option if you have a custom linker script which needed to
191 string "Path to custom linker script"
194 Path to the linker script to be used instead of the one define by the
200 This is useful when an application needs to add sections into the
201 linker script and avoid having to change the script provided by
208 Code entry symbol, to be set at linking phase.
214 This turns on the linker flag to sort sections by alignment
215 in decreasing size of symbols. This helps to minimize
255 If enabled, the symbols which need to be pinned in memory
270 will be put into a linker section reserved for on-demand symbols.
274 Requires that on-demand sections exist in the architecture, SoC,
283 tables. This allows kernel to pull in data pages on demand
285 is enabled. There is no need to load all code and data into
311 Pattern to fill into last section as identifier.
319 Hidden symbol to allow features to force the use of no relax.
328 instructions in the output object file. For ld and lld, this enables `--relax`.
329 On platforms where this is not supported, `--relax' is accepted, but ignored.
330 Disabling it can reduce performance, as the linker is no longer able to substiture long /
331 in-effective jump calls to shorter / more effective instructions.
367 Hidden option to select compiler support C99 standard or higher.
373 Hidden option to select compiler support C11 standard or higher.
379 Hidden option to select compiler support C17 standard or higher.
385 Hidden option to select compiler support C23 standard or higher.
433 Hidden option to signal that toolchain supports GNU Extensions.
445 Use available compiler flags to check coding guideline rules during
490 Configure the compiler to operate in freestanding mode according to
493 negatively impact the ability for the compiler to detect errors and
510 Compiler optimizations will be set to -Os independently of other
516 Compiler optimizations wil be set to -Oz independently of other
522 Compiler optimizations will be set to -O2 independently of other
528 Compiler optimizations will be set to -Og independently of other
534 Compiler optimizations will be set to -O0 independently of other
538 default stack sizes in order to avoid stack overflows.
557 Instruct the compiler to save the temporary intermediate files
565 tracked. Disabling this option may be useful to debug long macro
581 to be enabled.
586 Disables both compile-time and run-time checking.
589 bool "Compile-time detection"
591 Enables only compile-time checking. Compile-time checking
593 limits checking to what can be done with information available
597 bool "Compile-time and run-time detection"
599 Enables both compile-time and run-time checking. Run-time
609 This option is a free-form string that is passed to the compiler
613 and can be used to change compiler optimization, warning and error
619 Causes the source code to build in "MISRA" mode, which
620 disallows some otherwise-permitted features of the C
660 Create a stat file using readelf -e <elf>
678 not just those expected to contain instructions including zeros
687 since it can be used to remove one of the elements of
692 bool "Print memory usage to stdout"
696 --print-memory-region to the linker when it is doing it's first
699 directly to the real physical address space. Take also note that
701 match exactly to the final elf file. See also rom_report,
708 Delete intermediate files to save space and cleanup clutter resulting
717 This value should be set to the value of a clean flash as this can
731 Build an Intel HEX binary zephyr/zephyr.hex in the build directory.
744 Build a "raw" binary zephyr/zephyr.bin in the build directory.
757 Instead, the stub code will copy the embedded zephyr sections to the
758 appropriate locations at startup, clear any zero-filled (BSS, etc...)
765 zephyr/zephyr.exe in the build directory.
771 Build an S19 binary zephyr/zephyr.s19 in the build directory.
784 Build a UF2 binary zephyr/zephyr.uf2 in the build directory.
818 This can be either a hex, e.g. 0x68ed2b88, or well-known family
820 be pre-filled with the known value.
835 Build a stripped binary zephyr/zephyr.strip in the build directory.
841 Compress debug sections in the ELF file to reduce the file size.
850 stage loaders where a pre-loader may copy image to a second location
854 - 1024
855 - 0x1000
856 - -0x1000
857 - 0x20000000 - 0x10000000
859 To adjust according to a chosen flash partition one can specify a
861 DT_CHOSEN_IMAGE_<name> := <name>,<name>-partition
864 default "$(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_M4))-\
871 This determines the output sections to which the above LMA adjustment
876 as a ";"-separated list. It's possible to supply a 'negative' pattern
877 starting with "!", to exclude sections matched by a preceding pattern.
890 - Number of segments in the image
891 - LMA address of each segment
892 - VMA address of each segment
893 - Size of each segment
901 some tooling, such as objcopy, to be able to adjust the LMA of the
905 bool "Scan application folder for any syscall definition"
907 Scan additional folders inside application source folder
914 third party Makefile-based build systems.
919 Create a build meta file in the build directory containing lists of:
920 - Zephyr: path and revision (if git repo)
921 - Zephyr modules: name, path, and revision (if git repo)
922 - West:
923 - manifest: path and revision
924 - projects: path and revision
925 - Workspace:
926 - dirty: one or more repositories are marked dirty
927 - extra: extra Zephyr modules are manually included in the build
928 - off: the SHA of one or more west projects are not what the manifest
929 defined when `west update` was run the last time (`manifest-rev`).
937 Propagate to state of each module to the Zephyr revision field.
938 If west is used the state of each west project is also propagated to
942 The final revision will become: <SHA>-<state1>-<state2>-<state3>...
943 If no states are appended to the SHA it means the build is of a clean
945 - dirty: one or more repositories are marked dirty
946 - extra: extra Zephyr modules are manually included in the build
947 - off: the SHA of one or more west projects are not what the manifest
948 defined when `west update` was run the last time (`manifest-rev`).
962 Debuggers usually have a path mapping feature to ensure the files are
983 This tells the build system to emit all possible syscalls found
993 considered to be deprecated.
994 When adding this to an option, remember to follow the instructions in
1008 Symbol that must be selected by a feature if it is considered to be
1034 linking against a binary-only C++ library whose type mangling
1050 This option indicates that Zephyr will act as a bootloader to execute
1067 Sets the CDC ACM port to watch for reboot commands.
1084 as the magic value to enter the bootloader.
1090 0xf01669ef as the magic value to enter the bootloader.
1102 Allow applications and libraries to use the Zephyr legacy include
1105 From now on, i.e., the preferred way to include the `version.h` header is to
1107 user applications won't immediately fail to compile.