Compare commits

..

9 Commits

Author SHA1 Message Date
weiting2 014a5ac628 a better sti calibration 2020-11-19 18:32:08 +08:00
weiting2 bf672b2632 a better sti calibration 2020-11-19 17:20:54 +08:00
weiting2 6e9acfda78 [on sell] modify get_date script for linux version CCS 2020-07-20 17:48:14 +08:00
weiting2 81d5d86890 [on sell] TODO: modify get_date script for linux version CCS 2020-07-20 17:42:35 +08:00
weiting2 0c8c92dc83 [on sell] TODO: modify get_date script for linux version CCS 2020-07-20 17:17:50 +08:00
weiting2 308de54833 Merge remote-tracking branch 'origin/Neulive20_developement_linux' into Neulive20_developement_linux 2020-07-20 17:17:34 +08:00
weiting2 e4c999b8c7 [on sell] TODO: modify get_date script for linux version CCS 2020-07-20 17:17:22 +08:00
weiting2 5c0c2cc9a5 [WARNING] do NOT use linux version CCS on simple central.
DLE can not enable on linux CCS
2020-07-20 16:12:17 +08:00
weiting2 127b5ff4ca linux version CCS 2020-07-15 17:56:53 +08:00
4 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#folder=$($path | awk -F"/" '{$NF}')
folder=$(basename "$(pwd)")
if [ "$folder" == "bioprocc2650" ] | [ "$folder" == "ti" ]; then
if [ "$folder" == "ti" ] ; then
year=$(date +%-y)
month=$(date +%-m)
day=$(date +%-d)
@@ -132,7 +132,7 @@
/* -DBLE_V42_FEATURES=SECURE_CONNS_CFG+PRIVACY_1_2_CFG+EXT_DATA_LEN_CFG */
/* -DBLE_V42_FEATURES=SECURE_CONNS_CFG+PRIVACY_1_2_CFG */
/* -DBLE_V42_FEATURES=PRIVACY_1_2_CFG+EXT_DATA_LEN_CFG */
-DBLE_V42_FEATURES=SECURE_CONNS_CFG+EXT_DATA_LEN_CFG
/* -DBLE_V42_FEATURES=SECURE_CONNS_CFG+EXT_DATA_LEN_CFG */
/* -DBLE_V42_FEATURES=SECURE_CONNS_CFG */
/* -DBLE_V42_FEATURES=PRIVACY_1_2_CFG */
/* -DBLE_V42_FEATURES=EXT_DATA_LEN_CFG */
@@ -23,7 +23,12 @@ static uint16_t UserCode2StiCode(uint16_t amp, uint8_t positive_ch){
sti_code = StiCaliTable.n_ch.coefficient * real_amp + StiCaliTable.n_ch.offset;
}
sti_code = sti_code / 10000;
sti_code = (sti_code + 5000) / 10000;
if(sti_code < 1){
sti_code = 1;
}
return (uint16_t) (sti_code);
}
@@ -3,15 +3,15 @@
#define VERSION_DATE
#define VERSION_DATE_YEAR 20
#define VERSION_DATE_MONTH 7
#define VERSION_DATE_DAY 20
#define VERSION_DATE_HOUR 17
#define VERSION_DATE_MINUTE 16
#define VERSION_DATE_MONTH 11
#define VERSION_DATE_DAY 19
#define VERSION_DATE_HOUR 18
#define VERSION_DATE_MINUTE 32
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH 127b5ff4ca6794a99946b8a47fca8a7977793a44
#define VERSION_GIT_BRANCH Neulive20_developement_linux
#define VERSION_HASH bf672b26327776ad4612260ce8713ba917411a7d
#define VERSION_GIT_BRANCH Neulive20_hostTest
static void get_board_name(char *board_name_ch, uint8 *board_name_int, uint8 name_size){
uint8 name_offset = 18;