chore: upgrade FreeRTOS to v2 (CMSIS-RTOS_V2), update CubeMX project config
- Remove CMSIS-RTOS v1 (cmsis_os.h/cmsis_os.c), add CMSIS-RTOS v2 (cmsis_os2.c/freertos_os2.h/mpool.h) - Update FreeRTOS kernel, port, and headers to match v2 integration - Remove unused heap implementations, keep heap_4 - Update CubeMX project config (.mxproject, .ioc, CMakeLists.txt) - Update FreeRTOSConfig.h, freertos.c, main.c, stm32h7xx_it.c - Update application modules (master_machine, dmmotor) - Add CMSIS-RTOS2 headers, mpu_syscall_numbers.h, newlib/picolibc support
This commit is contained in:
@@ -111,7 +111,7 @@ static void DMMotorDecode(CANInstance *motor_can)
|
||||
DM_Motor_Measure_s *measure = &motor->measure;
|
||||
uint16_t tmp;
|
||||
|
||||
DaemonReload(motor->motor_daemon);
|
||||
//DaemonReload(motor->motor_daemon);
|
||||
|
||||
measure->id = rxbuff[0] & 0x0F;
|
||||
measure->state = (rxbuff[0] >> 4) & 0x0F;
|
||||
@@ -175,7 +175,7 @@ DMMotorInstance *DMMotorInit(DM_Motor_Init_Config_s *config)
|
||||
.owner_id = motor,
|
||||
.reload_count = 10,
|
||||
};
|
||||
motor->motor_daemon = DaemonRegister(&conf);
|
||||
//motor->motor_daemon = DaemonRegister(&conf);
|
||||
|
||||
/* enable motor */
|
||||
DMMotorSetMode(DM_CMD_MOTOR_MODE, motor);
|
||||
|
||||
Reference in New Issue
Block a user