mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			tests-mbed_hal-flash: Remove 5% extra tolerance for NRF52_DK
NRF52_DK is now based on fast and accurate 1MHz counter.pull/7009/head
							parent
							
								
									06c6db5119
								
							
						
					
					
						commit
						be098399a8
					
				| 
						 | 
					@ -29,12 +29,7 @@ using namespace utest::v1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define TEST_CYCLES         10000000
 | 
					#define TEST_CYCLES         10000000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef TARGET_NRF52
 | 
					 | 
				
			||||||
/* The increased tolerance is to account for the imprecise timers on the NRF52. */
 | 
					 | 
				
			||||||
#define ALLOWED_DRIFT_PPM   (1000000/50000)   //5.0%
 | 
					 | 
				
			||||||
#else
 | 
					 | 
				
			||||||
#define ALLOWED_DRIFT_PPM   (1000000/5000)    //0.5%
 | 
					#define ALLOWED_DRIFT_PPM   (1000000/5000)    //0.5%
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
    return values to be checked are documented at:
 | 
					    return values to be checked are documented at:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue