mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
* Add pre-compiled MicroPython library and headers. * Change Makefile to link libmp.a remove libusbgeneric * Change linker script to support MicroPython memory layout. * Change OTG handle name in stm32f4xx_it.c * Change main to init libmp and export Python functions. * Add MicroPython bindings to src
8 lines
280 B
C
8 lines
280 B
C
void storage_init(void);
|
|
uint32_t storage_get_block_size(void);
|
|
uint32_t storage_get_block_count(void);
|
|
bool storage_needs_flush(void);
|
|
void storage_flush(void);
|
|
bool storage_read_block(uint8_t *dest, uint32_t block);
|
|
bool storage_write_block(const uint8_t *src, uint32_t block);
|