$ sudo apt-get install python-sphinx
OR use the following command in a python virtual environment for a known working config as of 2023/09/05:
# python3 -m pip install -r requirements.txt
OR you can use a docker container like the following: - psdk-doc-docker
$ git clone ssh://[email protected]/processor-sdk/processor-sdk-doc.git
$ make clean DEVFAMILY=<FAMILY> OS=linux
$ make config DEVFAMILY=<FAMILY> OS=linux
$ make DEVFAMILY=<FAMILY> OS=linux
$ make clean DEVFAMILY=<FAMILY> OS=rtos
$ make config DEVFAMILY=<FAMILY> OS=rtos
$ make DEVFAMILY=<FAMILY> OS=rtos
$ make clean DEVFAMILY=<FAMILY> OS=android
$ make config DEVFAMILY=<FAMILY> OS=android
$ make DEVFAMILY=<FAMILY> OS=android
$ make config DEVFAMILY=AM64X
$ make DEVFAMILY=AM64X
Note: that DEVFAMILY represents the Device Family. Possible values for are
- "AM335X" (representing AM335X family)
- "AM437X" (representing AM437X family)
- "AM57X" (representing AM57X family)
- "AM64X" (representing AM64X family)
- "AM62X" (representing AM62X family)
- "AM62AX" (representing AM62AX family)
- "AM62PX" (representing AM62PX family)
- "AM65X" (representing AM65X family)
- "DRA821A" (representing DRA821A)
- "J721E" (representing Jacinto 7 ES)
- "J7200" (representing Jacinto 7 VCL)
- "J721S2" (representing Jacinto 7 AEP)
- "J784S4" (representing Jacinto 7 AHP)
- "J722S" (representing Jacinto 7 AEN)
- "GEN" (representing General family not listed above)
- "CORESDK" (representing CORESDK)
Note: Please use script bin/check-warn.sh
or the make lint
target
to check for new build warnings and fix them before submitting
pull-requests.
Open the index page in a web browser
AM64X:
./build/processor-sdk-AM64X/esd/docs/[version]/index.html
GEN family (TODO: to be migrated to the new structure):
linux: ./build/processor-sdk-linux/esd/docs/[version]/index.html
rtos: ./build/processor-sdk-rtos/esd/docs/[version]/index.html
android: ./build/processor-sdk-android/esd/docs/[version]/index.html
Others:
linux: ./build/processor-sdk-linux-<FAMILY>/esd/docs/[version]/index.html
rtos: ./build/processor-sdk-rtos-<FAMILY>/esd/docs/[version]/index.html
Add the following to your init.vim
to automatically use the standard
whitespace values for RST files:
autocmd FileType rst set tabstop=3 shiftwidth=3 expandtab