Commit graph

9 commits

Author SHA1 Message Date
DiSlord 6f25d0d43f Remove Mutex use (CH_CFG_USE_MUTEXES = FALSE), now all Mutex depend functions run in sweep thread
It allow:
- reduce shell thread stack size
- more compact code
- fix some hardcoded scan command code, allow write better scan version
- run calibrate (not depend from pause sweep flag)

Rewrite uint32_t my_atoui(const char *p), now its allow read:
hex 0xaAbBcC1122
dec 12345678
bin 0b00011100
oct 0o12345678

Add some comments
2020-03-12 19:53:58 +03:00
DiSlord 95b3f6f7d0 Disable ChibiOS option CH_CFG_USE_MUTEXES_RECURSIVE
All calls chMtxLock - chMtxUnlock not recursive
2020-02-27 21:21:54 +03:00
DiSlord 17734f257d Disable unused ChibiOS options:
CH_CFG_USE_WAITEXIT (used only is Shell run as thread)
CH_CFG_USE_EVENTS (NanoVNA not use events)
CH_CFG_USE_EVENTS_TIMEOUT (NanoVNA not use events)

Implement stack use check in "threads" command, now free stack space show in table as "stk free" in hex
Check stack usage by sweep, and main threads (seems all ok, but add 64 bytes to sweep)

Replace some const values to defined
2020-02-27 20:53:45 +03:00
DiSlord 6a1d05321d Disable unused ChibiOS features:
- Threads registry APIs
- I/O Queues APIs
- SHELL_CMD_INFO
- SHELL_CMD_THREADS
2020-01-30 21:58:18 +03:00
cho45 480ad0f745 static inline reduce stack memory usage 2019-08-29 01:05:55 +09:00
TT 6d2941bd51 omit unused chibios features from chconf.h 2017-01-22 13:07:49 +09:00
TT 09c99564f6 add float output with cal command 2016-10-16 14:29:01 +09:00
TT 90db23ffc0 add pause/resume 2016-09-28 09:35:20 +09:00
TT 59020b8cfc initial commit 2016-09-05 07:29:43 +09:00