TexasInstruments / processor-sdk-doc

Processor SDK (PSDK) documentation source
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/latest/exports/docs/devices/AM62X/index.html
Creative Commons Attribution Share Alike 4.0 International
6 stars 19 forks source link
documentation hacktoberfest python restructuredtext texas-instruments ti-processors

Processor SDK Documentation in Sphinx

Instructions to build the project on Ubuntu

Install tools on Ubuntu

Use the following command in a python virtual environment for a known working config:

# python3 -m pip install -r requirements.txt

OR you can use a docker container like the following:

Clone the Git Repo

$ git clone https://github.com/TexasInstruments/processor-sdk-doc.git

Build on Ubuntu

To build the documentation a DEVFAMILY and OS must be specified as either an argument to make or set as environment variables prior to execution of make.

DEVFAMILY represents the Device Family. Possible values correspond to the names of directories listed under configs/. For example:

OS represents the operating system. Possible values correspond to the second parameter of files listed under the configs/<DEVFAMILY>/ directory. For example AM57X_linux_toc.txt means that linux is a valid OS value.

Example build commands:

HTML Page Output

Open the index page in a web browser

linux:   ./build/processor-sdk-linux-<FAMILY>/esd/docs/[version]/index.html
rtos:    ./build/processor-sdk-rtos-<FAMILY>/esd/docs/[version]/index.html
android: ./build/processor-sdk-android-<FAMILY>/esd/docs/[version]/index.html

Tips and Tricks

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