Skip to content

Commit c08ec37

Browse files
feat(boards): Update ITCM mapping for NuttX 12.12
NuttX 12.12 changed symbols for certain calls or inlined them.
1 parent 9623297 commit c08ec37

7 files changed

Lines changed: 110 additions & 114 deletions

File tree

boards/nxp/mr-tropic/nuttx-config/scripts/itcm_functions_includes.ld

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
*(.text._ZN15OutputPredictor21calculateOutputStatesEyRKN6matrix7Vector3IfEEfS4_f)
4141
*(.text._ZN7sensors18VotedSensorsUpdate7imuPollER17sensor_combined_s)
4242
*(.text._Z9rotate_3i8RotationRsS0_S0_)
43-
*(.text.fs_getfilep)
44-
*(.text.MEM_DataCopy0_1)
43+
*(.text.file_get2)
4544
*(.text._ZN7sensors19VehicleAcceleration3RunEv)
4645
*(.text.uart_ioctl)
4746
*(.text._ZN26MulticopterPositionControl3RunEv.part.0)
@@ -63,7 +62,6 @@
6362
*(.text.hrt_call_internal)
6463
*(.text._ZN39ControlAllocationSequentialDesaturation18mixAirmodeDisabledEv)
6564
*(.text._ZN7Mavlink15get_free_tx_bufEv)
66-
*(.text.nx_poll)
6765
*(.text._ZN15MavlinkReceiver3runEv)
6866
*(.text._ZN9ICM42688P18ProcessTemperatureEPKN20InvenSense_ICM42688P4FIFO4DATAEh)
6967
*(.text._ZN15OutputPredictor19correctOutputStatesEyRKN6matrix10QuaternionIfEERKNS0_7Vector3IfEERK9LatLonAltS8_S8_)
@@ -80,10 +78,8 @@
8078
*(.text._ZN13land_detector12LandDetector3RunEv)
8179
*(.text.sched_idletask)
8280
*(.text.atanf)
83-
*(.text.uart_write)
8481
*(.text.pthread_mutex_unlock)
8582
*(.text.__ieee754_asinf)
86-
*(.text.MEM_DataCopy0_2)
8783
*(.text._ZN20MavlinkCommandSender13check_timeoutE17mavlink_channel_t)
8884
*(.text._ZN16ControlAllocator32publish_control_allocator_statusEi)
8985
*(.text.__ieee754_atan2f)
@@ -100,7 +96,6 @@
10096
*(.text.sem_wait)
10197
*(.text.perf_count_interval.part.0)
10298
*(.text._ZN16ControlAllocator37update_effectiveness_matrix_if_neededE25EffectivenessUpdateReason)
103-
*(.text.MEM_LongCopyJump)
10499
*(.text.px4_arch_adc_sample)
105100
*(.text._ZN31MulticopterHoverThrustEstimator3RunEv)
106101
*(.text._ZNK17ControlAllocation20clipActuatorSetpointERN6matrix6VectorIfLj16EEE)
@@ -122,10 +117,7 @@
122117
*(.text.imxrt_lpi2c_transfer)
123118
*(.text.uart_putxmitchar)
124119
*(.text.clock_nanosleep)
125-
*(.text.up_release_pending)
126-
*(.text.MEM_DataCopy0)
127120
*(.text._ZN22MavlinkStreamGPSRawInt4sendEv)
128-
*(.text.dq_rem)
129121
*(.text._ZN15GyroCalibration3RunEv.part.0)
130122
*(.text._ZN7sensors18VotedSensorsUpdate22calcAccelInconsistencyEv)
131123
*(.text._ZN24MavlinkStreamADSBVehicle4sendEv)
@@ -235,7 +227,6 @@
235227
*(.text._ZN7sensors14VehicleAirData3RunEv)
236228
*(.text.perf_count)
237229
*(.text._ZN3Ekf16controlMagFusionERKN9estimator9imuSampleE)
238-
*(.text.pthread_sem_give)
239230
*(.text._ZN7sensors10VehicleIMU16ParametersUpdateEb)
240231
*(.text._ZN4uORB20SubscriptionInterval4copyEPv)
241232
*(.text._ZN12I2CSPIDriverI9ICM42688PE3RunEv)
@@ -249,7 +240,6 @@
249240
*(.text._ZN29MavlinkStreamHygrometerSensor8get_sizeEv)
250241
*(.text.pthread_mutex_add)
251242
*(.text._ZN12HomePosition6updateEbb)
252-
*(.text.poll_fdsetup)
253243
*(.text._ZN15PositionControl20_accelerationControlEv)
254244
*(.text._ZN3Ekf19controlHeightFusionERKN9estimator9imuSampleE)
255245
*(.text._ZN9Commander19control_status_ledsEbh)
@@ -271,12 +261,10 @@
271261
*(.text._ZN3Ekf4fuseERKN6matrix6VectorIfLj24EEEf)
272262
*(.text.nxsem_wait_irq)
273263
*(.text._ZN20MavlinkCommandSender4lockEv)
274-
*(.text.MEM_LongCopyEnd)
275264
*(.text._ZThn24_N16ControlAllocator3RunEv)
276265
*(.text._ZN15TimestampedListIN20MavlinkCommandSender14command_item_sELi3EE8get_nextEv)
277266
*(.text._ZNK3Ekf21get_ekf_lpos_accuracyEPfS0_)
278267
*(.text._ZN17FlightModeManager17start_flight_taskEv)
279-
*(.text.MEM_DataCopyBytes)
280268
*(.text._ZN29MavlinkStreamLocalPositionNED8get_sizeEv)
281269
*(.text._ZN6SticksC1EP12ModuleParams)
282270
*(.text._ZN27MavlinkStreamServoOutputRawILi1EE4sendEv)
@@ -366,7 +354,6 @@
366354
*(.text.vsprintf_internal.constprop.0)
367355
*(.text.udp_pollteardown)
368356
*(.text._ZN12MixingOutput6updateEv)
369-
*(.text.clock_abstime2ticks)
370357
*(.text._ZN13BatteryStatus3RunEv)
371358
*(.text._ZN32MavlinkStreamGimbalManagerStatus8get_sizeEv)
372359
*(.text._ZN10FlightTask15_resetSetpointsEv)
@@ -388,7 +375,6 @@
388375
*(.text._ZNK3px46logger9LogWriter10is_startedENS0_7LogTypeE)
389376
*(.text._ZN24FlightTaskManualAltitudeD1Ev)
390377
*(.text._Z35px4_indicate_external_reset_lockout16LockoutComponentb)
391-
*(.text.uart_pollnotify)
392378
*(.text._ZN4EKF215PublishBaroBiasERKy)
393379
*(.text._ZN4EKF221UpdateGyroCalibrationERKy)
394380
*(.text._ZN6matrix9constrainIfLj3ELj1EEENS_6MatrixIT_XT0_EXT1_EEERKS3_S2_S2_)
@@ -426,7 +412,6 @@
426412
*(.text._ZN10FlightTask37_evaluateVehicleLocalPositionSetpointEv)
427413
*(.text._ZN4uORB12Subscription11unsubscribeEv)
428414
*(.text.net_lock)
429-
*(.text.clock_time2ticks)
430415
*(.text._ZN12FailsafeBase16updateStartDelayERKyb)
431416
*(.text._ZN23MavlinkStreamStatustext8get_sizeEv)
432417
*(.text._ZN11calibration13Accelerometer13set_device_idEm)
@@ -438,7 +423,6 @@
438423
*(.text.nxsig_timeout)
439424
*(.text._ZN11RateControl19setSaturationStatusERKN6matrix7Vector3IbEES4_)
440425
*(.text._ZN3Ekf17measurementUpdateERN6matrix6VectorIfLj24EEERKS2_ff)
441-
*(.text.dq_addlast)
442426
*(.text._ZN19MavlinkStreamVFRHUD4sendEv)
443427
*(.text.hrt_call_reschedule)
444428
*(.text.nxsem_boost_priority)
@@ -486,7 +470,6 @@
486470
*(.text._ZN22MavlinkStreamGPSStatus8get_sizeEv)
487471
*(.text.nxsem_destroyholder)
488472
*(.text.psock_udp_cansend)
489-
*(.text.MEM_DataCopy2_2)
490473
*(.text._ZN10FlightTask8activateERK21trajectory_setpoint_s)
491474
*(.text.sock_file_poll)
492475
*(.text._ZN10Ringbuffer9pop_frontEPhj)
@@ -496,7 +479,6 @@
496479
*(.text.nxsem_canceled)
497480
*(.text._ZN10FlightTask21getTrajectorySetpointEv)
498481
*(.text.imxrt_dmach_getcount)
499-
*(.text.sem_clockwait)
500482
*(.text.inet_poll)
501483
*(.text._ZN6BMP3887collectEv)
502484
*(.text._ZNK15PositionControl24getLocalPositionSetpointER33vehicle_local_position_setpoint_s)
@@ -577,7 +559,6 @@
577559
*(.text.up_flush_dcache)
578560
*(.text._ZN15GyroCalibration3RunEv)
579561
*(.text.mavlink_start_uart_send)
580-
*(.text.MEM_DataCopy2)
581562
*(.text._ZNK9Commander14getPrearmStateEv)
582563
*(.text._ZN15EstimatorChecks14checkAndReportERK7ContextR6Report)
583564
*(.text._ZN28FlightTaskManualAccelerationD1Ev)
@@ -614,7 +595,6 @@
614595
*(.text._ZN12SafetyButton19CheckPairingRequestEb)
615596
*(.text.imxrt_dma_txavailable)
616597
*(.text.perf_set_elapsed)
617-
*(.text.pthread_sem_take)
618598
*(.text._ZN8StickYawD1Ev)
619599
*(.text._Z15blink_msg_statev)
620600
*(.text._ZN19AccelerometerChecks14checkAndReportERK7ContextR6Report)
@@ -660,7 +640,6 @@
660640
*(.text._ZN15EstimatorChecks15checkSensorBiasERK7ContextR6Report8NavModes)
661641
*(.text._ZN20ImuConsistencyChecks14checkAndReportERK7ContextR6Report)
662642
*(.text._ZN28MavlinkStreamGpsGlobalOrigin8get_sizeEv)
663-
*(.text.MEM_DataCopy2_1)
664643
*(.text._ZN6BMP3887measureEv)
665644
*(.text._ZN4EKF217PublishRngHgtBiasERKy)
666645
*(.text._ZN36MavlinkStreamPositionTargetGlobalInt8get_sizeEv)

boards/nxp/mr-tropic/nuttx-config/scripts/itcm_static_functions.ld

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
*(.text.arm_ack_irq)
33
*(.text.arm_doirq)
44
*(.text.arm_svcall)
5-
*(.text.arm_switchcontext)
6-
*(.text.clock_timer)
75
*(.text.exception_common)
86
*(.text.flexio_irq_handler)
97
*(.text.hrt_absolute_time)
@@ -42,17 +40,16 @@
4240
*(.text.ioctl)
4341
*(.text.memcpy)
4442
*(.text.memset)
45-
*(.text.nxsched_add_blocked)
4643
*(.text.nxsched_add_prioritized)
4744
*(.text.nxsched_add_readytorun)
48-
*(.text.nxsched_get_files)
45+
*(.text.nxsched_get_fdlist)
46+
*(.text.nxsched_get_fdlist_from_tcb)
4947
*(.text.nxsched_get_tcb)
5048
*(.text.nxsched_merge_pending)
5149
*(.text.nxsched_process_timer)
5250
*(.text.nxsched_remove_blocked)
5351
*(.text.nxsched_remove_readytorun)
54-
*(.text.nxsched_resume_scheduler)
55-
*(.text.nxsched_suspend_scheduler)
52+
*(.text.nxsched_switch_context)
5653
*(.text.nxsem_add_holder)
5754
*(.text.nxsem_add_holder_tcb)
5855
*(.text.nxsem_clockwait)
@@ -74,20 +71,16 @@
7471
*(.text.sched_unlock)
7572
*(.text.strcmp)
7673
*(.text.sq_addafter)
77-
*(.text.sq_addlast)
78-
*(.text.sq_rem)
7974
*(.text.sq_remafter)
8075
*(.text.sq_remfirst)
8176
*(.text.uart_connected)
82-
*(.text.up_block_task)
83-
*(.text.up_unblock_task)
8477
*(.text.wd_timer)
8578
*(.text.wd_start)
8679
*(.text.work_thread)
8780
*(.text.work_queue)
88-
*(.text._do_memcpy)
81+
*(.text.memcpy)
8982

90-
/* Tropic Eth tune */
83+
/* Eth tune */
9184
*(.text.devif_poll)
9285
*(.text.devif_poll_tcp_connections)
9386
*(.text.tcp_poll)
@@ -114,7 +107,6 @@
114107
*(.text.net_ipv4addr_copy) /* itcm-check-ignore */
115108
*(.text.net_ipv4addr_broadcast) /* itcm-check-ignore */
116109
*(.text.wd_start)
117-
*(.text.arp_arpin)
118110
*(.text.ipv4_input)
119111
*(.text.work_thread)
120112
*(.text.work_queue)

boards/nxp/tropic-community/nuttx-config/scripts/itcm_functions_includes.ld

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
*(.text._ZN15OutputPredictor21calculateOutputStatesEyRKN6matrix7Vector3IfEEfS4_f)
4141
*(.text._ZN7sensors18VotedSensorsUpdate7imuPollER17sensor_combined_s)
4242
*(.text._Z9rotate_3i8RotationRsS0_S0_)
43-
*(.text.fs_getfilep)
44-
*(.text.MEM_DataCopy0_1)
43+
*(.text.file_get2)
4544
*(.text._ZN7sensors19VehicleAcceleration3RunEv)
4645
*(.text.uart_ioctl)
4746
*(.text._ZN26MulticopterPositionControl3RunEv.part.0)
@@ -63,7 +62,6 @@
6362
*(.text.hrt_call_internal)
6463
*(.text._ZN39ControlAllocationSequentialDesaturation18mixAirmodeDisabledEv)
6564
*(.text._ZN7Mavlink15get_free_tx_bufEv)
66-
*(.text.nx_poll)
6765
*(.text._ZN15MavlinkReceiver3runEv)
6866
*(.text._ZN9ICM42688P18ProcessTemperatureEPKN20InvenSense_ICM42688P4FIFO4DATAEh)
6967
*(.text._ZN15OutputPredictor19correctOutputStatesEyRKN6matrix10QuaternionIfEERKNS0_7Vector3IfEERK9LatLonAltS8_S8_)
@@ -80,10 +78,8 @@
8078
*(.text._ZN13land_detector12LandDetector3RunEv)
8179
*(.text.sched_idletask)
8280
*(.text.atanf)
83-
*(.text.uart_write)
8481
*(.text.pthread_mutex_unlock)
8582
*(.text.__ieee754_asinf)
86-
*(.text.MEM_DataCopy0_2)
8783
*(.text._ZN20MavlinkCommandSender13check_timeoutE17mavlink_channel_t)
8884
*(.text._ZN16ControlAllocator32publish_control_allocator_statusEi)
8985
*(.text.__ieee754_atan2f)
@@ -100,7 +96,6 @@
10096
*(.text.sem_wait)
10197
*(.text.perf_count_interval.part.0)
10298
*(.text._ZN16ControlAllocator37update_effectiveness_matrix_if_neededE25EffectivenessUpdateReason)
103-
*(.text.MEM_LongCopyJump)
10499
*(.text.px4_arch_adc_sample)
105100
*(.text._ZN31MulticopterHoverThrustEstimator3RunEv)
106101
*(.text._ZNK17ControlAllocation20clipActuatorSetpointERN6matrix6VectorIfLj16EEE)
@@ -122,10 +117,7 @@
122117
*(.text.imxrt_lpi2c_transfer)
123118
*(.text.uart_putxmitchar)
124119
*(.text.clock_nanosleep)
125-
*(.text.up_release_pending)
126-
*(.text.MEM_DataCopy0)
127120
*(.text._ZN22MavlinkStreamGPSRawInt4sendEv)
128-
*(.text.dq_rem)
129121
*(.text._ZN15GyroCalibration3RunEv.part.0)
130122
*(.text._ZN7sensors18VotedSensorsUpdate22calcAccelInconsistencyEv)
131123
*(.text._ZN24MavlinkStreamADSBVehicle4sendEv)
@@ -235,7 +227,6 @@
235227
*(.text._ZN7sensors14VehicleAirData3RunEv)
236228
*(.text.perf_count)
237229
*(.text._ZN3Ekf16controlMagFusionERKN9estimator9imuSampleE)
238-
*(.text.pthread_sem_give)
239230
*(.text._ZN7sensors10VehicleIMU16ParametersUpdateEb)
240231
*(.text._ZN4uORB20SubscriptionInterval4copyEPv)
241232
*(.text._ZN12I2CSPIDriverI9ICM42688PE3RunEv)
@@ -249,7 +240,6 @@
249240
*(.text._ZN29MavlinkStreamHygrometerSensor8get_sizeEv)
250241
*(.text.pthread_mutex_add)
251242
*(.text._ZN12HomePosition6updateEbb)
252-
*(.text.poll_fdsetup)
253243
*(.text._ZN15PositionControl20_accelerationControlEv)
254244
*(.text._ZN3Ekf19controlHeightFusionERKN9estimator9imuSampleE)
255245
*(.text._ZN9Commander19control_status_ledsEbh)
@@ -271,12 +261,10 @@
271261
*(.text._ZN3Ekf4fuseERKN6matrix6VectorIfLj24EEEf)
272262
*(.text.nxsem_wait_irq)
273263
*(.text._ZN20MavlinkCommandSender4lockEv)
274-
*(.text.MEM_LongCopyEnd)
275264
*(.text._ZThn24_N16ControlAllocator3RunEv)
276265
*(.text._ZN15TimestampedListIN20MavlinkCommandSender14command_item_sELi3EE8get_nextEv)
277266
*(.text._ZNK3Ekf21get_ekf_lpos_accuracyEPfS0_)
278267
*(.text._ZN17FlightModeManager17start_flight_taskEv)
279-
*(.text.MEM_DataCopyBytes)
280268
*(.text._ZN29MavlinkStreamLocalPositionNED8get_sizeEv)
281269
*(.text._ZN6SticksC1EP12ModuleParams)
282270
*(.text._ZN27MavlinkStreamServoOutputRawILi1EE4sendEv)
@@ -366,7 +354,6 @@
366354
*(.text.vsprintf_internal.constprop.0)
367355
*(.text.udp_pollteardown)
368356
*(.text._ZN12MixingOutput6updateEv)
369-
*(.text.clock_abstime2ticks)
370357
*(.text._ZN13BatteryStatus3RunEv)
371358
*(.text._ZN32MavlinkStreamGimbalManagerStatus8get_sizeEv)
372359
*(.text._ZN10FlightTask15_resetSetpointsEv)
@@ -388,7 +375,6 @@
388375
*(.text._ZNK3px46logger9LogWriter10is_startedENS0_7LogTypeE)
389376
*(.text._ZN24FlightTaskManualAltitudeD1Ev)
390377
*(.text._Z35px4_indicate_external_reset_lockout16LockoutComponentb)
391-
*(.text.uart_pollnotify)
392378
*(.text._ZN4EKF215PublishBaroBiasERKy)
393379
*(.text._ZN4EKF221UpdateGyroCalibrationERKy)
394380
*(.text._ZN6matrix9constrainIfLj3ELj1EEENS_6MatrixIT_XT0_EXT1_EEERKS3_S2_S2_)
@@ -426,7 +412,6 @@
426412
*(.text._ZN10FlightTask37_evaluateVehicleLocalPositionSetpointEv)
427413
*(.text._ZN4uORB12Subscription11unsubscribeEv)
428414
*(.text.net_lock)
429-
*(.text.clock_time2ticks)
430415
*(.text._ZN12FailsafeBase16updateStartDelayERKyb)
431416
*(.text._ZN23MavlinkStreamStatustext8get_sizeEv)
432417
*(.text._ZN11calibration13Accelerometer13set_device_idEm)
@@ -438,7 +423,6 @@
438423
*(.text.nxsig_timeout)
439424
*(.text._ZN11RateControl19setSaturationStatusERKN6matrix7Vector3IbEES4_)
440425
*(.text._ZN3Ekf17measurementUpdateERN6matrix6VectorIfLj24EEERKS2_ff)
441-
*(.text.dq_addlast)
442426
*(.text._ZN19MavlinkStreamVFRHUD4sendEv)
443427
*(.text.hrt_call_reschedule)
444428
*(.text.nxsem_boost_priority)
@@ -486,7 +470,6 @@
486470
*(.text._ZN22MavlinkStreamGPSStatus8get_sizeEv)
487471
*(.text.nxsem_destroyholder)
488472
*(.text.psock_udp_cansend)
489-
*(.text.MEM_DataCopy2_2)
490473
*(.text._ZN10FlightTask8activateERK21trajectory_setpoint_s)
491474
*(.text.sock_file_poll)
492475
*(.text._ZN10Ringbuffer9pop_frontEPhj)
@@ -496,7 +479,6 @@
496479
*(.text.nxsem_canceled)
497480
*(.text._ZN10FlightTask21getTrajectorySetpointEv)
498481
*(.text.imxrt_dmach_getcount)
499-
*(.text.sem_clockwait)
500482
*(.text.inet_poll)
501483
*(.text._ZN6BMP3887collectEv)
502484
*(.text._ZNK15PositionControl24getLocalPositionSetpointER33vehicle_local_position_setpoint_s)
@@ -577,7 +559,6 @@
577559
*(.text.up_flush_dcache)
578560
*(.text._ZN15GyroCalibration3RunEv)
579561
*(.text.mavlink_start_uart_send)
580-
*(.text.MEM_DataCopy2)
581562
*(.text._ZNK9Commander14getPrearmStateEv)
582563
*(.text._ZN15EstimatorChecks14checkAndReportERK7ContextR6Report)
583564
*(.text._ZN28FlightTaskManualAccelerationD1Ev)
@@ -614,7 +595,6 @@
614595
*(.text._ZN12SafetyButton19CheckPairingRequestEb)
615596
*(.text.imxrt_dma_txavailable)
616597
*(.text.perf_set_elapsed)
617-
*(.text.pthread_sem_take)
618598
*(.text._ZN8StickYawD1Ev)
619599
*(.text._Z15blink_msg_statev)
620600
*(.text._ZN19AccelerometerChecks14checkAndReportERK7ContextR6Report)
@@ -660,7 +640,6 @@
660640
*(.text._ZN15EstimatorChecks15checkSensorBiasERK7ContextR6Report8NavModes)
661641
*(.text._ZN20ImuConsistencyChecks14checkAndReportERK7ContextR6Report)
662642
*(.text._ZN28MavlinkStreamGpsGlobalOrigin8get_sizeEv)
663-
*(.text.MEM_DataCopy2_1)
664643
*(.text._ZN6BMP3887measureEv)
665644
*(.text._ZN4EKF217PublishRngHgtBiasERKy)
666645
*(.text._ZN36MavlinkStreamPositionTargetGlobalInt8get_sizeEv)

0 commit comments

Comments
 (0)