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, utzig, tfAteba, barthess

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

Postby Viljami » Fri Aug 19, 2022 11:08 am

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Postby Giovanni » Fri Aug 19, 2022 12:37 pm

Hi,

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

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 5 guests