mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 03:03:10 +00:00
3749eb0eed
* Core: ring buffer. * Api: usb vcp. F3: vcp glue code. * Applications: cli draft version. * Cli: basic working version, includes help and version commands * HAL: vcp on f2 * Makefile: update openocd conf * F3: vcp rx with freertos stream * Cli: help * Cli: standard commands, api-hal-uid * Power: cli poweroff.
10 lines
168 B
C
10 lines
168 B
C
#include <api-hal-uid.h>
|
|
#include <stm32l4xx.h>
|
|
|
|
size_t api_hal_uid_size() {
|
|
return 96/8;
|
|
}
|
|
|
|
const uint8_t* api_hal_uid() {
|
|
return (const uint8_t *)UID_BASE;
|
|
}
|