Add saving cnf in ROM, workink with leds

This commit is contained in:
2026-03-30 18:42:53 +03:00
parent 0b982e5d4d
commit d43458c770
82 changed files with 43899 additions and 41684 deletions

View File

@@ -15,6 +15,7 @@ RM := rm -rf
-include Utilities/misc/subdir.mk
-include Utilities/lpm/tiny_lpm/subdir.mk
-include SubGHz_Phy/Target/subdir.mk
-include SubGHz_Phy/App/config/subdir.mk
-include SubGHz_Phy/App/subdir.mk
-include Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/subdir.mk
-include Drivers/STM32WLxx_HAL_Driver/Src/subdir.mk
@@ -43,34 +44,34 @@ $(wildcard ../makefile.init) \
$(wildcard ../makefile.targets) \
BUILD_ARTIFACT_NAME := SubGHz_Phy_Per_My_Test
BUILD_ARTIFACT_NAME := suffix
BUILD_ARTIFACT_EXTENSION := elf
BUILD_ARTIFACT_PREFIX :=
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
SubGHz_Phy_Per_My_Test.elf \
suffix.elf \
MAP_FILES += \
SubGHz_Phy_Per_My_Test.map \
suffix.map \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
SubGHz_Phy_Per_My_Test.list \
suffix.list \
# All Target
all: main-build
# Main-build Target
main-build: SubGHz_Phy_Per_My_Test.elf secondary-outputs
main-build: suffix.elf secondary-outputs
# Tool invocations
SubGHz_Phy_Per_My_Test.elf SubGHz_Phy_Per_My_Test.map: $(OBJS) $(USER_OBJS) /soft/stm32/projects/SubGHz_Phy_Per_My_Test/STM32WL55JCIX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "SubGHz_Phy_Per_My_Test.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"/soft/stm32/projects/SubGHz_Phy_Per_My_Test/STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="SubGHz_Phy_Per_My_Test.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
suffix.elf suffix.map: $(OBJS) $(USER_OBJS) /soft/stm32/projects/suffix/STM32WL55JCIX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "suffix.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"/soft/stm32/projects/suffix/STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="suffix.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
@@ -79,14 +80,14 @@ default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
@echo 'Finished building: $@'
@echo ' '
SubGHz_Phy_Per_My_Test.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "SubGHz_Phy_Per_My_Test.list"
suffix.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "suffix.list"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) SubGHz_Phy_Per_My_Test.elf SubGHz_Phy_Per_My_Test.list SubGHz_Phy_Per_My_Test.map default.size.stdout
-$(RM) default.size.stdout suffix.elf suffix.list suffix.map
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)