dhcp attempts

This commit is contained in:
2024-10-13 05:32:44 +06:00
parent ec9dcc76f7
commit 480a4a1ca5
12 changed files with 329 additions and 63 deletions

14
include/systick.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef SYSTICK_H
#define SYSTICK_H
#include <stdint.h>
#define SYSTICK_ONE_MILLISECOND ((uint32_t)FUNCONF_SYSTEM_CORE_CLOCK / 1000)
#define millis() (systick_millis)
void systick_init(void);
// ms counter incremented by SysTick
extern volatile uint32_t systick_millis;
#endif // SYSTICK_H