Browse Source

🔨 Update schema ignores, export value

Scott Lahteine 1 year ago
parent
commit
c2874ca809
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 1
    1
      buildroot/share/PlatformIO/scripts/schema.py

+ 1
- 1
Marlin/Configuration_adv.h View File

@@ -48,7 +48,7 @@
48 48
  *  3 = schema.json - The entire configuration schema. (13 = pattern groups)
49 49
  *  4 = schema.yml - The entire configuration schema.
50 50
  */
51
-//#define CONFIG_EXPORT   // :[1:'JSON', 2:'config.ini', 3:'schema.json', 4:'schema.yml']
51
+//#define CONFIG_EXPORT 2 // :[1:'JSON', 2:'config.ini', 3:'schema.json', 4:'schema.yml']
52 52
 
53 53
 //===========================================================================
54 54
 //============================= Thermal Settings ============================

+ 1
- 1
buildroot/share/PlatformIO/scripts/schema.py View File

@@ -95,7 +95,7 @@ def extract():
95 95
 	# Regex for #define NAME [VALUE] [COMMENT] with sanitized line
96 96
 	defgrep = re.compile(r'^(//)?\s*(#define)\s+([A-Za-z0-9_]+)\s*(.*?)\s*(//.+)?$')
97 97
 	# Defines to ignore
98
-	ignore = ('CONFIGURATION_H_VERSION', 'CONFIGURATION_ADV_H_VERSION', 'CONFIG_EXPORT')
98
+	ignore = ('CONFIGURATION_H_VERSION', 'CONFIGURATION_ADV_H_VERSION', 'CONFIG_EXAMPLES_DIR', 'CONFIG_EXPORT')
99 99
 	# Start with unknown state
100 100
 	state = Parse.NORMAL
101 101
 	# Serial ID

Loading…
Cancel
Save