Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert ChibiOS setting for using classic periodic timer #153

Merged
merged 1 commit into from
Mar 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 0
#define CH_CFG_ST_TIMEDELTA 2

/** @} */

Expand Down
6 changes: 3 additions & 3 deletions targets/CMSIS-OS/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int main(void) {

//ClrStartup(clrSettings);

// while (true) {
// osDelay(1000);
// }
while (true) {
osDelay(1000);
}
}
2 changes: 1 addition & 1 deletion targets/CMSIS-OS/ChibiOS/ST_NUCLEO_F091RC/nanoCLR/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 0
#define CH_CFG_ST_TIMEDELTA 2

/** @} */

Expand Down
6 changes: 3 additions & 3 deletions targets/CMSIS-OS/ChibiOS/ST_NUCLEO_F091RC/nanoCLR/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int main(void) {

//ClrStartup(clrSettings);

// while (true) {
// osDelay(1000);
// }
while (true) {
osDelay(1000);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 0
#define CH_CFG_ST_TIMEDELTA 2

/** @} */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 0
#define CH_CFG_ST_TIMEDELTA 2

/** @} */

Expand Down
6 changes: 3 additions & 3 deletions targets/CMSIS-OS/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int main(void) {

//ClrStartup(clrSettings);

// while (true) {
// osDelay(1000);
// }
while (true) {
osDelay(1000);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
#define STM32_CLOCK48_REQUIRED TRUE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLM_VALUE 8
#define STM32_PLLN_VALUE 336
#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 120
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 7
#define STM32_PLLQ_VALUE 5
#define STM32_HPRE STM32_HPRE_DIV1
#define STM32_PPRE1 STM32_PPRE1_DIV4
#define STM32_PPRE2 STM32_PPRE2_DIV2
Expand Down