Bladeren bron

updated tinyscheme, symlink for scheme source, reduced db size

* passdb I think is exceeding the stack with it's size.
  Needs a better fix but for now just reduce it to what it was
clementinecomputing 6 jaren geleden
bovenliggende
commit
83046337f4
3 gewijzigde bestanden met toevoegingen van 7 en 5 verwijderingen
  1. 4 4
      busunit/common/common_config.h
  2. 2 1
      busunit/passdb/buildit.sh
  3. 1 0
      busunit/passdb/tinyscheme

+ 4 - 4
busunit/common/common_config.h

@@ -397,11 +397,11 @@
 
 //This defines the expected size of the pass database and its RAM based index tables:
 
-//#define NUM_STORED_PASSES  (131072)  //A nice round number that multiplies by sizeof(rider_record) to a page boundary
-//#define STORED_PASS_HASH  (131101)  //A prime number larger than NUM_STORED_PASSES
+#define NUM_STORED_PASSES  (131072)  //A nice round number that multiplies by sizeof(rider_record) to a page boundary
+#define STORED_PASS_HASH  (131101)  //A prime number larger than NUM_STORED_PASSES
 
-#define NUM_STORED_PASSES  (262144)  //A nice round number that multiplies by sizeof(rider_record) to a page boundary
-#define STORED_PASS_HASH  (262147)  //A prime number larger than NUM_STORED_PASSES
+//#define NUM_STORED_PASSES  (262144)  //A nice round number that multiplies by sizeof(rider_record) to a page boundary
+//#define STORED_PASS_HASH  (262147)  //A prime number larger than NUM_STORED_PASSES
 
 //#define NUM_STORED_PASSES  (1048576)  //A nice round number that multiplies by sizeof(rider_record) to a page boundary
 //#define STORED_PASS_HASH  (1048583)  //A prime number larger than NUM_STORED_PASSES

+ 2 - 1
busunit/passdb/buildit.sh

@@ -4,7 +4,8 @@ tinyscheme_opts="-fpic  -I. -c -g -Wno-char-subscripts -O -DUSE_STRLWR=1 -DSTAND
 
 rm -f passdb scheme.o
 
-$target_cc $tinyscheme_opts tinyscheme1.39/scheme.c
+#$target_cc $tinyscheme_opts tinyscheme1.39/scheme.c
+$target_cc $tinyscheme_opts tinyscheme/scheme.c
 $target_cc $target_ccopts -g -o passdb passdb.c rfid_decoder.c pass_communication.c rules.c ../common/common_defs.c ../common/gpsmath.c ../commhub/commhub.c ../commhub/client_utils.c scheme.o -lm -lz
 
 rm -f send_magstripe

+ 1 - 0
busunit/passdb/tinyscheme

@@ -0,0 +1 @@
+tinyscheme-1.41/