Commit graph

10 commits

Author SHA1 Message Date
Henry Gabryjelski
5bd8058113 More const enabled 2023-08-08 21:03:36 -07:00
Henry Gabryjelski
89ce0acf31 improve const correctness 2023-02-18 12:34:16 -08:00
iceman1001
b55a33b1d7 cppcheck fixes for const 2022-01-06 15:22:36 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
iceman1001
15d14f8259 clang... 2021-04-17 13:16:39 +02:00
Philippe Teuwen
3e7512a5d5 armsrc: clarify static vars vs global vars 2020-05-19 17:05:43 +02:00
iceman1001
00fb88ee4c cppcheck fix, make var conditional 2020-04-29 20:34:47 +02:00
iceman1001
0dc6f38741 cppcheck 2020-01-01 20:48:21 +01:00
iceman1001
7dc65bf0f7 cppcheck 2019-12-30 22:21:41 +01:00
Philippe Teuwen
d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Renamed from common/cmd.c (Browse further)