add new concept USB-CDC template for STM32F303

This commit is contained in:
Edward Emelianov
2025-09-04 21:25:58 +03:00
parent 962d181e89
commit 8be4f0975e
30 changed files with 14535 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include <stdint.h>
#include <string.h>
void hexdump(int (*sendfun)(const char *s), uint8_t *arr, uint16_t len);
const char *u2str(uint32_t val);
const char *i2str(int32_t i);
const char *uhex2str(uint32_t val);
const char *getnum(const char *txt, uint32_t *N);
const char *omit_spaces(const char *buf);
const char *getint(const char *txt, int32_t *I);
//void mymemcpy(char *dest, const char *src, int len);