/emby

C++ framework designed for embedded devices but with the chance to run on different targets (included x86)

Primary LanguageC

to build x86:
cmake -DEMBY_FOLDER=$PWD/emby  -DEMBY_CONFIG=src/emby_config.h -DEMBY_PLATFORM=X86_Linux .

to build for arm:

export CUSTOM_GCC_TOOLCHAIN_PATH=<your ARM gcc folder>
( i.e export CUSTOM_GCC_TOOLCHAIN_PATH=/mnt/DATA/gcc-arm-none-eabi-10-2020-q4-major/bin/)

cmake -DEMBY_FOLDER=$PWD/emby  -DEMBY_CONFIG=src/emby_config.h -DSTM32L4x_FreeRTOS_DEVICE=STM32L431xx -DEMBY_PLATFORM=STM32L4x_FreeRTOS  -DSTM32L4x_FreeRTOS_STARTUP=${PWD}/src/stm32l431cc/startup_stm32l431cctx.S -DSTM32L4x_FreeRTOS_CONF_DIR=${PWD}/src/stm32l431cc/  -DSTM32L4x_FreeRTOS_LINKER=${PWD}/src/stm32l431cc/STM32L431CCTX_FLASH.ld .