mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			flash: fix flash algo generated - protect with DEVICE_FLASH
							parent
							
								
									70f32526b3
								
							
						
					
					
						commit
						424fd78161
					
				| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    0xb5104935, 0x60084449, 0x21004834, 0x48356001, 0x44484a33, 0x22016002, 0x04926041, 0x02926082,
 | 
			
		||||
| 
						 | 
				
			
			@ -99,3 +101,5 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->flash_algo = &flash_algo_config;
 | 
			
		||||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    0xb5104938, 0x60084449, 0xf24c4837, 0x81c15120, 0x1128f64d, 0x880181c1, 0x0101f021, 0x48348001,
 | 
			
		||||
| 
						 | 
				
			
			@ -85,3 +87,5 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->flash_algo = &flash_algo_config;
 | 
			
		||||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    0xf3c04601, 0x28203007, 0x2204bf24, 0x1050eb02, 0x2810d205, 0x2203bf26, 0x1010eb02, 0xf4110880,
 | 
			
		||||
| 
						 | 
				
			
			@ -72,3 +74,5 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->flash_algo = &flash_algo_config;
 | 
			
		||||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    0xf3c04601, 0x28203007, 0x2204bf24, 0x1050eb02, 0x2810d205, 0x2203bf26, 0x1010eb02, 0xf4110880,
 | 
			
		||||
| 
						 | 
				
			
			@ -72,3 +74,5 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->flash_algo = &flash_algo_config;
 | 
			
		||||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    0xf3c04601, 0x28203007, 0x2204bf24, 0x1050eb02, 0x2810d205, 0x2203bf26, 0x1010eb02, 0xf4110880,
 | 
			
		||||
| 
						 | 
				
			
			@ -72,3 +74,5 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->flash_algo = &flash_algo_config;
 | 
			
		||||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// This file is automagically generated
 | 
			
		||||
 | 
			
		||||
#if DEVICE_FLASH
 | 
			
		||||
 | 
			
		||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
 | 
			
		||||
static uint32_t FLASH_ALGO[] = {
 | 
			
		||||
    {{algo.format_algo_data(4, 8, "c")}}
 | 
			
		||||
| 
						 | 
				
			
			@ -54,3 +56,4 @@ void flash_set_target_config(flash_t *obj)
 | 
			
		|||
    obj->target_config = &flash_target_config;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue