mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Add STM32CubeIDE examples and test for build
This commit is contained in:
1 parent
70f4814cb1
commit
84b92096d4
638 files changed
+553394
No files matched your search
@@ -0,0 +1,13 @@
|
||||
ROOT ?= $(realpath $(CURDIR)/../..)
|
||||
PROJECTS = $(wildcard ../../examples/stm32/nucleo-*-cube-*)
|
||||
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
|
||||
IMAGE ?= springrockconsulting/stm32cubeide:v1
|
||||
# image author did not set path, so a hardcoded reference to a variable name dir is needed
|
||||
|
||||
all: $(PROJECTS)
|
||||
$(DOCKER) $(IMAGE) /opt/st/stm32cubeide_1.12.0/headless-build.sh -data workspace -removeAll workspace
|
||||
|
||||
$(PROJECTS): FORCE
|
||||
$(DOCKER) $(IMAGE) /opt/st/stm32cubeide_1.12.0/headless-build.sh -data workspace -import $@ -cleanBuild $(@F)
|
||||
|
||||
FORCE:
|
||||
Reference in new issue
Block a user