mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
move vendors -> tutorials
This commit is contained in:
1 parent
1db90cafd1
commit
b5a9ba8390
1661 files changed
+156
-156
No files matched your search
@@ -0,0 +1,29 @@
|
||||
BOARD = mcxn947
|
||||
IDE = GCC+make
|
||||
RTOS = baremetal
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/??
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=USART?"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=mcxn947&ide=GCC+make&rtos=baremetal&file=README.md)
|
||||
@@ -0,0 +1,29 @@
|
||||
BOARD = mcxn947
|
||||
IDE = GCC+make
|
||||
RTOS = FreeRTOS
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/??
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=USART?"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=mcxn947&ide=GCC+make&rtos=FreeRTOS&file=README.md)
|
||||
@@ -0,0 +1,27 @@
|
||||
BOARD = mcxn947
|
||||
IDE = MCUXpresso
|
||||
RTOS = baremetal
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
TARGET ?= Debug
|
||||
DOCKER = docker run --rm -v $(CURDIR):/root -w /root
|
||||
IMAGE ?= scaprile/xpresso
|
||||
HEADLESS_BUILD = /usr/local/mcuxpressoide/ide/mcuxpressoide --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild
|
||||
|
||||
all build example: firmware.axf
|
||||
|
||||
firmware.axf: wizard
|
||||
mkdir -p workspace
|
||||
PROJNAME=`xq -r .projectDescription.name wizard/.project` && \
|
||||
($(DOCKER) $(IMAGE) $(HEADLESS_BUILD) -data workspace -import wizard -cleanBuild $$PROJNAME/$(TARGET) || true) && \
|
||||
cp wizard/$(TARGET)/$$PROJNAME.axf firmware.axf
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard/source ; rm mongoose.[ch] ; cp -rL ../../../../../mongoose.[ch] .
|
||||
|
||||
|
||||
clean:
|
||||
sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=f429&ide=CubeIDE&rtos=baremetal&file=README.md)
|
||||
@@ -0,0 +1,28 @@
|
||||
BOARD = mcxn947
|
||||
IDE = MCUXpresso
|
||||
RTOS = FreeRTOS
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
TARGET ?= Debug
|
||||
DOCKER = docker run --rm -v $(CURDIR):/root -w /root
|
||||
IMAGE ?= scaprile/xpresso
|
||||
HEADLESS_BUILD = /usr/local/mcuxpressoide/ide/mcuxpressoide --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild
|
||||
|
||||
all build example: firmware.axf
|
||||
|
||||
firmware.axf: wizard
|
||||
mkdir -p workspace
|
||||
PROJNAME=`xq -r .projectDescription.name wizard/.project` && \
|
||||
($(DOCKER) $(IMAGE) $(HEADLESS_BUILD) -data workspace -import wizard -cleanBuild $$PROJNAME/$(TARGET) || true) && \
|
||||
cp wizard/$(TARGET)/$$PROJNAME.axf firmware.axf
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard/source ; rm mongoose.[ch] ; cp -rL ../../../../../mongoose.[ch] .
|
||||
|
||||
|
||||
clean:
|
||||
sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=f429&ide=CubeIDE&rtos=baremetal&file=README.md)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/source/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/source/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/source/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/source/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,9 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
@@ -0,0 +1,29 @@
|
||||
BOARD = rt1020
|
||||
IDE = GCC+make
|
||||
RTOS = baremetal
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/4
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=LPUART2"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=rt1020&ide=GCC+make&rtos=baremetal&file=README.md)
|
||||
@@ -0,0 +1,16 @@
|
||||
ENTRY(Reset_Handler);
|
||||
MEMORY {
|
||||
itcram(rx) : ORIGIN = 0x00000000, LENGTH = 64k
|
||||
dtcram(rw) : ORIGIN = 0x20000000, LENGTH = 64k
|
||||
ocram(rw) : ORIGIN = 0x20200000, LENGTH = 128k /* This is cached */
|
||||
}
|
||||
__StackTop = ORIGIN(dtcram) + LENGTH(dtcram);
|
||||
|
||||
SECTIONS {
|
||||
.irq : { KEEP(*(.isr_vector)) } > itcram
|
||||
.text : { *(.text* .text.*) *(.rodata*) ; } > itcram
|
||||
.data : { __data_start__ = .; *(.data SORT(.data.*)) __data_end__ = .; } > dtcram AT > itcram
|
||||
__etext = LOADADDR(.data);
|
||||
.bss : { __bss_start__ = .; *(.bss SORT(.bss.*) COMMON) __bss_end__ = .; } > dtcram
|
||||
_end = .;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
BOARD = rt1020
|
||||
IDE = GCC+make
|
||||
RTOS = FreeRTOS
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/4
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=LPUART2"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=rt1020&ide=GCC+make&rtos=FreeRTOS&file=README.md)
|
||||
@@ -0,0 +1,16 @@
|
||||
ENTRY(Reset_Handler);
|
||||
MEMORY {
|
||||
itcram(rx) : ORIGIN = 0x00000000, LENGTH = 64k
|
||||
dtcram(rw) : ORIGIN = 0x20000000, LENGTH = 64k
|
||||
ocram(rw) : ORIGIN = 0x20200000, LENGTH = 128k /* This is cached */
|
||||
}
|
||||
__StackTop = ORIGIN(dtcram) + LENGTH(dtcram);
|
||||
|
||||
SECTIONS {
|
||||
.irq : { KEEP(*(.isr_vector)) } > itcram
|
||||
.text : { *(.text* .text.*) *(.rodata*) ; } > itcram
|
||||
.data : { __data_start__ = .; *(.data SORT(.data.*)) __data_end__ = .; } > dtcram AT > itcram
|
||||
__etext = LOADADDR(.data);
|
||||
.bss : { __bss_start__ = .; *(.bss SORT(.bss.*) COMMON) __bss_end__ = .; } > dtcram
|
||||
_end = .;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
BOARD = rt1060
|
||||
IDE = GCC+make
|
||||
RTOS = baremetal
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/13
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=LPUART3"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=rt1060&ide=GCC+make&rtos=baremetal&file=README.md)
|
||||
@@ -0,0 +1,16 @@
|
||||
ENTRY(Reset_Handler);
|
||||
MEMORY {
|
||||
itcram(rx) : ORIGIN = 0x00000000, LENGTH = 128k
|
||||
dtcram(rw) : ORIGIN = 0x20000000, LENGTH = 128k
|
||||
ocram(rw) : ORIGIN = 0x20200000, LENGTH = 256k /* Is this cached ? */
|
||||
}
|
||||
__StackTop = ORIGIN(dtcram) + LENGTH(dtcram);
|
||||
|
||||
SECTIONS {
|
||||
.irq : { KEEP(*(.isr_vector)) } > itcram
|
||||
.text : { *(.text* .text.*) *(.rodata*) ; } > itcram
|
||||
.data : { __data_start__ = .; *(.data SORT(.data.*)) __data_end__ = .; } > dtcram AT > itcram
|
||||
__etext = LOADADDR(.data);
|
||||
.bss : { __bss_start__ = .; *(.bss SORT(.bss.*) COMMON) __bss_end__ = .; } > dtcram
|
||||
_end = .;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
BOARD = rt1060
|
||||
IDE = GCC+make
|
||||
RTOS = FreeRTOS
|
||||
WIZARD_URL ?= http://mongoose.ws/wizard
|
||||
|
||||
all build example: firmware.bin
|
||||
|
||||
firmware.bin: wizard
|
||||
make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./
|
||||
|
||||
wizard:
|
||||
hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \
|
||||
&& curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip
|
||||
unzip wizard.zip
|
||||
cd wizard ; rm mongoose.[ch] ; ln -s ../../../../mongoose.c ; ln -s ../../../../mongoose.h
|
||||
|
||||
|
||||
# Automated remote test. Requires env variable VCON_API_KEY set. See https://vcon.io/automated-firmware-tests/
|
||||
DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/13
|
||||
update: firmware.bin
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
||||
|
||||
test update: CFLAGS_EXTRA ="-DUART_DEBUG=LPUART3"
|
||||
test: update
|
||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=15 | tee /tmp/output.txt
|
||||
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||
|
||||
clean:
|
||||
rm -rf firmware.* wizard*
|
||||
@@ -0,0 +1 @@
|
||||
See [Wizard](https://mongoose.ws/wizard/#/output?board=rt1060&ide=GCC+make&rtos=FreeRTOS&file=README.md)
|
||||
@@ -0,0 +1,16 @@
|
||||
ENTRY(Reset_Handler);
|
||||
MEMORY {
|
||||
itcram(rx) : ORIGIN = 0x00000000, LENGTH = 128k
|
||||
dtcram(rw) : ORIGIN = 0x20000000, LENGTH = 128k
|
||||
ocram(rw) : ORIGIN = 0x20200000, LENGTH = 256k /* Is this cached ? */
|
||||
}
|
||||
__StackTop = ORIGIN(dtcram) + LENGTH(dtcram);
|
||||
|
||||
SECTIONS {
|
||||
.irq : { KEEP(*(.isr_vector)) } > itcram
|
||||
.text : { *(.text* .text.*) *(.rodata*) ; } > itcram
|
||||
.data : { __data_start__ = .; *(.data SORT(.data.*)) __data_end__ = .; } > dtcram AT > itcram
|
||||
__etext = LOADADDR(.data);
|
||||
.bss : { __bss_start__ = .; *(.bss SORT(.bss.*) COMMON) __bss_end__ = .; } > dtcram
|
||||
_end = .;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>rt1060-evk-xpresso-baremetal-builtin</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>com.nxp.mcuxpresso.core.datamodels.sdkNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project>
|
||||
<configuration id="com.crt.advproject.config.exe.debug.482203061" name="Debug">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser" id="com.crt.advproject.GCCBuildCommandParser" keep-relative-paths="false" name="MCU GCC Build Output Parser" parameter="(arm-none-eabi-gcc)|(arm-none-eabi-[gc]\+\+)|(gcc)|([gc]\+\+)|(clang)" prefer-non-shared="true"/>
|
||||
<provider class="com.crt.advproject.specs.MCUGCCBuiltinSpecsDetector" console="false" env-hash="876828778373794635" id="com.crt.advproject.GCCBuildSpecCompilerParser" keep-relative-paths="false" name="MCU GCC Built-in Compiler Parser" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
</extension>
|
||||
</configuration>
|
||||
<configuration id="com.crt.advproject.config.exe.release.1803401606" name="Release">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider copy-of="extension" id="com.crt.advproject.GCCBuildCommandParser"/>
|
||||
<provider class="com.crt.advproject.specs.MCUGCCBuiltinSpecsDetector" console="false" env-hash="869082179154482923" id="com.crt.advproject.GCCBuildSpecCompilerParser" keep-relative-paths="false" name="MCU GCC Built-in Compiler Parser" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
</extension>
|
||||
</configuration>
|
||||
<configuration id="com.crt.advproject.config.exe.debug.482203061.601227244" name="Test">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser" id="com.crt.advproject.GCCBuildCommandParser" keep-relative-paths="false" name="MCU GCC Build Output Parser" parameter="(arm-none-eabi-gcc)|(arm-none-eabi-[gc]\+\+)|(gcc)|([gc]\+\+)|(clang)" prefer-non-shared="true"/>
|
||||
<provider class="com.crt.advproject.specs.MCUGCCBuiltinSpecsDetector" console="false" env-hash="876828778373794635" id="com.crt.advproject.GCCBuildSpecCompilerParser" keep-relative-paths="false" name="MCU GCC Built-in Compiler Parser" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
</extension>
|
||||
</configuration>
|
||||
</project>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
@@ -0,0 +1,429 @@
|
||||
/******************************************************************************
|
||||
* @file cachel1_armv7.h
|
||||
* @brief CMSIS Level 1 Cache API for Armv7-M and later
|
||||
* @version V1.0.1
|
||||
* @date 19. April 2021
|
||||
******************************************************************************/
|
||||
/*
|
||||
* Copyright (c) 2020-2021 Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the License); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if defined ( __ICCARM__ )
|
||||
#pragma system_include /* treat file as system include file for MISRA check */
|
||||
#elif defined (__clang__)
|
||||
#pragma clang system_header /* treat file as system include file */
|
||||
#endif
|
||||
|
||||
#ifndef ARM_CACHEL1_ARMV7_H
|
||||
#define ARM_CACHEL1_ARMV7_H
|
||||
|
||||
/**
|
||||
\ingroup CMSIS_Core_FunctionInterface
|
||||
\defgroup CMSIS_Core_CacheFunctions Cache Functions
|
||||
\brief Functions that configure Instruction and Data cache.
|
||||
@{
|
||||
*/
|
||||
|
||||
/* Cache Size ID Register Macros */
|
||||
#define CCSIDR_WAYS(x) (((x) & SCB_CCSIDR_ASSOCIATIVITY_Msk) >> SCB_CCSIDR_ASSOCIATIVITY_Pos)
|
||||
#define CCSIDR_SETS(x) (((x) & SCB_CCSIDR_NUMSETS_Msk ) >> SCB_CCSIDR_NUMSETS_Pos )
|
||||
|
||||
#ifndef __SCB_DCACHE_LINE_SIZE
|
||||
#define __SCB_DCACHE_LINE_SIZE 32U /*!< Cortex-M7 cache line size is fixed to 32 bytes (8 words). See also register SCB_CCSIDR */
|
||||
#endif
|
||||
|
||||
#ifndef __SCB_ICACHE_LINE_SIZE
|
||||
#define __SCB_ICACHE_LINE_SIZE 32U /*!< Cortex-M7 cache line size is fixed to 32 bytes (8 words). See also register SCB_CCSIDR */
|
||||
#endif
|
||||
|
||||
/**
|
||||
\brief Enable I-Cache
|
||||
\details Turns on I-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_EnableICache (void)
|
||||
{
|
||||
#if defined (__ICACHE_PRESENT) && (__ICACHE_PRESENT == 1U)
|
||||
if (SCB->CCR & SCB_CCR_IC_Msk) return; /* return if ICache is already enabled */
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
SCB->ICIALLU = 0UL; /* invalidate I-Cache */
|
||||
__DSB();
|
||||
__ISB();
|
||||
SCB->CCR |= (uint32_t)SCB_CCR_IC_Msk; /* enable I-Cache */
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Disable I-Cache
|
||||
\details Turns off I-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_DisableICache (void)
|
||||
{
|
||||
#if defined (__ICACHE_PRESENT) && (__ICACHE_PRESENT == 1U)
|
||||
__DSB();
|
||||
__ISB();
|
||||
SCB->CCR &= ~(uint32_t)SCB_CCR_IC_Msk; /* disable I-Cache */
|
||||
SCB->ICIALLU = 0UL; /* invalidate I-Cache */
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Invalidate I-Cache
|
||||
\details Invalidates I-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_InvalidateICache (void)
|
||||
{
|
||||
#if defined (__ICACHE_PRESENT) && (__ICACHE_PRESENT == 1U)
|
||||
__DSB();
|
||||
__ISB();
|
||||
SCB->ICIALLU = 0UL;
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief I-Cache Invalidate by address
|
||||
\details Invalidates I-Cache for the given address.
|
||||
I-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity.
|
||||
I-Cache memory blocks which are part of given address + given size are invalidated.
|
||||
\param[in] addr address
|
||||
\param[in] isize size of memory block (in number of bytes)
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr (volatile void *addr, int32_t isize)
|
||||
{
|
||||
#if defined (__ICACHE_PRESENT) && (__ICACHE_PRESENT == 1U)
|
||||
if ( isize > 0 ) {
|
||||
int32_t op_size = isize + (((uint32_t)addr) & (__SCB_ICACHE_LINE_SIZE - 1U));
|
||||
uint32_t op_addr = (uint32_t)addr /* & ~(__SCB_ICACHE_LINE_SIZE - 1U) */;
|
||||
|
||||
__DSB();
|
||||
|
||||
do {
|
||||
SCB->ICIMVAU = op_addr; /* register accepts only 32byte aligned values, only bits 31..5 are valid */
|
||||
op_addr += __SCB_ICACHE_LINE_SIZE;
|
||||
op_size -= __SCB_ICACHE_LINE_SIZE;
|
||||
} while ( op_size > 0 );
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Enable D-Cache
|
||||
\details Turns on D-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_EnableDCache (void)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
uint32_t ccsidr;
|
||||
uint32_t sets;
|
||||
uint32_t ways;
|
||||
|
||||
if (SCB->CCR & SCB_CCR_DC_Msk) return; /* return if DCache is already enabled */
|
||||
|
||||
SCB->CSSELR = 0U; /* select Level 1 data cache */
|
||||
__DSB();
|
||||
|
||||
ccsidr = SCB->CCSIDR;
|
||||
|
||||
/* invalidate D-Cache */
|
||||
sets = (uint32_t)(CCSIDR_SETS(ccsidr));
|
||||
do {
|
||||
ways = (uint32_t)(CCSIDR_WAYS(ccsidr));
|
||||
do {
|
||||
SCB->DCISW = (((sets << SCB_DCISW_SET_Pos) & SCB_DCISW_SET_Msk) |
|
||||
((ways << SCB_DCISW_WAY_Pos) & SCB_DCISW_WAY_Msk) );
|
||||
#if defined ( __CC_ARM )
|
||||
__schedule_barrier();
|
||||
#endif
|
||||
} while (ways-- != 0U);
|
||||
} while(sets-- != 0U);
|
||||
__DSB();
|
||||
|
||||
SCB->CCR |= (uint32_t)SCB_CCR_DC_Msk; /* enable D-Cache */
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Disable D-Cache
|
||||
\details Turns off D-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_DisableDCache (void)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
uint32_t ccsidr;
|
||||
uint32_t sets;
|
||||
uint32_t ways;
|
||||
|
||||
SCB->CSSELR = 0U; /* select Level 1 data cache */
|
||||
__DSB();
|
||||
|
||||
SCB->CCR &= ~(uint32_t)SCB_CCR_DC_Msk; /* disable D-Cache */
|
||||
__DSB();
|
||||
|
||||
/*
|
||||
* For the endless loop issue with GCC O0.
|
||||
* More details, see https://github.com/ARM-software/CMSIS_5/issues/620
|
||||
*
|
||||
* The issue only happens when local variables are in stack (GCC O0). If
|
||||
* local variables are saved in general purpose register, then the function
|
||||
* is OK.
|
||||
*
|
||||
* When local variables are in stack, after disabling the cache, flush the
|
||||
* local variables cache line for data consistency.
|
||||
*/
|
||||
/* Clean and invalidate the local variable cache. */
|
||||
SCB->DCCIMVAC = (uint32_t)(&sets);
|
||||
SCB->DCCIMVAC = (uint32_t)(&ways);
|
||||
SCB->DCCIMVAC = (uint32_t)(&ccsidr);
|
||||
__DSB();
|
||||
__ISB();
|
||||
|
||||
ccsidr = SCB->CCSIDR;
|
||||
|
||||
/* clean & invalidate D-Cache */
|
||||
sets = (uint32_t)(CCSIDR_SETS(ccsidr));
|
||||
do {
|
||||
ways = (uint32_t)(CCSIDR_WAYS(ccsidr));
|
||||
do {
|
||||
SCB->DCCISW = (((sets << SCB_DCCISW_SET_Pos) & SCB_DCCISW_SET_Msk) |
|
||||
((ways << SCB_DCCISW_WAY_Pos) & SCB_DCCISW_WAY_Msk) );
|
||||
#if defined ( __CC_ARM )
|
||||
__schedule_barrier();
|
||||
#endif
|
||||
} while (ways-- != 0U);
|
||||
} while(sets-- != 0U);
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Invalidate D-Cache
|
||||
\details Invalidates D-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_InvalidateDCache (void)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
uint32_t ccsidr;
|
||||
uint32_t sets;
|
||||
uint32_t ways;
|
||||
|
||||
SCB->CSSELR = 0U; /* select Level 1 data cache */
|
||||
__DSB();
|
||||
|
||||
ccsidr = SCB->CCSIDR;
|
||||
|
||||
/* invalidate D-Cache */
|
||||
sets = (uint32_t)(CCSIDR_SETS(ccsidr));
|
||||
do {
|
||||
ways = (uint32_t)(CCSIDR_WAYS(ccsidr));
|
||||
do {
|
||||
SCB->DCISW = (((sets << SCB_DCISW_SET_Pos) & SCB_DCISW_SET_Msk) |
|
||||
((ways << SCB_DCISW_WAY_Pos) & SCB_DCISW_WAY_Msk) );
|
||||
#if defined ( __CC_ARM )
|
||||
__schedule_barrier();
|
||||
#endif
|
||||
} while (ways-- != 0U);
|
||||
} while(sets-- != 0U);
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Clean D-Cache
|
||||
\details Cleans D-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_CleanDCache (void)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
uint32_t ccsidr;
|
||||
uint32_t sets;
|
||||
uint32_t ways;
|
||||
|
||||
SCB->CSSELR = 0U; /* select Level 1 data cache */
|
||||
__DSB();
|
||||
|
||||
ccsidr = SCB->CCSIDR;
|
||||
|
||||
/* clean D-Cache */
|
||||
sets = (uint32_t)(CCSIDR_SETS(ccsidr));
|
||||
do {
|
||||
ways = (uint32_t)(CCSIDR_WAYS(ccsidr));
|
||||
do {
|
||||
SCB->DCCSW = (((sets << SCB_DCCSW_SET_Pos) & SCB_DCCSW_SET_Msk) |
|
||||
((ways << SCB_DCCSW_WAY_Pos) & SCB_DCCSW_WAY_Msk) );
|
||||
#if defined ( __CC_ARM )
|
||||
__schedule_barrier();
|
||||
#endif
|
||||
} while (ways-- != 0U);
|
||||
} while(sets-- != 0U);
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Clean & Invalidate D-Cache
|
||||
\details Cleans and Invalidates D-Cache
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache (void)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
uint32_t ccsidr;
|
||||
uint32_t sets;
|
||||
uint32_t ways;
|
||||
|
||||
SCB->CSSELR = 0U; /* select Level 1 data cache */
|
||||
__DSB();
|
||||
|
||||
ccsidr = SCB->CCSIDR;
|
||||
|
||||
/* clean & invalidate D-Cache */
|
||||
sets = (uint32_t)(CCSIDR_SETS(ccsidr));
|
||||
do {
|
||||
ways = (uint32_t)(CCSIDR_WAYS(ccsidr));
|
||||
do {
|
||||
SCB->DCCISW = (((sets << SCB_DCCISW_SET_Pos) & SCB_DCCISW_SET_Msk) |
|
||||
((ways << SCB_DCCISW_WAY_Pos) & SCB_DCCISW_WAY_Msk) );
|
||||
#if defined ( __CC_ARM )
|
||||
__schedule_barrier();
|
||||
#endif
|
||||
} while (ways-- != 0U);
|
||||
} while(sets-- != 0U);
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief D-Cache Invalidate by address
|
||||
\details Invalidates D-Cache for the given address.
|
||||
D-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity.
|
||||
D-Cache memory blocks which are part of given address + given size are invalidated.
|
||||
\param[in] addr address
|
||||
\param[in] dsize size of memory block (in number of bytes)
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
if ( dsize > 0 ) {
|
||||
int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U));
|
||||
uint32_t op_addr = (uint32_t)addr /* & ~(__SCB_DCACHE_LINE_SIZE - 1U) */;
|
||||
|
||||
__DSB();
|
||||
|
||||
do {
|
||||
SCB->DCIMVAC = op_addr; /* register accepts only 32byte aligned values, only bits 31..5 are valid */
|
||||
op_addr += __SCB_DCACHE_LINE_SIZE;
|
||||
op_size -= __SCB_DCACHE_LINE_SIZE;
|
||||
} while ( op_size > 0 );
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief D-Cache Clean by address
|
||||
\details Cleans D-Cache for the given address
|
||||
D-Cache is cleaned starting from a 32 byte aligned address in 32 byte granularity.
|
||||
D-Cache memory blocks which are part of given address + given size are cleaned.
|
||||
\param[in] addr address
|
||||
\param[in] dsize size of memory block (in number of bytes)
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr (volatile void *addr, int32_t dsize)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
if ( dsize > 0 ) {
|
||||
int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U));
|
||||
uint32_t op_addr = (uint32_t)addr /* & ~(__SCB_DCACHE_LINE_SIZE - 1U) */;
|
||||
|
||||
__DSB();
|
||||
|
||||
do {
|
||||
SCB->DCCMVAC = op_addr; /* register accepts only 32byte aligned values, only bits 31..5 are valid */
|
||||
op_addr += __SCB_DCACHE_LINE_SIZE;
|
||||
op_size -= __SCB_DCACHE_LINE_SIZE;
|
||||
} while ( op_size > 0 );
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief D-Cache Clean and Invalidate by address
|
||||
\details Cleans and invalidates D_Cache for the given address
|
||||
D-Cache is cleaned and invalidated starting from a 32 byte aligned address in 32 byte granularity.
|
||||
D-Cache memory blocks which are part of given address + given size are cleaned and invalidated.
|
||||
\param[in] addr address (aligned to 32-byte boundary)
|
||||
\param[in] dsize size of memory block (in number of bytes)
|
||||
*/
|
||||
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr (volatile void *addr, int32_t dsize)
|
||||
{
|
||||
#if defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)
|
||||
if ( dsize > 0 ) {
|
||||
int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U));
|
||||
uint32_t op_addr = (uint32_t)addr /* & ~(__SCB_DCACHE_LINE_SIZE - 1U) */;
|
||||
|
||||
__DSB();
|
||||
|
||||
do {
|
||||
SCB->DCCIMVAC = op_addr; /* register accepts only 32byte aligned values, only bits 31..5 are valid */
|
||||
op_addr += __SCB_DCACHE_LINE_SIZE;
|
||||
op_size -= __SCB_DCACHE_LINE_SIZE;
|
||||
} while ( op_size > 0 );
|
||||
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*@} end of CMSIS_Core_CacheFunctions */
|
||||
|
||||
#endif /* ARM_CACHEL1_ARMV7_H */
|
||||
@@ -0,0 +1,283 @@
|
||||
/**************************************************************************//**
|
||||
* @file cmsis_compiler.h
|
||||
* @brief CMSIS compiler generic header file
|
||||
* @version V5.1.0
|
||||
* @date 09. October 2018
|
||||
******************************************************************************/
|
||||
/*
|
||||
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the License); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __CMSIS_COMPILER_H
|
||||
#define __CMSIS_COMPILER_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
* Arm Compiler 4/5
|
||||
*/
|
||||
#if defined ( __CC_ARM )
|
||||
#include "cmsis_armcc.h"
|
||||
|
||||
|
||||
/*
|
||||
* Arm Compiler 6.6 LTM (armclang)
|
||||
*/
|
||||
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) && (__ARMCC_VERSION < 6100100)
|
||||
#include "cmsis_armclang_ltm.h"
|
||||
|
||||
/*
|
||||
* Arm Compiler above 6.10.1 (armclang)
|
||||
*/
|
||||
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6100100)
|
||||
#include "cmsis_armclang.h"
|
||||
|
||||
|
||||
/*
|
||||
* GNU Compiler
|
||||
*/
|
||||
#elif defined ( __GNUC__ )
|
||||
#include "cmsis_gcc.h"
|
||||
|
||||
|
||||
/*
|
||||
* IAR Compiler
|
||||
*/
|
||||
#elif defined ( __ICCARM__ )
|
||||
#include <cmsis_iccarm.h>
|
||||
|
||||
|
||||
/*
|
||||
* TI Arm Compiler
|
||||
*/
|
||||
#elif defined ( __TI_ARM__ )
|
||||
#include <cmsis_ccs.h>
|
||||
|
||||
#ifndef __ASM
|
||||
#define __ASM __asm
|
||||
#endif
|
||||
#ifndef __INLINE
|
||||
#define __INLINE inline
|
||||
#endif
|
||||
#ifndef __STATIC_INLINE
|
||||
#define __STATIC_INLINE static inline
|
||||
#endif
|
||||
#ifndef __STATIC_FORCEINLINE
|
||||
#define __STATIC_FORCEINLINE __STATIC_INLINE
|
||||
#endif
|
||||
#ifndef __NO_RETURN
|
||||
#define __NO_RETURN __attribute__((noreturn))
|
||||
#endif
|
||||
#ifndef __USED
|
||||
#define __USED __attribute__((used))
|
||||
#endif
|
||||
#ifndef __WEAK
|
||||
#define __WEAK __attribute__((weak))
|
||||
#endif
|
||||
#ifndef __PACKED
|
||||
#define __PACKED __attribute__((packed))
|
||||
#endif
|
||||
#ifndef __PACKED_STRUCT
|
||||
#define __PACKED_STRUCT struct __attribute__((packed))
|
||||
#endif
|
||||
#ifndef __PACKED_UNION
|
||||
#define __PACKED_UNION union __attribute__((packed))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32 /* deprecated */
|
||||
struct __attribute__((packed)) T_UINT32 { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_WRITE
|
||||
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_READ
|
||||
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_WRITE
|
||||
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_READ
|
||||
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __ALIGNED
|
||||
#define __ALIGNED(x) __attribute__((aligned(x)))
|
||||
#endif
|
||||
#ifndef __RESTRICT
|
||||
#define __RESTRICT __restrict
|
||||
#endif
|
||||
#ifndef __COMPILER_BARRIER
|
||||
#warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
|
||||
#define __COMPILER_BARRIER() (void)0
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* TASKING Compiler
|
||||
*/
|
||||
#elif defined ( __TASKING__ )
|
||||
/*
|
||||
* The CMSIS functions have been implemented as intrinsics in the compiler.
|
||||
* Please use "carm -?i" to get an up to date list of all intrinsics,
|
||||
* Including the CMSIS ones.
|
||||
*/
|
||||
|
||||
#ifndef __ASM
|
||||
#define __ASM __asm
|
||||
#endif
|
||||
#ifndef __INLINE
|
||||
#define __INLINE inline
|
||||
#endif
|
||||
#ifndef __STATIC_INLINE
|
||||
#define __STATIC_INLINE static inline
|
||||
#endif
|
||||
#ifndef __STATIC_FORCEINLINE
|
||||
#define __STATIC_FORCEINLINE __STATIC_INLINE
|
||||
#endif
|
||||
#ifndef __NO_RETURN
|
||||
#define __NO_RETURN __attribute__((noreturn))
|
||||
#endif
|
||||
#ifndef __USED
|
||||
#define __USED __attribute__((used))
|
||||
#endif
|
||||
#ifndef __WEAK
|
||||
#define __WEAK __attribute__((weak))
|
||||
#endif
|
||||
#ifndef __PACKED
|
||||
#define __PACKED __packed__
|
||||
#endif
|
||||
#ifndef __PACKED_STRUCT
|
||||
#define __PACKED_STRUCT struct __packed__
|
||||
#endif
|
||||
#ifndef __PACKED_UNION
|
||||
#define __PACKED_UNION union __packed__
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32 /* deprecated */
|
||||
struct __packed__ T_UINT32 { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_WRITE
|
||||
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_READ
|
||||
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_WRITE
|
||||
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_READ
|
||||
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __ALIGNED
|
||||
#define __ALIGNED(x) __align(x)
|
||||
#endif
|
||||
#ifndef __RESTRICT
|
||||
#warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
|
||||
#define __RESTRICT
|
||||
#endif
|
||||
#ifndef __COMPILER_BARRIER
|
||||
#warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
|
||||
#define __COMPILER_BARRIER() (void)0
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* COSMIC Compiler
|
||||
*/
|
||||
#elif defined ( __CSMC__ )
|
||||
#include <cmsis_csm.h>
|
||||
|
||||
#ifndef __ASM
|
||||
#define __ASM _asm
|
||||
#endif
|
||||
#ifndef __INLINE
|
||||
#define __INLINE inline
|
||||
#endif
|
||||
#ifndef __STATIC_INLINE
|
||||
#define __STATIC_INLINE static inline
|
||||
#endif
|
||||
#ifndef __STATIC_FORCEINLINE
|
||||
#define __STATIC_FORCEINLINE __STATIC_INLINE
|
||||
#endif
|
||||
#ifndef __NO_RETURN
|
||||
// NO RETURN is automatically detected hence no warning here
|
||||
#define __NO_RETURN
|
||||
#endif
|
||||
#ifndef __USED
|
||||
#warning No compiler specific solution for __USED. __USED is ignored.
|
||||
#define __USED
|
||||
#endif
|
||||
#ifndef __WEAK
|
||||
#define __WEAK __weak
|
||||
#endif
|
||||
#ifndef __PACKED
|
||||
#define __PACKED @packed
|
||||
#endif
|
||||
#ifndef __PACKED_STRUCT
|
||||
#define __PACKED_STRUCT @packed struct
|
||||
#endif
|
||||
#ifndef __PACKED_UNION
|
||||
#define __PACKED_UNION @packed union
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32 /* deprecated */
|
||||
@packed struct T_UINT32 { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_WRITE
|
||||
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT16_READ
|
||||
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
|
||||
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_WRITE
|
||||
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
|
||||
#endif
|
||||
#ifndef __UNALIGNED_UINT32_READ
|
||||
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
|
||||
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
|
||||
#endif
|
||||
#ifndef __ALIGNED
|
||||
#warning No compiler specific solution for __ALIGNED. __ALIGNED is ignored.
|
||||
#define __ALIGNED(x)
|
||||
#endif
|
||||
#ifndef __RESTRICT
|
||||
#warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
|
||||
#define __RESTRICT
|
||||
#endif
|
||||
#ifndef __COMPILER_BARRIER
|
||||
#warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
|
||||
#define __COMPILER_BARRIER() (void)0
|
||||
#endif
|
||||
|
||||
|
||||
#else
|
||||
#error Unknown compiler.
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __CMSIS_COMPILER_H */
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,39 @@
|
||||
/**************************************************************************//**
|
||||
* @file cmsis_version.h
|
||||
* @brief CMSIS Core(M) Version definitions
|
||||
* @version V5.0.4
|
||||
* @date 23. July 2019
|
||||
******************************************************************************/
|
||||
/*
|
||||
* Copyright (c) 2009-2019 ARM Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the License); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if defined ( __ICCARM__ )
|
||||
#pragma system_include /* treat file as system include file for MISRA check */
|
||||
#elif defined (__clang__)
|
||||
#pragma clang system_header /* treat file as system include file */
|
||||
#endif
|
||||
|
||||
#ifndef __CMSIS_VERSION_H
|
||||
#define __CMSIS_VERSION_H
|
||||
|
||||
/* CMSIS Version definitions */
|
||||
#define __CM_CMSIS_VERSION_MAIN ( 5U) /*!< [31:16] CMSIS Core(M) main version */
|
||||
#define __CM_CMSIS_VERSION_SUB ( 4U) /*!< [15:0] CMSIS Core(M) sub version */
|
||||
#define __CM_CMSIS_VERSION ((__CM_CMSIS_VERSION_MAIN << 16U) | \
|
||||
__CM_CMSIS_VERSION_SUB ) /*!< CMSIS Core(M) version number */
|
||||
#endif
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,275 @@
|
||||
/******************************************************************************
|
||||
* @file mpu_armv7.h
|
||||
* @brief CMSIS MPU API for Armv7-M MPU
|
||||
* @version V5.1.2
|
||||
* @date 25. May 2020
|
||||
******************************************************************************/
|
||||
/*
|
||||
* Copyright (c) 2017-2020 Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the License); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if defined ( __ICCARM__ )
|
||||
#pragma system_include /* treat file as system include file for MISRA check */
|
||||
#elif defined (__clang__)
|
||||
#pragma clang system_header /* treat file as system include file */
|
||||
#endif
|
||||
|
||||
#ifndef ARM_MPU_ARMV7_H
|
||||
#define ARM_MPU_ARMV7_H
|
||||
|
||||
#define ARM_MPU_REGION_SIZE_32B ((uint8_t)0x04U) ///!< MPU Region Size 32 Bytes
|
||||
#define ARM_MPU_REGION_SIZE_64B ((uint8_t)0x05U) ///!< MPU Region Size 64 Bytes
|
||||
#define ARM_MPU_REGION_SIZE_128B ((uint8_t)0x06U) ///!< MPU Region Size 128 Bytes
|
||||
#define ARM_MPU_REGION_SIZE_256B ((uint8_t)0x07U) ///!< MPU Region Size 256 Bytes
|
||||
#define ARM_MPU_REGION_SIZE_512B ((uint8_t)0x08U) ///!< MPU Region Size 512 Bytes
|
||||
#define ARM_MPU_REGION_SIZE_1KB ((uint8_t)0x09U) ///!< MPU Region Size 1 KByte
|
||||
#define ARM_MPU_REGION_SIZE_2KB ((uint8_t)0x0AU) ///!< MPU Region Size 2 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_4KB ((uint8_t)0x0BU) ///!< MPU Region Size 4 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_8KB ((uint8_t)0x0CU) ///!< MPU Region Size 8 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_16KB ((uint8_t)0x0DU) ///!< MPU Region Size 16 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_32KB ((uint8_t)0x0EU) ///!< MPU Region Size 32 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_64KB ((uint8_t)0x0FU) ///!< MPU Region Size 64 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_128KB ((uint8_t)0x10U) ///!< MPU Region Size 128 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_256KB ((uint8_t)0x11U) ///!< MPU Region Size 256 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_512KB ((uint8_t)0x12U) ///!< MPU Region Size 512 KBytes
|
||||
#define ARM_MPU_REGION_SIZE_1MB ((uint8_t)0x13U) ///!< MPU Region Size 1 MByte
|
||||
#define ARM_MPU_REGION_SIZE_2MB ((uint8_t)0x14U) ///!< MPU Region Size 2 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_4MB ((uint8_t)0x15U) ///!< MPU Region Size 4 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_8MB ((uint8_t)0x16U) ///!< MPU Region Size 8 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_16MB ((uint8_t)0x17U) ///!< MPU Region Size 16 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_32MB ((uint8_t)0x18U) ///!< MPU Region Size 32 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_64MB ((uint8_t)0x19U) ///!< MPU Region Size 64 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_128MB ((uint8_t)0x1AU) ///!< MPU Region Size 128 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_256MB ((uint8_t)0x1BU) ///!< MPU Region Size 256 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_512MB ((uint8_t)0x1CU) ///!< MPU Region Size 512 MBytes
|
||||
#define ARM_MPU_REGION_SIZE_1GB ((uint8_t)0x1DU) ///!< MPU Region Size 1 GByte
|
||||
#define ARM_MPU_REGION_SIZE_2GB ((uint8_t)0x1EU) ///!< MPU Region Size 2 GBytes
|
||||
#define ARM_MPU_REGION_SIZE_4GB ((uint8_t)0x1FU) ///!< MPU Region Size 4 GBytes
|
||||
|
||||
#define ARM_MPU_AP_NONE 0U ///!< MPU Access Permission no access
|
||||
#define ARM_MPU_AP_PRIV 1U ///!< MPU Access Permission privileged access only
|
||||
#define ARM_MPU_AP_URO 2U ///!< MPU Access Permission unprivileged access read-only
|
||||
#define ARM_MPU_AP_FULL 3U ///!< MPU Access Permission full access
|
||||
#define ARM_MPU_AP_PRO 5U ///!< MPU Access Permission privileged access read-only
|
||||
#define ARM_MPU_AP_RO 6U ///!< MPU Access Permission read-only access
|
||||
|
||||
/** MPU Region Base Address Register Value
|
||||
*
|
||||
* \param Region The region to be configured, number 0 to 15.
|
||||
* \param BaseAddress The base address for the region.
|
||||
*/
|
||||
#define ARM_MPU_RBAR(Region, BaseAddress) \
|
||||
(((BaseAddress) & MPU_RBAR_ADDR_Msk) | \
|
||||
((Region) & MPU_RBAR_REGION_Msk) | \
|
||||
(MPU_RBAR_VALID_Msk))
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attributes
|
||||
*
|
||||
* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral.
|
||||
* \param IsShareable Region is shareable between multiple bus masters.
|
||||
* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache.
|
||||
* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy.
|
||||
*/
|
||||
#define ARM_MPU_ACCESS_(TypeExtField, IsShareable, IsCacheable, IsBufferable) \
|
||||
((((TypeExtField) << MPU_RASR_TEX_Pos) & MPU_RASR_TEX_Msk) | \
|
||||
(((IsShareable) << MPU_RASR_S_Pos) & MPU_RASR_S_Msk) | \
|
||||
(((IsCacheable) << MPU_RASR_C_Pos) & MPU_RASR_C_Msk) | \
|
||||
(((IsBufferable) << MPU_RASR_B_Pos) & MPU_RASR_B_Msk))
|
||||
|
||||
/**
|
||||
* MPU Region Attribute and Size Register Value
|
||||
*
|
||||
* \param DisableExec Instruction access disable bit, 1= disable instruction fetches.
|
||||
* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode.
|
||||
* \param AccessAttributes Memory access attribution, see \ref ARM_MPU_ACCESS_.
|
||||
* \param SubRegionDisable Sub-region disable field.
|
||||
* \param Size Region size of the region to be configured, for example 4K, 8K.
|
||||
*/
|
||||
#define ARM_MPU_RASR_EX(DisableExec, AccessPermission, AccessAttributes, SubRegionDisable, Size) \
|
||||
((((DisableExec) << MPU_RASR_XN_Pos) & MPU_RASR_XN_Msk) | \
|
||||
(((AccessPermission) << MPU_RASR_AP_Pos) & MPU_RASR_AP_Msk) | \
|
||||
(((AccessAttributes) & (MPU_RASR_TEX_Msk | MPU_RASR_S_Msk | MPU_RASR_C_Msk | MPU_RASR_B_Msk))) | \
|
||||
(((SubRegionDisable) << MPU_RASR_SRD_Pos) & MPU_RASR_SRD_Msk) | \
|
||||
(((Size) << MPU_RASR_SIZE_Pos) & MPU_RASR_SIZE_Msk) | \
|
||||
(((MPU_RASR_ENABLE_Msk))))
|
||||
|
||||
/**
|
||||
* MPU Region Attribute and Size Register Value
|
||||
*
|
||||
* \param DisableExec Instruction access disable bit, 1= disable instruction fetches.
|
||||
* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode.
|
||||
* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral.
|
||||
* \param IsShareable Region is shareable between multiple bus masters.
|
||||
* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache.
|
||||
* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy.
|
||||
* \param SubRegionDisable Sub-region disable field.
|
||||
* \param Size Region size of the region to be configured, for example 4K, 8K.
|
||||
*/
|
||||
#define ARM_MPU_RASR(DisableExec, AccessPermission, TypeExtField, IsShareable, IsCacheable, IsBufferable, SubRegionDisable, Size) \
|
||||
ARM_MPU_RASR_EX(DisableExec, AccessPermission, ARM_MPU_ACCESS_(TypeExtField, IsShareable, IsCacheable, IsBufferable), SubRegionDisable, Size)
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute for strongly ordered memory.
|
||||
* - TEX: 000b
|
||||
* - Shareable
|
||||
* - Non-cacheable
|
||||
* - Non-bufferable
|
||||
*/
|
||||
#define ARM_MPU_ACCESS_ORDERED ARM_MPU_ACCESS_(0U, 1U, 0U, 0U)
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute for device memory.
|
||||
* - TEX: 000b (if shareable) or 010b (if non-shareable)
|
||||
* - Shareable or non-shareable
|
||||
* - Non-cacheable
|
||||
* - Bufferable (if shareable) or non-bufferable (if non-shareable)
|
||||
*
|
||||
* \param IsShareable Configures the device memory as shareable or non-shareable.
|
||||
*/
|
||||
#define ARM_MPU_ACCESS_DEVICE(IsShareable) ((IsShareable) ? ARM_MPU_ACCESS_(0U, 1U, 0U, 1U) : ARM_MPU_ACCESS_(2U, 0U, 0U, 0U))
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute for normal memory.
|
||||
* - TEX: 1BBb (reflecting outer cacheability rules)
|
||||
* - Shareable or non-shareable
|
||||
* - Cacheable or non-cacheable (reflecting inner cacheability rules)
|
||||
* - Bufferable or non-bufferable (reflecting inner cacheability rules)
|
||||
*
|
||||
* \param OuterCp Configures the outer cache policy.
|
||||
* \param InnerCp Configures the inner cache policy.
|
||||
* \param IsShareable Configures the memory as shareable or non-shareable.
|
||||
*/
|
||||
#define ARM_MPU_ACCESS_NORMAL(OuterCp, InnerCp, IsShareable) ARM_MPU_ACCESS_((4U | (OuterCp)), IsShareable, ((InnerCp) >> 1U), ((InnerCp) & 1U))
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute non-cacheable policy.
|
||||
*/
|
||||
#define ARM_MPU_CACHEP_NOCACHE 0U
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute write-back, write and read allocate policy.
|
||||
*/
|
||||
#define ARM_MPU_CACHEP_WB_WRA 1U
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute write-through, no write allocate policy.
|
||||
*/
|
||||
#define ARM_MPU_CACHEP_WT_NWA 2U
|
||||
|
||||
/**
|
||||
* MPU Memory Access Attribute write-back, no write allocate policy.
|
||||
*/
|
||||
#define ARM_MPU_CACHEP_WB_NWA 3U
|
||||
|
||||
|
||||
/**
|
||||
* Struct for a single MPU Region
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t RBAR; //!< The region base address register value (RBAR)
|
||||
uint32_t RASR; //!< The region attribute and size register value (RASR) \ref MPU_RASR
|
||||
} ARM_MPU_Region_t;
|
||||
|
||||
/** Enable the MPU.
|
||||
* \param MPU_Control Default access permissions for unconfigured regions.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_Enable(uint32_t MPU_Control)
|
||||
{
|
||||
__DMB();
|
||||
MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
|
||||
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
|
||||
SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
|
||||
#endif
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
|
||||
/** Disable the MPU.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_Disable(void)
|
||||
{
|
||||
__DMB();
|
||||
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
|
||||
SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
|
||||
#endif
|
||||
MPU->CTRL &= ~MPU_CTRL_ENABLE_Msk;
|
||||
__DSB();
|
||||
__ISB();
|
||||
}
|
||||
|
||||
/** Clear and disable the given MPU region.
|
||||
* \param rnr Region number to be cleared.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_ClrRegion(uint32_t rnr)
|
||||
{
|
||||
MPU->RNR = rnr;
|
||||
MPU->RASR = 0U;
|
||||
}
|
||||
|
||||
/** Configure an MPU region.
|
||||
* \param rbar Value for RBAR register.
|
||||
* \param rasr Value for RASR register.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr)
|
||||
{
|
||||
MPU->RBAR = rbar;
|
||||
MPU->RASR = rasr;
|
||||
}
|
||||
|
||||
/** Configure the given MPU region.
|
||||
* \param rnr Region number to be configured.
|
||||
* \param rbar Value for RBAR register.
|
||||
* \param rasr Value for RASR register.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr)
|
||||
{
|
||||
MPU->RNR = rnr;
|
||||
MPU->RBAR = rbar;
|
||||
MPU->RASR = rasr;
|
||||
}
|
||||
|
||||
/** Memcpy with strictly ordered memory access, e.g. used by code in ARM_MPU_Load().
|
||||
* \param dst Destination data is copied to.
|
||||
* \param src Source data is copied from.
|
||||
* \param len Amount of data words to be copied.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __RESTRICT src, uint32_t len)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0U; i < len; ++i)
|
||||
{
|
||||
dst[i] = src[i];
|
||||
}
|
||||
}
|
||||
|
||||
/** Load the given number of MPU regions from a table.
|
||||
* \param table Pointer to the MPU configuration table.
|
||||
* \param cnt Amount of regions to be configured.
|
||||
*/
|
||||
__STATIC_INLINE void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt)
|
||||
{
|
||||
const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U;
|
||||
while (cnt > MPU_TYPE_RALIASES) {
|
||||
ARM_MPU_OrderedMemcpy(&(MPU->RBAR), &(table->RBAR), MPU_TYPE_RALIASES*rowWordSize);
|
||||
table += MPU_TYPE_RALIASES;
|
||||
cnt -= MPU_TYPE_RALIASES;
|
||||
}
|
||||
ARM_MPU_OrderedMemcpy(&(MPU->RBAR), &(table->RBAR), cnt*rowWordSize);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,8 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS/mpu_armv7.h:191:22:ARM_MPU_Enable 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS/mpu_armv7.h:204:22:ARM_MPU_Disable 4 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1434:24:CLOCK_GetMux 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1485:24:CLOCK_GetDiv 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1546:24:CLOCK_GetOscFreq 4 static
|
||||
../board/board.c:24:10:BOARD_DebugConsoleSrcFreq 24 static
|
||||
../board/board.c:43:6:BOARD_InitDebugConsole 16 static
|
||||
../board/board.c:248:6:BOARD_ConfigMPU 48 static
|
||||
@@ -0,0 +1,13 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1408:20:CLOCK_SetMux 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1460:20:CLOCK_SetDiv 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1523:20:CLOCK_DisableClock 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1663:20:CLOCK_SetXtalFreq 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1673:20:CLOCK_SetRtcXtalFreq 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1730:20:CLOCK_SetPllBypass 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1363:20:IOMUXC_SetSaiMClkClockSource 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1423:20:IOMUXC_MQSConfig 24 static
|
||||
../board/clock_config.c:40:6:BOARD_InitBootClocks 8 static
|
||||
../board/clock_config.c:178:6:BOARD_BootClockRUN 16 static
|
||||
../board/clock_config.c:625:6:BOARD_BootClockRUN_528M 16 static
|
||||
Whitespace-only changes.
@@ -0,0 +1,3 @@
|
||||
../board/peripherals.c:186:13:TRNG_init 8 static
|
||||
../board/peripherals.c:194:6:BOARD_InitPeripherals 8 static
|
||||
../board/peripherals.c:203:6:BOARD_InitBootPeripherals 8 static
|
||||
@@ -0,0 +1,15 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1513:20:CLOCK_EnableClock 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1288:20:IOMUXC_SetPinMux 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1320:20:IOMUXC_SetPinConfig 24 static
|
||||
../board/pin_mux.c:221:6:BOARD_InitBootPins 8 static
|
||||
../board/pin_mux.c:241:6:BOARD_InitPins 4 static
|
||||
../board/pin_mux.c:263:6:BOARD_InitDEBUG_UART 16 static
|
||||
../board/pin_mux.c:326:6:BOARD_InitSDRAM 16 static
|
||||
../board/pin_mux.c:402:6:BOARD_InitCSI 16 static
|
||||
../board/pin_mux.c:464:6:BOARD_InitLCD 16 static
|
||||
../board/pin_mux.c:532:6:BOARD_InitCAN 16 static
|
||||
../board/pin_mux.c:564:6:BOARD_InitENET 16 static
|
||||
../board/pin_mux.c:600:6:BOARD_InitUSDHC 16 static
|
||||
../board/pin_mux.c:638:6:BOARD_InitHyperFlash 16 static
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../board/board.c \
|
||||
../board/clock_config.c \
|
||||
../board/dcd.c \
|
||||
../board/peripherals.c \
|
||||
../board/pin_mux.c
|
||||
|
||||
C_DEPS += \
|
||||
./board/board.d \
|
||||
./board/clock_config.d \
|
||||
./board/dcd.d \
|
||||
./board/peripherals.d \
|
||||
./board/pin_mux.d
|
||||
|
||||
OBJS += \
|
||||
./board/board.o \
|
||||
./board/clock_config.o \
|
||||
./board/dcd.o \
|
||||
./board/peripherals.o \
|
||||
./board/pin_mux.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
board/%.o: ../board/%.c board/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-board
|
||||
|
||||
clean-board:
|
||||
-$(RM) ./board/board.d ./board/board.o ./board/clock_config.d ./board/clock_config.o ./board/dcd.d ./board/dcd.o ./board/peripherals.d ./board/peripherals.o ./board/pin_mux.d ./board/pin_mux.o
|
||||
|
||||
.PHONY: clean-board
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:732:24:DisableGlobalIRQ 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:758:20:EnableGlobalIRQ 24 static
|
||||
../component/lists/fsl_component_generic_list.c:32:22:LIST_Error_Check 24 static
|
||||
../component/lists/fsl_component_generic_list.c:80:6:LIST_Init 16 static
|
||||
../component/lists/fsl_component_generic_list.c:103:15:LIST_GetList 16 static
|
||||
../component/lists/fsl_component_generic_list.c:124:15:LIST_AddTail 24 static
|
||||
../component/lists/fsl_component_generic_list.c:170:15:LIST_AddHead 24 static
|
||||
../component/lists/fsl_component_generic_list.c:216:23:LIST_RemoveHead 24 static
|
||||
../component/lists/fsl_component_generic_list.c:264:23:LIST_GetHead 16 static
|
||||
../component/lists/fsl_component_generic_list.c:284:23:LIST_GetNext 16 static
|
||||
../component/lists/fsl_component_generic_list.c:304:23:LIST_GetPrev 16 static
|
||||
../component/lists/fsl_component_generic_list.c:328:15:LIST_RemoveElement 32 static
|
||||
../component/lists/fsl_component_generic_list.c:399:15:LIST_AddPrevElement 32 static
|
||||
../component/lists/fsl_component_generic_list.c:471:10:LIST_GetSize 16 static
|
||||
../component/lists/fsl_component_generic_list.c:490:10:LIST_GetAvailableSize 16 static
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/lists/fsl_component_generic_list.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/lists/fsl_component_generic_list.d
|
||||
|
||||
OBJS += \
|
||||
./component/lists/fsl_component_generic_list.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/lists/%.o: ../component/lists/%.c component/lists/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-lists
|
||||
|
||||
clean-component-2f-lists:
|
||||
-$(RM) ./component/lists/fsl_component_generic_list.d ./component/lists/fsl_component_generic_list.o
|
||||
|
||||
.PHONY: clean-component-2f-lists
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:732:24:DisableGlobalIRQ 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:758:20:EnableGlobalIRQ 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:422:32:SerialManager_StartWriting 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:484:32:SerialManager_StartReading 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1233:32:SerialManager_Write 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1250:32:SerialManager_Read 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1268:25:SerialManager_Init 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1473:25:SerialManager_Deinit 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1552:25:SerialManager_OpenWriteHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1589:25:SerialManager_CloseWriteHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1620:25:SerialManager_OpenReadHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1660:25:SerialManager_CloseReadHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1689:25:SerialManager_WriteBlocking 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1698:25:SerialManager_ReadBlocking 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1945:25:SerialManager_EnterLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:2001:25:SerialManager_ExitLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:2065:6:SerialManager_SetLowpowerCriticalCb 16 static
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:171:25:Serial_UartInit 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:211:25:Serial_UartDeinit 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:285:25:Serial_UartWrite 32 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:299:25:Serial_UartRead 32 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:396:25:Serial_UartEnterLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:412:25:Serial_UartExitLowpower 32 static
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/serial_manager/fsl_component_serial_manager.c \
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/serial_manager/fsl_component_serial_manager.d \
|
||||
./component/serial_manager/fsl_component_serial_port_uart.d
|
||||
|
||||
OBJS += \
|
||||
./component/serial_manager/fsl_component_serial_manager.o \
|
||||
./component/serial_manager/fsl_component_serial_port_uart.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/serial_manager/%.o: ../component/serial_manager/%.c component/serial_manager/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-serial_manager
|
||||
|
||||
clean-component-2f-serial_manager:
|
||||
-$(RM) ./component/serial_manager/fsl_component_serial_manager.d ./component/serial_manager/fsl_component_serial_manager.o ./component/serial_manager/fsl_component_serial_port_uart.d ./component/serial_manager/fsl_component_serial_port_uart.o
|
||||
|
||||
.PHONY: clean-component-2f-serial_manager
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
../component/uart/fsl_adapter_lpuart.c:262:26:HAL_UartGetStatus 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:642:26:HAL_UartInitCommon 48 static
|
||||
../component/uart/fsl_adapter_lpuart.c:694:19:HAL_UartInit 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:753:19:HAL_UartDeinit 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:774:19:HAL_UartReceiveBlocking 32 static
|
||||
../component/uart/fsl_adapter_lpuart.c:789:19:HAL_UartSendBlocking 32 static
|
||||
../component/uart/fsl_adapter_lpuart.c:804:19:HAL_UartEnterLowpower 16 static
|
||||
../component/uart/fsl_adapter_lpuart.c:811:19:HAL_UartExitLowpower 16 static
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/uart/fsl_adapter_lpuart.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/uart/fsl_adapter_lpuart.d
|
||||
|
||||
OBJS += \
|
||||
./component/uart/fsl_adapter_lpuart.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/uart/%.o: ../component/uart/%.c component/uart/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-uart
|
||||
|
||||
clean-component-2f-uart:
|
||||
-$(RM) ./component/uart/fsl_adapter_lpuart.d ./component/uart/fsl_adapter_lpuart.o
|
||||
|
||||
.PHONY: clean-component-2f-uart
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../device/system_MIMXRT1062.c
|
||||
|
||||
C_DEPS += \
|
||||
./device/system_MIMXRT1062.d
|
||||
|
||||
OBJS += \
|
||||
./device/system_MIMXRT1062.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
device/%.o: ../device/%.c device/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-device
|
||||
|
||||
clean-device:
|
||||
-$(RM) ./device/system_MIMXRT1062.d ./device/system_MIMXRT1062.o
|
||||
|
||||
.PHONY: clean-device
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
../device/system_MIMXRT1062.c:81:6:SystemInit 8 static
|
||||
../device/system_MIMXRT1062.c:139:6:SystemCoreClockUpdate 48 static
|
||||
../device/system_MIMXRT1062.c:244:29:SystemInitHook 4 static
|
||||
@@ -0,0 +1,51 @@
|
||||
../drivers/fsl_clock.h:1546:24:CLOCK_GetOscFreq 4 static
|
||||
../drivers/fsl_clock.h:1653:24:CLOCK_GetRtcFreq 4 static
|
||||
../drivers/fsl_clock.h:1751:20:CLOCK_IsPllBypassed 16 static
|
||||
../drivers/fsl_clock.h:1765:20:CLOCK_IsPllEnabled 16 static
|
||||
../drivers/fsl_clock.h:1791:24:CLOCK_GetPllBypassRefClk 16 static
|
||||
../drivers/fsl_clock.c:86:17:CLOCK_GetPeriphClkFreq 16 static
|
||||
../drivers/fsl_clock.c:152:17:CLOCK_GetPllUsb1SWFreq 16 static
|
||||
../drivers/fsl_clock.c:190:6:CLOCK_InitExternalClk 16 static
|
||||
../drivers/fsl_clock.c:214:6:CLOCK_DeinitExternalClk 4 static
|
||||
../drivers/fsl_clock.c:226:6:CLOCK_SwitchOsc 16 static
|
||||
../drivers/fsl_clock.c:241:6:CLOCK_InitRcOsc24M 4 static
|
||||
../drivers/fsl_clock.c:249:6:CLOCK_DeinitRcOsc24M 4 static
|
||||
../drivers/fsl_clock.c:259:10:CLOCK_GetAhbFreq 8 static
|
||||
../drivers/fsl_clock.c:269:10:CLOCK_GetSemcFreq 16 static
|
||||
../drivers/fsl_clock.c:303:10:CLOCK_GetIpgFreq 8 static
|
||||
../drivers/fsl_clock.c:313:10:CLOCK_GetPerClkFreq 16 static
|
||||
../drivers/fsl_clock.c:342:10:CLOCK_GetFreq 24 static
|
||||
../drivers/fsl_clock.c:448:10:CLOCK_GetClockRootFreq 40 static
|
||||
../drivers/fsl_clock.c:492:6:CLOCK_EnableUsbhs0Clock 24 static
|
||||
../drivers/fsl_clock.c:519:6:CLOCK_EnableUsbhs1Clock 24 static
|
||||
../drivers/fsl_clock.c:544:6:CLOCK_EnableUsbhs0PhyPllClock 16 static
|
||||
../drivers/fsl_clock.c:568:6:CLOCK_DisableUsbhs0PhyPllClock 4 static
|
||||
../drivers/fsl_clock.c:581:6:CLOCK_InitArmPll 16 static
|
||||
../drivers/fsl_clock.c:602:6:CLOCK_DeinitArmPll 4 static
|
||||
../drivers/fsl_clock.c:614:6:CLOCK_InitSysPll 16 static
|
||||
../drivers/fsl_clock.c:644:6:CLOCK_DeinitSysPll 4 static
|
||||
../drivers/fsl_clock.c:656:6:CLOCK_InitUsb1Pll 16 static
|
||||
../drivers/fsl_clock.c:677:6:CLOCK_DeinitUsb1Pll 4 static
|
||||
../drivers/fsl_clock.c:689:6:CLOCK_InitUsb2Pll 16 static
|
||||
../drivers/fsl_clock.c:710:6:CLOCK_DeinitUsb2Pll 4 static
|
||||
../drivers/fsl_clock.c:722:6:CLOCK_InitAudioPll 24 static
|
||||
../drivers/fsl_clock.c:797:6:CLOCK_DeinitAudioPll 4 static
|
||||
../drivers/fsl_clock.c:809:6:CLOCK_InitVideoPll 24 static
|
||||
../drivers/fsl_clock.c:883:6:CLOCK_DeinitVideoPll 4 static
|
||||
../drivers/fsl_clock.c:895:6:CLOCK_InitEnetPll 24 static
|
||||
../drivers/fsl_clock.c:937:6:CLOCK_DeinitEnetPll 4 static
|
||||
../drivers/fsl_clock.c:950:10:CLOCK_GetPllFreq 128 static
|
||||
../drivers/fsl_clock.c:1174:6:CLOCK_InitSysPfd 24 static
|
||||
../drivers/fsl_clock.c:1197:6:CLOCK_DeinitSysPfd 16 static
|
||||
../drivers/fsl_clock.c:1210:6:CLOCK_IsSysPfdEnabled 16 static
|
||||
../drivers/fsl_clock.c:1225:6:CLOCK_InitUsb1Pfd 24 static
|
||||
../drivers/fsl_clock.c:1248:6:CLOCK_DeinitUsb1Pfd 16 static
|
||||
../drivers/fsl_clock.c:1261:6:CLOCK_IsUsb1PfdEnabled 16 static
|
||||
../drivers/fsl_clock.c:1274:10:CLOCK_GetSysPfdFreq 24 static
|
||||
../drivers/fsl_clock.c:1313:10:CLOCK_GetUsb1PfdFreq 24 static
|
||||
../drivers/fsl_clock.c:1353:6:CLOCK_EnableUsbhs1PhyPllClock 16 static
|
||||
../drivers/fsl_clock.c:1371:6:CLOCK_DisableUsbhs1PhyPllClock 4 static
|
||||
../drivers/fsl_clock.c:1383:6:CLOCK_SetClockOutput1 24 static
|
||||
../drivers/fsl_clock.c:1407:6:CLOCK_SetClockOutput2 24 static
|
||||
../drivers/fsl_clock.c:1431:10:CLOCK_GetClockOutCLKO1Freq 16 static
|
||||
../drivers/fsl_clock.c:1492:10:CLOCK_GetClockOutClkO2Freq 16 static
|
||||
@@ -0,0 +1,2 @@
|
||||
../drivers/fsl_common.c:25:7:SDK_Malloc 32 static
|
||||
../drivers/fsl_common.c:66:6:SDK_Free 24 static
|
||||
@@ -0,0 +1,4 @@
|
||||
../drivers/fsl_common_arm.c:121:6:MSDK_EnableCpuCycleCounter 8 static
|
||||
../drivers/fsl_common_arm.c:139:10:MSDK_GetCpuCycleCount 4 static
|
||||
../drivers/fsl_common_arm.c:175:13:DelayLoop 16 static
|
||||
../drivers/fsl_common_arm.c:205:6:SDK_DelayAtLeastUs 48 static
|
||||
@@ -0,0 +1,8 @@
|
||||
../drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
../drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
../drivers/fsl_clock.h:1513:20:CLOCK_EnableClock 16 static
|
||||
../drivers/fsl_gpio.h:242:20:GPIO_SetPinInterruptConfig 24 static
|
||||
../drivers/fsl_gpio.c:47:17:GPIO_GetInstance 24 static
|
||||
../drivers/fsl_gpio.c:75:6:GPIO_PinInit 32 static
|
||||
../drivers/fsl_gpio.c:115:6:GPIO_PinWrite 24 static
|
||||
../drivers/fsl_gpio.c:144:6:GPIO_PinSetInterruptConfig 32 static
|
||||
@@ -0,0 +1,50 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS/core_cm7.h:1911:22:__NVIC_EnableIRQ 16 static
|
||||
../drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
../drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
../drivers/fsl_clock.h:1513:20:CLOCK_EnableClock 16 static
|
||||
../drivers/fsl_clock.h:1523:20:CLOCK_DisableClock 16 static
|
||||
../drivers/fsl_common_arm.h:514:24:EnableIRQ 24 static
|
||||
../drivers/fsl_common_arm.h:732:24:DisableGlobalIRQ 16 static
|
||||
../drivers/fsl_common_arm.h:758:20:EnableGlobalIRQ 24 static
|
||||
../drivers/fsl_lpuart.h:355:20:LPUART_SoftwareReset 16 static
|
||||
../drivers/fsl_lpuart.c:159:10:LPUART_GetInstance 24 static
|
||||
../drivers/fsl_lpuart.c:194:8:LPUART_TransferGetRxRingBufferLength 32 static
|
||||
../drivers/fsl_lpuart.c:215:13:LPUART_TransferIsRxRingBufferFull 24 static
|
||||
../drivers/fsl_lpuart.c:232:13:LPUART_WriteNonBlocking 32 static
|
||||
../drivers/fsl_lpuart.c:246:13:LPUART_ReadNonBlocking 40 static
|
||||
../drivers/fsl_lpuart.c:300:10:LPUART_Init 56 static
|
||||
../drivers/fsl_lpuart.c:524:6:LPUART_Deinit 24 static
|
||||
../drivers/fsl_lpuart.c:588:6:LPUART_GetDefaultConfig 16 static
|
||||
../drivers/fsl_lpuart.c:633:10:LPUART_SetBaudRate 56 static
|
||||
../drivers/fsl_lpuart.c:733:6:LPUART_Enable9bitMode 24 static
|
||||
../drivers/fsl_lpuart.c:767:6:LPUART_SendAddress 24 static
|
||||
../drivers/fsl_lpuart.c:789:6:LPUART_EnableInterrupts 24 static
|
||||
../drivers/fsl_lpuart.c:831:6:LPUART_DisableInterrupts 24 static
|
||||
../drivers/fsl_lpuart.c:879:10:LPUART_GetEnabledInterrupts 24 static
|
||||
../drivers/fsl_lpuart.c:917:10:LPUART_GetStatusFlags 24 static
|
||||
../drivers/fsl_lpuart.c:950:10:LPUART_ClearStatusFlags 24 static
|
||||
../drivers/fsl_lpuart.c:1000:10:LPUART_WriteBlocking 32 static
|
||||
../drivers/fsl_lpuart.c:1065:10:LPUART_ReadBlocking 48 static
|
||||
../drivers/fsl_lpuart.c:1200:6:LPUART_TransferCreateHandle 40 static
|
||||
../drivers/fsl_lpuart.c:1265:6:LPUART_TransferStartRingBuffer 32 static
|
||||
../drivers/fsl_lpuart.c:1294:6:LPUART_TransferStopRingBuffer 24 static
|
||||
../drivers/fsl_lpuart.c:1332:10:LPUART_TransferSendNonBlocking 32 static
|
||||
../drivers/fsl_lpuart.c:1375:6:LPUART_TransferAbortSend 24 static
|
||||
../drivers/fsl_lpuart.c:1400:10:LPUART_TransferGetSendCount 32 static
|
||||
../drivers/fsl_lpuart.c:1458:10:LPUART_TransferReceiveNonBlocking 56 static
|
||||
../drivers/fsl_lpuart.c:1597:6:LPUART_TransferAbortReceive 24 static
|
||||
../drivers/fsl_lpuart.c:1628:10:LPUART_TransferGetReceiveCount 32 static
|
||||
../drivers/fsl_lpuart.c:1648:13:LPUART_TransferHandleIDLEReady 32 static
|
||||
../drivers/fsl_lpuart.c:1701:13:LPUART_TransferHandleReceiveDataFull 40 static
|
||||
../drivers/fsl_lpuart.c:1814:13:LPUART_TransferHandleSendDataEmpty 24 static
|
||||
../drivers/fsl_lpuart.c:1854:13:LPUART_TransferHandleTransmissionComplete 32 static
|
||||
../drivers/fsl_lpuart.c:1882:6:LPUART_TransferHandleIRQ 40 static
|
||||
../drivers/fsl_lpuart.c:1940:6:LPUART_TransferHandleErrorIRQ 16 static
|
||||
../drivers/fsl_lpuart.c:2035:6:LPUART1_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2060:6:LPUART2_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2084:6:LPUART3_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2108:6:LPUART4_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2132:6:LPUART5_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2156:6:LPUART6_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2180:6:LPUART7_DriverIRQHandler 8 static
|
||||
../drivers/fsl_lpuart.c:2204:6:LPUART8_DriverIRQHandler 8 static
|
||||
@@ -0,0 +1,22 @@
|
||||
../drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
../drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
../drivers/fsl_clock.h:1513:20:CLOCK_EnableClock 16 static
|
||||
../drivers/fsl_clock.h:1523:20:CLOCK_DisableClock 16 static
|
||||
../drivers/fsl_trng.c:1287:17:trng_GetInstance 24 static
|
||||
../drivers/fsl_trng.c:1349:10:TRNG_GetDefaultConfig 24 static
|
||||
../drivers/fsl_trng.c:1414:17:trng_SetRetryCount 24 static
|
||||
../drivers/fsl_trng.c:1436:17:trng_SetMonobitLimit 32 static
|
||||
../drivers/fsl_trng.c:1461:17:trng_SetRunBit1Limit 32 static
|
||||
../drivers/fsl_trng.c:1485:17:trng_SetRunBit2Limit 32 static
|
||||
../drivers/fsl_trng.c:1509:17:trng_SetRunBit3Limit 32 static
|
||||
../drivers/fsl_trng.c:1532:17:trng_SetRunBit4Limit 32 static
|
||||
../drivers/fsl_trng.c:1557:17:trng_SetRunBit5Limit 32 static
|
||||
../drivers/fsl_trng.c:1582:17:trng_SetRunBit6Limit 32 static
|
||||
../drivers/fsl_trng.c:1607:17:trng_SetPokerMaxLimit 32 static
|
||||
../drivers/fsl_trng.c:1632:17:trng_SetFrequencyCountMaxLimit 32 static
|
||||
../drivers/fsl_trng.c:1657:17:trng_SetStatisticalCheckLimit 32 static
|
||||
../drivers/fsl_trng.c:1730:17:trng_ApplyUserConfig 24 static
|
||||
../drivers/fsl_trng.c:1821:17:trng_ReadEntropy 24 static
|
||||
../drivers/fsl_trng.c:1851:10:TRNG_Init 24 static
|
||||
../drivers/fsl_trng.c:1912:6:TRNG_Deinit 16 static
|
||||
../drivers/fsl_trng.c:1947:10:TRNG_GetRandomData 64 static
|
||||
@@ -0,0 +1,46 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../drivers/fsl_clock.c \
|
||||
../drivers/fsl_common.c \
|
||||
../drivers/fsl_common_arm.c \
|
||||
../drivers/fsl_gpio.c \
|
||||
../drivers/fsl_lpuart.c \
|
||||
../drivers/fsl_trng.c
|
||||
|
||||
C_DEPS += \
|
||||
./drivers/fsl_clock.d \
|
||||
./drivers/fsl_common.d \
|
||||
./drivers/fsl_common_arm.d \
|
||||
./drivers/fsl_gpio.d \
|
||||
./drivers/fsl_lpuart.d \
|
||||
./drivers/fsl_trng.d
|
||||
|
||||
OBJS += \
|
||||
./drivers/fsl_clock.o \
|
||||
./drivers/fsl_common.o \
|
||||
./drivers/fsl_common_arm.o \
|
||||
./drivers/fsl_gpio.o \
|
||||
./drivers/fsl_lpuart.o \
|
||||
./drivers/fsl_trng.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
drivers/%.o: ../drivers/%.c drivers/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-drivers
|
||||
|
||||
clean-drivers:
|
||||
-$(RM) ./drivers/fsl_clock.d ./drivers/fsl_clock.o ./drivers/fsl_common.d ./drivers/fsl_common.o ./drivers/fsl_common_arm.d ./drivers/fsl_common_arm.o ./drivers/fsl_gpio.d ./drivers/fsl_gpio.o ./drivers/fsl_lpuart.d ./drivers/fsl_lpuart.o ./drivers/fsl_trng.d ./drivers/fsl_trng.o
|
||||
|
||||
.PHONY: clean-drivers
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
################################################################################
|
||||
# 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 xip/subdir.mk
|
||||
-include utilities/subdir.mk
|
||||
-include startup/subdir.mk
|
||||
-include source/subdir.mk
|
||||
-include drivers/subdir.mk
|
||||
-include device/subdir.mk
|
||||
-include component/uart/subdir.mk
|
||||
-include component/serial_manager/subdir.mk
|
||||
-include component/lists/subdir.mk
|
||||
-include board/subdir.mk
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifneq ($(strip $(C_DEPS)),)
|
||||
-include $(C_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
OPTIONAL_TOOL_DEPS := \
|
||||
$(wildcard ../makefile.defs) \
|
||||
$(wildcard ../makefile.init) \
|
||||
$(wildcard ../makefile.targets) \
|
||||
|
||||
|
||||
BUILD_ARTIFACT_NAME := rt1060-evk-xpresso-baremetal-builtin
|
||||
BUILD_ARTIFACT_EXTENSION := axf
|
||||
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
|
||||
|
||||
# All Target
|
||||
all:
|
||||
+@$(MAKE) --no-print-directory main-build && $(MAKE) --no-print-directory post-build
|
||||
|
||||
# Main-build Target
|
||||
main-build: rt1060-evk-xpresso-baremetal-builtin.axf
|
||||
|
||||
# Tool invocations
|
||||
rt1060-evk-xpresso-baremetal-builtin.axf: $(OBJS) $(USER_OBJS) makefile $(OPTIONAL_TOOL_DEPS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: MCU Linker'
|
||||
arm-none-eabi-gcc -nostdlib -Xlinker -Map="rt1060-evk-xpresso-baremetal-builtin.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T rt1060-evk-xpresso-baremetal-builtin_Debug.ld -o "rt1060-evk-xpresso-baremetal-builtin.axf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) rt1060-evk-xpresso-baremetal-builtin.axf
|
||||
-@echo ' '
|
||||
|
||||
post-build:
|
||||
-@echo 'Performing post-build steps'
|
||||
-arm-none-eabi-size "rt1060-evk-xpresso-baremetal-builtin.axf" ; arm-none-eabi-objcopy -v -O binary "rt1060-evk-xpresso-baremetal-builtin.axf" "rt1060-evk-xpresso-baremetal-builtin.bin" ; # checksum -p MIMXRT1062xxxxB -d "rt1060-evk-xpresso-baremetal-builtin.bin"
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents main-build post-build
|
||||
|
||||
-include ../makefile.targets
|
||||
+422
@@ -0,0 +1,422 @@
|
||||
/*
|
||||
* GENERATED FILE - DO NOT EDIT
|
||||
* Copyright 2008-2013 Code Red Technologies Ltd,
|
||||
* Copyright 2013-2024 NXP
|
||||
* Generated linker script file for MIMXRT1062xxxxB
|
||||
* Created from linkscript.ldt by FMCreateLinkLibraries
|
||||
* Using Freemarker v2.3.30
|
||||
* MCUXpresso IDE v11.8.1 [Build 1197] [2023-10-27] on Jan 5, 2024, 9:19:07 PM
|
||||
*/
|
||||
|
||||
INCLUDE "rt1060-evk-xpresso-baremetal-builtin_Debug_library.ld"
|
||||
INCLUDE "rt1060-evk-xpresso-baremetal-builtin_Debug_memory.ld"
|
||||
|
||||
ENTRY(ResetISR)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Image Vector Table and Boot Data for booting from external flash */
|
||||
.boot_hdr : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
__boot_hdr_start__ = ABSOLUTE(.) ;
|
||||
KEEP(*(.boot_hdr.conf))
|
||||
. = 0x1000 ;
|
||||
KEEP(*(.boot_hdr.ivt))
|
||||
. = 0x1020 ;
|
||||
KEEP(*(.boot_hdr.boot_data))
|
||||
. = 0x1030 ;
|
||||
KEEP(*(.boot_hdr.dcd_data))
|
||||
__boot_hdr_end__ = ABSOLUTE(.) ;
|
||||
. = 0x2000 ;
|
||||
} >BOARD_FLASH
|
||||
|
||||
/* MAIN TEXT SECTION */
|
||||
.text : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
__vectors_start__ = ABSOLUTE(.) ;
|
||||
KEEP(*(.isr_vector))
|
||||
/* Global Section Table */
|
||||
. = ALIGN(4) ;
|
||||
__section_table_start = .;
|
||||
__data_section_table = .;
|
||||
LONG(LOADADDR(.data));
|
||||
LONG( ADDR(.data));
|
||||
LONG( SIZEOF(.data));
|
||||
LONG(LOADADDR(.data_RAM2));
|
||||
LONG( ADDR(.data_RAM2));
|
||||
LONG( SIZEOF(.data_RAM2));
|
||||
LONG(LOADADDR(.data_RAM3));
|
||||
LONG( ADDR(.data_RAM3));
|
||||
LONG( SIZEOF(.data_RAM3));
|
||||
LONG(LOADADDR(.data_RAM4));
|
||||
LONG( ADDR(.data_RAM4));
|
||||
LONG( SIZEOF(.data_RAM4));
|
||||
LONG(LOADADDR(.data_RAM5));
|
||||
LONG( ADDR(.data_RAM5));
|
||||
LONG( SIZEOF(.data_RAM5));
|
||||
LONG(LOADADDR(.data_RAM6));
|
||||
LONG( ADDR(.data_RAM6));
|
||||
LONG( SIZEOF(.data_RAM6));
|
||||
__data_section_table_end = .;
|
||||
__bss_section_table = .;
|
||||
LONG( ADDR(.bss));
|
||||
LONG( SIZEOF(.bss));
|
||||
LONG( ADDR(.bss_RAM2));
|
||||
LONG( SIZEOF(.bss_RAM2));
|
||||
LONG( ADDR(.bss_RAM3));
|
||||
LONG( SIZEOF(.bss_RAM3));
|
||||
LONG( ADDR(.bss_RAM4));
|
||||
LONG( SIZEOF(.bss_RAM4));
|
||||
LONG( ADDR(.bss_RAM5));
|
||||
LONG( SIZEOF(.bss_RAM5));
|
||||
LONG( ADDR(.bss_RAM6));
|
||||
LONG( SIZEOF(.bss_RAM6));
|
||||
__bss_section_table_end = .;
|
||||
__section_table_end = . ;
|
||||
/* End of Global Section Table */
|
||||
|
||||
*(.after_vectors*)
|
||||
|
||||
*(.text*)
|
||||
*(.rodata .rodata.* .constdata .constdata.*)
|
||||
. = ALIGN(4);
|
||||
} > BOARD_FLASH
|
||||
/*
|
||||
* for exception handling/unwind - some Newlib functions (in common
|
||||
* with C++ and STDC++) use this.
|
||||
*/
|
||||
.ARM.extab : ALIGN(4)
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} > BOARD_FLASH
|
||||
|
||||
.ARM.exidx : ALIGN(4)
|
||||
{
|
||||
__exidx_start = .;
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
__exidx_end = .;
|
||||
} > BOARD_FLASH
|
||||
|
||||
_etext = .;
|
||||
|
||||
/* DATA section for SRAM_ITC */
|
||||
|
||||
.data_RAM2 : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
PROVIDE(__start_data_RAM2 = .) ;
|
||||
PROVIDE(__start_data_SRAM_ITC = .) ;
|
||||
*(.ramfunc.$RAM2)
|
||||
*(.ramfunc.$SRAM_ITC)
|
||||
*(.data.$RAM2)
|
||||
*(.data.$SRAM_ITC)
|
||||
*(.data.$RAM2.*)
|
||||
*(.data.$SRAM_ITC.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_data_RAM2 = .) ;
|
||||
PROVIDE(__end_data_SRAM_ITC = .) ;
|
||||
} > SRAM_ITC AT>BOARD_FLASH
|
||||
|
||||
/* DATA section for SRAM_OC2 */
|
||||
|
||||
.data_RAM3 : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
PROVIDE(__start_data_RAM3 = .) ;
|
||||
PROVIDE(__start_data_SRAM_OC2 = .) ;
|
||||
*(.ramfunc.$RAM3)
|
||||
*(.ramfunc.$SRAM_OC2)
|
||||
*(.data.$RAM3)
|
||||
*(.data.$SRAM_OC2)
|
||||
*(.data.$RAM3.*)
|
||||
*(.data.$SRAM_OC2.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_data_RAM3 = .) ;
|
||||
PROVIDE(__end_data_SRAM_OC2 = .) ;
|
||||
} > SRAM_OC2 AT>BOARD_FLASH
|
||||
|
||||
/* DATA section for SRAM_OC */
|
||||
|
||||
.data_RAM4 : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
PROVIDE(__start_data_RAM4 = .) ;
|
||||
PROVIDE(__start_data_SRAM_OC = .) ;
|
||||
*(.ramfunc.$RAM4)
|
||||
*(.ramfunc.$SRAM_OC)
|
||||
*(.data.$RAM4)
|
||||
*(.data.$SRAM_OC)
|
||||
*(.data.$RAM4.*)
|
||||
*(.data.$SRAM_OC.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_data_RAM4 = .) ;
|
||||
PROVIDE(__end_data_SRAM_OC = .) ;
|
||||
} > SRAM_OC AT>BOARD_FLASH
|
||||
|
||||
/* DATA section for BOARD_SDRAM */
|
||||
|
||||
.data_RAM5 : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
PROVIDE(__start_data_RAM5 = .) ;
|
||||
PROVIDE(__start_data_BOARD_SDRAM = .) ;
|
||||
*(.ramfunc.$RAM5)
|
||||
*(.ramfunc.$BOARD_SDRAM)
|
||||
*(.data.$RAM5)
|
||||
*(.data.$BOARD_SDRAM)
|
||||
*(.data.$RAM5.*)
|
||||
*(.data.$BOARD_SDRAM.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_data_RAM5 = .) ;
|
||||
PROVIDE(__end_data_BOARD_SDRAM = .) ;
|
||||
} > BOARD_SDRAM AT>BOARD_FLASH
|
||||
|
||||
/* DATA section for NCACHE_REGION */
|
||||
|
||||
.data_RAM6 : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
PROVIDE(__start_data_RAM6 = .) ;
|
||||
PROVIDE(__start_data_NCACHE_REGION = .) ;
|
||||
*(.ramfunc.$RAM6)
|
||||
*(.ramfunc.$NCACHE_REGION)
|
||||
*(.data.$RAM6)
|
||||
*(.data.$NCACHE_REGION)
|
||||
*(.data.$RAM6.*)
|
||||
*(.data.$NCACHE_REGION.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_data_RAM6 = .) ;
|
||||
PROVIDE(__end_data_NCACHE_REGION = .) ;
|
||||
} > NCACHE_REGION AT>BOARD_FLASH
|
||||
|
||||
/* MAIN DATA SECTION */
|
||||
.uninit_RESERVED (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
_start_uninit_RESERVED = .;
|
||||
KEEP(*(.bss.$RESERVED*))
|
||||
. = ALIGN(4) ;
|
||||
_end_uninit_RESERVED = .;
|
||||
} > SRAM_DTC AT> SRAM_DTC
|
||||
|
||||
/* Main DATA section (SRAM_DTC) */
|
||||
.data : ALIGN(4)
|
||||
{
|
||||
FILL(0xff)
|
||||
_data = . ;
|
||||
PROVIDE(__start_data_RAM = .) ;
|
||||
PROVIDE(__start_data_SRAM_DTC = .) ;
|
||||
*(vtable)
|
||||
*(.ramfunc*)
|
||||
KEEP(*(CodeQuickAccess))
|
||||
KEEP(*(DataQuickAccess))
|
||||
*(RamFunction)
|
||||
*(.data*)
|
||||
. = ALIGN(4) ;
|
||||
_edata = . ;
|
||||
PROVIDE(__end_data_RAM = .) ;
|
||||
PROVIDE(__end_data_SRAM_DTC = .) ;
|
||||
} > SRAM_DTC AT>BOARD_FLASH
|
||||
|
||||
/* BSS section for SRAM_ITC */
|
||||
.bss_RAM2 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_bss_RAM2 = .) ;
|
||||
PROVIDE(__start_bss_SRAM_ITC = .) ;
|
||||
*(.bss.$RAM2)
|
||||
*(.bss.$SRAM_ITC)
|
||||
*(.bss.$RAM2.*)
|
||||
*(.bss.$SRAM_ITC.*)
|
||||
. = ALIGN (. != 0 ? 4 : 1) ; /* avoid empty segment */
|
||||
PROVIDE(__end_bss_RAM2 = .) ;
|
||||
PROVIDE(__end_bss_SRAM_ITC = .) ;
|
||||
} > SRAM_ITC AT> SRAM_ITC
|
||||
|
||||
/* BSS section for SRAM_OC2 */
|
||||
.bss_RAM3 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_bss_RAM3 = .) ;
|
||||
PROVIDE(__start_bss_SRAM_OC2 = .) ;
|
||||
*(.bss.$RAM3)
|
||||
*(.bss.$SRAM_OC2)
|
||||
*(.bss.$RAM3.*)
|
||||
*(.bss.$SRAM_OC2.*)
|
||||
. = ALIGN (. != 0 ? 4 : 1) ; /* avoid empty segment */
|
||||
PROVIDE(__end_bss_RAM3 = .) ;
|
||||
PROVIDE(__end_bss_SRAM_OC2 = .) ;
|
||||
} > SRAM_OC2 AT> SRAM_OC2
|
||||
|
||||
/* BSS section for SRAM_OC */
|
||||
.bss_RAM4 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_bss_RAM4 = .) ;
|
||||
PROVIDE(__start_bss_SRAM_OC = .) ;
|
||||
*(.bss.$RAM4)
|
||||
*(.bss.$SRAM_OC)
|
||||
*(.bss.$RAM4.*)
|
||||
*(.bss.$SRAM_OC.*)
|
||||
. = ALIGN (. != 0 ? 4 : 1) ; /* avoid empty segment */
|
||||
PROVIDE(__end_bss_RAM4 = .) ;
|
||||
PROVIDE(__end_bss_SRAM_OC = .) ;
|
||||
} > SRAM_OC AT> SRAM_OC
|
||||
|
||||
/* BSS section for BOARD_SDRAM */
|
||||
.bss_RAM5 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_bss_RAM5 = .) ;
|
||||
PROVIDE(__start_bss_BOARD_SDRAM = .) ;
|
||||
*(.bss.$RAM5)
|
||||
*(.bss.$BOARD_SDRAM)
|
||||
*(.bss.$RAM5.*)
|
||||
*(.bss.$BOARD_SDRAM.*)
|
||||
. = ALIGN (. != 0 ? 4 : 1) ; /* avoid empty segment */
|
||||
PROVIDE(__end_bss_RAM5 = .) ;
|
||||
PROVIDE(__end_bss_BOARD_SDRAM = .) ;
|
||||
} > BOARD_SDRAM AT> BOARD_SDRAM
|
||||
|
||||
/* BSS section for NCACHE_REGION */
|
||||
.bss_RAM6 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_bss_RAM6 = .) ;
|
||||
PROVIDE(__start_bss_NCACHE_REGION = .) ;
|
||||
*(.bss.$RAM6)
|
||||
*(.bss.$NCACHE_REGION)
|
||||
*(.bss.$RAM6.*)
|
||||
*(.bss.$NCACHE_REGION.*)
|
||||
. = ALIGN (. != 0 ? 4 : 1) ; /* avoid empty segment */
|
||||
PROVIDE(__end_bss_RAM6 = .) ;
|
||||
PROVIDE(__end_bss_NCACHE_REGION = .) ;
|
||||
} > NCACHE_REGION AT> NCACHE_REGION
|
||||
|
||||
/* MAIN BSS SECTION */
|
||||
.bss (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
_bss = .;
|
||||
PROVIDE(__start_bss_RAM = .) ;
|
||||
PROVIDE(__start_bss_SRAM_DTC = .) ;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4) ;
|
||||
_ebss = .;
|
||||
PROVIDE(__end_bss_RAM = .) ;
|
||||
PROVIDE(__end_bss_SRAM_DTC = .) ;
|
||||
PROVIDE(end = .);
|
||||
} > SRAM_DTC AT> SRAM_DTC
|
||||
|
||||
/* NOINIT section for SRAM_ITC */
|
||||
.noinit_RAM2 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_noinit_RAM2 = .) ;
|
||||
PROVIDE(__start_noinit_SRAM_ITC = .) ;
|
||||
*(.noinit.$RAM2)
|
||||
*(.noinit.$SRAM_ITC)
|
||||
*(.noinit.$RAM2.*)
|
||||
*(.noinit.$SRAM_ITC.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_noinit_RAM2 = .) ;
|
||||
PROVIDE(__end_noinit_SRAM_ITC = .) ;
|
||||
} > SRAM_ITC AT> SRAM_ITC
|
||||
|
||||
/* NOINIT section for SRAM_OC2 */
|
||||
.noinit_RAM3 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_noinit_RAM3 = .) ;
|
||||
PROVIDE(__start_noinit_SRAM_OC2 = .) ;
|
||||
*(.noinit.$RAM3)
|
||||
*(.noinit.$SRAM_OC2)
|
||||
*(.noinit.$RAM3.*)
|
||||
*(.noinit.$SRAM_OC2.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_noinit_RAM3 = .) ;
|
||||
PROVIDE(__end_noinit_SRAM_OC2 = .) ;
|
||||
} > SRAM_OC2 AT> SRAM_OC2
|
||||
|
||||
/* NOINIT section for SRAM_OC */
|
||||
.noinit_RAM4 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_noinit_RAM4 = .) ;
|
||||
PROVIDE(__start_noinit_SRAM_OC = .) ;
|
||||
*(.noinit.$RAM4)
|
||||
*(.noinit.$SRAM_OC)
|
||||
*(.noinit.$RAM4.*)
|
||||
*(.noinit.$SRAM_OC.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_noinit_RAM4 = .) ;
|
||||
PROVIDE(__end_noinit_SRAM_OC = .) ;
|
||||
} > SRAM_OC AT> SRAM_OC
|
||||
|
||||
/* NOINIT section for BOARD_SDRAM */
|
||||
.noinit_RAM5 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_noinit_RAM5 = .) ;
|
||||
PROVIDE(__start_noinit_BOARD_SDRAM = .) ;
|
||||
*(.noinit.$RAM5)
|
||||
*(.noinit.$BOARD_SDRAM)
|
||||
*(.noinit.$RAM5.*)
|
||||
*(.noinit.$BOARD_SDRAM.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_noinit_RAM5 = .) ;
|
||||
PROVIDE(__end_noinit_BOARD_SDRAM = .) ;
|
||||
} > BOARD_SDRAM AT> BOARD_SDRAM
|
||||
|
||||
/* NOINIT section for NCACHE_REGION */
|
||||
.noinit_RAM6 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
PROVIDE(__start_noinit_RAM6 = .) ;
|
||||
PROVIDE(__start_noinit_NCACHE_REGION = .) ;
|
||||
*(.noinit.$RAM6)
|
||||
*(.noinit.$NCACHE_REGION)
|
||||
*(.noinit.$RAM6.*)
|
||||
*(.noinit.$NCACHE_REGION.*)
|
||||
. = ALIGN(4) ;
|
||||
PROVIDE(__end_noinit_RAM6 = .) ;
|
||||
PROVIDE(__end_noinit_NCACHE_REGION = .) ;
|
||||
} > NCACHE_REGION AT> NCACHE_REGION
|
||||
|
||||
/* DEFAULT NOINIT SECTION */
|
||||
.noinit (NOLOAD): ALIGN(4)
|
||||
{
|
||||
_noinit = .;
|
||||
PROVIDE(__start_noinit_RAM = .) ;
|
||||
PROVIDE(__start_noinit_SRAM_DTC = .) ;
|
||||
*(.noinit*)
|
||||
. = ALIGN(4) ;
|
||||
_end_noinit = .;
|
||||
PROVIDE(__end_noinit_RAM = .) ;
|
||||
PROVIDE(__end_noinit_SRAM_DTC = .) ;
|
||||
} > SRAM_DTC AT> SRAM_DTC
|
||||
|
||||
/* Reserve and place Heap within memory map */
|
||||
_HeapSize = 0x1000;
|
||||
.heap (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
_pvHeapStart = .;
|
||||
. += _HeapSize;
|
||||
. = ALIGN(4);
|
||||
_pvHeapLimit = .;
|
||||
} > SRAM_DTC
|
||||
|
||||
_StackSize = 0x1000;
|
||||
/* Reserve space in memory for Stack */
|
||||
.heap2stackfill (NOLOAD) :
|
||||
{
|
||||
. += _StackSize;
|
||||
} > SRAM_DTC
|
||||
/* Locate actual Stack in memory map */
|
||||
.stack ORIGIN(SRAM_DTC) + LENGTH(SRAM_DTC) - _StackSize - 0 (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
_vStackBase = .;
|
||||
. = ALIGN(4);
|
||||
_vStackTop = . + _StackSize;
|
||||
} > SRAM_DTC
|
||||
|
||||
/* Provide basic symbols giving location and size of main text
|
||||
* block, including initial values of RW data sections. Note that
|
||||
* these will need extending to give a complete picture with
|
||||
* complex images (e.g multiple Flash banks).
|
||||
*/
|
||||
_image_start = LOADADDR(.text);
|
||||
_image_end = LOADADDR(.data) + SIZEOF(.data);
|
||||
_image_size = _image_end - _image_start;
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* GENERATED FILE - DO NOT EDIT
|
||||
* Copyright 2008-2013 Code Red Technologies Ltd,
|
||||
* Copyright 2013-2024 NXP
|
||||
* Generated linker script file for MIMXRT1062xxxxB
|
||||
* Created from library.ldt by FMCreateLinkLibraries
|
||||
* Using Freemarker v2.3.30
|
||||
* MCUXpresso IDE v11.8.1 [Build 1197] [2023-10-27] on Jan 5, 2024, 9:19:07 PM
|
||||
*/
|
||||
|
||||
GROUP (
|
||||
"libgcc.a"
|
||||
"libc_nano.a"
|
||||
"libm.a"
|
||||
"libcr_newlib_nohost.a"
|
||||
)
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* GENERATED FILE - DO NOT EDIT
|
||||
* Copyright 2008-2013 Code Red Technologies Ltd,
|
||||
* Copyright 2013-2024 NXP
|
||||
* Generated linker script file for MIMXRT1062xxxxB
|
||||
* Created from memory.ldt by FMCreateLinkMemory
|
||||
* Using Freemarker v2.3.30
|
||||
* MCUXpresso IDE v11.8.1 [Build 1197] [2023-10-27] on Jan 5, 2024, 9:19:07 PM
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
/* Define each memory region */
|
||||
BOARD_FLASH (rx) : ORIGIN = 0x60000000, LENGTH = 0x800000 /* 8M bytes (alias Flash) */
|
||||
SRAM_DTC (rwx) : ORIGIN = 0x20000000, LENGTH = 0x20000 /* 128K bytes (alias RAM) */
|
||||
SRAM_ITC (rwx) : ORIGIN = 0x0, LENGTH = 0x20000 /* 128K bytes (alias RAM2) */
|
||||
SRAM_OC2 (rwx) : ORIGIN = 0x20200000, LENGTH = 0x80000 /* 512K bytes (alias RAM3) */
|
||||
SRAM_OC (rwx) : ORIGIN = 0x20280000, LENGTH = 0x40000 /* 256K bytes (alias RAM4) */
|
||||
BOARD_SDRAM (rwx) : ORIGIN = 0x80000000, LENGTH = 0x1e00000 /* 30M bytes (alias RAM5) */
|
||||
NCACHE_REGION (rwx) : ORIGIN = 0x81e00000, LENGTH = 0x200000 /* 2M bytes (alias RAM6) */
|
||||
}
|
||||
|
||||
/* Define a symbol for the top of each memory region */
|
||||
__base_BOARD_FLASH = 0x60000000 ; /* BOARD_FLASH */
|
||||
__base_Flash = 0x60000000 ; /* Flash */
|
||||
__top_BOARD_FLASH = 0x60000000 + 0x800000 ; /* 8M bytes */
|
||||
__top_Flash = 0x60000000 + 0x800000 ; /* 8M bytes */
|
||||
__base_SRAM_DTC = 0x20000000 ; /* SRAM_DTC */
|
||||
__base_RAM = 0x20000000 ; /* RAM */
|
||||
__top_SRAM_DTC = 0x20000000 + 0x20000 ; /* 128K bytes */
|
||||
__top_RAM = 0x20000000 + 0x20000 ; /* 128K bytes */
|
||||
__base_SRAM_ITC = 0x0 ; /* SRAM_ITC */
|
||||
__base_RAM2 = 0x0 ; /* RAM2 */
|
||||
__top_SRAM_ITC = 0x0 + 0x20000 ; /* 128K bytes */
|
||||
__top_RAM2 = 0x0 + 0x20000 ; /* 128K bytes */
|
||||
__base_SRAM_OC2 = 0x20200000 ; /* SRAM_OC2 */
|
||||
__base_RAM3 = 0x20200000 ; /* RAM3 */
|
||||
__top_SRAM_OC2 = 0x20200000 + 0x80000 ; /* 512K bytes */
|
||||
__top_RAM3 = 0x20200000 + 0x80000 ; /* 512K bytes */
|
||||
__base_SRAM_OC = 0x20280000 ; /* SRAM_OC */
|
||||
__base_RAM4 = 0x20280000 ; /* RAM4 */
|
||||
__top_SRAM_OC = 0x20280000 + 0x40000 ; /* 256K bytes */
|
||||
__top_RAM4 = 0x20280000 + 0x40000 ; /* 256K bytes */
|
||||
__base_BOARD_SDRAM = 0x80000000 ; /* BOARD_SDRAM */
|
||||
__base_RAM5 = 0x80000000 ; /* RAM5 */
|
||||
__top_BOARD_SDRAM = 0x80000000 + 0x1e00000 ; /* 30M bytes */
|
||||
__top_RAM5 = 0x80000000 + 0x1e00000 ; /* 30M bytes */
|
||||
__base_NCACHE_REGION = 0x81e00000 ; /* NCACHE_REGION */
|
||||
__base_RAM6 = 0x81e00000 ; /* RAM6 */
|
||||
__top_NCACHE_REGION = 0x81e00000 + 0x200000 ; /* 2M bytes */
|
||||
__top_RAM6 = 0x81e00000 + 0x200000 ; /* 2M bytes */
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
ASM_SRCS :=
|
||||
C_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
O_SRCS :=
|
||||
S_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
C_DEPS :=
|
||||
EXECUTABLES :=
|
||||
OBJS :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
board \
|
||||
component/lists \
|
||||
component/serial_manager \
|
||||
component/uart \
|
||||
device \
|
||||
drivers \
|
||||
source \
|
||||
startup \
|
||||
utilities \
|
||||
xip \
|
||||
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
../startup/startup_mimxrt1062.c:618:6:data_init 4 static
|
||||
../startup/startup_mimxrt1062.c:627:6:bss_init 0 static
|
||||
../startup/startup_mimxrt1062.c:652:6:ResetISR 0 static
|
||||
../startup/startup_mimxrt1062.c:743:14:NMI_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:747:14:HardFault_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:751:14:MemManage_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:755:14:BusFault_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:759:14:UsageFault_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:763:14:SVC_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:767:14:DebugMon_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:771:14:PendSV_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:775:14:SysTick_Handler 0 static
|
||||
../startup/startup_mimxrt1062.c:783:14:IntDefaultHandler 0 static
|
||||
../startup/startup_mimxrt1062.c:793:11:DMA0_DMA16_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:797:11:DMA1_DMA17_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:801:11:DMA2_DMA18_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:805:11:DMA3_DMA19_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:809:11:DMA4_DMA20_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:813:11:DMA5_DMA21_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:817:11:DMA6_DMA22_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:821:11:DMA7_DMA23_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:825:11:DMA8_DMA24_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:829:11:DMA9_DMA25_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:833:11:DMA10_DMA26_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:837:11:DMA11_DMA27_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:841:11:DMA12_DMA28_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:845:11:DMA13_DMA29_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:849:11:DMA14_DMA30_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:853:11:DMA15_DMA31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:857:11:DMA_ERROR_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:861:11:CTI0_ERROR_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:865:11:CTI1_ERROR_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:869:11:CORE_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:873:11:LPUART1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:877:11:LPUART2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:881:11:LPUART3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:885:11:LPUART4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:889:11:LPUART5_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:893:11:LPUART6_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:897:11:LPUART7_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:901:11:LPUART8_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:905:11:LPI2C1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:909:11:LPI2C2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:913:11:LPI2C3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:917:11:LPI2C4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:921:11:LPSPI1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:925:11:LPSPI2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:929:11:LPSPI3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:933:11:LPSPI4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:937:11:CAN1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:941:11:CAN2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:945:11:FLEXRAM_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:949:11:KPP_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:953:11:TSC_DIG_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:957:11:GPR_IRQ_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:961:11:LCDIF_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:965:11:CSI_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:969:11:PXP_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:973:11:WDOG2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:977:11:SNVS_HP_WRAPPER_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:981:11:SNVS_HP_WRAPPER_TZ_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:985:11:SNVS_LP_WRAPPER_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:989:11:CSU_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:993:11:DCP_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:997:11:DCP_VMI_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1001:11:Reserved68_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1005:11:TRNG_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1009:11:SJC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1013:11:BEE_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1017:11:SAI1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1021:11:SAI2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1025:11:SAI3_RX_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1029:11:SAI3_TX_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1033:11:SPDIF_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1037:11:PMU_EVENT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1041:11:Reserved78_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1045:11:TEMP_LOW_HIGH_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1049:11:TEMP_PANIC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1053:11:USB_PHY1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1057:11:USB_PHY2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1061:11:ADC1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1065:11:ADC2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1069:11:DCDC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1073:11:Reserved86_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1077:11:GPIO10_Combined_0_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1081:11:GPIO1_INT0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1085:11:GPIO1_INT1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1089:11:GPIO1_INT2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1093:11:GPIO1_INT3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1097:11:GPIO1_INT4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1101:11:GPIO1_INT5_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1105:11:GPIO1_INT6_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1109:11:GPIO1_INT7_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1113:11:GPIO1_Combined_0_15_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1117:11:GPIO1_Combined_16_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1121:11:GPIO2_Combined_0_15_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1125:11:GPIO2_Combined_16_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1129:11:GPIO3_Combined_0_15_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1133:11:GPIO3_Combined_16_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1137:11:GPIO4_Combined_0_15_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1141:11:GPIO4_Combined_16_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1145:11:GPIO5_Combined_0_15_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1149:11:GPIO5_Combined_16_31_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1153:11:FLEXIO1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1157:11:FLEXIO2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1161:11:WDOG1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1165:11:RTWDOG_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1169:11:EWM_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1173:11:CCM_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1177:11:CCM_2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1181:11:GPC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1185:11:SRC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1189:11:Reserved115_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1193:11:GPT1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1197:11:GPT2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1201:11:PWM1_0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1205:11:PWM1_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1209:11:PWM1_2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1213:11:PWM1_3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1217:11:PWM1_FAULT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1221:11:FLEXSPI2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1225:11:FLEXSPI_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1229:11:SEMC_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1233:11:USDHC1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1237:11:USDHC2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1241:11:USB_OTG2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1245:11:USB_OTG1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1249:11:ENET_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1253:11:ENET_1588_Timer_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1257:11:XBAR1_IRQ_0_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1261:11:XBAR1_IRQ_2_3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1265:11:ADC_ETC_IRQ0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1269:11:ADC_ETC_IRQ1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1273:11:ADC_ETC_IRQ2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1277:11:ADC_ETC_ERROR_IRQ_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1281:11:PIT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1285:11:ACMP1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1289:11:ACMP2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1293:11:ACMP3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1297:11:ACMP4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1301:11:Reserved143_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1305:11:Reserved144_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1309:11:ENC1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1313:11:ENC2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1317:11:ENC3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1321:11:ENC4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1325:11:TMR1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1329:11:TMR2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1333:11:TMR3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1337:11:TMR4_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1341:11:PWM2_0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1345:11:PWM2_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1349:11:PWM2_2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1353:11:PWM2_3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1357:11:PWM2_FAULT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1361:11:PWM3_0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1365:11:PWM3_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1369:11:PWM3_2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1373:11:PWM3_3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1377:11:PWM3_FAULT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1381:11:PWM4_0_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1385:11:PWM4_1_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1389:11:PWM4_2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1393:11:PWM4_3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1397:11:PWM4_FAULT_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1401:11:ENET2_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1405:11:ENET2_1588_Timer_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1409:11:CAN3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1413:11:Reserved171_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1417:11:FLEXIO3_IRQHandler 8 static
|
||||
../startup/startup_mimxrt1062.c:1421:11:GPIO6_7_8_9_IRQHandler 8 static
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../startup/startup_mimxrt1062.c
|
||||
|
||||
C_DEPS += \
|
||||
./startup/startup_mimxrt1062.d
|
||||
|
||||
OBJS += \
|
||||
./startup/startup_mimxrt1062.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
startup/%.o: ../startup/%.c startup/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-startup
|
||||
|
||||
clean-startup:
|
||||
-$(RM) ./startup/startup_mimxrt1062.d ./startup/startup_mimxrt1062.o
|
||||
|
||||
.PHONY: clean-startup
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/usr/local/mcuxpressoide-11.8.1_1197/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.8.1.202308071233/tools/arm-none-eabi/include/assert.h:41:6:__assert_func 32 static
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
../utilities/fsl_debug_console.c:424:10:DbgConsole_ReadOneCharacter 24 static
|
||||
../utilities/fsl_debug_console.c:495:5:DbgConsole_SendData 24 static
|
||||
../utilities/fsl_debug_console.c:548:5:DbgConsole_SendDataReliable 24 static
|
||||
../utilities/fsl_debug_console.c:629:5:DbgConsole_ReadLine 24 static
|
||||
../utilities/fsl_debug_console.c:695:5:DbgConsole_ReadCharacter 24 static
|
||||
../utilities/fsl_debug_console.c:732:13:DbgConsole_PrintCallback 32 static
|
||||
../utilities/fsl_debug_console.c:772:10:DbgConsole_Init 64 static
|
||||
../utilities/fsl_debug_console.c:943:10:DbgConsole_EnterLowpower 16 static
|
||||
../utilities/fsl_debug_console.c:954:10:DbgConsole_ExitLowpower 16 static
|
||||
../utilities/fsl_debug_console.c:965:10:DbgConsole_Deinit 8 static
|
||||
../utilities/fsl_debug_console.c:1008:40:DbgConsole_Flush 4 static
|
||||
../utilities/fsl_debug_console.c:1047:5:DbgConsole_Printf 16 static
|
||||
../utilities/fsl_debug_console.c:1060:5:DbgConsole_Vprintf 152 static
|
||||
../utilities/fsl_debug_console.c:1076:5:DbgConsole_Putchar 16 static
|
||||
../utilities/fsl_debug_console.c:1083:5:DbgConsole_Scanf 40 static
|
||||
../utilities/fsl_debug_console.c:1102:5:DbgConsole_BlockingPrintf 16 static
|
||||
../utilities/fsl_debug_console.c:1115:5:DbgConsole_BlockingVprintf 160 static
|
||||
../utilities/fsl_debug_console.c:1184:5:DbgConsole_Getchar 16 static
|
||||
@@ -0,0 +1,20 @@
|
||||
../utilities/fsl_str.c:102:17:PrintGetWidth 24 static
|
||||
../utilities/fsl_str.c:131:17:PrintGetPrecision 40 static
|
||||
../utilities/fsl_str.c:188:17:PrintIsobpu 24 static
|
||||
../utilities/fsl_str.c:198:17:PrintIsdi 24 static
|
||||
../utilities/fsl_str.c:208:13:PrintOutputdifFobpu 32 static
|
||||
../utilities/fsl_str.c:261:13:PrintOutputxX 32 static
|
||||
../utilities/fsl_str.c:322:17:PrintIsfF 24 static
|
||||
../utilities/fsl_str.c:332:17:PrintIsxX 24 static
|
||||
../utilities/fsl_str.c:441:13:PrintFilterLengthFlag 24 static
|
||||
../utilities/fsl_str.c:455:16:PrintGetRadixFromobpu 24 static
|
||||
../utilities/fsl_str.c:478:17:ScanIsWhiteSpace 24 static
|
||||
../utilities/fsl_str.c:488:17:ScanIgnoreWhiteSpace 24 static
|
||||
../utilities/fsl_str.c:503:16:ConvertRadixNumToString 64 static
|
||||
../utilities/fsl_str.c:768:5:StrFormatPrintf 144 static
|
||||
../utilities/fsl_str.c:1060:16:StrFormatScanIsFormatStarting 24 static
|
||||
../utilities/fsl_str.c:1079:16:StrFormatScanGetBase 16 static
|
||||
../utilities/fsl_str.c:1102:16:StrFormatScanCheckSymbol 24 static
|
||||
../utilities/fsl_str.c:1123:16:StrFormatScanFillInteger 24 static
|
||||
../utilities/fsl_str.c:1224:16:StrFormatScanfStringHandling 40 static
|
||||
../utilities/fsl_str.c:1393:5:StrFormatScanf 88 static
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../utilities/fsl_assert.c \
|
||||
../utilities/fsl_debug_console.c \
|
||||
../utilities/fsl_str.c
|
||||
|
||||
C_DEPS += \
|
||||
./utilities/fsl_assert.d \
|
||||
./utilities/fsl_debug_console.d \
|
||||
./utilities/fsl_str.d
|
||||
|
||||
OBJS += \
|
||||
./utilities/fsl_assert.o \
|
||||
./utilities/fsl_debug_console.o \
|
||||
./utilities/fsl_str.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
utilities/%.o: ../utilities/%.c utilities/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-utilities
|
||||
|
||||
clean-utilities:
|
||||
-$(RM) ./utilities/fsl_assert.d ./utilities/fsl_assert.o ./utilities/fsl_debug_console.d ./utilities/fsl_debug_console.o ./utilities/fsl_str.d ./utilities/fsl_str.o
|
||||
|
||||
.PHONY: clean-utilities
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../xip/evkbmimxrt1060_flexspi_nor_config.c \
|
||||
../xip/fsl_flexspi_nor_boot.c
|
||||
|
||||
C_DEPS += \
|
||||
./xip/evkbmimxrt1060_flexspi_nor_config.d \
|
||||
./xip/fsl_flexspi_nor_boot.d
|
||||
|
||||
OBJS += \
|
||||
./xip/evkbmimxrt1060_flexspi_nor_config.o \
|
||||
./xip/fsl_flexspi_nor_boot.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
xip/%.o: ../xip/%.c xip/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-xip
|
||||
|
||||
clean-xip:
|
||||
-$(RM) ./xip/evkbmimxrt1060_flexspi_nor_config.d ./xip/evkbmimxrt1060_flexspi_nor_config.o ./xip/fsl_flexspi_nor_boot.d ./xip/fsl_flexspi_nor_boot.o
|
||||
|
||||
.PHONY: clean-xip
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS/mpu_armv7.h:191:22:ARM_MPU_Enable 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS/mpu_armv7.h:204:22:ARM_MPU_Disable 4 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1434:24:CLOCK_GetMux 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1485:24:CLOCK_GetDiv 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1546:24:CLOCK_GetOscFreq 4 static
|
||||
../board/board.c:24:10:BOARD_DebugConsoleSrcFreq 24 static
|
||||
../board/board.c:43:6:BOARD_InitDebugConsole 16 static
|
||||
../board/board.c:248:6:BOARD_ConfigMPU 48 static
|
||||
@@ -0,0 +1,13 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1408:20:CLOCK_SetMux 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1460:20:CLOCK_SetDiv 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1523:20:CLOCK_DisableClock 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1663:20:CLOCK_SetXtalFreq 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1673:20:CLOCK_SetRtcXtalFreq 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1730:20:CLOCK_SetPllBypass 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1363:20:IOMUXC_SetSaiMClkClockSource 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1423:20:IOMUXC_MQSConfig 24 static
|
||||
../board/clock_config.c:40:6:BOARD_InitBootClocks 8 static
|
||||
../board/clock_config.c:178:6:BOARD_BootClockRUN 16 static
|
||||
../board/clock_config.c:625:6:BOARD_BootClockRUN_528M 16 static
|
||||
Whitespace-only changes.
@@ -0,0 +1,3 @@
|
||||
../board/peripherals.c:186:13:TRNG_init 8 static
|
||||
../board/peripherals.c:194:6:BOARD_InitPeripherals 8 static
|
||||
../board/peripherals.c:203:6:BOARD_InitBootPeripherals 8 static
|
||||
@@ -0,0 +1,15 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:210:20:_SDK_AtomicLocalClearAndSet4Byte 48 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1496:20:CLOCK_ControlGate 32 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_clock.h:1513:20:CLOCK_EnableClock 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1288:20:IOMUXC_SetPinMux 24 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_iomuxc.h:1320:20:IOMUXC_SetPinConfig 24 static
|
||||
../board/pin_mux.c:221:6:BOARD_InitBootPins 8 static
|
||||
../board/pin_mux.c:241:6:BOARD_InitPins 4 static
|
||||
../board/pin_mux.c:263:6:BOARD_InitDEBUG_UART 16 static
|
||||
../board/pin_mux.c:326:6:BOARD_InitSDRAM 16 static
|
||||
../board/pin_mux.c:402:6:BOARD_InitCSI 16 static
|
||||
../board/pin_mux.c:464:6:BOARD_InitLCD 16 static
|
||||
../board/pin_mux.c:532:6:BOARD_InitCAN 16 static
|
||||
../board/pin_mux.c:564:6:BOARD_InitENET 16 static
|
||||
../board/pin_mux.c:600:6:BOARD_InitUSDHC 16 static
|
||||
../board/pin_mux.c:638:6:BOARD_InitHyperFlash 16 static
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../board/board.c \
|
||||
../board/clock_config.c \
|
||||
../board/dcd.c \
|
||||
../board/peripherals.c \
|
||||
../board/pin_mux.c
|
||||
|
||||
C_DEPS += \
|
||||
./board/board.d \
|
||||
./board/clock_config.d \
|
||||
./board/dcd.d \
|
||||
./board/peripherals.d \
|
||||
./board/pin_mux.d
|
||||
|
||||
OBJS += \
|
||||
./board/board.o \
|
||||
./board/clock_config.o \
|
||||
./board/dcd.o \
|
||||
./board/peripherals.o \
|
||||
./board/pin_mux.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
board/%.o: ../board/%.c board/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DUART_DEBUG=LPUART3 -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-board
|
||||
|
||||
clean-board:
|
||||
-$(RM) ./board/board.d ./board/board.o ./board/clock_config.d ./board/clock_config.o ./board/dcd.d ./board/dcd.o ./board/peripherals.d ./board/peripherals.o ./board/pin_mux.d ./board/pin_mux.o
|
||||
|
||||
.PHONY: clean-board
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:732:24:DisableGlobalIRQ 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:758:20:EnableGlobalIRQ 24 static
|
||||
../component/lists/fsl_component_generic_list.c:32:22:LIST_Error_Check 24 static
|
||||
../component/lists/fsl_component_generic_list.c:80:6:LIST_Init 16 static
|
||||
../component/lists/fsl_component_generic_list.c:103:15:LIST_GetList 16 static
|
||||
../component/lists/fsl_component_generic_list.c:124:15:LIST_AddTail 24 static
|
||||
../component/lists/fsl_component_generic_list.c:170:15:LIST_AddHead 24 static
|
||||
../component/lists/fsl_component_generic_list.c:216:23:LIST_RemoveHead 24 static
|
||||
../component/lists/fsl_component_generic_list.c:264:23:LIST_GetHead 16 static
|
||||
../component/lists/fsl_component_generic_list.c:284:23:LIST_GetNext 16 static
|
||||
../component/lists/fsl_component_generic_list.c:304:23:LIST_GetPrev 16 static
|
||||
../component/lists/fsl_component_generic_list.c:328:15:LIST_RemoveElement 32 static
|
||||
../component/lists/fsl_component_generic_list.c:399:15:LIST_AddPrevElement 32 static
|
||||
../component/lists/fsl_component_generic_list.c:471:10:LIST_GetSize 16 static
|
||||
../component/lists/fsl_component_generic_list.c:490:10:LIST_GetAvailableSize 16 static
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/lists/fsl_component_generic_list.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/lists/fsl_component_generic_list.d
|
||||
|
||||
OBJS += \
|
||||
./component/lists/fsl_component_generic_list.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/lists/%.o: ../component/lists/%.c component/lists/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DUART_DEBUG=LPUART3 -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-lists
|
||||
|
||||
clean-component-2f-lists:
|
||||
-$(RM) ./component/lists/fsl_component_generic_list.d ./component/lists/fsl_component_generic_list.o
|
||||
|
||||
.PHONY: clean-component-2f-lists
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:732:24:DisableGlobalIRQ 16 static
|
||||
/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers/fsl_common_arm.h:758:20:EnableGlobalIRQ 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:422:32:SerialManager_StartWriting 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:484:32:SerialManager_StartReading 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1233:32:SerialManager_Write 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1250:32:SerialManager_Read 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1268:25:SerialManager_Init 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1473:25:SerialManager_Deinit 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1552:25:SerialManager_OpenWriteHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1589:25:SerialManager_CloseWriteHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1620:25:SerialManager_OpenReadHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1660:25:SerialManager_CloseReadHandle 32 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1689:25:SerialManager_WriteBlocking 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1698:25:SerialManager_ReadBlocking 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:1945:25:SerialManager_EnterLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:2001:25:SerialManager_ExitLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_manager.c:2065:6:SerialManager_SetLowpowerCriticalCb 16 static
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:171:25:Serial_UartInit 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:211:25:Serial_UartDeinit 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:285:25:Serial_UartWrite 32 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:299:25:Serial_UartRead 32 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:396:25:Serial_UartEnterLowpower 24 static
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c:412:25:Serial_UartExitLowpower 32 static
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/serial_manager/fsl_component_serial_manager.c \
|
||||
../component/serial_manager/fsl_component_serial_port_uart.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/serial_manager/fsl_component_serial_manager.d \
|
||||
./component/serial_manager/fsl_component_serial_port_uart.d
|
||||
|
||||
OBJS += \
|
||||
./component/serial_manager/fsl_component_serial_manager.o \
|
||||
./component/serial_manager/fsl_component_serial_port_uart.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/serial_manager/%.o: ../component/serial_manager/%.c component/serial_manager/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DUART_DEBUG=LPUART3 -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-serial_manager
|
||||
|
||||
clean-component-2f-serial_manager:
|
||||
-$(RM) ./component/serial_manager/fsl_component_serial_manager.d ./component/serial_manager/fsl_component_serial_manager.o ./component/serial_manager/fsl_component_serial_port_uart.d ./component/serial_manager/fsl_component_serial_port_uart.o
|
||||
|
||||
.PHONY: clean-component-2f-serial_manager
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
../component/uart/fsl_adapter_lpuart.c:262:26:HAL_UartGetStatus 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:642:26:HAL_UartInitCommon 48 static
|
||||
../component/uart/fsl_adapter_lpuart.c:694:19:HAL_UartInit 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:753:19:HAL_UartDeinit 24 static
|
||||
../component/uart/fsl_adapter_lpuart.c:774:19:HAL_UartReceiveBlocking 32 static
|
||||
../component/uart/fsl_adapter_lpuart.c:789:19:HAL_UartSendBlocking 32 static
|
||||
../component/uart/fsl_adapter_lpuart.c:804:19:HAL_UartEnterLowpower 16 static
|
||||
../component/uart/fsl_adapter_lpuart.c:811:19:HAL_UartExitLowpower 16 static
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../component/uart/fsl_adapter_lpuart.c
|
||||
|
||||
C_DEPS += \
|
||||
./component/uart/fsl_adapter_lpuart.d
|
||||
|
||||
OBJS += \
|
||||
./component/uart/fsl_adapter_lpuart.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
component/uart/%.o: ../component/uart/%.c component/uart/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DUART_DEBUG=LPUART3 -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-component-2f-uart
|
||||
|
||||
clean-component-2f-uart:
|
||||
-$(RM) ./component/uart/fsl_adapter_lpuart.d ./component/uart/fsl_adapter_lpuart.o
|
||||
|
||||
.PHONY: clean-component-2f-uart
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../device/system_MIMXRT1062.c
|
||||
|
||||
C_DEPS += \
|
||||
./device/system_MIMXRT1062.d
|
||||
|
||||
OBJS += \
|
||||
./device/system_MIMXRT1062.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
device/%.o: ../device/%.c device/subdir.mk
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MCU C Compiler'
|
||||
arm-none-eabi-gcc -DCPU_MIMXRT1062DVL6B -DUART_DEBUG=LPUART3 -DCPU_MIMXRT1062DVL6B_cm7 -DSDK_OS_BAREMETAL -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -DSERIAL_PORT_TYPE_UART=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__NEWLIB__ -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/board" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/source" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/drivers" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/xip" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/CMSIS" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/device" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/serial_manager" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/uart" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/utilities" -I"/root/Documents/MCUXpresso_11.8.1_1197/workspace/rt1060-evk-xpresso-baremetal-builtin/component/lists" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="$(<D)/"= -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -fstack-usage -specs=nano.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
clean: clean-device
|
||||
|
||||
clean-device:
|
||||
-$(RM) ./device/system_MIMXRT1062.d ./device/system_MIMXRT1062.o
|
||||
|
||||
.PHONY: clean-device
|
||||
|
||||
Loaded 100 of 1661 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user