mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
components: fix ldgen check errors
This commit is contained in:
@@ -3,10 +3,11 @@ archive: libapp_trace.a
|
|||||||
entries:
|
entries:
|
||||||
app_trace (noflash)
|
app_trace (noflash)
|
||||||
app_trace_util (noflash)
|
app_trace_util (noflash)
|
||||||
SEGGER_SYSVIEW (noflash)
|
if SYSVIEW_ENABLE = y:
|
||||||
SEGGER_RTT_esp32 (noflash)
|
SEGGER_SYSVIEW (noflash)
|
||||||
SEGGER_SYSVIEW_Config_FreeRTOS (noflash)
|
SEGGER_RTT_esp32 (noflash)
|
||||||
SEGGER_SYSVIEW_FreeRTOS (noflash)
|
SEGGER_SYSVIEW_Config_FreeRTOS (noflash)
|
||||||
|
SEGGER_SYSVIEW_FreeRTOS (noflash)
|
||||||
|
|
||||||
[mapping:driver]
|
[mapping:driver]
|
||||||
archive: libdriver.a
|
archive: libdriver.a
|
||||||
|
@@ -6,9 +6,8 @@ entries:
|
|||||||
regi2c_ctrl (noflash)
|
regi2c_ctrl (noflash)
|
||||||
rtc_clk (noflash)
|
rtc_clk (noflash)
|
||||||
rtc_init:rtc_vddsdio_set_config (noflash)
|
rtc_init:rtc_vddsdio_set_config (noflash)
|
||||||
rtc_periph (noflash_text)
|
|
||||||
rtc_pm (noflash_text)
|
rtc_pm (noflash_text)
|
||||||
rtc_sleep (noflash_text)
|
rtc_sleep (noflash_text)
|
||||||
rtc_time (noflash_text)
|
rtc_time (noflash_text)
|
||||||
if IDF_TARGET_ESP32S3 = n:
|
if IDF_TARGET_ESP32C3 = n:
|
||||||
rtc_wdt (noflash_text)
|
rtc_wdt (noflash_text)
|
||||||
|
@@ -7,7 +7,8 @@ set(srcs
|
|||||||
"rtc_init.c"
|
"rtc_init.c"
|
||||||
"rtc_pm.c"
|
"rtc_pm.c"
|
||||||
"rtc_sleep.c"
|
"rtc_sleep.c"
|
||||||
"rtc_time.c")
|
"rtc_time.c"
|
||||||
|
"rtc_wdt.c")
|
||||||
|
|
||||||
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
||||||
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
||||||
|
@@ -11,5 +11,3 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "soc/rtc_periph.h"
|
|
@@ -34,12 +34,14 @@ entries:
|
|||||||
archive: libesp_timer.a
|
archive: libesp_timer.a
|
||||||
entries:
|
entries:
|
||||||
if PM_SLP_IRAM_OPT = y:
|
if PM_SLP_IRAM_OPT = y:
|
||||||
esp_timer_impl_lac:esp_timer_impl_lock (noflash)
|
if ESP_TIMER_IMPL_TG0_LAC = y:
|
||||||
esp_timer_impl_lac:esp_timer_impl_unlock (noflash)
|
esp_timer_impl_lac:esp_timer_impl_lock (noflash)
|
||||||
esp_timer_impl_lac:esp_timer_impl_advance (noflash)
|
esp_timer_impl_lac:esp_timer_impl_unlock (noflash)
|
||||||
esp_timer_impl_systimer:esp_timer_impl_lock (noflash)
|
esp_timer_impl_lac:esp_timer_impl_advance (noflash)
|
||||||
esp_timer_impl_systimer:esp_timer_impl_unlock (noflash)
|
elif ESP_TIMER_IMPL_SYSTIMER = y:
|
||||||
esp_timer_impl_systimer:esp_timer_impl_advance (noflash)
|
esp_timer_impl_systimer:esp_timer_impl_lock (noflash)
|
||||||
|
esp_timer_impl_systimer:esp_timer_impl_unlock (noflash)
|
||||||
|
esp_timer_impl_systimer:esp_timer_impl_advance (noflash)
|
||||||
|
|
||||||
[mapping:newlib_pm]
|
[mapping:newlib_pm]
|
||||||
archive: libnewlib.a
|
archive: libnewlib.a
|
||||||
|
@@ -6,10 +6,6 @@ entries:
|
|||||||
panic_arch (noflash)
|
panic_arch (noflash)
|
||||||
reset_reason (noflash)
|
reset_reason (noflash)
|
||||||
system_api:esp_system_abort (noflash)
|
system_api:esp_system_abort (noflash)
|
||||||
startup:do_core_init (default)
|
|
||||||
startup:do_secondary_init (default)
|
|
||||||
startup:start_cpu0_default (default)
|
|
||||||
|
|
||||||
|
|
||||||
if ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF:
|
if ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF:
|
||||||
usb_console:esp_usb_console_write_char (noflash)
|
usb_console:esp_usb_console_write_char (noflash)
|
||||||
|
@@ -2,18 +2,19 @@
|
|||||||
archive: libfreertos.a
|
archive: libfreertos.a
|
||||||
entries:
|
entries:
|
||||||
* (noflash_text)
|
* (noflash_text)
|
||||||
queue:xQueueGenericCreateStatic (default)
|
|
||||||
if FREERTOS_PLACE_FUNCTIONS_INTO_FLASH = y:
|
if FREERTOS_PLACE_FUNCTIONS_INTO_FLASH = y:
|
||||||
port: pxPortInitialiseStack (default)
|
port: pxPortInitialiseStack (default)
|
||||||
port: xPortStartScheduler (default)
|
port: xPortStartScheduler (default)
|
||||||
port: vPortStoreTaskMPUSettings (default)
|
|
||||||
port: vPortReleaseTaskMPUSettings (default)
|
|
||||||
if ESP_PANIC_HANDLER_IRAM != y:
|
if ESP_PANIC_HANDLER_IRAM != y:
|
||||||
tasks: uxTaskGetSnapshotAll (default)
|
tasks: uxTaskGetSnapshotAll (default)
|
||||||
tasks: prvTaskGetSnapshot (default)
|
tasks: prvTaskGetSnapshot (default)
|
||||||
tasks: prvTaskGetSnapshotsFromList (default)
|
tasks: prvTaskGetSnapshotsFromList (default)
|
||||||
|
if IDF_TARGET_ESP32S2 =n && IDF_TARGET_ESP32C3 = n :
|
||||||
|
port: vPortReleaseTaskMPUSettings (default)
|
||||||
|
tasks: xTaskCreateRestricted (default)
|
||||||
|
port: vPortStoreTaskMPUSettings (default)
|
||||||
|
tasks: vTaskAllocateMPURegions (default)
|
||||||
tasks: prvTaskCheckFreeStackSpace (default)
|
tasks: prvTaskCheckFreeStackSpace (default)
|
||||||
tasks: prvListTaskWithinSingleList (default)
|
|
||||||
tasks: prvInitialiseNewTask (default)
|
tasks: prvInitialiseNewTask (default)
|
||||||
tasks: prvInitialiseTaskLists (default)
|
tasks: prvInitialiseTaskLists (default)
|
||||||
tasks: prvDeleteTCB (default)
|
tasks: prvDeleteTCB (default)
|
||||||
@@ -21,7 +22,6 @@ entries:
|
|||||||
tasks: prvAddCurrentTaskToDelayedList (default)
|
tasks: prvAddCurrentTaskToDelayedList (default)
|
||||||
tasks: prvIdleTask (default)
|
tasks: prvIdleTask (default)
|
||||||
tasks: prvAddNewTaskToReadyList (default)
|
tasks: prvAddNewTaskToReadyList (default)
|
||||||
tasks: xTaskCreateStaticPinnedToCore (default)
|
|
||||||
tasks: xTaskCreatePinnedToCore (default)
|
tasks: xTaskCreatePinnedToCore (default)
|
||||||
tasks: vTaskResume (default)
|
tasks: vTaskResume (default)
|
||||||
tasks: vTaskStartScheduler (default)
|
tasks: vTaskStartScheduler (default)
|
||||||
@@ -45,16 +45,14 @@ entries:
|
|||||||
tasks: uxTaskResetEventItemValue (default)
|
tasks: uxTaskResetEventItemValue (default)
|
||||||
tasks: ulTaskNotifyTake (default)
|
tasks: ulTaskNotifyTake (default)
|
||||||
tasks: xTaskNotifyWait (default)
|
tasks: xTaskNotifyWait (default)
|
||||||
tasks: xTaskNotify (default)
|
tasks: xTaskGenericNotify (default)
|
||||||
tasks: eTaskGetState (default)
|
tasks: eTaskGetState (default)
|
||||||
tasks: pxTaskGetStackStart (default)
|
tasks: pxTaskGetStackStart (default)
|
||||||
tasks: uxTaskGetStackHighWaterMark (default)
|
tasks: uxTaskGetStackHighWaterMark (default)
|
||||||
tasks: vTaskAllocateMPURegions (default)
|
|
||||||
tasks: vTaskEndScheduler (default)
|
tasks: vTaskEndScheduler (default)
|
||||||
tasks: vTaskList (default)
|
tasks: vTaskList (default)
|
||||||
tasks: vTaskMissedYield (default)
|
tasks: vTaskMissedYield (default)
|
||||||
tasks: vTaskSetThreadLocalStoragePointer (default)
|
tasks: vTaskSetThreadLocalStoragePointer (default)
|
||||||
tasks: xTaskCreateRestricted (default)
|
|
||||||
tasks: xTaskGetAffinity (default)
|
tasks: xTaskGetAffinity (default)
|
||||||
tasks: xTaskGetIdleTaskHandleForCPU (default)
|
tasks: xTaskGetIdleTaskHandleForCPU (default)
|
||||||
timers: prvInsertTimerInActiveList (default)
|
timers: prvInsertTimerInActiveList (default)
|
||||||
@@ -68,7 +66,6 @@ entries:
|
|||||||
timers: prvProcessReceivedCommands (default)
|
timers: prvProcessReceivedCommands (default)
|
||||||
timers: xTimerCreateTimerTask (default)
|
timers: xTimerCreateTimerTask (default)
|
||||||
timers: xTimerCreate (default)
|
timers: xTimerCreate (default)
|
||||||
timers: xTimerCreateStatic (default)
|
|
||||||
timers: xTimerGenericCommand (default)
|
timers: xTimerGenericCommand (default)
|
||||||
timers: xTimerGetPeriod (default)
|
timers: xTimerGetPeriod (default)
|
||||||
timers: xTimerGetExpiryTime (default)
|
timers: xTimerGetExpiryTime (default)
|
||||||
@@ -77,7 +74,6 @@ entries:
|
|||||||
timers: vTimerSetTimerID (default)
|
timers: vTimerSetTimerID (default)
|
||||||
timers: prvGetNextExpireTime (default)
|
timers: prvGetNextExpireTime (default)
|
||||||
event_groups: prvTestWaitCondition (default)
|
event_groups: prvTestWaitCondition (default)
|
||||||
event_groups: xEventGroupCreateStatic (default)
|
|
||||||
event_groups: xEventGroupCreate (default)
|
event_groups: xEventGroupCreate (default)
|
||||||
event_groups: xEventGroupWaitBits (default)
|
event_groups: xEventGroupWaitBits (default)
|
||||||
event_groups: xEventGroupClearBits (default)
|
event_groups: xEventGroupClearBits (default)
|
||||||
@@ -92,11 +88,9 @@ entries:
|
|||||||
queue: xQueueGenericReset (default)
|
queue: xQueueGenericReset (default)
|
||||||
queue: xQueueGenericCreate (default)
|
queue: xQueueGenericCreate (default)
|
||||||
queue: xQueueGetMutexHolder (default)
|
queue: xQueueGetMutexHolder (default)
|
||||||
queue: xQueueCreateCountingSemaphoreStatic (default)
|
|
||||||
queue: xQueueCreateCountingSemaphore (default)
|
queue: xQueueCreateCountingSemaphore (default)
|
||||||
queue: xQueueGenericSend (default)
|
queue: xQueueGenericSend (default)
|
||||||
queue: xQueueCreateMutex (default)
|
queue: xQueueCreateMutex (default)
|
||||||
queue: xQueueCreateMutexStatic (default)
|
|
||||||
queue: xQueueGiveMutexRecursive (default)
|
queue: xQueueGiveMutexRecursive (default)
|
||||||
queue: xQueueTakeMutexRecursive (default)
|
queue: xQueueTakeMutexRecursive (default)
|
||||||
queue: uxQueueMessagesWaiting (default)
|
queue: uxQueueMessagesWaiting (default)
|
||||||
@@ -114,4 +108,16 @@ entries:
|
|||||||
queue: xQueueSelectFromSet (default)
|
queue: xQueueSelectFromSet (default)
|
||||||
port_common:main_task (default)
|
port_common:main_task (default)
|
||||||
port:esp_startup_start_app (default)
|
port:esp_startup_start_app (default)
|
||||||
port:esp_startup_start_app_other_cores (default)
|
if ESP_SYSTEM_SINGLE_CORE_MODE = n:
|
||||||
|
port:esp_startup_start_app_other_cores (default)
|
||||||
|
|
||||||
|
if FREERTOS_SUPPORT_STATIC_ALLOCATION = y && FREERTOS_PLACE_FUNCTIONS_INTO_FLASH = y:
|
||||||
|
[mapping:freertos_static]
|
||||||
|
archive: libfreertos.a
|
||||||
|
entries:
|
||||||
|
queue:xQueueGenericCreateStatic (default)
|
||||||
|
queue: xQueueCreateCountingSemaphoreStatic (default)
|
||||||
|
tasks: xTaskCreateStaticPinnedToCore (default)
|
||||||
|
timers: xTimerCreateStatic (default)
|
||||||
|
event_groups: xEventGroupCreateStatic (default)
|
||||||
|
queue: xQueueCreateMutexStatic (default)
|
||||||
|
@@ -10,12 +10,14 @@ entries:
|
|||||||
spi_flash_hal_iram (noflash)
|
spi_flash_hal_iram (noflash)
|
||||||
ledc_hal_iram (noflash)
|
ledc_hal_iram (noflash)
|
||||||
i2c_hal_iram (noflash)
|
i2c_hal_iram (noflash)
|
||||||
spi_flash_hal_gpspi (noflash)
|
|
||||||
cpu_hal (noflash)
|
cpu_hal (noflash)
|
||||||
soc_hal (noflash)
|
soc_hal (noflash)
|
||||||
wdt_hal_iram (noflash)
|
wdt_hal_iram (noflash)
|
||||||
systimer_hal (noflash)
|
if IDF_TARGET_ESP32C3 = n:
|
||||||
if TWAI_ISR_IN_IRAM = y:
|
if TWAI_ISR_IN_IRAM = y:
|
||||||
twai_hal_iram (noflash)
|
twai_hal_iram (noflash)
|
||||||
else:
|
else:
|
||||||
twai_hal_iram (default)
|
twai_hal_iram (default)
|
||||||
|
if IDF_TARGET_ESP32 = n:
|
||||||
|
spi_flash_hal_gpspi (noflash)
|
||||||
|
systimer_hal (noflash)
|
||||||
|
@@ -3,4 +3,5 @@ archive: libheap.a
|
|||||||
entries:
|
entries:
|
||||||
heap_tlsf (noflash)
|
heap_tlsf (noflash)
|
||||||
multi_heap (noflash)
|
multi_heap (noflash)
|
||||||
multi_heap_poisoning (noflash)
|
if HEAP_POISONING_DISABLED = n:
|
||||||
|
multi_heap_poisoning (noflash)
|
||||||
|
@@ -62,7 +62,6 @@ entries:
|
|||||||
pbuf:pbuf_header_impl (noflash_text)
|
pbuf:pbuf_header_impl (noflash_text)
|
||||||
pbuf:pbuf_header (noflash_text)
|
pbuf:pbuf_header (noflash_text)
|
||||||
pbuf:pbuf_free (noflash_text)
|
pbuf:pbuf_free (noflash_text)
|
||||||
timeouts:sys_timeouts_mbox_fetch (noflash_text)
|
|
||||||
udp:udp_input_local_match (noflash_text)
|
udp:udp_input_local_match (noflash_text)
|
||||||
udp:udp_input (noflash_text)
|
udp:udp_input (noflash_text)
|
||||||
udp:udp_send (noflash_text)
|
udp:udp_send (noflash_text)
|
||||||
|
@@ -9,7 +9,6 @@ set(srcs
|
|||||||
"pcnt_periph.c"
|
"pcnt_periph.c"
|
||||||
"rmt_periph.c"
|
"rmt_periph.c"
|
||||||
"rtc_io_periph.c"
|
"rtc_io_periph.c"
|
||||||
"rtc_periph.c"
|
|
||||||
"sdio_slave_periph.c"
|
"sdio_slave_periph.c"
|
||||||
"sdmmc_periph.c"
|
"sdmmc_periph.c"
|
||||||
"sigmadelta_periph.c"
|
"sigmadelta_periph.c"
|
||||||
|
@@ -10,7 +10,6 @@ set(srcs
|
|||||||
"pcnt_periph.c"
|
"pcnt_periph.c"
|
||||||
"rmt_periph.c"
|
"rmt_periph.c"
|
||||||
"rtc_io_periph.c"
|
"rtc_io_periph.c"
|
||||||
"rtc_periph.c"
|
|
||||||
"sigmadelta_periph.c"
|
"sigmadelta_periph.c"
|
||||||
"soc_memory_layout.c"
|
"soc_memory_layout.c"
|
||||||
"spi_periph.c"
|
"spi_periph.c"
|
||||||
|
@@ -11,7 +11,6 @@ set(srcs
|
|||||||
"pcnt_periph.c"
|
"pcnt_periph.c"
|
||||||
"rmt_periph.c"
|
"rmt_periph.c"
|
||||||
"rtc_io_periph.c"
|
"rtc_io_periph.c"
|
||||||
"rtc_periph.c"
|
|
||||||
"sdio_slave_periph.c"
|
"sdio_slave_periph.c"
|
||||||
"sdmmc_periph.c"
|
"sdmmc_periph.c"
|
||||||
"sigmadelta_periph.c"
|
"sigmadelta_periph.c"
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
[mapping:spi_flash]
|
[mapping:spi_flash]
|
||||||
archive: libspi_flash.a
|
archive: libspi_flash.a
|
||||||
entries:
|
entries:
|
||||||
if IDF_TARGET_ESP32 = y:
|
spi_flash_rom_patch (noflash)
|
||||||
spi_flash_rom_patch (noflash)
|
|
||||||
spi_flash_chip_generic (noflash)
|
spi_flash_chip_generic (noflash)
|
||||||
spi_flash_chip_issi (noflash)
|
spi_flash_chip_issi (noflash)
|
||||||
spi_flash_chip_mxic (noflash)
|
spi_flash_chip_mxic (noflash)
|
||||||
|
@@ -2,7 +2,8 @@
|
|||||||
archive: libxtensa.a
|
archive: libxtensa.a
|
||||||
entries:
|
entries:
|
||||||
eri (noflash_text)
|
eri (noflash_text)
|
||||||
stdatomic (noflash)
|
if IDF_TARGET_ESP32S2 = y:
|
||||||
|
stdatomic (noflash)
|
||||||
|
|
||||||
[mapping:xt_hal]
|
[mapping:xt_hal]
|
||||||
archive: libxt_hal.a
|
archive: libxt_hal.a
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
libc
|
libc
|
||||||
sha256_coredump
|
sha256_coredump
|
||||||
|
gcc
|
||||||
|
@@ -114,7 +114,7 @@ build_ssc_esp32s2:
|
|||||||
BUILD_SYSTEM: "cmake"
|
BUILD_SYSTEM: "cmake"
|
||||||
TEST_TYPE: "unit_test"
|
TEST_TYPE: "unit_test"
|
||||||
PYTHON_VER: 3
|
PYTHON_VER: 3
|
||||||
LDGEN_CHECK_MAPPING: 0
|
LDGEN_CHECK_MAPPING: 1
|
||||||
script:
|
script:
|
||||||
- ${IDF_PATH}/tools/ci/find_apps_build_apps.sh
|
- ${IDF_PATH}/tools/ci/find_apps_build_apps.sh
|
||||||
- cd $CI_PROJECT_DIR/tools/unit-test-app
|
- cd $CI_PROJECT_DIR/tools/unit-test-app
|
||||||
@@ -157,7 +157,7 @@ build_esp_idf_tests_cmake_esp32c3:
|
|||||||
LOG_PATH: ${CI_PROJECT_DIR}/log_${TEST_PREFIX}
|
LOG_PATH: ${CI_PROJECT_DIR}/log_${TEST_PREFIX}
|
||||||
BUILD_PATH: ${CI_PROJECT_DIR}/build_${TEST_PREFIX}
|
BUILD_PATH: ${CI_PROJECT_DIR}/build_${TEST_PREFIX}
|
||||||
PYTHON_VER: 3
|
PYTHON_VER: 3
|
||||||
LDGEN_CHECK_MAPPING: 0
|
LDGEN_CHECK_MAPPING: 1
|
||||||
script:
|
script:
|
||||||
# it's not possible to build 100% out-of-tree and have the "artifacts"
|
# it's not possible to build 100% out-of-tree and have the "artifacts"
|
||||||
# mechanism work, but this is the next best thing
|
# mechanism work, but this is the next best thing
|
||||||
|
Reference in New Issue
Block a user