mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 20:51:41 +00:00 
			
		
		
		
	 c9c7573f71
			
		
	
	c9c7573f71
	
	
	
		
			
			All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
		
			
				
	
	
		
			48 lines
		
	
	
		
			694 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			694 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "esp_err.h"
 | |
| #include "esp_rom_spiflash.h"
 | |
| 
 | |
| bool spi_flash_check_and_flush_cache(size_t start_addr, size_t length)
 | |
| {
 | |
|     return true;
 | |
| }
 | |
| 
 | |
| esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void)
 | |
| {
 | |
|     return ESP_ROM_SPIFLASH_RESULT_OK;
 | |
| }
 | |
| 
 | |
| void spi_flash_init_lock(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_op_lock(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_op_unlock(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_disable_interrupts_caches_and_other_cpu(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_enable_interrupts_caches_and_other_cpu(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_disable_interrupts_caches_and_other_cpu_no_os(void)
 | |
| {
 | |
|     return;
 | |
| }
 | |
| 
 | |
| void spi_flash_enable_interrupts_caches_no_os(void)
 | |
| {
 | |
|     return;
 | |
| }
 |