Files
sdes_lab/README
2020-04-16 16:52:36 +02:00

49 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
you have to specify three different variables for build
APP: Your application/project.
ARCH: Selected Architecture
CORE: Core Number
example: make APP=myTestProject ARCH=psur5 CORE=0 all
ARCH examples:
stm32f7: Cortex M7 on STM32F7 Disco Board
ps7: Cortex A9 on Zynq 7000 (ZC706 Board)
psua53: Cortex A53 on Zynq Ultrascale+ (ZCU102 Board)
psur5: Cortex R5 on Zynq Ultrascale+ (ZCU102 Board)
Naming convention and Folder Structure has to be preserved to ensure Makefile is working
The folder structure is as follows:
idaCom.git
|--- Debug/
| |--- $(ARCH) /* Architecture dependent debug config templates */
|--- Makefile
|--- README
|--- src/
| |--- APP/
| |  |--- $(APP)/
| | |--- $(ARCH)/
| |  |--- core$(CORE)/
| | |--- build/ /*Build configuration used by makefile (sources.mk, includes.mk, config.mk)
| | | |--- sources.mk /* List of source files */
| | | |--- includes.mk /* List of include paths */
| | | |--- config.mk /* Compiler/Linker flags */
| | |--- cfg/
| | | |--- /* Typically used for various header files that are project specific */
| | |--- linker/
| | | |--- /* Various Linker files */
| | |--- src/
| | |--- /* Various source files */
| |--- Modules/ /* This is a folder for external modules */
| | |--- MMU/ /* Generic MMU Helper Module for Zynq 7000 and Ultrascale */
| | |--- tlsf/ /* TLSF Malloc */
| | |--- further git submodules
| |--- ucos_v1_42 /* ucos Sources by micrium */
| |--- Xilinx /* Xilinx BSP for various projects */
|--- out/ /* Generated compiler output, is removed during "make clean" */