I was trying to integrate micropython into my existing project which which is on Atmel studio. I am trying to make it build from within the Atmel studio but I can't get past this error:
C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\cp.exe: invalid option -- e
Try `C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\cp.exe --help' for more information.
This is coming from the following line in mkrules.mk
Code: Select all
vpath %.c . $(TOP)
$(BUILD)/%.o: %.c
$(call compile_c)
Code: Select all
$(ECHO) "CC $<"
$(Q)$(CC) $(CFLAGS) -c -MD -o $@ $<
@# The following fixes the dependency file.
@# See http://make.paulandlesley.org/autodep.html for details.
@# Regex adjusted from the above to play better with Windows paths, etc.
@$(CP) $(@:.o=.d) $(@:.o=.P); \
$(SED) -e 's/#.*//' -e 's/^.*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(@:.o=.d) >> $(@:.o=.P); \
$(RM) -f $(@:.o=.d)
Code: Select all
RM = "C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\rm.exe"
ECHO = @echo
CP = "C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\cp.exe"
MKDIR = "C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\mkdir.exe"
SED = "C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\sed.exe"
PYTHON = python
Can anyone familiar with build process please point out what I am missing?