All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Installing ConVEX

Download the ConVEX package from the github project page or as a zip file from here.

ConVEX zip file

Unzip the ConVEX archive and move the "convex" folder into the project directory created when installing ChibiOS, for example.

C:/Projects

The file hierarchy should be like this.

C:/Projects
C:/Projects/convex
C:/Projects/convex/cortex
C:/Projects/convex/cortex/boards
C:/Projects/convex/cortex/fw
C:/Projects/convex/cortex/ld
C:/Projects/convex/cortex/opt
C:/Projects/convex/cortex/projects
C:/Projects/convex/cortex/exception.txt
C:/Projects/convex/cortex/license.txt

The top level C:/Projects folder should now have two subdirectories, ChibiOS_2.6.0 and convex.

The test project can be built using the installed ARM toolchain from the command line. Change into the test project directory and build as follows.

$ cd C:Projects/convex/cortex/projects/TestProject

$ make clean
Cleaning
rm -fR .dep build
Done

$ make
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m3 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/ -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/build.d -I. -I../../../../ChibiOS_2.6.0/os/ports/common/ARMCMx/CMSIS/include -I../../../../ChibiOS_2.6.0/os/ports/common/ARMCMx -I../../../../ChibiOS_2.6.0/os/ports/GCC/ARMCMx -I../../../../ChibiOS_2.6.0/os/ports/GCC/ARMCMx/STM32F1xx -I../../../../ChibiOS_2.6.0/os/kernel/include -I../../../../ChibiOS_2.6.0/os/hal/include -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32F1xx -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/GPIOv1 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/I2Cv1 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/RTCv1 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/SPIv1 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/USARTv1 -I../../../../ChibiOS_2.6.0/os/hal/platforms/STM32/USBv1 -I../../boards/VEX_STM32_CORTEX -I../../../../ChibiOS_2.6.0/os/various -I../../fw -I../../opt main.c -o main.o

mkdir -p bin/obj
mkdir -p bin/lst
Compiling crt0.c
Compiling vectors.c
Compiling chcore.c
Compiling chcore_v7m.c
Compiling nvic.c
Compiling chsys.c
Compiling chdebug.c
Compiling chlists.c
Compiling chvt.c
Compiling chschd.c
Compiling chthreads.c
Compiling chdynamic.c
Compiling chregistry.c
Compiling chsem.c
Compiling chmtx.c
Compiling chcond.c
Compiling chevents.c
Compiling chmsg.c
Compiling chmboxes.c
Compiling chqueues.c
Compiling chmemcore.c
Compiling chheap.c
Compiling chmempools.c
Compiling hal.c
Compiling adc.c
Compiling can.c
Compiling ext.c
Compiling gpt.c
Compiling i2c.c
Compiling icu.c
Compiling mac.c
Compiling mmc_spi.c
Compiling mmcsd.c
Compiling pal.c
Compiling pwm.c
Compiling rtc.c
Compiling sdc.c
Compiling serial.c
Compiling serial_usb.c
Compiling spi.c
Compiling tm.c
Compiling uart.c
Compiling usb.c
Compiling stm32_dma.c
Compiling hal_lld.c
Compiling adc_lld.c
Compiling ext_lld_isr.c
Compiling can_lld.c
Compiling ext_lld.c
Compiling gpt_lld.c
Compiling icu_lld.c
Compiling mac_lld.c
Compiling pwm_lld.c
Compiling sdc_lld.c
Compiling pal_lld.c
Compiling i2c_lld.c
Compiling rtc_lld.c
Compiling spi_lld.c
Compiling serial_lld.c
Compiling uart_lld.c
Compiling usb_lld.c
Compiling board.c
Compiling evtimer.c
Compiling syscalls.c
Compiling chprintf.c
Compiling vexshell.c
Compiling vexcortex.c
Compiling vexdigital.c
Compiling vexconfig.c
Compiling vexext.c
Compiling vexencoder.c
Compiling vexsonar.c
Compiling vexmotor.c
Compiling vexspi.c
Compiling vexlcd.c
Compiling vexanalog.c
Compiling vexctl.c
Compiling vexime.c
Compiling vexprintf.c
Compiling vexaudio.c
Compiling vexrttl.c
Compiling vexsensor.c
Compiling vextest.c
Compiling vexuser.c
Compiling main.c
Linking bin/output.elf
Creating bin/output.hex
Creating bin/output.bin
Creating bin/output.dmp
Done

Next page