Skip to content

Commit

Permalink
Updated to take advantage of the modular build system.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Jul 12, 2019
1 parent 0af3b5c commit e3e15d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 53 deletions.
17 changes: 3 additions & 14 deletions samples/CanBus/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
#####################################################################
#### Please don't change this file. Use Makefile-user.mk instead ####
#### Please don't change this file. Use component.mk instead ####
#####################################################################
# Including user Makefile.
# Should be used to set project-specific parameters
include ./Makefile-user.mk

# Important parameters check.
# We need to make sure SMING_HOME and ESP_HOME variables are set.
# You can use Makefile-user.mk in each project or use enviromental variables to set it globally.

ifndef SMING_HOME
$(error SMING_HOME is not set. Please configure it in Makefile-user.mk)
endif
ifndef ESP_HOME
$(error ESP_HOME is not set. Please configure it in Makefile-user.mk)
$(error SMING_HOME is not set: please configure it as an environment variable)
endif

# Include application Makefile
include $(SMING_HOME)/Makefile-rboot.mk
include $(SMING_HOME)/project.mk
39 changes: 0 additions & 39 deletions samples/CanBus/Makefile-user.mk

This file was deleted.

3 changes: 3 additions & 0 deletions samples/CanBus/component.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ARDUINO_LIBRARIES := MCP_CAN_lib

DISABLE_SPIFFS = 1

0 comments on commit e3e15d5

Please sign in to comment.