Skip to content

Commit e120177

Browse files
committed
Remove Tickless from STM32F4 targets
Ticless on STM32 F4 boards causes SPI issue with following PR: # 11682 Make FPGA tests to pass on CI targets (SPI, analogIn, PWM) In asynch mode, using interrupts, SPI hardware detect an RX overrun. Our understanding is that lpticker wrapper latency causes issue similar to #8714 and #9785, specially with SPI asynch which use interrupts.
1 parent 8ff5cf9 commit e120177

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

targets/targets.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,7 +2536,7 @@
25362536
}
25372537
},
25382538
"detect_code": ["0720"],
2539-
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER", "MBED_TICKLESS"],
2539+
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
25402540
"device_has_add": [
25412541
"SERIAL_ASYNCH",
25422542
"FLASH",
@@ -2587,10 +2587,7 @@
25872587
"value": 1
25882588
}
25892589
},
2590-
"macros_add": [
2591-
"MBED_TICKLESS"
2592-
],
2593-
"overrides": { "lpticker_delay_ticks": 4, "tickless-from-us-ticker": true },
2590+
"overrides": { "lpticker_delay_ticks": 4 },
25942591
"detect_code": ["0744"],
25952592
"device_has_add": [
25962593
"ANALOGOUT",
@@ -2616,7 +2613,7 @@
26162613
"macro_name": "CLOCK_SOURCE"
26172614
}
26182615
},
2619-
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER", "MBED_TICKLESS"],
2616+
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
26202617
"device_has_add": [
26212618
"SERIAL_ASYNCH",
26222619
"FLASH",
@@ -2761,10 +2758,9 @@
27612758
"value": 1
27622759
}
27632760
},
2764-
"overrides": { "lpticker_delay_ticks": 4, "tickless-from-us-ticker": true },
2761+
"overrides": { "lpticker_delay_ticks": 4 },
27652762
"detect_code": ["0743"],
27662763
"macros_add": [
2767-
"MBED_TICKLESS",
27682764
"USB_STM_HAL",
27692765
"USBHOST_OTHER"
27702766
],
@@ -2803,10 +2799,9 @@
28032799
"value": 1
28042800
}
28052801
},
2806-
"overrides": { "lpticker_delay_ticks": 4, "tickless-from-us-ticker": true},
2802+
"overrides": { "lpticker_delay_ticks": 4 },
28072803
"detect_code": ["0743"],
28082804
"macros_add": [
2809-
"MBED_TICKLESS",
28102805
"USB_STM_HAL",
28112806
"USBHOST_OTHER"
28122807
],

0 commit comments

Comments
 (0)