• R/O
  • SSH
  • HTTPS

chibios: 提交


Commit MetaInfo

修订版13376 (tree)
时间2020-02-21 18:57:04
作者gdisirio

Log Message

Fixed bug #1075.

更改概述

差异

--- branches/stable_18.2.x/os/common/abstractions/cmsis_os/cmsis_os.c (revision 13375)
+++ branches/stable_18.2.x/os/common/abstractions/cmsis_os/cmsis_os.c (revision 13376)
@@ -88,10 +88,10 @@
8888 chSysInit();
8989 chThdSetPriority(HIGHPRIO);
9090
91- chPoolObjectInit(&sempool, sizeof(semaphore_t), chCoreAllocAligned);
91+ chPoolObjectInit(&sempool, sizeof(semaphore_t), chCoreAllocAlignedI);
9292 chPoolLoadArray(&sempool, semaphores, CMSIS_CFG_NUM_SEMAPHORES);
9393
94- chPoolObjectInit(&timpool, sizeof(struct os_timer_cb), chCoreAllocAligned);
94+ chPoolObjectInit(&timpool, sizeof(struct os_timer_cb), chCoreAllocAlignedI);
9595 chPoolLoadArray(&timpool, timers, CMSIS_CFG_NUM_TIMERS);
9696
9797 return osOK;
--- branches/stable_18.2.x/readme.txt (revision 13375)
+++ branches/stable_18.2.x/readme.txt (revision 13376)
@@ -88,6 +88,7 @@
8888 *** 18.2.3 ***
8989 - NEW: Added a check on defective GCC versions, Cortex-M0 only.
9090 - NEW: Extra timer checks in STM32 ST driver.
91+- FIX: Fixed state check in CMSIS osKernelInitialize() wrapper (bug #1075).
9192 - FIX: Fixed missing IRQ disabling in ADCv1 and ADCv3 STM32 drivers (bug #1073).
9293 - FIX: Fixed missing parenthesis in ADC _adc_isr_error_code macro (bug #1072).
9394 - FIX: Fixed non-standard declaration in STM32 ADCv3 driver (bug #1070).
Show on old repository browser