Commit 26c4dda3 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added BSP for Cortex-R5

parent 1123642d
bsp-r5:
$(MAKE) -C ../system-device-tree-xlnx
tar xf embeddedsw-xilinx_v2023.2.tar.gz
patch -Np1 -d embeddedsw-xilinx_v2023.2 < embeddedsw-xilinx_v2023.2-iwaveg35m.patch
cd ../bsp && python3 $(CURDIR)/embeddedsw-xilinx_v2023.2/scripts/pyesw/repo.py -st $(CURDIR)/embeddedsw-xilinx_v2023.2
cd ../bsp && PATH=$(CURDIR)/../toolchain/armr5-none-eabi/bin:$$PATH LOPPER_DTC_FLAGS=-@ C_INCLUDE_PATH=$(CURDIR)/../system-device-tree-xlnx/include python3 $(CURDIR)/embeddedsw-xilinx_v2023.2/scripts/pyesw/create_bsp.py -o standalone -p r5 -s $(CURDIR)/../bsp/SDT/system-top.dts
PATH=$(CURDIR)/../toolchain/armr5-none-eabi/bin:$$PATH python3 embeddedsw-xilinx_v2023.2/scripts/pyesw/build_bsp.py -d $(CURDIR)/../bsp
cp $(CURDIR)/../bsp/include/*.h $(CURDIR)/../toolchain/armr5-none-eabi/include
cp $(CURDIR)/../bsp/lib/* $(CURDIR)/../toolchain/armr5-none-eabi/lib
rm -rf embeddedsw-xilinx_v2023.2
$(MAKE) -C ../system-device-tree-xlnx clean
iwaveg35m:
$(MAKE) -C ../gcc aarch64-none-elf
$(MAKE) -C ../gcc microblaze-xilinx-elf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment