JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
Config.H File Reference

Go to the source code of this file.

Macros

#define JEVOIS_VERSION_MAJOR   1
 Variables set by CMake.
 
#define JEVOIS_VERSION_MINOR   22
 
#define JEVOIS_VERSION_PATCH   0
 
#define JEVOIS_VENDOR   "JeVois"
 
#define JEVOIS_OPENCV_MAJOR   4
 
#define JEVOIS_OPENCV_MINOR   10
 
#define JEVOIS_OPENCV_PATCH   0
 
#define JEVOIS_PYTHON_MAJOR   3
 
#define JEVOIS_PYTHON_MINOR   12
 
#define JEVOIS_A33
 Target hardware selection:
 
#define JEVOIS_PLATFORM_PRO
 Shortcuts to allow detection of a specific platform instead of testing JEVOIS_PLATFORM and JEVOIS_[A33|PRO|...].
 
#define JEVOIS   "jevois"
 Helper string that evaluates to "jevois" or "jevoispro" depending on values of JEVOIS_A33 and JEVOIS_PRO:
 
#define JEVOIS_VERSION   ( ((JEVOIS_VERSION_MAJOR) << 16) + ((JEVOIS_VERSION_MINOR) << 8) + (JEVOIS_VERSION_PATCH) )
 Software version, combined.
 
#define JEVOIS_MACRO_STRING(s)   JEVOIS_MACRO_STR(s)
 Macro to stringify a value.
 
#define JEVOIS_MACRO_STR(s)   #s
 Macro to stringify a value.
 
#define JEVOIS_VERSION_STRING   JEVOIS_MACRO_STRING(JEVOIS_VERSION_MAJOR) "." JEVOIS_MACRO_STRING(JEVOIS_VERSION_MINOR) "." JEVOIS_MACRO_STRING(JEVOIS_VERSION_PATCH)
 Software version, as string.
 
#define JEVOIS_ROOT_PATH   "/jevois"
 Root path for runtime jevois config files, videomappings.cfg, modules, etc.
 
#define JEVOIS_MODULE_PATH   JEVOIS_ROOT_PATH "/modules"
 Base path for modules.
 
#define JEVOIS_CONFIG_PATH   JEVOIS_ROOT_PATH "/config"
 Base path for config files.
 
#define JEVOIS_SHARE_PATH   JEVOIS_ROOT_PATH "/share"
 Base path for shared files (e.g., neural network weights, etc)
 
#define JEVOIS_CUSTOM_DNN_PATH   JEVOIS_SHARE_PATH "/dnn/custom"
 Directory where custom DNN models are stored:
 
#define JEVOIS_PYDNN_PATH   JEVOIS_SHARE_PATH "/pydnn"
 Directory where python pre/net/post DNN processors are stored:
 
#define JEVOIS_CUSTOM_DNN_URL   "https://jevois.usc.edu/mc/d"
 URL where custom converted DNN models can be downloaded:
 
#define JEVOIS_ENGINE_CONFIG_FILE   JEVOIS_CONFIG_PATH "/videomappings.cfg"
 Location of the engine videomappings.cfg definition file.
 
#define JEVOIS_ENGINE_INIT_SCRIPT   JEVOIS_CONFIG_PATH "/initscript.cfg"
 Location of the engine init script file.
 
#define JEVOISPRO_DEMO_DATA_FILE   JEVOIS_CONFIG_PATH "/demodata.yml"
 Location of the jevois-pro demo data definition file.
 
#define JEVOIS_MODULE_PARAMS_FILENAME   "params.cfg"
 Relative name of optinal default parameters to load for each Module.
 
#define JEVOIS_MODULE_SCRIPT_FILENAME   "script.cfg"
 Relative name of an Engine script to load for each Module.
 
#define JEVOIS_USBSD_FILE   "/dev/mmcblk0p3"
 Disk partition or file that we can export over USB using Engine command 'usbsd'.
 
#define JEVOIS_USBSD_SYS   "/sys/devices/platform/sunxi_usb_udc/gadget/lun0/file"
 Sysfs location to change the exported partition or file over USB using Engine command 'usbsd".
 
#define JEVOISPRO_GSERIAL_FILE   "/.jevoispro_use_gserial"
 Flag file for whether to enable g_serial at boot on jevoispro.
 
#define JEVOIS_OPENCV_PREFIX   "/usr"
 Installed location of OpenCV compiled for JeVois, needed for Python to find cv2 module:
 
#define JEVOIS_OPENCV_PYTHON_PATH
 
#define JEVOIS_UNUSED_PARAM(x)   x
 
#define JEVOIS_UNUSED_FUNC(x)   x
 

Macro Definition Documentation

◆ JEVOIS

#define JEVOIS   "jevois"

Helper string that evaluates to "jevois" or "jevoispro" depending on values of JEVOIS_A33 and JEVOIS_PRO:

Definition at line 58 of file Config.H.

◆ JEVOIS_A33

#define JEVOIS_A33

Target hardware selection:

Definition at line 36 of file Config.H.

◆ JEVOIS_CONFIG_PATH

#define JEVOIS_CONFIG_PATH   JEVOIS_ROOT_PATH "/config"

Base path for config files.

Definition at line 79 of file Config.H.

◆ JEVOIS_CUSTOM_DNN_PATH

#define JEVOIS_CUSTOM_DNN_PATH   JEVOIS_SHARE_PATH "/dnn/custom"

Directory where custom DNN models are stored:

Definition at line 85 of file Config.H.

◆ JEVOIS_CUSTOM_DNN_URL

#define JEVOIS_CUSTOM_DNN_URL   "https://jevois.usc.edu/mc/d"

URL where custom converted DNN models can be downloaded:

Definition at line 91 of file Config.H.

◆ JEVOIS_ENGINE_CONFIG_FILE

#define JEVOIS_ENGINE_CONFIG_FILE   JEVOIS_CONFIG_PATH "/videomappings.cfg"

Location of the engine videomappings.cfg definition file.

Definition at line 94 of file Config.H.

◆ JEVOIS_ENGINE_INIT_SCRIPT

#define JEVOIS_ENGINE_INIT_SCRIPT   JEVOIS_CONFIG_PATH "/initscript.cfg"

Location of the engine init script file.

Definition at line 97 of file Config.H.

◆ JEVOIS_MACRO_STR

#define JEVOIS_MACRO_STR (   s)    #s

Macro to stringify a value.

Definition at line 67 of file Config.H.

◆ JEVOIS_MACRO_STRING

#define JEVOIS_MACRO_STRING (   s)    JEVOIS_MACRO_STR(s)

Macro to stringify a value.

Definition at line 64 of file Config.H.

◆ JEVOIS_MODULE_PARAMS_FILENAME

#define JEVOIS_MODULE_PARAMS_FILENAME   "params.cfg"

Relative name of optinal default parameters to load for each Module.

Definition at line 103 of file Config.H.

◆ JEVOIS_MODULE_PATH

#define JEVOIS_MODULE_PATH   JEVOIS_ROOT_PATH "/modules"

Base path for modules.

Definition at line 76 of file Config.H.

◆ JEVOIS_MODULE_SCRIPT_FILENAME

#define JEVOIS_MODULE_SCRIPT_FILENAME   "script.cfg"

Relative name of an Engine script to load for each Module.

Definition at line 106 of file Config.H.

◆ JEVOIS_OPENCV_MAJOR

#define JEVOIS_OPENCV_MAJOR   4

Definition at line 29 of file Config.H.

◆ JEVOIS_OPENCV_MINOR

#define JEVOIS_OPENCV_MINOR   10

Definition at line 30 of file Config.H.

◆ JEVOIS_OPENCV_PATCH

#define JEVOIS_OPENCV_PATCH   0

Definition at line 31 of file Config.H.

◆ JEVOIS_OPENCV_PREFIX

#define JEVOIS_OPENCV_PREFIX   "/usr"

Installed location of OpenCV compiled for JeVois, needed for Python to find cv2 module:

Definition at line 119 of file Config.H.

◆ JEVOIS_OPENCV_PYTHON_PATH

#define JEVOIS_OPENCV_PYTHON_PATH
Value:
JEVOIS_MACRO_STRING(JEVOIS_PYTHON_MINOR) "/site-packages"
#define JEVOIS_MACRO_STRING(s)
Macro to stringify a value.
Definition Config.H:64
#define JEVOIS_PYTHON_MINOR
Definition Config.H:33
#define JEVOIS_PYTHON_MAJOR
Definition Config.H:32
#define JEVOIS_OPENCV_PREFIX
Installed location of OpenCV compiled for JeVois, needed for Python to find cv2 module:
Definition Config.H:119

Definition at line 120 of file Config.H.

◆ JEVOIS_PLATFORM_PRO

#define JEVOIS_PLATFORM_PRO

Shortcuts to allow detection of a specific platform instead of testing JEVOIS_PLATFORM and JEVOIS_[A33|PRO|...].

Use #ifdef JEVOIS_PLATFORM_A33 as you would #if defined(JEVOIS_PLATFORM) && defined(JEVOIS_A33). Use #ifdef JEVOIS_HOST_A33 as you would #if !defined(JEVOIS_PLATFORM) && defined(JEVOIS_A33)

Definition at line 44 of file Config.H.

◆ JEVOIS_PYDNN_PATH

#define JEVOIS_PYDNN_PATH   JEVOIS_SHARE_PATH "/pydnn"

Directory where python pre/net/post DNN processors are stored:

Definition at line 88 of file Config.H.

◆ JEVOIS_PYTHON_MAJOR

#define JEVOIS_PYTHON_MAJOR   3

Definition at line 32 of file Config.H.

◆ JEVOIS_PYTHON_MINOR

#define JEVOIS_PYTHON_MINOR   12

Definition at line 33 of file Config.H.

◆ JEVOIS_ROOT_PATH

#define JEVOIS_ROOT_PATH   "/jevois"

Root path for runtime jevois config files, videomappings.cfg, modules, etc.

Definition at line 73 of file Config.H.

◆ JEVOIS_SHARE_PATH

#define JEVOIS_SHARE_PATH   JEVOIS_ROOT_PATH "/share"

Base path for shared files (e.g., neural network weights, etc)

Definition at line 82 of file Config.H.

◆ JEVOIS_UNUSED_FUNC

#define JEVOIS_UNUSED_FUNC (   x)    x

Definition at line 131 of file Config.H.

◆ JEVOIS_UNUSED_PARAM

#define JEVOIS_UNUSED_PARAM (   x)    x

Definition at line 130 of file Config.H.

◆ JEVOIS_USBSD_FILE

#define JEVOIS_USBSD_FILE   "/dev/mmcblk0p3"

Disk partition or file that we can export over USB using Engine command 'usbsd'.

Definition at line 109 of file Config.H.

◆ JEVOIS_USBSD_SYS

#define JEVOIS_USBSD_SYS   "/sys/devices/platform/sunxi_usb_udc/gadget/lun0/file"

Sysfs location to change the exported partition or file over USB using Engine command 'usbsd".

Definition at line 112 of file Config.H.

◆ JEVOIS_VENDOR

#define JEVOIS_VENDOR   "JeVois"

Definition at line 23 of file Config.H.

◆ JEVOIS_VERSION

#define JEVOIS_VERSION   ( ((JEVOIS_VERSION_MAJOR) << 16) + ((JEVOIS_VERSION_MINOR) << 8) + (JEVOIS_VERSION_PATCH) )

Software version, combined.

Definition at line 61 of file Config.H.

◆ JEVOIS_VERSION_MAJOR

#define JEVOIS_VERSION_MAJOR   1

Variables set by CMake.

Definition at line 20 of file Config.H.

◆ JEVOIS_VERSION_MINOR

#define JEVOIS_VERSION_MINOR   22

Definition at line 21 of file Config.H.

◆ JEVOIS_VERSION_PATCH

#define JEVOIS_VERSION_PATCH   0

Definition at line 22 of file Config.H.

◆ JEVOIS_VERSION_STRING

Software version, as string.

Definition at line 70 of file Config.H.

◆ JEVOISPRO_DEMO_DATA_FILE

#define JEVOISPRO_DEMO_DATA_FILE   JEVOIS_CONFIG_PATH "/demodata.yml"

Location of the jevois-pro demo data definition file.

Definition at line 100 of file Config.H.

◆ JEVOISPRO_GSERIAL_FILE

#define JEVOISPRO_GSERIAL_FILE   "/.jevoispro_use_gserial"

Flag file for whether to enable g_serial at boot on jevoispro.

Definition at line 115 of file Config.H.