Skip to content

First attempt to get the ChibiOS Virtual Serial Shell running with Keil µVision

Notifications You must be signed in to change notification settings

GunterO/Keil_ChibiOS_Command_Shell

Repository files navigation

Keil_ChibiOS_Command_Shell

ChibiOS v2.66 + Keil µVision v5.13.0.0

Attempt to get the Virtual Serial Shell demo from ChibiOS running with Keil µVision v4 / v5 and a STM32F429I-Discovery board.

Some changes were made to the ChibiOS source files to make it compile in µVision:

conf\chconf.h

 #define CH_MEMCORE_SIZE                 0

=>

#define CH_MEMCORE_SIZE                 16000

This because the missing Image$$RW_IRAM1$$ZI$$Limit and Image$$RW_IRAM2$$Base definitions in the latest µVision compilers. Feel free to change this value, but don't set it to 0 because automatic/full RAM size management is not working for now.

os\hal\platforms\STM32\OTGv1\usb_lld.c

Commented out these lines ad the end of ´usb_lld_pump()´ to get rid of a "unreachable" compiler warning:

chSysUnlock();
return 0;

About

First attempt to get the ChibiOS Virtual Serial Shell running with Keil µVision

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published