fix(ulp): Added unit tests for ulp binary embed with prefix and misc fixes

This commit:
- Removes the link time symbol name clash detection.
- Extracts symbols of type NOTYPE for global identifiers defined in
  assembly files.
- Makes the prefix argument optional for ulp_add_build_binary_targets().
- Adds a unit test for the ulp binary embed with a prefix feature.
This commit is contained in:
Sudeep Mohanty
2024-12-16 10:31:22 +05:30
committed by BOT
parent e29bccbf6a
commit 24d44e1696
10 changed files with 142 additions and 18 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ If you need to embed multiple ULP programs, you may add a custom prefix in order
ulp_embed_binary(${ulp_app_name} "${ulp_sources}" "${ulp_exp_dep_srcs}" PREFIX "ULP::")
The additional argument can be a C style prefix (like ``ulp2_``) or a C++ style prefix (like ``ULP::``).
The additional PREFIX argument can be a C style prefix (like ``ulp2_``) or a C++ style prefix (like ``ULP::``).
Using a Custom CMake Project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+1 -1
View File
@@ -53,7 +53,7 @@ If you need to embed multiple ULP programs, you may add a custom prefix in order
ulp_embed_binary(${ulp_app_name} "${ulp_sources}" "${ulp_exp_dep_srcs}" PREFIX "ULP::")
The additional argument can be a C style prefix (like ``ulp2_``) or a C++ style prefix (like ``ULP::``).
The additional PREFIX argument can be a C style prefix (like ``ulp2_``) or a C++ style prefix (like ``ULP::``).
Using a Custom CMake Project
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+1 -1
View File
@@ -64,7 +64,7 @@ If you need to embed multiple ULP programs, you may add a custom prefix in order
ulp_embed_binary(${ulp_app_name} "${ulp_sources}" "${ulp_exp_dep_srcs}" PREFIX "ULP::")
The additional argument can be a C style prefix (like ``ulp2_``).
The additional PREFIX argument can be a C style prefix (like ``ulp2_``) or a C++ style prefix (like ``ULP::``).
3. Build the application as usual (e.g., ``idf.py app``).