* 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.
		
			
				
	
	
		
			11 lines
		
	
	
		
			168 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 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;
 | 
						|
}
 |