Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Viljami
Posts: 15
Joined: Tue Apr 05, 2022 3:32 pm
Has thanked: 13 times

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Post by Viljami »

Hello Giovanni!

I made the following changes (the following is from ChibiOS 21.11.2 free /os/rt/include/chrestrictions.h, lines 57 - 61):

Code: Select all

/* System tick limited to 1000hz.*/
#if CH_CFG_ST_FREQUENCY > 1000
// #undef CH_CFG_ST_FREQUENCY
// define CH_CFG_ST_FREQUENCY                 1000
#endif


The previous changes generated following information and code started, thanks a lot!:

Code: Select all

   text      data       bss       dec       hex
  35200       268    130800    166268     2897c


I left the following untouched (the following is from ChibiOS 21.11.2 free /os/rt/include/chrestrictions.h, lines 67 - 68):

Code: Select all

#define CH_DBG_STATISTICS                   FALSE
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_DISABLED


The following is from my chconf.h:

Code: Select all

#if !defined(CH_DBG_TRACE_MASK)
#define CH_DBG_TRACE_MASK                   CH_DBG_TRACE_MASK_ALL
#endif


My question is: Shall I leave CH_DBG_TRACE_MASK to a value CH_DBG_TRACE_MASK_ALL in my chconf.h?


BR

Viljami
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Post by Giovanni »

Hi,

Trace and statistics will stay as paid or GPL features, settings in chconf.h are overridden so those don't matter.

Giovanni
Post Reply