Commit graph

18 commits

Author SHA1 Message Date
DiSlord ccb3693516 Huge reduce flash usage (about 5k), remove cal_data and _frequencies properties from data section
Use void loadDefaultProps() for load default properties (default loaded also on error load from flash)
Move some constants to nanovna.h
2020-02-28 23:15:38 +03:00
DiSlord 1177d87498 Increase main thread stack size (if used as shell, if run some commands get stack limit, example "trace 0 x" command)
Decrease interrupt stack size

Use __ROR instruction in flash.c for checksum rotate
Fix erase background for frequencies string in plot.c

Implement getStringIndex function for parse string arguments, now Usage show correct information about used arg, and more easy use strings definitions
Example:
 Need check if string "on"  in avaible arguments list "load|open|short|thru|isoln|done|on|off|reset|data|in"
 getStringIndex("on", "load|open|short|thru|isoln|done|on|off|reset|data|in") return 6
 If not found return -1
Not need use if (strcmp() == ...) else ....
This usage save some amount of size
2020-02-23 15:45:37 +03:00
TT c89cd36f19 fix: checksum 2020-02-23 11:36:05 +09:00
TT 8e8bc6924e fix: update checksum 2020-02-23 02:00:50 +09:00
TT 774a11ae74 add interpolation on cal 2017-09-15 22:13:17 +09:00
TT 373e56f006 add clearconfig command 2017-01-20 08:57:17 +09:00
TT 4845bde486 change from active to active_props 2017-01-17 00:33:15 +09:00
TT 6bb1a588b6 fix freezing on saving area #4 2017-01-15 23:25:30 +09:00
TT 7943a3fe96 add dragging marker 2017-01-03 16:39:00 +09:00
TT 9037593831 add save and restore dac value in flash 2017-01-02 22:03:20 +09:00
TT 9f5259556c split config and properties 2017-01-02 19:15:16 +09:00
TT 74cfdb93a3 arrange code, add notice at head of each file 2017-01-01 20:03:21 +09:00
TT a50517bf3f add keypad for freq and scale, add save menu 2016-12-04 16:19:31 +09:00
TT 052460d145 add cal status indicator 2016-11-18 00:53:40 +09:00
TT 04d1ec19ab add impedance and L/C parameter value on marker of smith chart 2016-11-05 23:06:24 +09:00
TT f0eaa108ad save trace and marker data 2016-11-05 10:15:08 +09:00
TT 38d6a50047 add areas to save/recall 2016-11-05 01:22:48 +09:00
TT a563484f38 add missing flash.c, linker script in last commit 2016-10-17 07:20:12 +09:00