import logging
import os

UV4 = os.path.join("C:","Keil","UV4","UV4.exe")
IARBUILD = os.path.join('C:','Program Files (x86)','IAR Systems','Embedded Workbench 7.0','common','bin','IarBuild.exe')

# Be able to locate project generator anywhere in a project
# By default it's tools/project_generator (2 folders deep from root)
PROJECT_ROOT= os.path.join('..','..')

if os.name == "posix":
    # Expects either arm-none-eabi to be installed here, or
    # even better, a symlink from /usr/local/arm-none-eabi to the most recent
    # version.
    gcc_bin_path = "/usr/local/arm-none-eabi/bin/"
elif os.name == "nt":
    gcc_bin_path = ""

try:
	from user_settings import *
except:
	pass

import logging
import os

UV4 = os.path.join("C:","Keil","UV4","UV4.exe")
IARBUILD = os.path.join('C:','Program Files (x86)','IAR Systems','Embedded Workbench 7.0','common','bin','IarBuild.exe')

# Be able to locate project generator anywhere in a project
# By default it's tools/project_generator (2 folders deep from root)
PROJECT_ROOT= os.path.join('..','..')

if os.name == "posix":
    # Expects either arm-none-eabi to be installed here, or
    # even better, a symlink from /usr/local/arm-none-eabi to the most recent
    # version.
    gcc_bin_path = "/usr/local/arm-none-eabi/bin/"
elif os.name == "nt":
    gcc_bin_path = ""

try:
	from user_settings import *
except:
	logging.info("Using default settings.")

Add message if you're using default settings
Add message if you're using default settings

  import logging
  import os
  
  UV4 = os.path.join("C:","Keil","UV4","UV4.exe")
  IARBUILD = os.path.join('C:','Program Files (x86)','IAR Systems','Embedded Workbench 7.0','common','bin','IarBuild.exe')
  
  # Be able to locate project generator anywhere in a project
  # By default it's tools/project_generator (2 folders deep from root)
  PROJECT_ROOT= os.path.join('..','..')
  
  if os.name == "posix":
      # Expects either arm-none-eabi to be installed here, or
      # even better, a symlink from /usr/local/arm-none-eabi to the most recent
      # version.
      gcc_bin_path = "/usr/local/arm-none-eabi/bin/"
  elif os.name == "nt":
      gcc_bin_path = ""
  
  try:
  	from user_settings import *
  except:
- 	pass
+ 	logging.info("Using default settings.")
  
Add message if you're using default settings
## Code Before:
import logging
import os

UV4 = os.path.join("C:","Keil","UV4","UV4.exe")
IARBUILD = os.path.join('C:','Program Files (x86)','IAR Systems','Embedded Workbench 7.0','common','bin','IarBuild.exe')

# Be able to locate project generator anywhere in a project
# By default it's tools/project_generator (2 folders deep from root)
PROJECT_ROOT= os.path.join('..','..')

if os.name == "posix":
    # Expects either arm-none-eabi to be installed here, or
    # even better, a symlink from /usr/local/arm-none-eabi to the most recent
    # version.
    gcc_bin_path = "/usr/local/arm-none-eabi/bin/"
elif os.name == "nt":
    gcc_bin_path = ""

try:
	from user_settings import *
except:
	pass

## Instruction:
Add message if you're using default settings
## Code After:
import logging
import os

UV4 = os.path.join("C:","Keil","UV4","UV4.exe")
IARBUILD = os.path.join('C:','Program Files (x86)','IAR Systems','Embedded Workbench 7.0','common','bin','IarBuild.exe')

# Be able to locate project generator anywhere in a project
# By default it's tools/project_generator (2 folders deep from root)
PROJECT_ROOT= os.path.join('..','..')

if os.name == "posix":
    # Expects either arm-none-eabi to be installed here, or
    # even better, a symlink from /usr/local/arm-none-eabi to the most recent
    # version.
    gcc_bin_path = "/usr/local/arm-none-eabi/bin/"
elif os.name == "nt":
    gcc_bin_path = ""

try:
	from user_settings import *
except:
	logging.info("Using default settings.")
