sysparam fixes, tests, spi flash refactoring (#299)
Original work by @ourairquality * Sysparam threadsafe and SPI access * Sysparam test cases * Fix for negative int8 * Sysparam getting bool without memory allocation. Bool tests. * SPI flash refactoring. * Extract common spiflash.c into core. * Use spiflash.c in sysparam. * Use memcpy in spiflash.c insted of hand-written version. * Tests for spiflash.c
This commit is contained in:
parent
07ca0d2e9e
commit
a91ec6eb61
10 changed files with 724 additions and 406 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
/*
|
||||
* copyright (c) Espressif System 2010
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SPI_FLASH_H__
|
||||
|
@ -46,12 +46,6 @@ sdk_SpiFlashOpResult sdk_spi_flash_write(uint32_t des_addr, uint32_t *src, uint3
|
|||
*/
|
||||
sdk_SpiFlashOpResult sdk_spi_flash_read(uint32_t src_addr, uint32_t *des, uint32_t size);
|
||||
|
||||
/* SDK uses this structure internally to account for flash size.
|
||||
|
||||
See flashchip.h for more info.
|
||||
*/
|
||||
extern sdk_flashchip_t sdk_flashchip;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue