diff --git a/.gitignore b/.gitignore index 33eaf08..d259c7f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,6 @@ *.s#* -/Debug/ -/Release/ +*.bin +*.map + diff --git a/.cproject b/application/.cproject similarity index 100% rename from .cproject rename to application/.cproject diff --git a/.project b/application/.project similarity index 100% rename from .project rename to application/.project diff --git a/.settings/language.settings.xml b/application/.settings/language.settings.xml similarity index 100% rename from .settings/language.settings.xml rename to application/.settings/language.settings.xml diff --git a/application/Debug/makefile b/application/Debug/makefile new file mode 100644 index 0000000..438f6b9 --- /dev/null +++ b/application/Debug/makefile @@ -0,0 +1,90 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include system/src/stm32f3-stdperiph/subdir.mk +-include system/src/newlib/subdir.mk +-include system/src/diag/subdir.mk +-include system/src/cortexm/subdir.mk +-include system/src/cmsis/subdir.mk +-include src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(ASM_DEPS)),) +-include $(ASM_DEPS) +endif +ifneq ($(strip $(S_UPPER_DEPS)),) +-include $(S_UPPER_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables +SECONDARY_FLASH += \ +ais_transponder.bin \ + +SECONDARY_SIZE += \ +ais_transponder.siz \ + + +# All Target +all: ais_transponder.elf secondary-outputs + +# Tool invocations +ais_transponder.elf: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: Cross ARM C++ Linker' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"ais_transponder.map" --specs=nano.specs -u _printf_float -o "ais_transponder.elf" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +ais_transponder.bin: ais_transponder.elf + @echo 'Invoking: Cross ARM GNU Create Flash Image' + arm-none-eabi-objcopy -O binary "ais_transponder.elf" "ais_transponder.bin" + @echo 'Finished building: $@' + @echo ' ' + +ais_transponder.siz: ais_transponder.elf + @echo 'Invoking: Cross ARM GNU Print Size' + arm-none-eabi-size --format=berkeley "ais_transponder.elf" + @echo 'Finished building: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(CC_DEPS)$(C++_DEPS)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS)$(CPP_DEPS) ais_transponder.elf + -@echo ' ' + +secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE) + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/application/Debug/objects.mk b/application/Debug/objects.mk new file mode 100644 index 0000000..742c2da --- /dev/null +++ b/application/Debug/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := + diff --git a/application/Debug/sources.mk b/application/Debug/sources.mk new file mode 100644 index 0000000..3628a72 --- /dev/null +++ b/application/Debug/sources.mk @@ -0,0 +1,36 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +ELF_SRCS := +C_UPPER_SRCS := +CXX_SRCS := +C++_SRCS := +OBJ_SRCS := +CC_SRCS := +ASM_SRCS := +C_SRCS := +CPP_SRCS := +S_UPPER_SRCS := +O_SRCS := +CC_DEPS := +C++_DEPS := +OBJS := +C_UPPER_DEPS := +CXX_DEPS := +SECONDARY_FLASH := +SECONDARY_SIZE := +ASM_DEPS := +S_UPPER_DEPS := +C_DEPS := +CPP_DEPS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src \ +system/src/cmsis \ +system/src/cortexm \ +system/src/diag \ +system/src/newlib \ +system/src/stm32f3-stdperiph \ + diff --git a/application/Debug/src/subdir.mk b/application/Debug/src/subdir.mk new file mode 100644 index 0000000..b4e135a --- /dev/null +++ b/application/Debug/src/subdir.mk @@ -0,0 +1,107 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../src/_write.c + +CPP_SRCS += \ +../src/AISMessages.cpp \ +../src/ChannelManager.cpp \ +../src/DataTerminal.cpp \ +../src/DebugPrinter.cpp \ +../src/EEPROM.cpp \ +../src/EventQueue.cpp \ +../src/Events.cpp \ +../src/GPS.cpp \ +../src/LEDManager.cpp \ +../src/MenuScreens.cpp \ +../src/NMEAEncoder.cpp \ +../src/NMEASentence.cpp \ +../src/NoiseFloorDetector.cpp \ +../src/RFIC.cpp \ +../src/RXPacket.cpp \ +../src/RXPacketProcessor.cpp \ +../src/RadioManager.cpp \ +../src/Receiver.cpp \ +../src/TXPacket.cpp \ +../src/TXScheduler.cpp \ +../src/Transceiver.cpp \ +../src/Utils.cpp \ +../src/main.cpp \ +../src/printf2.cpp + +OBJS += \ +./src/AISMessages.o \ +./src/ChannelManager.o \ +./src/DataTerminal.o \ +./src/DebugPrinter.o \ +./src/EEPROM.o \ +./src/EventQueue.o \ +./src/Events.o \ +./src/GPS.o \ +./src/LEDManager.o \ +./src/MenuScreens.o \ +./src/NMEAEncoder.o \ +./src/NMEASentence.o \ +./src/NoiseFloorDetector.o \ +./src/RFIC.o \ +./src/RXPacket.o \ +./src/RXPacketProcessor.o \ +./src/RadioManager.o \ +./src/Receiver.o \ +./src/TXPacket.o \ +./src/TXScheduler.o \ +./src/Transceiver.o \ +./src/Utils.o \ +./src/_write.o \ +./src/main.o \ +./src/printf2.o + +C_DEPS += \ +./src/_write.d + +CPP_DEPS += \ +./src/AISMessages.d \ +./src/ChannelManager.d \ +./src/DataTerminal.d \ +./src/DebugPrinter.d \ +./src/EEPROM.d \ +./src/EventQueue.d \ +./src/Events.d \ +./src/GPS.d \ +./src/LEDManager.d \ +./src/MenuScreens.d \ +./src/NMEAEncoder.d \ +./src/NMEASentence.d \ +./src/NoiseFloorDetector.d \ +./src/RFIC.d \ +./src/RXPacket.d \ +./src/RXPacketProcessor.d \ +./src/RadioManager.d \ +./src/Receiver.d \ +./src/TXPacket.d \ +./src/TXScheduler.d \ +./src/Transceiver.d \ +./src/Utils.d \ +./src/main.d \ +./src/printf2.d + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C++ Compiler' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu++11 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +src/%.o: ../src/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Debug/system/src/cmsis/subdir.mk b/application/Debug/system/src/cmsis/subdir.mk new file mode 100644 index 0000000..cec40a0 --- /dev/null +++ b/application/Debug/system/src/cmsis/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/cmsis/system_stm32f30x.c \ +../system/src/cmsis/vectors_stm32f30x.c + +OBJS += \ +./system/src/cmsis/system_stm32f30x.o \ +./system/src/cmsis/vectors_stm32f30x.o + +C_DEPS += \ +./system/src/cmsis/system_stm32f30x.d \ +./system/src/cmsis/vectors_stm32f30x.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/cmsis/%.o: ../system/src/cmsis/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Debug/system/src/cortexm/subdir.mk b/application/Debug/system/src/cortexm/subdir.mk new file mode 100644 index 0000000..b9b3c3d --- /dev/null +++ b/application/Debug/system/src/cortexm/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/cortexm/_initialize_hardware.c \ +../system/src/cortexm/_reset_hardware.c \ +../system/src/cortexm/exception_handlers.c + +OBJS += \ +./system/src/cortexm/_initialize_hardware.o \ +./system/src/cortexm/_reset_hardware.o \ +./system/src/cortexm/exception_handlers.o + +C_DEPS += \ +./system/src/cortexm/_initialize_hardware.d \ +./system/src/cortexm/_reset_hardware.d \ +./system/src/cortexm/exception_handlers.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/cortexm/%.o: ../system/src/cortexm/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Debug/system/src/diag/subdir.mk b/application/Debug/system/src/diag/subdir.mk new file mode 100644 index 0000000..6df3029 --- /dev/null +++ b/application/Debug/system/src/diag/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/diag/Trace.c \ +../system/src/diag/trace_impl.c + +OBJS += \ +./system/src/diag/Trace.o \ +./system/src/diag/trace_impl.o + +C_DEPS += \ +./system/src/diag/Trace.d \ +./system/src/diag/trace_impl.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/diag/%.o: ../system/src/diag/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Debug/system/src/newlib/subdir.mk b/application/Debug/system/src/newlib/subdir.mk new file mode 100644 index 0000000..be92a0a --- /dev/null +++ b/application/Debug/system/src/newlib/subdir.mk @@ -0,0 +1,57 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/newlib/_exit.c \ +../system/src/newlib/_sbrk.c \ +../system/src/newlib/_startup.c \ +../system/src/newlib/_syscalls.c \ +../system/src/newlib/assert.c + +CPP_SRCS += \ +../system/src/newlib/_cxx.cpp + +OBJS += \ +./system/src/newlib/_cxx.o \ +./system/src/newlib/_exit.o \ +./system/src/newlib/_sbrk.o \ +./system/src/newlib/_startup.o \ +./system/src/newlib/_syscalls.o \ +./system/src/newlib/assert.o + +C_DEPS += \ +./system/src/newlib/_exit.d \ +./system/src/newlib/_sbrk.d \ +./system/src/newlib/_startup.d \ +./system/src/newlib/_syscalls.d \ +./system/src/newlib/assert.d + +CPP_DEPS += \ +./system/src/newlib/_cxx.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/newlib/%.o: ../system/src/newlib/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C++ Compiler' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu++11 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +system/src/newlib/%.o: ../system/src/newlib/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +system/src/newlib/_startup.o: ../system/src/newlib/_startup.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -DOS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"system/src/newlib/_startup.d" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Debug/system/src/stm32f3-stdperiph/subdir.mk b/application/Debug/system/src/stm32f3-stdperiph/subdir.mk new file mode 100644 index 0000000..2cf364b --- /dev/null +++ b/application/Debug/system/src/stm32f3-stdperiph/subdir.mk @@ -0,0 +1,51 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/stm32f3-stdperiph/stm32f30x_exti.c \ +../system/src/stm32f3-stdperiph/stm32f30x_gpio.c \ +../system/src/stm32f3-stdperiph/stm32f30x_i2c.c \ +../system/src/stm32f3-stdperiph/stm32f30x_iwdg.c \ +../system/src/stm32f3-stdperiph/stm32f30x_misc.c \ +../system/src/stm32f3-stdperiph/stm32f30x_rcc.c \ +../system/src/stm32f3-stdperiph/stm32f30x_spi.c \ +../system/src/stm32f3-stdperiph/stm32f30x_syscfg.c \ +../system/src/stm32f3-stdperiph/stm32f30x_tim.c \ +../system/src/stm32f3-stdperiph/stm32f30x_usart.c + +OBJS += \ +./system/src/stm32f3-stdperiph/stm32f30x_exti.o \ +./system/src/stm32f3-stdperiph/stm32f30x_gpio.o \ +./system/src/stm32f3-stdperiph/stm32f30x_i2c.o \ +./system/src/stm32f3-stdperiph/stm32f30x_iwdg.o \ +./system/src/stm32f3-stdperiph/stm32f30x_misc.o \ +./system/src/stm32f3-stdperiph/stm32f30x_rcc.o \ +./system/src/stm32f3-stdperiph/stm32f30x_spi.o \ +./system/src/stm32f3-stdperiph/stm32f30x_syscfg.o \ +./system/src/stm32f3-stdperiph/stm32f30x_tim.o \ +./system/src/stm32f3-stdperiph/stm32f30x_usart.o + +C_DEPS += \ +./system/src/stm32f3-stdperiph/stm32f30x_exti.d \ +./system/src/stm32f3-stdperiph/stm32f30x_gpio.d \ +./system/src/stm32f3-stdperiph/stm32f30x_i2c.d \ +./system/src/stm32f3-stdperiph/stm32f30x_iwdg.d \ +./system/src/stm32f3-stdperiph/stm32f30x_misc.d \ +./system/src/stm32f3-stdperiph/stm32f30x_rcc.d \ +./system/src/stm32f3-stdperiph/stm32f30x_spi.d \ +./system/src/stm32f3-stdperiph/stm32f30x_syscfg.d \ +./system/src/stm32f3-stdperiph/stm32f30x_tim.d \ +./system/src/stm32f3-stdperiph/stm32f30x_usart.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/stm32f3-stdperiph/%.o: ../system/src/stm32f3-stdperiph/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/makefile b/application/Release/makefile new file mode 100644 index 0000000..9261951 --- /dev/null +++ b/application/Release/makefile @@ -0,0 +1,90 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include system/src/stm32f3-stdperiph/subdir.mk +-include system/src/newlib/subdir.mk +-include system/src/diag/subdir.mk +-include system/src/cortexm/subdir.mk +-include system/src/cmsis/subdir.mk +-include src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(ASM_DEPS)),) +-include $(ASM_DEPS) +endif +ifneq ($(strip $(S_UPPER_DEPS)),) +-include $(S_UPPER_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables +SECONDARY_FLASH += \ +ais_transponder.bin \ + +SECONDARY_SIZE += \ +ais_transponder.siz \ + + +# All Target +all: ais_transponder.elf secondary-outputs + +# Tool invocations +ais_transponder.elf: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: Cross ARM C++ Linker' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"ais_transponder.map" --specs=nano.specs -u _printf_float -o "ais_transponder.elf" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +ais_transponder.bin: ais_transponder.elf + @echo 'Invoking: Cross ARM GNU Create Flash Image' + arm-none-eabi-objcopy -O binary "ais_transponder.elf" "ais_transponder.bin" + @echo 'Finished building: $@' + @echo ' ' + +ais_transponder.siz: ais_transponder.elf + @echo 'Invoking: Cross ARM GNU Print Size' + arm-none-eabi-size --format=berkeley "ais_transponder.elf" + @echo 'Finished building: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(CC_DEPS)$(C++_DEPS)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS)$(CPP_DEPS) ais_transponder.elf + -@echo ' ' + +secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE) + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/application/Release/objects.mk b/application/Release/objects.mk new file mode 100644 index 0000000..742c2da --- /dev/null +++ b/application/Release/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := + diff --git a/application/Release/sources.mk b/application/Release/sources.mk new file mode 100644 index 0000000..3628a72 --- /dev/null +++ b/application/Release/sources.mk @@ -0,0 +1,36 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +ELF_SRCS := +C_UPPER_SRCS := +CXX_SRCS := +C++_SRCS := +OBJ_SRCS := +CC_SRCS := +ASM_SRCS := +C_SRCS := +CPP_SRCS := +S_UPPER_SRCS := +O_SRCS := +CC_DEPS := +C++_DEPS := +OBJS := +C_UPPER_DEPS := +CXX_DEPS := +SECONDARY_FLASH := +SECONDARY_SIZE := +ASM_DEPS := +S_UPPER_DEPS := +C_DEPS := +CPP_DEPS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src \ +system/src/cmsis \ +system/src/cortexm \ +system/src/diag \ +system/src/newlib \ +system/src/stm32f3-stdperiph \ + diff --git a/application/Release/src/subdir.mk b/application/Release/src/subdir.mk new file mode 100644 index 0000000..c8b1854 --- /dev/null +++ b/application/Release/src/subdir.mk @@ -0,0 +1,107 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../src/_write.c + +CPP_SRCS += \ +../src/AISMessages.cpp \ +../src/ChannelManager.cpp \ +../src/DataTerminal.cpp \ +../src/DebugPrinter.cpp \ +../src/EEPROM.cpp \ +../src/EventQueue.cpp \ +../src/Events.cpp \ +../src/GPS.cpp \ +../src/LEDManager.cpp \ +../src/MenuScreens.cpp \ +../src/NMEAEncoder.cpp \ +../src/NMEASentence.cpp \ +../src/NoiseFloorDetector.cpp \ +../src/RFIC.cpp \ +../src/RXPacket.cpp \ +../src/RXPacketProcessor.cpp \ +../src/RadioManager.cpp \ +../src/Receiver.cpp \ +../src/TXPacket.cpp \ +../src/TXScheduler.cpp \ +../src/Transceiver.cpp \ +../src/Utils.cpp \ +../src/main.cpp \ +../src/printf2.cpp + +OBJS += \ +./src/AISMessages.o \ +./src/ChannelManager.o \ +./src/DataTerminal.o \ +./src/DebugPrinter.o \ +./src/EEPROM.o \ +./src/EventQueue.o \ +./src/Events.o \ +./src/GPS.o \ +./src/LEDManager.o \ +./src/MenuScreens.o \ +./src/NMEAEncoder.o \ +./src/NMEASentence.o \ +./src/NoiseFloorDetector.o \ +./src/RFIC.o \ +./src/RXPacket.o \ +./src/RXPacketProcessor.o \ +./src/RadioManager.o \ +./src/Receiver.o \ +./src/TXPacket.o \ +./src/TXScheduler.o \ +./src/Transceiver.o \ +./src/Utils.o \ +./src/_write.o \ +./src/main.o \ +./src/printf2.o + +C_DEPS += \ +./src/_write.d + +CPP_DEPS += \ +./src/AISMessages.d \ +./src/ChannelManager.d \ +./src/DataTerminal.d \ +./src/DebugPrinter.d \ +./src/EEPROM.d \ +./src/EventQueue.d \ +./src/Events.d \ +./src/GPS.d \ +./src/LEDManager.d \ +./src/MenuScreens.d \ +./src/NMEAEncoder.d \ +./src/NMEASentence.d \ +./src/NoiseFloorDetector.d \ +./src/RFIC.d \ +./src/RXPacket.d \ +./src/RXPacketProcessor.d \ +./src/RadioManager.d \ +./src/Receiver.d \ +./src/TXPacket.d \ +./src/TXScheduler.d \ +./src/Transceiver.d \ +./src/Utils.d \ +./src/main.d \ +./src/printf2.d + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C++ Compiler' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu++11 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +src/%.o: ../src/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/system/src/cmsis/subdir.mk b/application/Release/system/src/cmsis/subdir.mk new file mode 100644 index 0000000..0a52f4f --- /dev/null +++ b/application/Release/system/src/cmsis/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/cmsis/system_stm32f30x.c \ +../system/src/cmsis/vectors_stm32f30x.c + +OBJS += \ +./system/src/cmsis/system_stm32f30x.o \ +./system/src/cmsis/vectors_stm32f30x.o + +C_DEPS += \ +./system/src/cmsis/system_stm32f30x.d \ +./system/src/cmsis/vectors_stm32f30x.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/cmsis/%.o: ../system/src/cmsis/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/system/src/cortexm/subdir.mk b/application/Release/system/src/cortexm/subdir.mk new file mode 100644 index 0000000..dcd0ac7 --- /dev/null +++ b/application/Release/system/src/cortexm/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/cortexm/_initialize_hardware.c \ +../system/src/cortexm/_reset_hardware.c \ +../system/src/cortexm/exception_handlers.c + +OBJS += \ +./system/src/cortexm/_initialize_hardware.o \ +./system/src/cortexm/_reset_hardware.o \ +./system/src/cortexm/exception_handlers.o + +C_DEPS += \ +./system/src/cortexm/_initialize_hardware.d \ +./system/src/cortexm/_reset_hardware.d \ +./system/src/cortexm/exception_handlers.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/cortexm/%.o: ../system/src/cortexm/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/system/src/diag/subdir.mk b/application/Release/system/src/diag/subdir.mk new file mode 100644 index 0000000..5746d6d --- /dev/null +++ b/application/Release/system/src/diag/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/diag/Trace.c \ +../system/src/diag/trace_impl.c + +OBJS += \ +./system/src/diag/Trace.o \ +./system/src/diag/trace_impl.o + +C_DEPS += \ +./system/src/diag/Trace.d \ +./system/src/diag/trace_impl.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/diag/%.o: ../system/src/diag/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/system/src/newlib/subdir.mk b/application/Release/system/src/newlib/subdir.mk new file mode 100644 index 0000000..64d1d06 --- /dev/null +++ b/application/Release/system/src/newlib/subdir.mk @@ -0,0 +1,57 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/newlib/_exit.c \ +../system/src/newlib/_sbrk.c \ +../system/src/newlib/_startup.c \ +../system/src/newlib/_syscalls.c \ +../system/src/newlib/assert.c + +CPP_SRCS += \ +../system/src/newlib/_cxx.cpp + +OBJS += \ +./system/src/newlib/_cxx.o \ +./system/src/newlib/_exit.o \ +./system/src/newlib/_sbrk.o \ +./system/src/newlib/_startup.o \ +./system/src/newlib/_syscalls.o \ +./system/src/newlib/assert.o + +C_DEPS += \ +./system/src/newlib/_exit.d \ +./system/src/newlib/_sbrk.d \ +./system/src/newlib/_startup.d \ +./system/src/newlib/_syscalls.d \ +./system/src/newlib/assert.d + +CPP_DEPS += \ +./system/src/newlib/_cxx.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/newlib/%.o: ../system/src/newlib/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C++ Compiler' + arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu++11 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +system/src/newlib/%.o: ../system/src/newlib/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +system/src/newlib/_startup.o: ../system/src/newlib/_startup.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -DOS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"system/src/newlib/_startup.d" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/application/Release/system/src/stm32f3-stdperiph/subdir.mk b/application/Release/system/src/stm32f3-stdperiph/subdir.mk new file mode 100644 index 0000000..ae2cb9d --- /dev/null +++ b/application/Release/system/src/stm32f3-stdperiph/subdir.mk @@ -0,0 +1,51 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../system/src/stm32f3-stdperiph/stm32f30x_exti.c \ +../system/src/stm32f3-stdperiph/stm32f30x_gpio.c \ +../system/src/stm32f3-stdperiph/stm32f30x_i2c.c \ +../system/src/stm32f3-stdperiph/stm32f30x_iwdg.c \ +../system/src/stm32f3-stdperiph/stm32f30x_misc.c \ +../system/src/stm32f3-stdperiph/stm32f30x_rcc.c \ +../system/src/stm32f3-stdperiph/stm32f30x_spi.c \ +../system/src/stm32f3-stdperiph/stm32f30x_syscfg.c \ +../system/src/stm32f3-stdperiph/stm32f30x_tim.c \ +../system/src/stm32f3-stdperiph/stm32f30x_usart.c + +OBJS += \ +./system/src/stm32f3-stdperiph/stm32f30x_exti.o \ +./system/src/stm32f3-stdperiph/stm32f30x_gpio.o \ +./system/src/stm32f3-stdperiph/stm32f30x_i2c.o \ +./system/src/stm32f3-stdperiph/stm32f30x_iwdg.o \ +./system/src/stm32f3-stdperiph/stm32f30x_misc.o \ +./system/src/stm32f3-stdperiph/stm32f30x_rcc.o \ +./system/src/stm32f3-stdperiph/stm32f30x_spi.o \ +./system/src/stm32f3-stdperiph/stm32f30x_syscfg.o \ +./system/src/stm32f3-stdperiph/stm32f30x_tim.o \ +./system/src/stm32f3-stdperiph/stm32f30x_usart.o + +C_DEPS += \ +./system/src/stm32f3-stdperiph/stm32f30x_exti.d \ +./system/src/stm32f3-stdperiph/stm32f30x_gpio.d \ +./system/src/stm32f3-stdperiph/stm32f30x_i2c.d \ +./system/src/stm32f3-stdperiph/stm32f30x_iwdg.d \ +./system/src/stm32f3-stdperiph/stm32f30x_misc.d \ +./system/src/stm32f3-stdperiph/stm32f30x_rcc.d \ +./system/src/stm32f3-stdperiph/stm32f30x_spi.d \ +./system/src/stm32f3-stdperiph/stm32f30x_syscfg.d \ +./system/src/stm32f3-stdperiph/stm32f30x_tim.d \ +./system/src/stm32f3-stdperiph/stm32f30x_usart.d + + +# Each subdirectory must supply rules for building sources it contributes +system/src/stm32f3-stdperiph/%.o: ../system/src/stm32f3-stdperiph/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross ARM C Compiler' + arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Wall -Wextra -g -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSTM32F30X -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f3-stdperiph" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/include/stm32f30x_conf.h b/application/include/stm32f30x_conf.h similarity index 100% rename from include/stm32f30x_conf.h rename to application/include/stm32f30x_conf.h diff --git a/ldscripts/libs.ld b/application/ldscripts/libs.ld similarity index 100% rename from ldscripts/libs.ld rename to application/ldscripts/libs.ld diff --git a/ldscripts/mem.ld b/application/ldscripts/mem.ld similarity index 94% rename from ldscripts/mem.ld rename to application/ldscripts/mem.ld index 2668629..0e8365f 100644 --- a/ldscripts/mem.ld +++ b/application/ldscripts/mem.ld @@ -15,7 +15,7 @@ MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 40K CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 0K - FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K + FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 112K FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0 EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 diff --git a/ldscripts/sections.ld b/application/ldscripts/sections.ld similarity index 100% rename from ldscripts/sections.ld rename to application/ldscripts/sections.ld diff --git a/src/AISChannels.h b/application/src/AISChannels.h similarity index 100% rename from src/AISChannels.h rename to application/src/AISChannels.h diff --git a/src/AISMessages.cpp b/application/src/AISMessages.cpp similarity index 100% rename from src/AISMessages.cpp rename to application/src/AISMessages.cpp diff --git a/src/AISMessages.hpp b/application/src/AISMessages.hpp similarity index 100% rename from src/AISMessages.hpp rename to application/src/AISMessages.hpp diff --git a/src/ChannelManager.cpp b/application/src/ChannelManager.cpp similarity index 100% rename from src/ChannelManager.cpp rename to application/src/ChannelManager.cpp diff --git a/src/ChannelManager.hpp b/application/src/ChannelManager.hpp similarity index 100% rename from src/ChannelManager.hpp rename to application/src/ChannelManager.hpp diff --git a/src/CircularQueue.hpp b/application/src/CircularQueue.hpp similarity index 100% rename from src/CircularQueue.hpp rename to application/src/CircularQueue.hpp diff --git a/src/DataTerminal.cpp b/application/src/DataTerminal.cpp similarity index 100% rename from src/DataTerminal.cpp rename to application/src/DataTerminal.cpp diff --git a/src/DataTerminal.hpp b/application/src/DataTerminal.hpp similarity index 100% rename from src/DataTerminal.hpp rename to application/src/DataTerminal.hpp diff --git a/src/DebugPrinter.cpp b/application/src/DebugPrinter.cpp similarity index 100% rename from src/DebugPrinter.cpp rename to application/src/DebugPrinter.cpp diff --git a/src/DebugPrinter.hpp b/application/src/DebugPrinter.hpp similarity index 100% rename from src/DebugPrinter.hpp rename to application/src/DebugPrinter.hpp diff --git a/src/EEPROM.cpp b/application/src/EEPROM.cpp similarity index 100% rename from src/EEPROM.cpp rename to application/src/EEPROM.cpp diff --git a/src/EEPROM.hpp b/application/src/EEPROM.hpp similarity index 100% rename from src/EEPROM.hpp rename to application/src/EEPROM.hpp diff --git a/src/EZRadioPRO.h b/application/src/EZRadioPRO.h similarity index 100% rename from src/EZRadioPRO.h rename to application/src/EZRadioPRO.h diff --git a/src/EventQueue.cpp b/application/src/EventQueue.cpp similarity index 100% rename from src/EventQueue.cpp rename to application/src/EventQueue.cpp diff --git a/src/EventQueue.hpp b/application/src/EventQueue.hpp similarity index 100% rename from src/EventQueue.hpp rename to application/src/EventQueue.hpp diff --git a/src/EventTypes.h b/application/src/EventTypes.h similarity index 100% rename from src/EventTypes.h rename to application/src/EventTypes.h diff --git a/src/Events.cpp b/application/src/Events.cpp similarity index 100% rename from src/Events.cpp rename to application/src/Events.cpp diff --git a/src/Events.hpp b/application/src/Events.hpp similarity index 100% rename from src/Events.hpp rename to application/src/Events.hpp diff --git a/src/GPS.cpp b/application/src/GPS.cpp similarity index 100% rename from src/GPS.cpp rename to application/src/GPS.cpp diff --git a/src/GPS.hpp b/application/src/GPS.hpp similarity index 100% rename from src/GPS.hpp rename to application/src/GPS.hpp diff --git a/src/LEDManager.cpp b/application/src/LEDManager.cpp similarity index 100% rename from src/LEDManager.cpp rename to application/src/LEDManager.cpp diff --git a/src/LEDManager.hpp b/application/src/LEDManager.hpp similarity index 100% rename from src/LEDManager.hpp rename to application/src/LEDManager.hpp diff --git a/src/MenuScreens.cpp b/application/src/MenuScreens.cpp similarity index 100% rename from src/MenuScreens.cpp rename to application/src/MenuScreens.cpp diff --git a/src/MenuScreens.hpp b/application/src/MenuScreens.hpp similarity index 100% rename from src/MenuScreens.hpp rename to application/src/MenuScreens.hpp diff --git a/src/MetricUnits.hpp b/application/src/MetricUnits.hpp similarity index 100% rename from src/MetricUnits.hpp rename to application/src/MetricUnits.hpp diff --git a/src/NMEAEncoder.cpp b/application/src/NMEAEncoder.cpp similarity index 100% rename from src/NMEAEncoder.cpp rename to application/src/NMEAEncoder.cpp diff --git a/src/NMEAEncoder.hpp b/application/src/NMEAEncoder.hpp similarity index 100% rename from src/NMEAEncoder.hpp rename to application/src/NMEAEncoder.hpp diff --git a/src/NMEASentence.cpp b/application/src/NMEASentence.cpp similarity index 100% rename from src/NMEASentence.cpp rename to application/src/NMEASentence.cpp diff --git a/src/NMEASentence.hpp b/application/src/NMEASentence.hpp similarity index 100% rename from src/NMEASentence.hpp rename to application/src/NMEASentence.hpp diff --git a/src/NoiseFloorDetector.cpp b/application/src/NoiseFloorDetector.cpp similarity index 100% rename from src/NoiseFloorDetector.cpp rename to application/src/NoiseFloorDetector.cpp diff --git a/src/NoiseFloorDetector.hpp b/application/src/NoiseFloorDetector.hpp similarity index 100% rename from src/NoiseFloorDetector.hpp rename to application/src/NoiseFloorDetector.hpp diff --git a/src/ObjectPool.hpp b/application/src/ObjectPool.hpp similarity index 100% rename from src/ObjectPool.hpp rename to application/src/ObjectPool.hpp diff --git a/src/RFIC.cpp b/application/src/RFIC.cpp similarity index 100% rename from src/RFIC.cpp rename to application/src/RFIC.cpp diff --git a/src/RFIC.hpp b/application/src/RFIC.hpp similarity index 100% rename from src/RFIC.hpp rename to application/src/RFIC.hpp diff --git a/src/RXPacket.cpp b/application/src/RXPacket.cpp similarity index 100% rename from src/RXPacket.cpp rename to application/src/RXPacket.cpp diff --git a/src/RXPacket.hpp b/application/src/RXPacket.hpp similarity index 100% rename from src/RXPacket.hpp rename to application/src/RXPacket.hpp diff --git a/src/RXPacketProcessor.cpp b/application/src/RXPacketProcessor.cpp similarity index 100% rename from src/RXPacketProcessor.cpp rename to application/src/RXPacketProcessor.cpp diff --git a/src/RXPacketProcessor.hpp b/application/src/RXPacketProcessor.hpp similarity index 100% rename from src/RXPacketProcessor.hpp rename to application/src/RXPacketProcessor.hpp diff --git a/src/RadioManager.cpp b/application/src/RadioManager.cpp similarity index 100% rename from src/RadioManager.cpp rename to application/src/RadioManager.cpp diff --git a/src/RadioManager.hpp b/application/src/RadioManager.hpp similarity index 100% rename from src/RadioManager.hpp rename to application/src/RadioManager.hpp diff --git a/src/RadioState.hpp b/application/src/RadioState.hpp similarity index 100% rename from src/RadioState.hpp rename to application/src/RadioState.hpp diff --git a/src/Receiver.cpp b/application/src/Receiver.cpp similarity index 100% rename from src/Receiver.cpp rename to application/src/Receiver.cpp diff --git a/src/Receiver.hpp b/application/src/Receiver.hpp similarity index 100% rename from src/Receiver.hpp rename to application/src/Receiver.hpp diff --git a/src/StationData.h b/application/src/StationData.h similarity index 100% rename from src/StationData.h rename to application/src/StationData.h diff --git a/src/TXPacket.cpp b/application/src/TXPacket.cpp similarity index 100% rename from src/TXPacket.cpp rename to application/src/TXPacket.cpp diff --git a/src/TXPacket.hpp b/application/src/TXPacket.hpp similarity index 100% rename from src/TXPacket.hpp rename to application/src/TXPacket.hpp diff --git a/src/TXPowerSettings.h b/application/src/TXPowerSettings.h similarity index 100% rename from src/TXPowerSettings.h rename to application/src/TXPowerSettings.h diff --git a/src/TXScheduler.cpp b/application/src/TXScheduler.cpp similarity index 100% rename from src/TXScheduler.cpp rename to application/src/TXScheduler.cpp diff --git a/src/TXScheduler.hpp b/application/src/TXScheduler.hpp similarity index 100% rename from src/TXScheduler.hpp rename to application/src/TXScheduler.hpp diff --git a/src/Transceiver.cpp b/application/src/Transceiver.cpp similarity index 100% rename from src/Transceiver.cpp rename to application/src/Transceiver.cpp diff --git a/src/Transceiver.hpp b/application/src/Transceiver.hpp similarity index 100% rename from src/Transceiver.hpp rename to application/src/Transceiver.hpp diff --git a/src/Utils.cpp b/application/src/Utils.cpp similarity index 100% rename from src/Utils.cpp rename to application/src/Utils.cpp diff --git a/src/Utils.hpp b/application/src/Utils.hpp similarity index 100% rename from src/Utils.hpp rename to application/src/Utils.hpp diff --git a/src/_assert.h b/application/src/_assert.h similarity index 100% rename from src/_assert.h rename to application/src/_assert.h diff --git a/src/_write.c b/application/src/_write.c similarity index 100% rename from src/_write.c rename to application/src/_write.c diff --git a/src/globals.h b/application/src/globals.h similarity index 98% rename from src/globals.h rename to application/src/globals.h index 02fc174..98bdbb5 100644 --- a/src/globals.h +++ b/application/src/globals.h @@ -12,7 +12,7 @@ #include "TXPowerSettings.h" #define MODEL "SEAWAIS_02" -#define REVISION "0.5.1" +#define REVISION "0.6.0" diff --git a/src/main.cpp b/application/src/main.cpp similarity index 100% rename from src/main.cpp rename to application/src/main.cpp diff --git a/src/printf2.cpp b/application/src/printf2.cpp similarity index 100% rename from src/printf2.cpp rename to application/src/printf2.cpp diff --git a/src/printf2.h b/application/src/printf2.h similarity index 100% rename from src/printf2.h rename to application/src/printf2.h diff --git a/src/radio_config.h b/application/src/radio_config.h similarity index 100% rename from src/radio_config.h rename to application/src/radio_config.h diff --git a/src/radio_config_ph.h b/application/src/radio_config_ph.h similarity index 100% rename from src/radio_config_ph.h rename to application/src/radio_config_ph.h diff --git a/src/radio_config_ph2.h b/application/src/radio_config_ph2.h similarity index 100% rename from src/radio_config_ph2.h rename to application/src/radio_config_ph2.h diff --git a/src/radio_config_ph3.h b/application/src/radio_config_ph3.h similarity index 100% rename from src/radio_config_ph3.h rename to application/src/radio_config_ph3.h diff --git a/src/radio_config_ph_all_channels.h b/application/src/radio_config_ph_all_channels.h similarity index 100% rename from src/radio_config_ph_all_channels.h rename to application/src/radio_config_ph_all_channels.h diff --git a/src/radio_config_rev2.h b/application/src/radio_config_rev2.h similarity index 100% rename from src/radio_config_rev2.h rename to application/src/radio_config_rev2.h diff --git a/src/si446x_patch.h b/application/src/si446x_patch.h similarity index 100% rename from src/si446x_patch.h rename to application/src/si446x_patch.h diff --git a/system/include/arm/semihosting.h b/application/system/include/arm/semihosting.h similarity index 100% rename from system/include/arm/semihosting.h rename to application/system/include/arm/semihosting.h diff --git a/system/include/cmsis/README_DEVICE_30x.txt b/application/system/include/cmsis/README_DEVICE_30x.txt similarity index 100% rename from system/include/cmsis/README_DEVICE_30x.txt rename to application/system/include/cmsis/README_DEVICE_30x.txt diff --git a/system/include/cmsis/arm_common_tables.h b/application/system/include/cmsis/arm_common_tables.h similarity index 100% rename from system/include/cmsis/arm_common_tables.h rename to application/system/include/cmsis/arm_common_tables.h diff --git a/system/include/cmsis/arm_const_structs.h b/application/system/include/cmsis/arm_const_structs.h similarity index 100% rename from system/include/cmsis/arm_const_structs.h rename to application/system/include/cmsis/arm_const_structs.h diff --git a/system/include/cmsis/arm_math.h b/application/system/include/cmsis/arm_math.h similarity index 100% rename from system/include/cmsis/arm_math.h rename to application/system/include/cmsis/arm_math.h diff --git a/system/include/cmsis/cmsis_armcc.h b/application/system/include/cmsis/cmsis_armcc.h similarity index 100% rename from system/include/cmsis/cmsis_armcc.h rename to application/system/include/cmsis/cmsis_armcc.h diff --git a/system/include/cmsis/cmsis_armcc_V6.h b/application/system/include/cmsis/cmsis_armcc_V6.h similarity index 100% rename from system/include/cmsis/cmsis_armcc_V6.h rename to application/system/include/cmsis/cmsis_armcc_V6.h diff --git a/system/include/cmsis/cmsis_device.h b/application/system/include/cmsis/cmsis_device.h similarity index 100% rename from system/include/cmsis/cmsis_device.h rename to application/system/include/cmsis/cmsis_device.h diff --git a/system/include/cmsis/cmsis_gcc.h b/application/system/include/cmsis/cmsis_gcc.h similarity index 100% rename from system/include/cmsis/cmsis_gcc.h rename to application/system/include/cmsis/cmsis_gcc.h diff --git a/system/include/cmsis/core_cm0.h b/application/system/include/cmsis/core_cm0.h similarity index 100% rename from system/include/cmsis/core_cm0.h rename to application/system/include/cmsis/core_cm0.h diff --git a/system/include/cmsis/core_cm0plus.h b/application/system/include/cmsis/core_cm0plus.h similarity index 100% rename from system/include/cmsis/core_cm0plus.h rename to application/system/include/cmsis/core_cm0plus.h diff --git a/system/include/cmsis/core_cm3.h b/application/system/include/cmsis/core_cm3.h similarity index 100% rename from system/include/cmsis/core_cm3.h rename to application/system/include/cmsis/core_cm3.h diff --git a/system/include/cmsis/core_cm4.h b/application/system/include/cmsis/core_cm4.h similarity index 100% rename from system/include/cmsis/core_cm4.h rename to application/system/include/cmsis/core_cm4.h diff --git a/system/include/cmsis/core_cm7.h b/application/system/include/cmsis/core_cm7.h similarity index 100% rename from system/include/cmsis/core_cm7.h rename to application/system/include/cmsis/core_cm7.h diff --git a/system/include/cmsis/core_cmFunc.h b/application/system/include/cmsis/core_cmFunc.h similarity index 100% rename from system/include/cmsis/core_cmFunc.h rename to application/system/include/cmsis/core_cmFunc.h diff --git a/system/include/cmsis/core_cmInstr.h b/application/system/include/cmsis/core_cmInstr.h similarity index 100% rename from system/include/cmsis/core_cmInstr.h rename to application/system/include/cmsis/core_cmInstr.h diff --git a/system/include/cmsis/core_cmSimd.h b/application/system/include/cmsis/core_cmSimd.h similarity index 100% rename from system/include/cmsis/core_cmSimd.h rename to application/system/include/cmsis/core_cmSimd.h diff --git a/system/include/cmsis/core_sc000.h b/application/system/include/cmsis/core_sc000.h similarity index 100% rename from system/include/cmsis/core_sc000.h rename to application/system/include/cmsis/core_sc000.h diff --git a/system/include/cmsis/core_sc300.h b/application/system/include/cmsis/core_sc300.h similarity index 100% rename from system/include/cmsis/core_sc300.h rename to application/system/include/cmsis/core_sc300.h diff --git a/system/include/cmsis/stm32f30x.h b/application/system/include/cmsis/stm32f30x.h similarity index 100% rename from system/include/cmsis/stm32f30x.h rename to application/system/include/cmsis/stm32f30x.h diff --git a/system/include/cmsis/system_stm32f30x.h b/application/system/include/cmsis/system_stm32f30x.h similarity index 100% rename from system/include/cmsis/system_stm32f30x.h rename to application/system/include/cmsis/system_stm32f30x.h diff --git a/system/include/cortexm/ExceptionHandlers.h b/application/system/include/cortexm/ExceptionHandlers.h similarity index 100% rename from system/include/cortexm/ExceptionHandlers.h rename to application/system/include/cortexm/ExceptionHandlers.h diff --git a/system/include/diag/Trace.h b/application/system/include/diag/Trace.h similarity index 100% rename from system/include/diag/Trace.h rename to application/system/include/diag/Trace.h diff --git a/system/include/stm32f3-stdperiph/README_STDPERIPH_30x.txt b/application/system/include/stm32f3-stdperiph/README_STDPERIPH_30x.txt similarity index 100% rename from system/include/stm32f3-stdperiph/README_STDPERIPH_30x.txt rename to application/system/include/stm32f3-stdperiph/README_STDPERIPH_30x.txt diff --git a/system/include/stm32f3-stdperiph/stm32f30x_adc.h b/application/system/include/stm32f3-stdperiph/stm32f30x_adc.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_adc.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_adc.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_can.h b/application/system/include/stm32f3-stdperiph/stm32f30x_can.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_can.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_can.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_comp.h b/application/system/include/stm32f3-stdperiph/stm32f30x_comp.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_comp.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_comp.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_crc.h b/application/system/include/stm32f3-stdperiph/stm32f30x_crc.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_crc.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_crc.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_dac.h b/application/system/include/stm32f3-stdperiph/stm32f30x_dac.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_dac.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_dac.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_dbgmcu.h b/application/system/include/stm32f3-stdperiph/stm32f30x_dbgmcu.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_dbgmcu.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_dbgmcu.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_dma.h b/application/system/include/stm32f3-stdperiph/stm32f30x_dma.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_dma.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_dma.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_exti.h b/application/system/include/stm32f3-stdperiph/stm32f30x_exti.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_exti.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_exti.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_flash.h b/application/system/include/stm32f3-stdperiph/stm32f30x_flash.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_flash.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_flash.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_gpio.h b/application/system/include/stm32f3-stdperiph/stm32f30x_gpio.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_gpio.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_gpio.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_i2c.h b/application/system/include/stm32f3-stdperiph/stm32f30x_i2c.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_i2c.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_i2c.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_iwdg.h b/application/system/include/stm32f3-stdperiph/stm32f30x_iwdg.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_iwdg.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_iwdg.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_misc.h b/application/system/include/stm32f3-stdperiph/stm32f30x_misc.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_misc.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_misc.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_opamp.h b/application/system/include/stm32f3-stdperiph/stm32f30x_opamp.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_opamp.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_opamp.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_pwr.h b/application/system/include/stm32f3-stdperiph/stm32f30x_pwr.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_pwr.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_pwr.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_rcc.h b/application/system/include/stm32f3-stdperiph/stm32f30x_rcc.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_rcc.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_rcc.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_rtc.h b/application/system/include/stm32f3-stdperiph/stm32f30x_rtc.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_rtc.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_rtc.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_spi.h b/application/system/include/stm32f3-stdperiph/stm32f30x_spi.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_spi.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_spi.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_syscfg.h b/application/system/include/stm32f3-stdperiph/stm32f30x_syscfg.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_syscfg.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_syscfg.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_tim.h b/application/system/include/stm32f3-stdperiph/stm32f30x_tim.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_tim.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_tim.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_usart.h b/application/system/include/stm32f3-stdperiph/stm32f30x_usart.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_usart.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_usart.h diff --git a/system/include/stm32f3-stdperiph/stm32f30x_wwdg.h b/application/system/include/stm32f3-stdperiph/stm32f30x_wwdg.h similarity index 100% rename from system/include/stm32f3-stdperiph/stm32f30x_wwdg.h rename to application/system/include/stm32f3-stdperiph/stm32f30x_wwdg.h diff --git a/system/src/cmsis/README_DEVICE_30x.txt b/application/system/src/cmsis/README_DEVICE_30x.txt similarity index 100% rename from system/src/cmsis/README_DEVICE_30x.txt rename to application/system/src/cmsis/README_DEVICE_30x.txt diff --git a/system/src/cmsis/system_stm32f30x.c b/application/system/src/cmsis/system_stm32f30x.c similarity index 100% rename from system/src/cmsis/system_stm32f30x.c rename to application/system/src/cmsis/system_stm32f30x.c diff --git a/system/src/cmsis/vectors_stm32f30x.c b/application/system/src/cmsis/vectors_stm32f30x.c similarity index 100% rename from system/src/cmsis/vectors_stm32f30x.c rename to application/system/src/cmsis/vectors_stm32f30x.c diff --git a/system/src/cortexm/_initialize_hardware.c b/application/system/src/cortexm/_initialize_hardware.c similarity index 100% rename from system/src/cortexm/_initialize_hardware.c rename to application/system/src/cortexm/_initialize_hardware.c diff --git a/system/src/cortexm/_reset_hardware.c b/application/system/src/cortexm/_reset_hardware.c similarity index 100% rename from system/src/cortexm/_reset_hardware.c rename to application/system/src/cortexm/_reset_hardware.c diff --git a/system/src/cortexm/exception_handlers.c b/application/system/src/cortexm/exception_handlers.c similarity index 100% rename from system/src/cortexm/exception_handlers.c rename to application/system/src/cortexm/exception_handlers.c diff --git a/system/src/diag/Trace.c b/application/system/src/diag/Trace.c similarity index 100% rename from system/src/diag/Trace.c rename to application/system/src/diag/Trace.c diff --git a/system/src/diag/trace_impl.c b/application/system/src/diag/trace_impl.c similarity index 100% rename from system/src/diag/trace_impl.c rename to application/system/src/diag/trace_impl.c diff --git a/system/src/newlib/README.txt b/application/system/src/newlib/README.txt similarity index 100% rename from system/src/newlib/README.txt rename to application/system/src/newlib/README.txt diff --git a/system/src/newlib/_cxx.cpp b/application/system/src/newlib/_cxx.cpp similarity index 100% rename from system/src/newlib/_cxx.cpp rename to application/system/src/newlib/_cxx.cpp diff --git a/system/src/newlib/_exit.c b/application/system/src/newlib/_exit.c similarity index 100% rename from system/src/newlib/_exit.c rename to application/system/src/newlib/_exit.c diff --git a/system/src/newlib/_sbrk.c b/application/system/src/newlib/_sbrk.c similarity index 100% rename from system/src/newlib/_sbrk.c rename to application/system/src/newlib/_sbrk.c diff --git a/system/src/newlib/_startup.c b/application/system/src/newlib/_startup.c similarity index 100% rename from system/src/newlib/_startup.c rename to application/system/src/newlib/_startup.c diff --git a/system/src/newlib/_syscalls.c b/application/system/src/newlib/_syscalls.c similarity index 100% rename from system/src/newlib/_syscalls.c rename to application/system/src/newlib/_syscalls.c diff --git a/system/src/newlib/assert.c b/application/system/src/newlib/assert.c similarity index 100% rename from system/src/newlib/assert.c rename to application/system/src/newlib/assert.c diff --git a/system/src/stm32f3-stdperiph/README_STDPERIPH_30x.txt b/application/system/src/stm32f3-stdperiph/README_STDPERIPH_30x.txt similarity index 100% rename from system/src/stm32f3-stdperiph/README_STDPERIPH_30x.txt rename to application/system/src/stm32f3-stdperiph/README_STDPERIPH_30x.txt diff --git a/system/src/stm32f3-stdperiph/stm32f30x_adc.c b/application/system/src/stm32f3-stdperiph/stm32f30x_adc.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_adc.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_adc.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_can.c b/application/system/src/stm32f3-stdperiph/stm32f30x_can.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_can.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_can.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_comp.c b/application/system/src/stm32f3-stdperiph/stm32f30x_comp.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_comp.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_comp.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_crc.c b/application/system/src/stm32f3-stdperiph/stm32f30x_crc.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_crc.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_crc.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_dac.c b/application/system/src/stm32f3-stdperiph/stm32f30x_dac.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_dac.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_dac.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_dbgmcu.c b/application/system/src/stm32f3-stdperiph/stm32f30x_dbgmcu.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_dbgmcu.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_dbgmcu.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_dma.c b/application/system/src/stm32f3-stdperiph/stm32f30x_dma.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_dma.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_dma.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_exti.c b/application/system/src/stm32f3-stdperiph/stm32f30x_exti.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_exti.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_exti.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_flash.c b/application/system/src/stm32f3-stdperiph/stm32f30x_flash.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_flash.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_flash.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_gpio.c b/application/system/src/stm32f3-stdperiph/stm32f30x_gpio.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_gpio.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_gpio.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_i2c.c b/application/system/src/stm32f3-stdperiph/stm32f30x_i2c.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_i2c.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_i2c.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_iwdg.c b/application/system/src/stm32f3-stdperiph/stm32f30x_iwdg.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_iwdg.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_iwdg.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_misc.c b/application/system/src/stm32f3-stdperiph/stm32f30x_misc.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_misc.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_misc.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_opamp.c b/application/system/src/stm32f3-stdperiph/stm32f30x_opamp.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_opamp.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_opamp.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_pwr.c b/application/system/src/stm32f3-stdperiph/stm32f30x_pwr.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_pwr.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_pwr.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_rcc.c b/application/system/src/stm32f3-stdperiph/stm32f30x_rcc.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_rcc.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_rcc.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_rtc.c b/application/system/src/stm32f3-stdperiph/stm32f30x_rtc.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_rtc.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_rtc.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_spi.c b/application/system/src/stm32f3-stdperiph/stm32f30x_spi.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_spi.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_spi.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_syscfg.c b/application/system/src/stm32f3-stdperiph/stm32f30x_syscfg.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_syscfg.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_syscfg.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_tim.c b/application/system/src/stm32f3-stdperiph/stm32f30x_tim.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_tim.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_tim.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_usart.c b/application/system/src/stm32f3-stdperiph/stm32f30x_usart.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_usart.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_usart.c diff --git a/system/src/stm32f3-stdperiph/stm32f30x_wwdg.c b/application/system/src/stm32f3-stdperiph/stm32f30x_wwdg.c similarity index 100% rename from system/src/stm32f3-stdperiph/stm32f30x_wwdg.c rename to application/system/src/stm32f3-stdperiph/stm32f30x_wwdg.c