Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:newaetech/chipwhisperer into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
alex-dewar committed Jan 9, 2025
2 parents 4c9f1c2 + 1d579a1 commit 4248441
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update_private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'software/**'
- 'tests/test_husky.py'
- '.github/workflows/update_private.yml'
- 'firmware/mcu/**'

jobs:
trigger_action:
Expand Down
22 changes: 11 additions & 11 deletions firmware/mcu/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# To rebuild project do "make clean" then "make all".
#----------------------------------------------------------------------------
# Default target.
all: clean_all_mute .dep begin gccversion build sizeafter fastnote end
all: clean_all_mute begin gccversion build sizeafter fastnote end

ifeq ($(PLATFORM),)
-include Makefile.platform
Expand Down Expand Up @@ -341,8 +341,8 @@ GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d

# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = $(MCU_FLAGS) -I. $(CFLAGS) $(GENDEPFLAGS)
ALL_CPPFLAGS = $(MCU_FLAGS) -I. -x c++ $(CPPFLAGS) $(GENDEPFLAGS)
ALL_CFLAGS = $(MCU_FLAGS) -I. $(CFLAGS)
ALL_CPPFLAGS = $(MCU_FLAGS) -I. -x c++ $(CPPFLAGS)
ALL_ASFLAGS = $(MCU_FLAGS) -I. -x assembler-with-cpp $(ASFLAGS)


Expand All @@ -364,18 +364,18 @@ LIBNAME=lib$(TARGET-PLAT).a
lib: $(LIBNAME)


begin:
begin: clean_all_mute
@$(ECHO_BLANK)
@echo Welcome to another exciting ChipWhisperer target build!!

end:
end: fastnote
@echo +--------------------------------------------------------
@echo + Built for platform "$(PLTNAME)" with:
@echo + CRYPTO_TARGET = "$(CRYPTO_TARGET)"
@echo + CRYPTO_OPTIONS = "$(CRYPTO_OPTIONS)"
@echo +--------------------------------------------------------

fastnote:
fastnote: sizeafter
@echo +--------------------------------------------------------
@echo + Default target does full rebuild each time.
@echo + Specify buildtarget == allquick == to avoid full rebuild
Expand All @@ -396,7 +396,7 @@ sizeafter: build

$(OBJ): | $(OBJDIR)

$(OBJDIR):
$(OBJDIR): clean_all_mute
$(MAKEDIR) $(OBJDIR) $(call AdjustPath,$(OBJDIR),$(MKDIR_LIST) )

.dep:
Expand Down Expand Up @@ -497,7 +497,7 @@ endif


# Compile: create object files from C source files.
$(OBJDIR)/%.o : %.c
$(OBJDIR)/%.o : %.c $(OBJDIR)
@$(ECHO_BLANK)
@echo Compiling:
@echo -en $(COMPMSG)
Expand All @@ -506,7 +506,7 @@ $(OBJDIR)/%.o : %.c


# Compile: create object files from C++ source files.
$(OBJDIR)/%.o : %.cpp
$(OBJDIR)/%.o : %.cpp $(OBJDIR)
@$(ECHO_BLANK)
@echo Compiling C++:
@echo -en $(COMPCPPMSG)
Expand All @@ -525,7 +525,7 @@ $(OBJDIR)/%.o : %.cpp


# Assemble: create object files from assembler source files.
$(OBJDIR)/%.o : %.S
$(OBJDIR)/%.o : %.S $(OBJDIR)
@$(ECHO_BLANK)
@echo $(MSG_ASSEMBLING) $<
$(CC) -c $(ALL_ASFLAGS) $< -o $@
Expand Down Expand Up @@ -598,7 +598,7 @@ clean_list :

# Include the dependency files.
#-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
-include $(wildcard .dep/*)
# -include $(wildcard .dep/*)


# Listing of phony targets.
Expand Down

0 comments on commit 4248441

Please sign in to comment.