From d4e20ead60f50b0b6a5e864b7d993ccfdd3b7e35 Mon Sep 17 00:00:00 2001 From: Guy McSwain Date: Fri, 26 Jun 2020 16:20:36 -0500 Subject: [PATCH] Bump version and generate docs. --- .gitignore | 2 ++ DOC/dbase/pigpio.sqlite | Bin 1433600 -> 1433600 bytes pigpio.3 | 42 ++++++++++++++++++++++------------------ pigpio.c | 2 +- pigpio.h | 2 +- pigpiod_if2.3 | 2 +- pigs.1 | 2 +- 7 files changed, 29 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 4449b61..fcdcc13 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,8 @@ build dist *.egg-info +tmp/ + # DOC files DOC/dbase/pigpio.sqlite.* DOC/tmp diff --git a/DOC/dbase/pigpio.sqlite b/DOC/dbase/pigpio.sqlite index a26ab8e50b2ae5b1a67829e5a808e556115cea5f..ba6114019b0edb2cde75261b71a81bfa9c393fc3 100644 GIT binary patch delta 6711 zcmaJ_d3+Pq_V1lcrkP15calk3y3w>?DbOWlQ3|D`?8uhNz6T15N=pPp@gYrp$P-0K zjr6!6q#&Z8Pz-QXK#JmX1&ZQxK_H0R1C)ZI{9NeoOnA%h^V|OTP9}5Dxy!j{4>eB+ zHBSg58Dkfs3jcvs=~WHYmJB(J=LzdVw)3G`6>SaInYu8VAoWf*qWi z(BSG!IdXU3 z;cVdGpRAc7Ua48&#E%YLTC#{J?a;4E%Z4tO9bIsKtD~NSHN}|%!Lx$RSc^l>9!C}q zXmaf5fEyjT#zzhFqK?lww8n*0$Ot>E#zzO{g^iCRpK-K<%#cGd(?{n37*^-Vf?K;e z95^oI*v6CdYGy4A_9=m#YaAH{pN@F};)}d;DKWPTqF=b&v5S}fF2Q%#Tsqz~!SSvI zv>#kn_+y$Q)nIXBp4V8aDaaE%DNu2d=R%XmVZ|{X$4exy9-0j_&5>e|r$YWrM;^>S zG&o~-=vW%n-sZrz zYl#KZ!S{^2CwwqZu|y94YQy;#jE)IuhxK)_EoHmhph+C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%opLN0M08A=XCSML>UdbEc&=cZW& zvt0R+uV$gM`*xCo#ZUEa7Q-J!=OqUV4v%b3Zhsl~=!|p>`nR+@RjWGYRaB&lh)ak@ z#2*pwB3?waBi=zAL%fXWL`aB8g&fJ+UO}8dv>;j$#}RKL+7K@wK0};DyodMz@iF2P z#HWZ^h}kjKF)=scL!>sDi?{`G8{&4vVnjJ&HR4XhU5L98YY=M@>k#)M?n5A(m;j;% zu^w?hVgq6$;z7hih=&n75DkdKC|(OeGx5VjU_XKAh=_;(7vg)wcZds!qd1=5oMXLb zawH|#al!?udr5lm`yOmcfa+n6uCOP?^ilb}GGbd_Fp2=_-9*ji~Wp_UbWZ zJkKV_smF8<+hKyOM)+l6%@G%Q$i}@{!`Uc1_I3Q_hOWujN1SKGRuHz|89U!Zi@ke_ zvYI_wYUFT`QjA^CKpwUPtABN-u^+ftr$KVzl1uCXDS1XBNXMOc_IuGwWj>+t=IHpmXrwLr22HBb;vbXpXZC?|2lny{Y{_ z9x^+_lAtI7bKOz>ov+LLI0I!g8Zu&?H^Iqbi?XGb^HEC1z^=bIGLH;)en|QJd>h6r zFt@NrLe@%3#^PjUENtCGvDE&A_J9t~I?uc{R=)6~Z7#*=w+rDOt}y~v}Vb6a0U z`fAf!c^k6U(yWFbu}>aN)EC><6O>GXJ@HngDQsa=crr8%$0W{uOp;;pB{~2C8+CMR zhh^c<fi=oIinBoZ|XhKU8Mmwt}FZiM=LI+~63(3kPoEa|)}Dq2{v7PbZ_Cjqv$YxY zLDNBQiWnuVi#1DGg+&|a5gyYMj@$wxnhY1%`wVOzHX0FIorf8e5jp*>Xj|sBbdKBx V8J8S!fF?he`8yqTbbq_U`aiA{IoJRI diff --git a/pigpio.3 b/pigpio.3 index c878cbd..0871b71 100644 --- a/pigpio.3 +++ b/pigpio.3 @@ -189,6 +189,24 @@ error PI_INITIALISED. .br +.br +If you intend to rely on signals sent to your application, you should +turn off the internal signal handling as show in this example: + +.EX +int cfg = gpioCfgGetInternals(); +.br +cfg |= PI_CFG_NOSIGHANDLER; // (1<<10) +.br +gpioCfgSetInternals(cfg); +.br +int status = gpioInitialise(); +.br + +.EE + +.br + .br .SH OVERVIEW @@ -689,8 +707,6 @@ gpioCfgMemAlloc Configure DMA memory allocation mode gpioCfgNetAddr Configure allowed network addresses .br -.br -gpioCfgInternals Configure misc. internals (DEPRECATED) .br gpioCfgGetInternals Get internal configuration settings .br @@ -3026,7 +3042,7 @@ int main(int argc, char *argv[]) .IP "\fBint gpioWaveTxAt(void)\fP" .IP "" 4 This function returns the id of the waveform currently being -transmitted. +transmitted using \fBgpioWaveTxSend\fP. Chained waves are not supported. .br @@ -7896,22 +7912,6 @@ numSockAddr: 0-256 (0 means all addresses allowed) .EE -.IP "\fBint gpioCfgInternals(unsigned cfgWhat, unsigned cfgVal)\fP" -.IP "" 4 -Used to tune internal settings. - -.br - -.br - -.EX -cfgWhat: see source code -.br - cfgVal: see source code -.br - -.EE - .IP "\fBuint32_t gpioCfgGetInternals(void)\fP" .IP "" 4 This function returns the current library internal configuration @@ -7932,6 +7932,10 @@ cfgVal: see source code .EE +.br + +.br + .IP "\fBint gpioCustom1(unsigned arg1, unsigned arg2, char *argx, unsigned argc)\fP" .IP "" 4 This function is available for user customisation. diff --git a/pigpio.c b/pigpio.c index 4bee29a..0ad740d 100644 --- a/pigpio.c +++ b/pigpio.c @@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to */ -/* pigpio version 76 */ +/* pigpio version 77 */ /* include ------------------------------------------------------- */ diff --git a/pigpio.h b/pigpio.h index a24e074..7364b71 100644 --- a/pigpio.h +++ b/pigpio.h @@ -30,7 +30,7 @@ For more information, please refer to #include #include -#define PIGPIO_VERSION 7601 +#define PIGPIO_VERSION 7700 /*TEXT diff --git a/pigpiod_if2.3 b/pigpiod_if2.3 index f07de8d..e5c79e8 100644 --- a/pigpiod_if2.3 +++ b/pigpiod_if2.3 @@ -2829,7 +2829,7 @@ int main(int argc, char *argv[]) .IP "\fBint wave_tx_at(int pi)\fP" .IP "" 4 This function returns the id of the waveform currently being -transmitted. +transmitted by \fBwave_send*\fP. Chained waves are not supported. .br diff --git a/pigs.1 b/pigs.1 index 8fa4337..9b53e0e 100644 --- a/pigs.1 +++ b/pigs.1 @@ -4823,7 +4823,7 @@ $ pigs wvas 7 38400 8 2 0 0x41 0x42 .br This command returns the id of the waveform currently -being transmitted. Note: chained waves are not supported. +being transmitted. Chained waves are not supported. .br Returns the waveform id or one of the following special