mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	CI: Test ArduinoJson's configuration
This commit is contained in:
		
							
								
								
									
										16
									
								
								extras/conf_test/esp8266.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								extras/conf_test/esp8266.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| #include <ArduinoJson.h> | ||||
|  | ||||
| static_assert(ARDUINOJSON_USE_LONG_LONG == 0, "ARDUINOJSON_USE_LONG_LONG"); | ||||
|  | ||||
| static_assert(ARDUINOJSON_SLOT_OFFSET_SIZE == 2, | ||||
|               "ARDUINOJSON_SLOT_OFFSET_SIZE"); | ||||
|  | ||||
| static_assert(ARDUINOJSON_LITTLE_ENDIAN == 1, "ARDUINOJSON_LITTLE_ENDIAN"); | ||||
|  | ||||
| static_assert(ARDUINOJSON_USE_DOUBLE == 0, "ARDUINOJSON_USE_DOUBLE"); | ||||
|  | ||||
| static_assert(sizeof(ARDUINOJSON_NAMESPACE::VariantSlot) == 16, | ||||
|               "sizeof(VariantSlot)"); | ||||
|  | ||||
| void setup() {} | ||||
| void loop() {} | ||||
		Reference in New Issue
	
	Block a user