Commit f4fa0af8 authored by schneider's avatar schneider
Browse files

change(pycardium): Increase systick interval to 1 second

parent c9a840d2
......@@ -20,9 +20,13 @@
#include <stdio.h>
#include <string.h>
// Smallest interval which can be reached exactly
// * 8 to allow up to 100 ms epic calls
#define SYSTICK_INTERVAL_US (15625ULL * 8ULL)
/* Smallest integer us interval which can be reached exactly due
* to the 32768 Hz systick frequency */
#define SYSTICK_INTERVAL_US_MIN 15625
/* Target systick interval is 1 second */
#define SYSTICK_INTERVAL_US \
(SYSTICK_INTERVAL_US_MIN * (1000000 / SYSTICK_INTERVAL_US_MIN))
/*
* Copied from core_cm4.h and modified to select the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment