Browse Source

🔨 Update schema ignores, export value

Scott Lahteine 2 years 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
  *  3 = schema.json - The entire configuration schema. (13 = pattern groups)
48
  *  3 = schema.json - The entire configuration schema. (13 = pattern groups)
49
  *  4 = schema.yml - The entire configuration schema.
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
 //============================= Thermal Settings ============================
54
 //============================= Thermal Settings ============================

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

95
 	# Regex for #define NAME [VALUE] [COMMENT] with sanitized line
95
 	# Regex for #define NAME [VALUE] [COMMENT] with sanitized line
96
 	defgrep = re.compile(r'^(//)?\s*(#define)\s+([A-Za-z0-9_]+)\s*(.*?)\s*(//.+)?$')
96
 	defgrep = re.compile(r'^(//)?\s*(#define)\s+([A-Za-z0-9_]+)\s*(.*?)\s*(//.+)?$')
97
 	# Defines to ignore
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
 	# Start with unknown state
99
 	# Start with unknown state
100
 	state = Parse.NORMAL
100
 	state = Parse.NORMAL
101
 	# Serial ID
101
 	# Serial ID

Loading…
Cancel
Save