The var shell_local_commands can be const to save RAM space Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
brobwind
Posts: 3
Joined: Sat Dec 10, 2016 9:54 pm
Been thanked: 2 times

The var shell_local_commands can be const to save RAM space  Topic is solved

Postby brobwind » Sat Dec 10, 2016 9:59 pm

Thanks for creating such great RTOS!
While I am debugging my app, I found that the global variable shell_local_commands in https://github.com/ChibiOS/ChibiOS/blob ... hell_cmd.c can be const qualified, which will save several RAM space.

Best Regards,

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: The var shell_local_commands can be const to save RAM space

Postby Giovanni » Sun Dec 11, 2016 8:12 am

Hi,

Thanks, moving to "bug reports".

Giovanni

brobwind
Posts: 3
Joined: Sat Dec 10, 2016 9:54 pm
Been thanked: 2 times

Re: The var shell_local_commands can be const to save RAM space

Postby brobwind » Mon Dec 12, 2016 4:59 pm

It's great to hear that, Thanks

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: The var shell_local_commands can be const to save RAM space

Postby Giovanni » Tue Dec 13, 2016 9:48 am

Fixed as bug #797.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 20 guests