[incubator-nuttx] branch master updated: drivers: move the generic upper-half motor driver from drivers/power to drivers/motor
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 3fb78a8 drivers: move the generic upper-half motor driver from drivers/power to drivers/motor 3fb78a8 is described below commit 3fb78a8299636f29f941c704223700dfb6362e77 Author: raiden00pl AuthorDate: Fri Apr 16 10:57:14 2021 +0200 drivers: move the generic upper-half motor driver from drivers/power to drivers/motor --- drivers/motor/Kconfig | 50 drivers/motor/Make.defs| 6 ++ drivers/{power => motor}/motor.c | 104 - drivers/power/Kconfig | 50 drivers/power/Make.defs| 12 include/nuttx/{power => motor}/motor.h | 66 ++--- include/nuttx/motor/motor_ioctl.h | 4 ++ 7 files changed, 145 insertions(+), 147 deletions(-) diff --git a/drivers/motor/Kconfig b/drivers/motor/Kconfig index a6a6f2f..7c22091 100644 --- a/drivers/motor/Kconfig +++ b/drivers/motor/Kconfig @@ -9,6 +9,56 @@ menuconfig MOTOR if MOTOR +config MOTOR_UPPER + bool "Motor generic upper-half driver" + default n + ---help--- + Enables building of a motor generic upper half driver. + +if MOTOR_UPPER + +config MOTOR_UPPER_HAVE_POSITION + bool "Have position control" + default n + +config MOTOR_UPPER_HAVE_DIRECTION + bool "Have direction control" + default n + +config MOTOR_UPPER_HAVE_SPEED + bool "Have speed control" + default n + +config MOTOR_UPPER_HAVE_TORQUE + bool "Have torque control (rotary motors)" + default n + +config MOTOR_UPPER_HAVE_FORCE + bool "Have force control (linear motors)" + default n + +config MOTOR_UPPER_HAVE_ACCELERATION + bool "Have acceleration control" + default n + +config MOTOR_UPPER_HAVE_DECELERATION + bool "Have deceleration control" + default n + +config MOTOR_UPPER_HAVE_INPUT_VOLTAGE + bool "Have input voltage protection" + default n + +config MOTOR_UPPER_HAVE_INPUT_CURRENT + bool "Have input current protection" + default n + +config MOTOR_UPPER_HAVE_INPUT_POWER + bool "Have input power protection" + default n + +endif + source "drivers/motor/foc/Kconfig" endif # MOTOR diff --git a/drivers/motor/Make.defs b/drivers/motor/Make.defs index d369148..40080e5 100644 --- a/drivers/motor/Make.defs +++ b/drivers/motor/Make.defs @@ -24,6 +24,12 @@ ifeq ($(CONFIG_MOTOR_FOC),y) include motor$(DELIM)foc$(DELIM)Make.defs endif +# Add generic upper-half motor driver + +ifeq ($(CONFIG_MOTOR_UPPER),y) +CSRCS += motor.c +endif + # Include motor drivers in the build MOTOR_DEPPATH := --dep-path motor diff --git a/drivers/power/motor.c b/drivers/motor/motor.c similarity index 85% rename from drivers/power/motor.c rename to drivers/motor/motor.c index fafba7f..5b18c8f 100644 --- a/drivers/power/motor.c +++ b/drivers/motor/motor.c @@ -1,5 +1,5 @@ / - * drivers/power/motor.c + * drivers/motor/motor.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -35,7 +35,7 @@ #include #include -#include +#include #include @@ -214,7 +214,7 @@ static int motor_ioctl(FAR struct file *filep, int cmd, unsigned long arg) switch (cmd) { - case PWRIOC_START: + case MTRIOC_START: { /* Allow motor start only when some limits available * and structure is locked. @@ -222,30 +222,30 @@ static int motor_ioctl(FAR struct file *filep, int cmd, unsigned long arg) if ((motor->limits.lock == false) || ( -#ifdef CONFIG_MOTOR_HAVE_POSITION +#ifdef CONFIG_MOTOR_UPPER_HAVE_POSITION motor->limits.position <= 0.0 && #endif -#ifdef CONFIG_MOTOR_HAVE_SPEED +#ifdef CONFIG_MOTOR_UPPER_HAVE_SPEED motor->limits.speed <= 0.0 && #endif -#ifdef CONFIG_MOTOR_HAVE_TORQUE +#ifdef CONFIG_MOTOR_UPPER_HAVE_TORQUE motor->limits.torque <= 0.0 && #endif -#ifdef CONFIG_MOTOR_HAVE_FORCE +#ifdef CONFIG_MOTOR_UPPER_HAVE_FORCE motor->limits.force <= 0.0 && #endif -#ifdef CONFIG_MOTOR_HAVE_INPUT_VOLTAGE +#ifdef CONFIG_MOTOR_UPPER_HAVE_INPUT_VOLTAGE motor->limits.v_in <= 0.0 && #endif -#ifdef CONFIG_MOTOR_HAVE_INPUT_CURRENT +#ifdef CONFIG_MOTOR_UPPER_HAVE_INPUT_CURRENT motor->limits.i_in <= 0.0 && #endif -#ifdef CO
svn commit: r47508 - /dev/incubator/nuttx/10.1.0-RC1/
Author: jerpelea Date: Mon May 3 05:20:19 2021 New Revision: 47508 Log: Fix bad staged artifacts for NuttX 10.1.0-RC1 Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc (original) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc Mon May 3 05:20:19 2021 @@ -1,16 +1,16 @@ -BEGIN PGP SIGNATURE- -iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM+HUACgkQnnEbrTJk -wGE//BAAh9x8eIlwDK9bQtUmO+lnKR4EtXSACqOQhTD5V2SWlH3tQS6wei5/mlIJ -cHi+dOt2FUczxk0slACIz9o0J7YoqaBYXHWNiRrJcFoIdvzlORYpcoeODY/8BdOm -DpvAlLJIVUBuH96FmZiU1kFbsc0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N2P0j0VL6Pl6gRahUk9MP/xPzhkwHg01DEq0uh5iarR40HKmsI3JXqKEieVQi +Rn36bK4HhXWYwLPDbrLoqGjWJyrLvXAPD0yRqxIZfDvnyk8B1nLY+vBNuAd5VPTX +rO64h7o98LPkiE6M9ROgVayw2eB2nEsu7HocpeSugOo/NWSt9qDfkitY8EjdtKg5 +RexUkgOk1IKdCHHg4szxGUQSjsX5KjTasnvpZIlZw/1ukFIqYiM= +=zHwr -END PGP SIGNATURE- Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 Mon May 3 05:20:19 2021 @@ -1 +1 @@ -9176207468722d09e6c3cecf5be3e3e33071908ba038e2f7cf5a181f4f08027d586a6a680ed90d1a4c590d84dce6272c682f082fdf707ffec67c59eb9694a63a apache-nuttx-10.1.0-incubating.tar.gz +64316eaa7510fed65d99b9d265ca716ae64fa0da039851bbd9818d144db4ee0416d29e7232553fce90865048dfed1c2f837687f627d739af5978067fe869d258 apache-nuttx-10.1.0-incubating.tar.gz Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc (original) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc Mon May 3 05:20:19 2021 @@ -1,16 +1,16 @@ -BEGIN PGP SIGNATURE- -iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM+HUACgkQnnEbrTJk -wGFBlA//bWoIj4XFmrp8VtWCX3TVWpQarMu3GI9xCT0ZFms2WEsGa839H6sPDhBT -lcGxJbzeYIZZ0S7kMSnB3BR/pSHdeJc9b59RH3jVFFt10Fn3JpfUhZwxW8cxgcwJ -+y3oJkWahYvuwIleccfYkABbkz4m1aPZwbXRvMLPMeADoIX+zvXGijArmufmPjB6 -teIFz30qer8pZffTlSZy8X79PqWfUTcnJRFr5uNqrn0sMO7no5HxPSkgQgu4EPd8 -PPpQF1CVNmJhfmzJwqVpFR8SIp8Z2aEdGVSiFS4ybvqcAk3+Qu98G8McmtDsukWV -EjOym73pz+b6Vit91IXmkoFJOVKXiWWbZKx4pS8fRpOcy3IMMbY+udXeqpcBznKn -pPV18ohzNbndB8/UUOqjOVbu+uCOsL8HGyMeDhw1iO9A4kCC0ERlVGwpXCaMeoYi -bPYnJUvznkGvoFLHAHd7tGpCXUUOMzEF0HP8BavNz1NvxgDf+Q7cGtkQ5eP3LYxD -UXL2VhxTg+0zLU91L4camhNcgjpofKpZq94in2Aosw4oWoy+DhW9YgygEgcayJRq -8uPUmMUBiZ+xLvymv5Tth+SyB7GgAGSFIO5zwA3RjTqDa1QRaTVC86L5jY9hv6el -fWJbny/+bWPX+YpaB5rru5GKljimt+rj40QeuCFgJJPK45hQVbE= -=ZH+z
[incubator-nuttx] annotated tag nuttx-10.1.0-RC1 updated (5230050 -> 841467c)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.1.0-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. *** WARNING: tag nuttx-10.1.0-RC1 was modified! *** from 5230050 (tag) to 841467c (tag) tagging 3130ff691e386934eb276587a24d1efacf3bb30b (commit) replaces nuttx-10.1.0-RC0 by Alin Jerpelea on Mon May 3 07:14:51 2021 +0200 - Log - nuttx-10.1.0-RC1 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCPhssACgkQnnEbrTJk wGFX4BAAodko//CpOX8q/T4ik1uD09rVnlharw5eGKZsPqmdcO7BjqRzl4xveraQ QqkYN4KsJnBmE25oleEAMRn46NV+grJVfqBQlOSTDEb9nP2xT0i3S9fybT514hdR qfmyxxRdy2yjgpWI8CUP/5Pwh5LDcaYM+rqMQViSJOsdGH5UA12MMlEGyUqL530G PWQjNaQZD8vCjQ8WI7BDPTqQ4lWbBLFk8P+zLi2KjhRh3KyOl6EDuTVKiq3a9rfA 2KFMKFD3zQdaPP3zMvux5Q7ViKe7vXCUVYGpSQrlWgNNbj1Y9TrB7MO4rG8Hpi4d hHf3d8B4wTzDDeocoJ7+kKAfe2X1TRuS7u/Dl4JrOyJVqKLFT4z0jke3NSz9NFm9 y3vQz/rYE5DUcFeOTctO7qXPhLaziZdA0e7Lfg5IqMlpThi5kC/MkYZnlbE0kEXw oQ9OryYKimEDJTsuc7iD00UEbnbLvutTNiQuLSWqLQp1BjgQ64+iV4LrPwhCW1CV E+PpkiEoZesN2WntCh7JQry3+E/4vNsfaH4I1ipgesU+yiyI29tjlOglIA34jkK7 Y9ecsoBLAGoYmsYhP8TdkijxBPvWksSD6V72pQVQPr3PBB9t94Af8BF8U1Qz6C+M dHssCSBIWGS+tHmOzaI/fZpSSt5Oz0MHPq4NapGebdKPS6it6i4= =OjaB -END PGP SIGNATURE- --- from 112d709 arch/risc-v: Fix stack alignment according to calling convention add 6802259 arch/risc-v: Fix interrupt stack alignment add 3130ff6 risc-v/k210: Fix SMP interrupt stack size calculation No new revisions were added by this update. Summary of changes: arch/risc-v/src/bl602/bl602_head.S| 2 +- arch/risc-v/src/bl602/bl602_irq.c | 4 ++-- arch/risc-v/src/c906/c906_head.S | 4 ++-- arch/risc-v/src/c906/c906_irq.c | 4 ++-- arch/risc-v/src/common/riscv_checkstack.c | 6 +++--- arch/risc-v/src/common/riscv_initialize.c | 4 ++-- arch/risc-v/src/common/riscv_internal.h | 2 +- arch/risc-v/src/fe310/fe310_head.S| 2 +- arch/risc-v/src/fe310/fe310_irq.c | 4 ++-- arch/risc-v/src/k210/k210_head.S | 4 ++-- arch/risc-v/src/k210/k210_irq.c | 9 +++-- arch/risc-v/src/litex/litex_head.S| 2 +- arch/risc-v/src/litex/litex_irq.c | 4 ++-- arch/risc-v/src/rv32im/riscv_assert.c | 6 +++--- arch/risc-v/src/rv64gc/riscv_assert.c | 6 +++--- 15 files changed, 34 insertions(+), 29 deletions(-)
svn commit: r47497 - /dev/incubator/nuttx/10.1.0-RC1/
Author: jerpelea Date: Sat May 1 06:47:43 2021 New Revision: 47497 Log: Staging apache-nuttx-10.1.0-RC1-incubating Added: dev/incubator/nuttx/10.1.0-RC1/ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz (with props) dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz (with props) dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz == Binary file - no diff available. Propchange: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz -- svn:mime-type = application/octet-stream Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc (added) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.asc Sat May 1 06:47:43 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM+HUACgkQnnEbrTJk +wGE//BAAh9x8eIlwDK9bQtUmO+lnKR4EtXSACqOQhTD5V2SWlH3tQS6wei5/mlIJ +cHi+dOt2FUczxk0slACIz9o0J7YoqaBYXHWNiRrJcFoIdvzlORYpcoeODY/8BdOm +DpvAlLJIVUBuH96FmZiU1kFbsc0kgPH2pvAsBBSmVIlUMkNNXyUEbThVGK61G+hZ +cLeEyl6tQ8XO248OAP9hbM5dBJRDHSj8Ond56qI4EltP0qTR6BtE1XUb/wWczY7H +NEFMT0EYPlyUTZTTB644Zlo5b1F3z7MrLaknDvarJJttY2t6XlbTsU7AUjyjzjFk +ICDkO01tjz/Z4rqY6LnYD8fzJISzvUfrN+9CtM3elPISAO3FkLn1iktbuv8YiVYj +Qj6BWf417+fBdmqunImGL38Q1DYzX65NLiYruG1kwLvWcb/bxo5S88iBDzfzfKsN +r+wR+5TLbHSgXhqkQGaj0+V0y6+AenghqGp38Xb/RqsB6Se3ih7Z78Kd/q00okyx +/6i7bZ1qhx+UY8E9OPIHj2/6ttgAy6MfMkbLNcNVSHA4xHRRuKn30edHQ3GhJOem +LrBg1J7clnKjOwAdIn5KQjZ2bAorYaMnmdFUqR0nU5xpm1ujkctY1slCDp/vlTnt +AmDhaTGYPtdg98nWv9fB3pQDFB0h4PQUVK+AO4fK0u77CM1w4Ao= +=rnlo +-END PGP SIGNATURE- Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 (added) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-10.1.0-incubating.tar.gz.sha512 Sat May 1 06:47:43 2021 @@ -0,0 +1 @@ +9176207468722d09e6c3cecf5be3e3e33071908ba038e2f7cf5a181f4f08027d586a6a680ed90d1a4c590d84dce6272c682f082fdf707ffec67c59eb9694a63a apache-nuttx-10.1.0-incubating.tar.gz Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz == Binary file - no diff available. Propchange: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz -- svn:mime-type = application/octet-stream Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc (added) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc Sat May 1 06:47:43 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM+HUACgkQnnEbrTJk +wGFBlA//bWoIj4XFmrp8VtWCX3TVWpQarMu3GI9xCT0ZFms2WEsGa839H6sPDhBT +lcGxJbzeYIZZ0S7kMSnB3BR/pSHdeJc9b59RH3jVFFt10Fn3JpfUhZwxW8cxgcwJ ++y3oJkWahYvuwIleccfYkABbkz4m1aPZwbXRvMLPMeADoIX+zvXGijArmufmPjB6 +teIFz30qer8pZffTlSZy8X79PqWfUTcnJRFr5uNqrn0sMO7no5HxPSkgQgu4EPd8 +PPpQF1CVNmJhfmzJwqVpFR8SIp8Z2aEdGVSiFS4ybvqcAk3+Qu98G8McmtDsukWV +EjOym73pz+b6Vit91IXmkoFJOVKXiWWbZKx4pS8fRpOcy3IMMbY+udXeqpcBznKn +pPV18ohzNbndB8/UUOqjOVbu+uCOsL8HGyMeDhw1iO9A4kCC0ERlVGwpXCaMeoYi +bPYnJUvznkGvoFLHAHd7tGpCXUUOMzEF0HP8BavNz1NvxgDf+Q7cGtkQ5eP3LYxD +UXL2VhxTg+0zLU91L4camhNcgjpofKpZq94in2Aosw4oWoy+DhW9YgygEgcayJRq +8uPUmMUBiZ+xLvymv5Tth+SyB7GgAGSFIO5zwA3RjTqDa1QRaTVC86L5jY9hv6el +fWJbny/+bWPX+YpaB5rru5GKljimt+rj40QeuCFgJJPK45hQVbE= +=ZH+z +-END PGP SIGNATURE- Added: dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 (added) +++ dev/incubator/nuttx/10.1.0-RC1/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Sat May 1 06:47:43 2021 @@ -0,0 +1 @@ +e8480a41e215aa01266e56c7431dd2623944390bcd3868f0ac5bcca3bafe2adb02ca565ef06ecf6661a098433a7b46d724815848063a63aef79e5456b283d74d apache-nuttx
[incubator-nuttx] annotated tag nuttx-10.1.0-RC1 updated (112d709 -> 5230050)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.1.0-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. *** WARNING: tag nuttx-10.1.0-RC1 was modified! *** from 112d709 (commit) to 5230050 (tag) tagging 112d709609e4916b21e435152679cd0b5f3177fb (commit) replaces nuttx-10.1.0-RC0 by Alin Jerpelea on Sat May 1 08:38:20 2021 +0200 - Log - nuttx-10.1.0-RC1 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM91wACgkQnnEbrTJk wGFigg//fYnxKwtyVxlAmdhzC3P35NCb2TnLYEsou9FGu51hWRONP9OSzENTqEgm xsyqB0aZMPuGL93L7bcWfkS3xweBeOKJ8PrLePqR3zkYJU09FrraytoYu5pWUys9 MaNPugyPjXRpbJa5MoVmC1C7fT+cqlC6R3VIY0lF0zov7EgmY7BtdfmKCBLhkQrH aFh0ToS/qZcYFniYs2RhD428FE5uMEDBkCpeqz26z3NR3GXRz+Eq1NSRsM8dQkz1 zcWF1NxdWxuBpHxWQXmdArcPYYpUVq5xzrVayz+adMKKfZvMyRP9nwCBg94hvt3M HPn3CT4VEsmaLY7gdEY1Y0JZIQhqcxzRiTYsM5WTmtHVXPBUkTgjkKZ8mYcGX3yc Z+5xN+Fql3CLg/kWcSLE7cuPCB9pDEPUxB6HnS20lnidNQM6Fd4Hnp3NPG8LtpzK IEUTSs3lpC9B+D/HMkJqesBhWnj2y7i4885tKJ3FM2ZnLFmHnuLmOjIfSfSSp3Gc KGZDPrg0CGDC+A616Ze+OZkpv7F6oOLvOZiLd/Fl2qdIXo5GGZfuPmBkmz61mDyr oRvO8M52O4KoIdMsfTZDbo0c6j6gyYgTW15538BfJ83PEF8u0+2oBRJjJ8qcsldp 1YZ91xPim9to9ar2btf2F2X84h9SGa8Wa0jH7w/9zBfhMnioqrI= =BDCp -END PGP SIGNATURE- --- No new revisions were added by this update. Summary of changes:
[incubator-nuttx-apps] annotated tag nuttx-10.1.0-RC1 updated (4348d91 -> 21996f7)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.1.0-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. *** WARNING: tag nuttx-10.1.0-RC1 was modified! *** from 4348d91 (commit) to 21996f7 (tag) tagging 4348d91d1356335483089c3865282d80f13bedcd (commit) replaces nuttx-9.1.0-RC0 by Alin Jerpelea on Sat May 1 08:38:38 2021 +0200 - Log - nuttx-10.1.0-RC1 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmCM924ACgkQnnEbrTJk wGH2vxAAmRkYgaicyronY8Y2BifjRMw/DaWezfPYwaZm/nriS9Pvx96XT2A0oDe1 yYK6JzWuX/qejBVO+4u1gsc8XZRQ5nTrPB7Ptmiai9kY9SIYLpLtG0OG4qBL0LUJ Vs3BuF4Avpr824qjY9do27yK9cP8XYeJEQxANlw2qv+KBeGisvzck7gKGk0FN90E AJhtldVW7JyL8AM5USYLO1tfQ/bnnPktuvG0eY1txqTWDjZ4F0kGGEOsyA0anX2W VKXt2gzoCm7ZuL1oejKOMJnQtutw7DiViWdXeXxb4ro2VEK9xgflo/yc8OGLS1f4 qfpFcgnfAYxZStlaAiQd8a900pC8FChk8VV0RNB7duKhIAXHz6z9mcoIsB80xSaD UqYp30xWqoj59VoAhLfeCnqpABDcOFUdmCOQ1CezJI54/FAhqByxQKe1SRhOzEW4 JfIkqCD9rc2MCx5ekqmTF4EzTGDj28nUFh8/RxftcbsFAuEE3WG+CCV8JQEKeglS nN8/5qhyOk8a97FQhFzJbeDSTUm+Q/95WwRuEDUGRXP0jUv/yQ7WCjIKLfRs2LQ+ qn5QDgqIHIcQLscfz2pCGzJjaY80MqEaBEHv8Eg4RApIw35nnPsqLQSCOarRUCOI Gzv4rDihSbFP1KTQOuTFAets+HRNldQeLM7dG/wSwz2u2S5l+Zo= =YXAj -END PGP SIGNATURE- --- No new revisions were added by this update. Summary of changes:
svn commit: r47341 - /release/incubator/nuttx/KEYS
Author: jerpelea Date: Thu Apr 22 16:30:34 2021 New Revision: 47341 Log: Update Alin Jerpelea GPG key Modified: release/incubator/nuttx/KEYS Modified: release/incubator/nuttx/KEYS == --- release/incubator/nuttx/KEYS (original) +++ release/incubator/nuttx/KEYS Thu Apr 22 16:30:34 2021 @@ -165,65 +165,6 @@ r/VTvAFkjptMDwTWRNEZgJZ9XbLTnX2WYkDb3iih /QpmaoTHvUyZlqu89uOjOjjCyw== =+AuG -END PGP PUBLIC KEY BLOCK- -pub rsa4096 2021-04-18 [SC] - C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 -uid [ultimate] Alin Jerpelea -sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea -sub rsa4096 2021-04-18 [E] -sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea - --BEGIN PGP PUBLIC KEY BLOCK- - -mQINBGB8LLgBEACnqSsX3tibNxAPbFFm0Tz1bhI459K6DiD1rkH+JHLbALSLUFb/ -dwN0HOpOxc1OP1EfWN/M3k/V0AT8Kta6StVIHhIQqyzIlTsi4UHvOF7fyQTok9u9 -GQr+ZkVNuiQwU6PSJcGBZXv0eLurtXv1oNbnUhVyjsSOXs6ejEtJIs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rTJkwGEFAmB8LLgC -GwwACgkQnnEbrTJkwGFx3xAApqtvkf0GEVTQgMK45AmMwM4WkFPq3X8wd5MUVrMZ -ytIfUwDBXjq+C1Ze8Ka5yYc61wiOUEYJI0Zb8ZHK6wMFsBe07qWo2kprioe6mKI6 -c2KbtXU8mXKPIRoK1xK7XF21GjlJVJ5aAQ2Kg5iDOcTOj+JXzWEpJD4eG6MpwdJv -MqgNgZEs7pqrWTjVVHQTwHVQYptPmFLqKhcuoBGqJsLg2U5L/Id9QMPUJALcskBR -a54mIHYz1CNg8EM8FFQ7w+QhREp3OhlTpHRHWBpbfl2Mr/8E8YMJPo1eH5+/PZTE -GTdLBmgQR0hKTPPcfsxhS/RgpAYce+1yT5k0a/R5bMtjKHajSZhlJN2GiquYiHsj -EFt4CQBdBsbQscVd5ArCqyevUoVKOhIP24ODW3WLwOa4A0z6MWLf7iTZDhQ3q7d5 -KPK9v/NOt1pZaEUxMd01AbV6Llqovpdrs8MDXHbPCD3Buv6nWcBAkvTOEJJ53UeS -V0VM3ilfjqg+Z+p93TL9zfCYWu+Nofv6iiSvDbzk7h2+XKLnoWlI0PItJZI3cSmm -zBRYzyn3jt9JvsLbjeUlVXiBbEjwo3RK1yuXI1TJ0AZOeUlSdZEGyF1lmYlo9gXV -6Bfck2paBOP5WsOd+m7Qlw7M4iXbBfLcikf/+4SvSScP3pPI7GtuDrVOIfHTad7/ -Ono= -=OklP --END PGP PUBLIC KEY BLOCK- pub rsa4096 2019-12-18 [SC] 764130B1CBA4FCBE522F70A12B8C7F0EAB22000E uid [ultimate] Abdelatif Guettouche (CODE SIGNING KEY) @@ -283,3 +224,77 @@ j3nV+qG3WKVZFwrDia6vw1Qw3eXFZaePEBaxgxo6 1hESbAJoDaadM14aO2bxS1F+B4a/4DUxVv6xIw== =Lk4s -END PGP PUBLIC KEY BLOCK- +pub rsa4096 2021-04-18 [SC] + C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 +uid [ultimate] Alin Jerpelea +sig 39E711BAD3264C061 2021-04-22 Alin Jerpelea +uid [ultimate] Alin Jerpelea +sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea +sub rsa4096 2021-04-18 [E] +sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea + +-BEGIN PGP PUBLIC KEY BLOCK- + +mQINBGB8LLgBEACnqSsX3tibNxAPbFFm0Tz1bhI459K6DiD1rkH+JHLbALSLUFb/ +dwN0HOpOxc1OP1EfWN/M3k/V0AT8Kta6StVIHhIQqyzIlTsi4UHvOF7fyQTok9u9 +GQr+ZkVNuiQwU6PSJcGBZXv0eLurtXv1oNbnUhVyjsSOXs6ejEtJIsGdLwbCQWaI +ObBe9sHFeAAIMyVOstSoDenA1I8//XZALNBBEmgsN9yROExduP+Jr05TliMmnKOS +bH9BgTEO6fEMTHjerGtdUO4OmqnBM640q/pBtI//QfE9oMBdkrBZ4NtsFWCYtP1G
svn commit: r47340 - /dev/incubator/nuttx/KEYS
Author: jerpelea Date: Thu Apr 22 16:30:23 2021 New Revision: 47340 Log: Update Alin Jerpelea GPG key Modified: dev/incubator/nuttx/KEYS Modified: dev/incubator/nuttx/KEYS == --- dev/incubator/nuttx/KEYS (original) +++ dev/incubator/nuttx/KEYS Thu Apr 22 16:30:23 2021 @@ -165,65 +165,6 @@ r/VTvAFkjptMDwTWRNEZgJZ9XbLTnX2WYkDb3iih /QpmaoTHvUyZlqu89uOjOjjCyw== =+AuG -END PGP PUBLIC KEY BLOCK- -pub rsa4096 2021-04-18 [SC] - C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 -uid [ultimate] Alin Jerpelea -sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea -sub rsa4096 2021-04-18 [E] -sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea - --BEGIN PGP PUBLIC KEY BLOCK- - -mQINBGB8LLgBEACnqSsX3tibNxAPbFFm0Tz1bhI459K6DiD1rkH+JHLbALSLUFb/ -dwN0HOpOxc1OP1EfWN/M3k/V0AT8Kta6St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IC KEY BLOCK- +pub rsa4096 2021-04-18 [SC] + C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 +uid [ultimate] Alin Jerpelea +sig 39E711BAD3264C061 2021-04-22 Alin Jerpelea +uid [ultimate] Alin Jerpelea +sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea +sub rsa4096 2021-04-18 [E] +sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea + +-BEGIN PGP PUBLIC KEY BLOCK- + +mQINBGB8LLgBEACnqSsX3tibNxAPbFFm0Tz1bhI459K6DiD1rkH+JHLbALSLUFb/ +dwN0HOpOxc1OP1EfWN/M3k/V0AT8Kta6StVIHhIQqyzIlTsi4UHvOF7fyQTok9u9 +GQr+ZkVNuiQwU6PSJcGBZXv0eLurtXv1oNbnUhVyjsSOXs6ejEtJIsGdLwbCQWaI +ObBe9sHFeAAIMyVOstSoDenA1I8//XZALNBBEmgsN9yROExduP+Jr05TliMmnKOS +bH9BgTEO6fEMTHjerGtdUO4OmqnBM640q/pBtI//QfE9oMBdkrBZ4NtsFWCYtP1G
svn commit: r47156 - /dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512
Author: jerpelea Date: Sun Apr 18 17:37:13 2021 New Revision: 47156 Log: Staging apache-nuttx-10.1.0-RC0-incubating Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Sun Apr 18 17:37:13 2021 @@ -1 +1 @@ -44453f5e5267d31505858f5bd24f3e94b60ea370c8155a749df6a3cc286fabd7b387560f12383192eeba451fcec6a62462cb6948975986aa4481fb53f0f59523 apache-nuttx-apps-10.1.0-incubating.tar.gz +444970bb3e0269d7b3307a7a6650ae7f8682792bcb8b88ab12a57896d60a70228ccd9474bd910bad7828674bc11c3dd9f3e528311ff152e42db65057bb3f7f83 apache-nuttx-apps-10.1.0-incubating.tar.gz
svn commit: r47142 - /dev/incubator/nuttx/10.1.0-RC0/
Author: jerpelea Date: Sun Apr 18 14:05:02 2021 New Revision: 47142 Log: Staging apache-nuttx-10.1.0-RC0-incubating Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc (original) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc Sun Apr 18 14:05:02 2021 @@ -1,16 +1,16 @@ -BEGIN PGP SIGNATURE- -iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8Of4ACgkQnnEbrTJk -wGHRsg//eu3Xujb7zCbUE0wCg/EY4NuwJCjBTvkrnBmHI4jktIUnc9aifQxeaNob -d3fK06XEREZn9jqKP0r3UeI6fX2wIQB5Fq9sBmAMSzdVnNtIvxTNj32etWS+GWdB -TE62fG5Oz8PJ6rRkq6k8yqiTP/VV4ETY2/IrAusczT+7vKeFxErNnIYgtk51OLNb -xTOCZkjFrHIcXuSXkg6NxHKuSrIcJIY4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zaG2i+Z/oeFwixlHRgrDe5pa1hl7gv1YMtR+62QgGbDTuKc/ff0jrja6J8zM +N2XW6II5UTwOuUD80GRBbgmFoyeHS5oIs4qvUxrNTtLZLhB/w4K0Ja6qE7YRqn/D +wqbxR7x+ufG3PXdT7ENvXeFWJqj2lfeSH6NPRq/kk+oF/GYZ+is= +=gis2 -END PGP SIGNATURE- Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 Sun Apr 18 14:05:02 2021 @@ -1 +1 @@ -12406d16304da2f8a766cd608b070ba508dc8d71431442b9d7d6195025e3741ea85b96f42e9a26d2a8133cd8b0ddd9b5459c982c010f39cdd41eedf5a779d285 apache-nuttx-10.1.0-incubating.tar.gz +31484c8cc67114b710d0db3850cd4687659be7c6c9a088287b31a8dcdc0e4d3d3d6b76ce8b9563ac25c52733fe36b681a5c8737678d14d6b5d2688cc7e26177e apache-nuttx-10.1.0-incubating.tar.gz Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc (original) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc Sun Apr 18 14:05:02 2021 @@ -1,16 +1,16 @@ -BEGIN PGP SIGNATURE- -iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8Of4ACgkQnnEbrTJk -wGEmoQ/8CVRx/8V1axAvwSDTQ6MWpOLx2Uug4+p826MqoUwj8VsUdYBdpIolhqgx -JV/qtPZ4yGRfbMn0zdR63+AZe0HYlu9wSUPX65IFAQqoTMYEO9zmi9CiDCRHYVLd -3PmPlj91drocF2W4E1Z7Z1k/bB9H1MhQYXMxv7GiDtEVW215P2TlL7tawgk5LE4h -sqiRofjmw/DkfjXRy8Y7sd0Odh4z6tRtDZZwwoxATC8QV+WQ8TWY902sCz+gl8Wz -dLzmQgvESqyEn/Rc/jozi8CxiqiQdhR1q4vubfibhdX3Gu0bSpkgoKYKJ92rocSl -Y64vT0+JzAb5CjvV0cG3wtm1VOIiXjB/lpp9AGhfiil5OXxo7A7LYKaJtb12rL1r -qyX+jGwf4sDlqIgaSt1hkBXfp0rHh50vyS7q/LegvhSrjYmw2ABEYMyaHHuh7Es6 -95VKYwXehJMhqBmAD+0k8zedhf3rTqYQV87VXcrecoal9p4V1eXGi7gvzEeWcLrk -FJHSo0CV9OYUuyNEKqPhqBu2/16qLKGxuNvs7LEu6YIQDD3ss7OizRmfZuqeAttK -zInEPAZmKB8V4SMlZnCDEKhSFWu7dH/xLyvoadIjlg8uY2yZLvY7wWVeYeO3ykGn -I2kHAC9uDI/ldOXX13vxxOoMrEcSFQoLeR3VeLrvLheOq5RaB08= -=eniJ +iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8PBcACgkQnnEbrTJk +wGGvpw/+NJmEvpAIwDCwYLdHab1ZybS8qxSG//o04QmB3wibPflYkfY6fjMSWTu/ +h7kL
svn commit: r47141 - /dev/incubator/nuttx/10.1.0-RC0/
Author: jerpelea Date: Sun Apr 18 13:58:31 2021 New Revision: 47141 Log: Staging apache-nuttx-10.1.0-RC0-incubating Added: dev/incubator/nuttx/10.1.0-RC0/ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz (with props) dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz (with props) dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz == Binary file - no diff available. Propchange: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz -- svn:mime-type = application/octet-stream Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc (added) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.asc Sun Apr 18 13:58:31 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8Of4ACgkQnnEbrTJk +wGHRsg//eu3Xujb7zCbUE0wCg/EY4NuwJCjBTvkrnBmHI4jktIUnc9aifQxeaNob +d3fK06XEREZn9jqKP0r3UeI6fX2wIQB5Fq9sBmAMSzdVnNtIvxTNj32etWS+GWdB +TE62fG5Oz8PJ6rRkq6k8yqiTP/VV4ETY2/IrAusczT+7vKeFxErNnIYgtk51OLNb +xTOCZkjFrHIcXuSXkg6NxHKuSrIcJIY4TjuLGCo1b1rK6QkksxPpdoeVFfwrOXPc +txGnU/OfhOWreugEIy1IJFyeMvizYV3fBoo9xfAnsmYgS0Xc+I6sgBzL8WnkWFb2 +K75dz9pslA+8QlzAAEAs7sEM/GOvza4U5kfS/5ZaxBEpqtp2/2uQhjrM35yIyhlK +rTMkOkI8TtSIVJZ0bHnQzmmKRV3qA5IxR+tZhYznOZbhxIucKuQjy0bg0Fs9VGmj +mzU4lE/yKVPmg60V7pwB65ZvC0zMChcpaTtRiHzxCU5bhhrQOmhgFqa5OzTigdrC +9AqNdtm0HDxzLGLxlHwitvi9JyD+/8qQJRt9ot0WOqCr9dbMMUstlXUSOMY2OroA +BjtE8ZPK85LiTGND1g+r3XkFxvsng8l3DgjuKLDmlS9ZjuRKrYw0l4fG1clof8nF +Ex3FSkcs4Hke0441w7XTiiYGukEvjsl6/ahoo4acHAUMHi2CIJg= +=Wq9v +-END PGP SIGNATURE- Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 (added) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-10.1.0-incubating.tar.gz.sha512 Sun Apr 18 13:58:31 2021 @@ -0,0 +1 @@ +12406d16304da2f8a766cd608b070ba508dc8d71431442b9d7d6195025e3741ea85b96f42e9a26d2a8133cd8b0ddd9b5459c982c010f39cdd41eedf5a779d285 apache-nuttx-10.1.0-incubating.tar.gz Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz == Binary file - no diff available. Propchange: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz -- svn:mime-type = application/octet-stream Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc (added) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.asc Sun Apr 18 13:58:31 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8Of4ACgkQnnEbrTJk +wGEmoQ/8CVRx/8V1axAvwSDTQ6MWpOLx2Uug4+p826MqoUwj8VsUdYBdpIolhqgx +JV/qtPZ4yGRfbMn0zdR63+AZe0HYlu9wSUPX65IFAQqoTMYEO9zmi9CiDCRHYVLd +3PmPlj91drocF2W4E1Z7Z1k/bB9H1MhQYXMxv7GiDtEVW215P2TlL7tawgk5LE4h +sqiRofjmw/DkfjXRy8Y7sd0Odh4z6tRtDZZwwoxATC8QV+WQ8TWY902sCz+gl8Wz +dLzmQgvESqyEn/Rc/jozi8CxiqiQdhR1q4vubfibhdX3Gu0bSpkgoKYKJ92rocSl +Y64vT0+JzAb5CjvV0cG3wtm1VOIiXjB/lpp9AGhfiil5OXxo7A7LYKaJtb12rL1r +qyX+jGwf4sDlqIgaSt1hkBXfp0rHh50vyS7q/LegvhSrjYmw2ABEYMyaHHuh7Es6 +95VKYwXehJMhqBmAD+0k8zedhf3rTqYQV87VXcrecoal9p4V1eXGi7gvzEeWcLrk +FJHSo0CV9OYUuyNEKqPhqBu2/16qLKGxuNvs7LEu6YIQDD3ss7OizRmfZuqeAttK +zInEPAZmKB8V4SMlZnCDEKhSFWu7dH/xLyvoadIjlg8uY2yZLvY7wWVeYeO3ykGn +I2kHAC9uDI/ldOXX13vxxOoMrEcSFQoLeR3VeLrvLheOq5RaB08= +=eniJ +-END PGP SIGNATURE- Added: dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 (added) +++ dev/incubator/nuttx/10.1.0-RC0/apache-nuttx-apps-10.1.0-incubating.tar.gz.sha512 Sun Apr 18 13:58:31 2021 @@ -0,0 +1 @@ +44453f5e5267d31505858f5bd24f3e94b60ea370c8155a749df6a3cc286fabd7b387560f12383192eeba451fcec6a62462cb6948975986aa4481fb53f0f59523 apache-nuttx
[incubator-nuttx-apps] annotated tag nuttx-10.1.0-RC0 updated (4348d91 -> 9ac091e)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.1.0-RC0 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. *** WARNING: tag nuttx-10.1.0-RC0 was modified! *** from 4348d91 (commit) to 9ac091e (tag) tagging 4348d91d1356335483089c3865282d80f13bedcd (commit) replaces nuttx-9.1.0-RC0 by Alin Jerpelea on Sun Apr 18 15:46:47 2021 +0200 - Log - nuttx-10.1.0-RC0 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8OEcACgkQnnEbrTJk wGFeOg//etPdCbgmgHFm/AHq8PPe3Umye21nDv9Y3WsjUSOHVnoineNvu7TgCrM3 zMbguj4sdWhFocUJOHqsaSOPQGbOMK2xUOk67rWdB8p1OIeyyk5p6lP77xbcbNiO GZeEA9DQAdbXqDNSdkzBtfSRRNjR4dD6eJNpPgfRHRA24KL1H1UXsKCYluTiBq6N p5xjlyCu5F6gqDDd6yc1ksXM7olVjpFjSThmKsmGemARbFRQHaFiraadwU5ER5xu 7TTYiVmScQElu5M2hWZ3SeoHfZ7coZcmEmlwqgED0A+oSEKx0L0XyN428CX/mzSE Crc9VbnEJ7Bqb8SpZZVml65ieDou1Uatb93DWYQsHp3M1zQ5pYOffkZ2a0sbk84U aKBfDrlK1A+K7JTP26KJpg9Cxg0Cft0zYTAHeiCgoYDIjVUpc1SDtJbyMdZ2+J0L oKE/eCmcDzZRmhikncS3g6ZWB4j1HTgjcBTcbAkzyYYgKzIOXyiJPraKv+d4kEvU lFOkBOjyq+YT0X+wrH2je2uU/hYhf7/hc1w9hZFa9yj5MYciBxFQlMH5HUmlHXp9 sa3SN/AcHg2rkbkjXykFnnQbhLggz4t8hrvYXkPKKPkQX6QnNAWDIFPYpQFedIMg U6/HxSMnz0ghxFz5Jl38HpoAF6irIHlKRCwjPSwkzSkHRgX+xlM= =LqWA -END PGP SIGNATURE- --- No new revisions were added by this update. Summary of changes:
[incubator-nuttx] annotated tag nuttx-10.1.0-RC0 updated (f380c91 -> e290709)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.1.0-RC0 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. *** WARNING: tag nuttx-10.1.0-RC0 was modified! *** from f380c91 (commit) to e290709 (tag) tagging f380c919f04d5ee88e0a83f5632cc83af503664f (commit) replaces nuttx-8.2 by Alin Jerpelea on Sun Apr 18 15:45:32 2021 +0200 - Log - nuttx-10.1.0-RC0 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEwmzlsfLwjbwMTeJAnnEbrTJkwGEFAmB8N/wACgkQnnEbrTJk wGFJxA//T7KVkktEht2dZwqb2og8B0S9i4tZ5dihgpJJ7c0RBm+0YG/sZPy8QsA/ Jd36h8gL9C8ODbTpCBYgODHGUaleJ5WBkVt0sBz6OMG3T6YrwBbuiEBtl9DGW3lL 22oUgo488Hj06lzGh9BAvLY1/Hxw/YtGqiuvvuTsYS/ixy2VXnGQHl4micEkAZgK UAakYupsvqi+3YOuok6wqKu1177JYPYl2MHLAhTd7LMab82vHsNGkxsVdzfZu4Ti OMDVgizr68oW7hZyDw/YQVgvOLAT2Qtpa+34YyxIMUlay3I5kxcA+Dbzpl1w8BYk yDhGPc3EcOEpZ/Y/u0WhwJqEU57L9ONETCS+9VZuTx7omZAl8l5K/6LiM4VZPjN8 Xf3geldnmMMYk6F6xt2ZWs7s3Qiw+TslBGkVqyKwUquSwnDC5clGzny8ywB4MCxD y5phmcuIxtqaZpoiA2EbaUx/5QciEUSps/f3ESohD5toArA5bu/x5gsbnjdlFMXS buJT30pSZdvdNLy3aOR6mXyKCguHIIXki0X/CQn7o2tsYsYos9oRiszkUgVy3AsB mPzj2wysQg/TToYyFPruOuZfFyI9OnHnwpLg6f5d2CETx6+ZAbvEyUWtXOlBgjyq j5BjkOHV0k0KLT0ePb3zmoeNN2/D8NcoMq2qRxFmgLCYVrn96vM= =RcjS -END PGP SIGNATURE- --- No new revisions were added by this update. Summary of changes:
svn commit: r47140 - /dev/incubator/nuttx/KEYS
Author: jerpelea Date: Sun Apr 18 13:34:04 2021 New Revision: 47140 Log: Update Alin Jerpelea GPG key Modified: dev/incubator/nuttx/KEYS Modified: dev/incubator/nuttx/KEYS == --- dev/incubator/nuttx/KEYS (original) +++ dev/incubator/nuttx/KEYS Sun Apr 18 13:34:04 2021 @@ -165,3 +165,62 @@ r/VTvAFkjptMDwTWRNEZgJZ9XbLTnX2WYkDb3iih /QpmaoTHvUyZlqu89uOjOjjCyw== =+AuG -END PGP PUBLIC KEY BLOCK- +pub rsa4096 2021-04-18 [SC] + C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 +uid [ultimate] Alin Jerpelea +sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea +sub rsa4096 2021-04-18 [E] +sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea + +-BEGIN PGP PUBLIC KEY BLOCK- + +mQINBGB8LLgBEACnqSsX3tibNxAPbFFm0Tz1bhI459K6DiD1rkH+JHLbALSLUFb/ +dwN0HOpOxc1OP1EfWN/M3k/V0AT8Kta6StVIHhIQqyzIlTsi4UHvOF7fyQTok9u9 +GQr+ZkVNuiQwU6PSJcGBZXv0eLurtXv1oNbnUhVyjsSOXs6ejEtJIsGdLwbCQWaI +ObBe9sHFeAAIMyVOstSoDenA1I8//XZALNBBEmgsN9yROExduP+Jr05TliMmnKOS +bH9BgTEO6fEMTHjerGtdUO4OmqnBM640q/pBtI//QfE9oMBdkrBZ4NtsFWCYtP1G +YUMG1VRxDY0DdQDQ9eaD2IrmsELjN0wO61eGQKMyAZ5zpBcJN7WC+LdF7wymVTO5 +rRMyAtNO2OVCmrKExmwFC5vDl3F1JG2l2V2PltJoas3ixh4aoBXOP660GhnidC5K +Y0AQL3RxLVc61eyeomxLVkr4nTO0RKZ4TpQWqKE+G72ZmroXVGO7qTC1sElCN8qV +XLqg1GKxVxZx2XDgGBesbhyqy75Fp3+DvlOv+XO1glXDudtNeg3VJQm1PQuej8sa +4nvBOGOUogQHQ1pPD4OUwXjFttF2w6PDJz8UjCiI2oUmkaB1ymedNsXmFXvn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3WLwOa4A0z6MWLf7iTZDhQ3q7d5 +KPK9v/NOt1pZaEUxMd01AbV6Llqovpdrs8MDXHbPCD3Buv6nWcBAkvTOEJJ53UeS +V0VM3ilfjqg+Z+p93TL9zfCYWu+Nofv6iiSvDbzk7h2+XKLnoWlI0PItJZI3cSmm +zBRYzyn3jt9JvsLbjeUlVXiBbEjwo3RK1yuXI1TJ0AZOeUlSdZEGyF1lmYlo9gXV +6Bfck2paBOP5WsOd+m7Qlw7M4iXbBfLcikf/+4SvSScP3pPI7GtuDrVOIfHTad7/ +Ono= +=OklP +-END PGP PUBLIC KEY BLOCK-
svn commit: r47139 - /release/incubator/nuttx/KEYS
Author: jerpelea Date: Sun Apr 18 13:30:01 2021 New Revision: 47139 Log: Update Alin Jerpelea GPG key Modified: release/incubator/nuttx/KEYS Modified: release/incubator/nuttx/KEYS == --- release/incubator/nuttx/KEYS (original) +++ release/incubator/nuttx/KEYS Sun Apr 18 13:30:01 2021 @@ -165,51 +165,62 @@ r/VTvAFkjptMDwTWRNEZgJZ9XbLTnX2WYkDb3iih /QpmaoTHvUyZlqu89uOjOjjCyw== =+AuG -END PGP PUBLIC KEY BLOCK- -pub rsa3072 2021-04-18 [SC] [expires: 2023-04-18] - 887E03B58943F02D81F1AA668D9E2916AD8EDEAC +pub rsa4096 2021-04-18 [SC] + C26CE5B1F2F08DBC0C4DE2409E711BAD3264C061 uid [ultimate] Alin Jerpelea -sig 38D9E2916AD8EDEAC 2021-04-18 Alin Jerpelea -sub rsa3072 2021-04-18 [E] [expires: 2023-04-18] -sig 8D9E2916AD8EDEAC 2021-04-18 Alin Jerpelea +sig 39E711BAD3264C061 2021-04-18 Alin Jerpelea +sub rsa4096 2021-04-18 [E] +sig 9E711BAD3264C061 2021-04-18 Alin Jerpelea -BEGIN PGP PUBLIC KEY BLOCK- -mQGNBGB8AvwBDADwGLY3QcavyxQ+IJAEQBh7PQJYU0cTanpYkWC8jpcavlPZH0mD -wY6v0mr77ogihgGW4TT1muho1/95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KbswfAflrdt/XD07PzS0a5ZPLB2gW1GSVVTTPIPBGjIgDuKZnjc7rmOqEufvZsq +Xqo6+gFYdmSWaN5XNZ/uSnk1Bk2FZ1CdQCnaf87rGhlS40jgZrC0mhGA2L5aQlFO +kBjf5KfNSn5KmQH8Zqv+rID6mKWMTcl3y+Kr4kNF6z2TYtFdU1ceIhG5U3rfBdcT +na6kclVmk8VU7Cv36gW5XK1mLpdmBuF8HkO1xqhHNOqD1KMMRAUH8t3i9bdjAjK1 +UIkOekpue9BUaHw+6smcxqSUh8pQzKERliRHtzejIy4P+Ar1fQ57M78fRSbZIati +Bpj8Ed/9yj+UAsIGD3kT92WBIT8L/ru/gi//dwoAOpTjVLQTd60QCkS9Q9ZjYx41 +m3d4yWXDxa/+C5QbezhzPTobeJRfJLtIrdUdxO7KZ8JuWPUFpkSaRa8IzungPulE +e+/dMatvfoXNrzeL526PK6B9v6PJYrrSeIYUHiq5cw2OA/PTyviZoux7UKcTVPkS +4GDboPK
svn commit: r47138 - /release/incubator/nuttx/KEYS
Author: jerpelea Date: Sun Apr 18 12:39:08 2021 New Revision: 47138 Log: Add Alin Jerpelea GPG key Modified: release/incubator/nuttx/KEYS Modified: release/incubator/nuttx/KEYS == --- release/incubator/nuttx/KEYS (original) +++ release/incubator/nuttx/KEYS Sun Apr 18 12:39:08 2021 @@ -165,3 +165,51 @@ r/VTvAFkjptMDwTWRNEZgJZ9XbLTnX2WYkDb3iih /QpmaoTHvUyZlqu89uOjOjjCyw== =+AuG -END PGP PUBLIC KEY BLOCK- +pub rsa3072 2021-04-18 [SC] [expires: 2023-04-18] + 887E03B58943F02D81F1AA668D9E2916AD8EDEAC +uid [ultimate] Alin Jerpelea +sig 38D9E2916AD8EDEAC 2021-04-18 Alin Jerpelea +sub rsa3072 2021-04-18 [E] [expires: 2023-04-18] +sig 8D9E2916AD8EDEAC 2021-04-18 Alin Jerpelea + +-BEGIN PGP PUBLIC KEY BLOCK- + +mQGNBGB8AvwBDADwGLY3Qcav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8YnJ5dmi/5AGxsjRUIpAB7t5hHK2HTm6RUn+GISOp3crTXfTdjfZM5rvohT +on6WNGU4zJotbs1g+n315LNizs1B35Hj99/O+m+ukiSAvqfTtpi0qMe0q9rE3u7C +wNwF/I5RKgiHGdcup1t/HxjUpZ6vGdWwavbF4u9CXd0HP/FS6W0ljolgBF1wbS3O +8+FWeU8rA6M5rltC3AJbcj/jD6/CAReirnOF0PYR +=qZ5m +-END PGP PUBLIC KEY BLOCK-
[incubator-nuttx] branch releases/10.1 updated: drivers: wireless: Fix to receive a UDP packet partially in gs2200m.c
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch releases/10.1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/releases/10.1 by this push: new 367dc9a drivers: wireless: Fix to receive a UDP packet partially in gs2200m.c 367dc9a is described below commit 367dc9a29ae0cff677d89e306f0e350fbb601cb5 Author: Masayuki Ishikawa AuthorDate: Tue Apr 13 18:27:09 2021 +0900 drivers: wireless: Fix to receive a UDP packet partially in gs2200m.c Summary: - When receiving a UDP packet partially, the rest of the packet must be discarded. Impact: - None Testing: - Tested with a UDP sample program Reported-by: Masatoshi Ueno Signed-off-by: Masayuki Ishikawa --- drivers/wireless/gs2200m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c index f8a25bf..bd28cb9 100644 --- a/drivers/wireless/gs2200m.c +++ b/drivers/wireless/gs2200m.c @@ -650,7 +650,7 @@ static bool _copy_data_from_pkt(FAR struct gs2200m_dev_s *dev, pkt_dat->remain -= len; - if (0 == pkt_dat->remain) + if (0 == pkt_dat->remain || TYPE_BULK_DATA_UDP == pkt_dat->type) { _remove_and_free_pkt(dev, c); }
[incubator-nuttx] branch releases/10.1 updated: drivers: wireless: Fix AT command response handling in gs2200m.c
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch releases/10.1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/releases/10.1 by this push: new a4b1cea drivers: wireless: Fix AT command response handling in gs2200m.c a4b1cea is described below commit a4b1cea3ba14ba0239c84e62ad93739e99a04be9 Author: Masayuki Ishikawa AuthorDate: Fri Apr 16 06:53:40 2021 +0900 drivers: wireless: Fix AT command response handling in gs2200m.c Summary: - When sending an AT command during receiving a bulk packet, the bulk packet might be put in the AT command response. - To handle such the case, gs2200m_send_cmd2() is newly introduced instead of using gs2200m_send_cmd(dev, cmd, NULL) Impact: - All use cases that send an AT command in gs2200m.c Testing: - Tested with renew and nxplayer with spresense:wifi Reported-by: Masatoshi Ueno Signed-off-by: Masayuki Ishikawa --- drivers/wireless/gs2200m.c | 67 +++--- 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c index ac5f84e..f8a25bf 100644 --- a/drivers/wireless/gs2200m.c +++ b/drivers/wireless/gs2200m.c @@ -1569,6 +1569,27 @@ errout: } / + * Name: gs2200m_send_cmd2 + / + +static enum pkt_type_e gs2200m_send_cmd2(FAR struct gs2200m_dev_s *dev, + FAR char *cmd) +{ + struct pkt_dat_s pkt_dat; + enum pkt_type_e r; + + /* Initialize pkt_dat and send */ + + memset(_dat, 0, sizeof(pkt_dat)); + r = gs2200m_send_cmd(dev, cmd, _dat); + + /* Release the pkt_dat */ + + _release_pkt_dat(dev, _dat); + return r; +} + +/ * Name: gs2200m_set_opmode * NOTE: See 5.1.2 Operation Mode / @@ -1580,7 +1601,7 @@ static enum pkt_type_e gs2200m_set_opmode(FAR struct gs2200m_dev_s *dev, char cmd[20]; snprintf(cmd, sizeof(cmd), "AT+WM=%d\r\n", mode); - t = gs2200m_send_cmd(dev, cmd, NULL); + t = gs2200m_send_cmd2(dev, cmd); if (TYPE_OK == t) { @@ -1636,7 +1657,7 @@ errout: static enum pkt_type_e gs2200m_disassociate(FAR struct gs2200m_dev_s *dev) { - return gs2200m_send_cmd(dev, (char *)"AT+WD\r\n", NULL); + return gs2200m_send_cmd2(dev, (char *)"AT+WD\r\n"); } / @@ -1650,7 +1671,7 @@ static enum pkt_type_e gs2200m_enable_dhcpc(FAR struct gs2200m_dev_s *dev, char cmd[16]; snprintf(cmd, sizeof(cmd), "AT+NDHCP=%d\r\n", on); - return gs2200m_send_cmd(dev, cmd, NULL); + return gs2200m_send_cmd2(dev, cmd); } / @@ -1664,7 +1685,7 @@ static enum pkt_type_e gs2200m_calc_key(FAR struct gs2200m_dev_s *dev, char cmd[80]; snprintf(cmd, sizeof(cmd), "AT+WPAPSK=%s,%s\r\n", ssid, psk); - return gs2200m_send_cmd(dev, cmd, NULL); + return gs2200m_send_cmd2(dev, cmd); } / @@ -1678,7 +1699,7 @@ static enum pkt_type_e gs2200m_set_security(FAR struct gs2200m_dev_s *dev, char cmd[16]; snprintf(cmd, sizeof(cmd), "AT+WSEC=%d\r\n", mode); - return gs2200m_send_cmd(dev, cmd, NULL); + return gs2200m_send_cmd2(dev, cmd); } / @@ -1749,7 +1770,8 @@ static enum pkt_type_e gs2200m_set_addresses(FAR struct gs2200m_dev_s *dev, snprintf(cmd, sizeof(cmd), "AT+NSET=%s,%s,%s\r\n", address, netmask, gateway); - return gs2200m_send_cmd(dev, cmd, NULL); + + return gs2200m_send_cmd2(dev, cmd); } / @@ -1763,7 +1785,7 @@ static enum pkt_type_e gs2200m_enable_dhcps(FAR struct gs2200m_dev_s *dev, char cmd[20]; snprintf(cmd, sizeof(cmd), "AT+DHCPSRVR=%d\r\n", on); - return gs2200m_send_cmd(dev, cmd, NULL); + return gs2200m_send_cmd2(dev, cmd); } / @@ -1777,7 +1799,7 @@ static enum pkt_type_e gs2200m_set_auth(FAR struct gs2200m_dev_s *dev, char cmd[16]; snprintf(cmd, sizeof(cmd), "AT+WAUTH=%d\r\n", mode); - return gs2200m_send_cmd(dev, cmd, NULL); + return gs2200m_send_cmd2(dev, cmd); } #ifdef CONFIG_WL_GS2200M_ENABLE_WEP @@ -1793,7 +1815,7 @@ static enum pkt_type_e gs2200m_set_wepkey(FAR struct gs2200m_dev_s
[incubator-nuttx] branch master updated (60b5612 -> 961e1bc)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 60b5612 boards:rv64:c906:add sotest demo for smartl-c906. add 961e1bc documentation: Add release notes for 10.1.0 release No new revisions were added by this update. Summary of changes: ReleaseNotes | 961 +++ 1 file changed, 961 insertions(+)
[incubator-nuttx-apps] branch releases/10.1 created (now a333a90)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch releases/10.1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. at a333a90 examples: Update missing DJOYSTICK macro to new INPUT template No new revisions were added by this update.
[incubator-nuttx] branch releases/10.1 created (now d37275f)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch releases/10.1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. at d37275f stm32f7: Freeze tickless timer during debug halt. No new revisions were added by this update.
[incubator-nuttx] branch master updated (445770a -> 27425f3)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 445770a arch: sim: Refactor signal handling add 27425f3 arch/z80: Remove the temporary file ez80_serial.c.SAVE No new revisions were added by this update. Summary of changes: arch/z80/src/ez80/ez80_serial.c.SAVE | 850 --- 1 file changed, 850 deletions(-) delete mode 100644 arch/z80/src/ez80/ez80_serial.c.SAVE
[incubator-nuttx] branch master updated (ee32535 -> 4e66d55)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from ee32535 arch: arm: nuc1xx: fix nxstyle errors add 4e66d55 arch/arm: Fix the style warning No new revisions were added by this update. Summary of changes: arch/arm/src/armv7-a/arm_allocpage.c | 8 +- arch/arm/src/armv7-a/cp15_cacheops.h | 138 +-- arch/arm/src/armv7-a/sctlr.h | 46 ++-- arch/arm/src/armv7-r/cp15_cacheops.h | 132 - arch/arm/src/armv7-r/sctlr.h | 36 - arch/arm/src/armv8-m/etm.h | 8 +- 6 files changed, 184 insertions(+), 184 deletions(-)
[incubator-nuttx] branch master updated (1821352 -> 6f6a5a7)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 1821352 sim: Enable the sanitizers in HOSTLDFLAGS as well add 0bbb720 boards/arm/imxrt: Fix nxstyle warning in imxrt1060-evk/src/imxrt_boot.c add 6f6a5a7 arch/arm: Fix nxstyle warning in stm32h7/stm32_dma.c No new revisions were added by this update. Summary of changes: arch/arm/src/stm32h7/stm32_dma.c| 806 boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c | 3 +- 2 files changed, 405 insertions(+), 404 deletions(-)
[incubator-nuttx] branch master updated (2775cad -> a0fae8c)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 2775cad Increase the system timer rate: add a0fae8c boards/arm/stm32l4: Fix nxstyle warning No new revisions were added by this update. Summary of changes: boards/arm/stm32l4/nucleo-l496zg/src/stm32_dfsdm.c | 35 +++--- 1 file changed, 31 insertions(+), 4 deletions(-)
[incubator-nuttx] branch master updated: arch/stm32l4: Fix nxstyle errors
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 5b813f0 arch/stm32l4: Fix nxstyle errors 5b813f0 is described below commit 5b813f0c14cd7c951bf581882c6aea2caab44d6f Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Tue Mar 16 11:01:47 2021 -0400 arch/stm32l4: Fix nxstyle errors arch/arm/include/stm32l4/stm32l4x3xx_irq.h: arch/arm/include/stm32l4/stm32l4xrxx_irq.h: * Fix nxstyle errors. --- arch/arm/include/stm32l4/stm32l4x3xx_irq.h | 78 -- arch/arm/include/stm32l4/stm32l4xrxx_irq.h | 66 + 2 files changed, 76 insertions(+), 68 deletions(-) diff --git a/arch/arm/include/stm32l4/stm32l4x3xx_irq.h b/arch/arm/include/stm32l4/stm32l4x3xx_irq.h index eaeb0c6..69759bb 100644 --- a/arch/arm/include/stm32l4/stm32l4x3xx_irq.h +++ b/arch/arm/include/stm32l4/stm32l4x3xx_irq.h @@ -1,4 +1,4 @@ -/ +/ * arch/arm/include/stm32l4/stm32l4x3xx_irq.h * * Copyright (C) 2015 Sebastien Lorquet. All rights reserved. @@ -33,47 +33,51 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - / + / -/* This file should never be included directly but, rather, only indirectly through arch/irq.h */ +/* This file should never be included directly but, rather, only indirectly + * through arch/irq.h + */ #ifndef __ARCH_ARM_INCLUDE_STM32L4_STM32L4X3XX_IRQ_H #define __ARCH_ARM_INCLUDE_STM32L4_STM32L4X3XX_IRQ_H -/ +/ * Included Files - / + / #include -/ +/ * Pre-processor Definitions - / + / -/* IRQ numbers. The IRQ number corresponds vector number and hence map directly to bits in the - * NVIC. This does, however, waste several words of memory in the IRQ to handle mapping tables. +/* IRQ numbers. The IRQ number corresponds vector number and hence map + * directly to bits in the NVIC. This does, however, waste several words of + * memory in the IRQ to handle mapping tables. * - * Processor Exceptions (vectors 0-15). These common definitions can be found in the file - * nuttx/arch/arm/include/stm32l4/irq.h which includes this file + * Processor Exceptions (vectors 0-15). These common definitions can be + * found in the file nuttx/arch/arm/include/stm32l4/irq.h which includes + * this file * * External interrupts (vectors >= 16) * - * These interrupts vectors was implemented based on RM0394 Table 45 and should work for - * STM32L431xx, STM32L451xx, STM32L4X2 and STM32L4X3. + * These interrupts vectors was implemented based on RM0394 Table 45 and + * should work for STM32L431xx, STM32L451xx, STM32L4X2 and STM32L4X3. * */ -#define STM32L4_IRQ_WWDG(STM32L4_IRQ_FIRST + 0) /* 0: Window Watchdog interrupt */ -#define STM32L4_IRQ_PVD (STM32L4_IRQ_FIRST + 1) /* 1: PVD through EXTI Line detection interrupt */ -#define STM32L4_IRQ_TAMPER (STM32L4_IRQ_FIRST + 2) /* 2: Tamper and time stamp interrupts */ -#define STM32L4_IRQ_TIMESTAMP (STM32L4_IRQ_FIRST + 2) /* 2: Tamper and time stamp interrupts */ -#define STM32L4_IRQ_RTC_WKUP(STM32L4_IRQ_FIRST + 3) /* 3: RTC global interrupt */ -#define STM32L4_IRQ_FLASH (STM32L4_IRQ_FIRST + 4) /* 4: Flash global interrupt */ -#define STM32L4_IRQ_RCC (STM32L4_IRQ_FIRST + 5) /* 5: RCC global interrupt */ -#define STM32L4_IRQ_EXTI0 (STM32L4_IRQ_FIRST + 6) /* 6: EXTI Line 0 interrupt */ -#define STM32L4_IRQ_EXTI1 (STM32L4_IRQ_FIRST + 7) /* 7: EXTI Line 1 interrupt */ -#define STM32L4_IRQ_EXTI2 (STM32L4_IRQ_FIRST + 8) /* 8: EXTI Line 2 interrupt */ -#define STM32L4_IRQ_EXTI3 (STM32L4_IRQ_FIRST + 9) /* 9: EXTI Line 3 interrupt */ +#define STM32L4
[incubator-nuttx] branch master updated: arch/stm32f7: Fix nxstyle errors
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 13816de arch/stm32f7: Fix nxstyle errors 13816de is described below commit 13816de7ac78af4c0e8eccdcfe3f7647adc0b0b6 Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Mon Mar 15 09:46:27 2021 -0400 arch/stm32f7: Fix nxstyle errors arch/arm/include/stm32f7/chip.h: arch/arm/include/stm32f7/irq.h: arch/arm/include/stm32f7/stm32f72xx73xx_irq.h: arch/arm/include/stm32f7/stm32f74xx75xx_irq.h: arch/arm/include/stm32f7/stm32f76xx77xx_irq.h: * Fix nxstyle errors. --- arch/arm/include/stm32f7/chip.h | 16 +- arch/arm/include/stm32f7/irq.h| 40 ++-- arch/arm/include/stm32f7/stm32f72xx73xx_irq.h | 46 ++--- arch/arm/include/stm32f7/stm32f74xx75xx_irq.h | 40 ++-- arch/arm/include/stm32f7/stm32f76xx77xx_irq.h | 258 +- 5 files changed, 210 insertions(+), 190 deletions(-) diff --git a/arch/arm/include/stm32f7/chip.h b/arch/arm/include/stm32f7/chip.h index 1a31384..a77dae3 100644 --- a/arch/arm/include/stm32f7/chip.h +++ b/arch/arm/include/stm32f7/chip.h @@ -1,4 +1,4 @@ -/ +/ * arch/arm/include/stm32f7/chip.h * * Copyright (C) 2015-2017 Gregory Nutt. All rights reserved. @@ -33,20 +33,21 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - / + / #ifndef __ARCH_ARM_INCLUDE_STM32F7_CHIP_H #define __ARCH_ARM_INCLUDE_STM32F7_CHIP_H -/ +/ * Included Files - / + / #include -/ +/ * Pre-processor Definitions - / + / + /* STM32F722xx, STM32F723xx, * STM32F745xx, STM32F746xx, STM32F756xx, STM32F765xx, STM32F767xx, STM32F768xx, * STM32F769xx, STM32F777xx and STM32F779xx Differences between family members: @@ -373,7 +374,8 @@ #define STM32F7_NDFSDM 0 /* No Digital filters */ #endif -/* NVIC priority levels */ +/* NVIC priority levels */ + /* 16 Programmable interrupt levels */ #define NVIC_SYSH_PRIORITY_MIN 0xf0 /* All bits set in minimum priority */ diff --git a/arch/arm/include/stm32f7/irq.h b/arch/arm/include/stm32f7/irq.h index eb4042d..2147d54 100644 --- a/arch/arm/include/stm32f7/irq.h +++ b/arch/arm/include/stm32f7/irq.h @@ -1,4 +1,4 @@ -/ +/ * arch/arm/include/stm32f7/irq.h * * Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved. @@ -32,7 +32,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - / + / /* This file should never be included directly but, rather, * only indirectly through nuttx/irq.h @@ -41,19 +41,19 @@ #ifndef __ARCH_ARM_INCLUDE_STM32F7_IRQ_H #define __ARCH_ARM_INCLUDE_STM32F7_IRQ_H -/ +/ * Included Files - / + / #i
[incubator-nuttx] branch master updated (7d406c9 -> c3ace7a)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 7d406c9 xtensa_backtrace.S: Fix the file header. add 7083618 boards: Kconfig: Introduce CONFIG_ARCH_LEDS_CPU_ACTIVITY add d4d996c boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY to board.h and cxd56_leds.c add ad09455 arch: cxd56xx: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY to cxd56_idle.c and cxd56_irq.c add c3ace7a boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY=y to rndis_smp and wifi_smp No new revisions were added by this update. Summary of changes: arch/arm/src/cxd56xx/cxd56_idle.c | 6 +-- arch/arm/src/cxd56xx/cxd56_irq.c | 6 +++ boards/Kconfig | 9 .../cxd56xx/spresense/configs/rndis_smp/defconfig | 1 + .../cxd56xx/spresense/configs/wifi_smp/defconfig | 1 + boards/arm/cxd56xx/spresense/include/board.h | 12 ++ boards/arm/cxd56xx/spresense/src/cxd56_leds.c | 48 ++ 7 files changed, 80 insertions(+), 3 deletions(-)
[incubator-nuttx] branch master updated: drivers: wireless: Change retry condition in gs2200m_hal_write()
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 0c68ddb drivers: wireless: Change retry condition in gs2200m_hal_write() 0c68ddb is described below commit 0c68ddb760f46df9d3e3223a6a9e0fda91543fe7 Author: Masayuki Ishikawa AuthorDate: Tue Feb 2 08:03:58 2021 +0900 drivers: wireless: Change retry condition in gs2200m_hal_write() Summary: - During Wi-Fi stress test, I noticed that ASSERT() happened in gs2200m_hal_write(). Actually, this happens in 20-40 hours. - In this case, resp[1] was always 0x0 which is not defined in the spec. - In the previous implementation, retry was only done in case of WR_RESP_NOK. (0x13) - This commit changes this condition and it reties in case of 0x0 as well Impact: - gs2200m driver Testing: - Tested with spresense:wifi_smp and stm32f4discovery:wifi Signed-off-by: Masayuki Ishikawa --- drivers/wireless/gs2200m.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c index 7e6c590..ac5f84e 100644 --- a/drivers/wireless/gs2200m.c +++ b/drivers/wireless/gs2200m.c @@ -969,11 +969,12 @@ retry: _read_data(dev, res, sizeof(res)); - /* In case of NOK, retry */ + /* In case of NOK or 0x0, retry */ - if (WR_RESP_NOK == res[1]) + if (WR_RESP_NOK == res[1] || 0x0 == res[1]) { - wlwarn("*** warning: WR_RESP_NOK received.. retrying. (n=%d) \n", n); + wlwarn("*** warning: 0x%x received.. retrying. (n=%d) \n", + res[1], n); nxsig_usleep(10 * 1000); if (WR_MAX_RETRY < n)
[incubator-nuttx-apps] branch master updated: netdb: Fix usage and comment
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new bb620bb netdb: Fix usage and comment bb620bb is described below commit bb620bb95c52415d048bd41aceeb6c22788de821 Author: YAMAMOTO Takashi AuthorDate: Wed Jan 27 17:14:59 2021 +0900 netdb: Fix usage and comment --- system/netdb/netdb_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/netdb/netdb_main.c b/system/netdb/netdb_main.c index 4a83dd6..9285a73 100644 --- a/system/netdb/netdb_main.c +++ b/system/netdb/netdb_main.c @@ -82,11 +82,11 @@ static void show_usage(FAR const char *progname, int exitcode) noreturn_function; static void show_usage(FAR const char *progname, int exitcode) { - fprintf(stderr, "USAGE: %s --ipv4 \n", progname); #ifdef HAVE_GETHOSTBYADDR + fprintf(stderr, "USAGE: %s --ipv4 \n", progname); fprintf(stderr, " %s --ipv6 \n", progname); - fprintf(stderr, " %s --host \n", progname); #endif + fprintf(stderr, " %s --host \n", progname); fprintf(stderr, " %s --help\n", progname); exit(exitcode); } @@ -152,7 +152,7 @@ int main(int argc, FAR char *argv[]) } } - /* Handle: netdb --ipv46 */ + /* Handle: netdb --ipv6 */ else if (strcmp(argv[1], "--ipv6") == 0) {
[incubator-nuttx-apps] branch master updated (3b21cd9 -> 87c876c)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. from 3b21cd9 netutils/ntpclient: add more features add 87c876c netcat: Fix a buffer overflow No new revisions were added by this update. Summary of changes: netutils/netcat/netcat_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
[incubator-nuttx] branch master updated (394cfba -> 7f2317e)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 394cfba Fix himem debug assert error add 94da3e4 arch: Remove critical section inside up_schedule_sigaction add 7f2317e Fix nxstyle warning No new revisions were added by this update. Summary of changes: arch/arm/src/arm/arm_schedulesigaction.c | 11 +++-- arch/arm/src/armv6-m/arm_schedulesigaction.c | 11 +++-- arch/arm/src/armv7-a/arm_schedulesigaction.c | 18 +++ arch/arm/src/armv7-m/arm_schedulesigaction.c | 18 +++ arch/arm/src/armv7-r/arm_schedulesigaction.c | 11 +++-- arch/arm/src/armv8-m/arm_schedulesigaction.c | 18 +++ arch/avr/src/avr/up_schedulesigaction.c| 10 +++-- arch/avr/src/avr32/up_schedulesigaction.c | 11 +++-- arch/mips/src/mips32/mips_schedulesigaction.c | 10 +++-- arch/misoc/src/lm32/lm32_schedulesigaction.c | 11 +++-- arch/misoc/src/minerva/minerva_schedulesigaction.c | 11 +++-- arch/or1k/src/common/up_schedulesigaction.c| 11 +++-- arch/renesas/src/m16c/m16c_schedulesigaction.c | 11 +++-- arch/renesas/src/rx65n/rx65n_schedulesigaction.c | 11 +++-- arch/renesas/src/sh1/sh1_schedulesigaction.c | 11 +++-- arch/risc-v/src/gap8/gap8_schedulesigaction.c | 6 ++--- arch/risc-v/src/nr5m100/nr5_schedulesigaction.c| 10 +++-- arch/risc-v/src/rv32im/riscv_schedulesigaction.c | 10 +++-- arch/risc-v/src/rv64gc/riscv_schedulesigaction.c | 17 +++--- arch/sim/src/sim/up_schedulesigaction.c| 3 +++ arch/x86/src/i486/up_schedulesigaction.c | 22 -- arch/x86_64/src/intel64/up_schedulesigaction.c | 26 ++ arch/xtensa/src/common/xtensa_schedsigaction.c | 18 +++ arch/z16/src/common/z16_schedulesigaction.c| 11 +++-- arch/z80/src/ez80/ez80_schedulesigaction.c | 11 +++-- arch/z80/src/z180/z180_schedulesigaction.c | 11 +++-- arch/z80/src/z8/z8_schedulesigaction.c | 11 +++-- arch/z80/src/z80/z80_schedulesigaction.c | 11 +++-- 28 files changed, 99 insertions(+), 252 deletions(-)
[incubator-nuttx] branch master updated (eaae5dc -> 2016f96)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from eaae5dc graphics: nxmu: Fix a compile warning with CONFIG_DEBUG_ASSERTIONS=y add c00141c arch/xtensa/Kconfig: The ESP32 has a different numbers for vectors and IRQs. add 6875207 boards/xtensa/esp32/esp32-wrover-kit: Add an example on how to use GPIO interrupts. add 2016f96 boards/xtensa/esp32/esp32-wrover-kit/README.txt: Document the configurations. No new revisions were added by this update. Summary of changes: arch/xtensa/Kconfig| 1 + boards/xtensa/esp32/esp32-wrover-kit/README.txt| 34 +++ .../configs/{leds => gpio}/defconfig | 7 +- .../xtensa/esp32/esp32-wrover-kit/include/board.h | 5 + boards/xtensa/esp32/esp32-wrover-kit/src/Make.defs | 4 + .../esp32/esp32-wrover-kit/src/esp32-wrover-kit.h | 8 + .../esp32/esp32-wrover-kit/src/esp32_bringup.c | 9 + .../esp32/esp32-wrover-kit/src/esp32_gpio.c} | 256 ++--- 8 files changed, 193 insertions(+), 131 deletions(-) copy boards/xtensa/esp32/esp32-wrover-kit/configs/{leds => gpio}/defconfig (93%) copy boards/{arm/stm32/nucleo-f429zi/src/stm32_gpio.c => xtensa/esp32/esp32-wrover-kit/src/esp32_gpio.c} (51%)
[incubator-nuttx] branch master updated (15480e5 -> 0dc6990)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 15480e5 arch/stm32h7: Fix nxstyle errors add 0536953 Kernel module should prefer functions with nx/kmm prefix add 0dc6990 Fix nxstyle warning No new revisions were added by this update. Summary of changes: arch/arm/src/cxd56xx/cxd56_dmac.c | 2 +- arch/arm/src/cxd56xx/cxd56_gnss.c | 60 ++- arch/arm/src/cxd56xx/cxd56_icc.c | 3 +- arch/arm/src/cxd56xx/cxd56_scu.c | 5 +- arch/arm/src/cxd56xx/cxd56_usbdev.c| 3 +- arch/arm/src/lc823450/lc823450_ipl2.c | 49 - arch/arm/src/samv7/sam_eefc.c | 1 - arch/arm/src/samv7/sam_ssc.c | 2 +- arch/arm/src/xmc4/xmc4_spi.c | 2 +- arch/x86_64/include/intel64/irq.h | 3 +- arch/xtensa/src/esp32/esp32_wifi_adapter.c | 116 - binfmt/builtin.c | 13 ++- binfmt/libelf/libelf_init.c| 11 +- binfmt/libelf/libelf_read.c| 7 +- binfmt/libelf/libelf_uninit.c | 2 +- binfmt/libnxflat/libnxflat_init.c | 12 +-- binfmt/libnxflat/libnxflat_read.c | 7 +- binfmt/libnxflat/libnxflat_uninit.c| 2 +- boards/arm/cxd56xx/spresense/src/cxd56_sdcard.c| 4 +- boards/arm/lpc31xx/ea3131/src/lpc31_fillpage.c | 36 --- boards/arm/lpc31xx/ea3152/src/lpc31_fillpage.c | 36 --- boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c | 4 +- boards/arm/stm32/nucleo-f334r8/src/stm32_highpri.c | 4 +- boards/arm/stm32/photon/src/stm32_rgbled.c | 5 +- .../arm/stm32/stm32f429i-disco/src/stm32_highpri.c | 4 +- boards/z80/ez80/z20x/src/w25_main.c| 6 +- drivers/analog/ads7828.c | 1 - drivers/lcd/tda19988.c | 35 --- drivers/loop/losetup.c | 6 +- drivers/modem/altair/altmdm_spi.c | 2 +- drivers/modem/altair/altmdm_sys.c | 10 +- drivers/mtd/filemtd.c | 4 +- drivers/mtd/smart.c| 4 +- drivers/power/bq769x0.c| 2 +- drivers/serial/serial_dma.c| 2 +- drivers/serial/serial_io.c | 4 +- drivers/wireless/ieee802154/mrf24j40/mrf24j40.c| 2 - fs/driver/fs_mtdproxy.c| 4 +- fs/hostfs/hostfs_rpmsg_server.c| 8 +- fs/mmap/fs_mmap.c | 14 ++- fs/mmap/fs_rammap.c| 20 ++-- fs/vfs/fs_select.c | 8 +- graphics/nxmu/nxmu_server.c| 29 +++--- include/nuttx/power/battery_monitor.h | 22 ++-- include/nuttx/sensors/mpu60x0.h| 2 +- include/nuttx/usb/usbdev.h | 4 +- net/local/local_fifo.c | 2 +- net/netlink/netlink_conn.c | 4 +- net/route/net_fileroute.c | 21 ++-- sched/task/task_posixspawn.c | 3 +- sched/task/task_spawn.c| 3 +- sched/task/task_spawnparms.c | 11 +- 52 files changed, 297 insertions(+), 329 deletions(-)
[incubator-nuttx] branch master updated (32708ab -> fe96250)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 32708ab arch/risc-v/bl602 : add spiflash(hardware sf controller) add fe96250 fs: Make nx_vxxx and file_vxxx as internal functions No new revisions were added by this update. Summary of changes: drivers/serial/pty.c | 14 ++--- fs/vfs/fs_fcntl.c | 132 ++- fs/vfs/fs_ioctl.c | 102 + fs/vfs/fs_open.c | 138 +- include/nuttx/fs/fs.h | 49 +++--- 5 files changed, 192 insertions(+), 243 deletions(-)
[incubator-nuttx] branch master updated (fbc6891 -> fc7cdde)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from fbc6891 arch/sim: Simplify SYMBOL macro definition add fc7cdde Deal with "sed -i" portability No new revisions were added by this update. Summary of changes: .gitignore | 2 -- boards/risc-v/nr5m100/nr5m100-nexys4/README.txt | 2 +- tools/Makefile.unix | 4 +--- tools/Makefile.win | 4 +--- tools/configure.sh | 2 +- tools/testbuild.sh | 5 ++--- 6 files changed, 6 insertions(+), 13 deletions(-)
[incubator-nuttx-apps] branch master updated: system/readline: check the control ascii only to support multi-languages
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 54bbfee system/readline: check the control ascii only to support multi-languages 54bbfee is described below commit 54bbfee30e92f7aa8fa7b241e4c7c444087111f0 Author: chao.an AuthorDate: Mon Jan 4 17:21:48 2021 +0800 system/readline: check the control ascii only to support multi-languages Signed-off-by: chao.an --- system/readline/readline_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/readline/readline_common.c b/system/readline/readline_common.c index 13750fe..413767a 100644 --- a/system/readline/readline_common.c +++ b/system/readline/readline_common.c @@ -733,11 +733,11 @@ ssize_t readline_common(FAR struct rl_common_s *vtbl, FAR char *buf, return nch; } - /* Otherwise, check if the character is printable and, if so, put the - * character in the line buffer + /* Otherwise, put the character in the line buffer if the + * character is not a control byte */ - else if (isprint(ch)) + else if (!iscntrl(ch & 0xff)) { buf[nch++] = ch;
[incubator-nuttx-apps] branch master updated: wireless/wapi: add set country code support
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new bd9174a wireless/wapi: add set country code support bd9174a is described below commit bd9174a3b639c2db60cbbc73c9f0260ab17bee5b Author: chao.an AuthorDate: Mon Jan 4 17:53:19 2021 +0800 wireless/wapi: add set country code support Signed-off-by: chao.an --- include/wireless/wapi.h | 11 +++ wireless/wapi/src/wapi.c | 18 ++ wireless/wapi/src/wireless.c | 34 ++ 3 files changed, 63 insertions(+) diff --git a/include/wireless/wapi.h b/include/wireless/wapi.h index 8c3df1a..77b4fda 100644 --- a/include/wireless/wapi.h +++ b/include/wireless/wapi.h @@ -700,6 +700,17 @@ int wapi_scan_coll(int sock, FAR const char *ifname, void wapi_scan_coll_free(FAR struct wapi_list_s *aps); / + * Name: wapi_set_country + * + * Description: + *Set the country code + * + / + +int wapi_set_country(int sock, FAR const char *ifname, + FAR const char *country); + +/ * Name: wapi_get_sensitivity * * Description: diff --git a/wireless/wapi/src/wapi.c b/wireless/wapi/src/wapi.c index b0c6f5f..2e1ef96 100644 --- a/wireless/wapi/src/wapi.c +++ b/wireless/wapi/src/wapi.c @@ -96,6 +96,7 @@ static int wapi_bitrate_cmd (int sock, int argc, FAR char **argv); static int wapi_txpower_cmd (int sock, int argc, FAR char **argv); static int wapi_scan_results_cmd (int sock, int argc, FAR char **argv); static int wapi_scan_cmd (int sock, int argc, FAR char **argv); +static int wapi_country_cmd (int sock, int argc, FAR char **argv); #ifdef CONFIG_WIRELESS_WAPI_INITCONF static int wapi_reconnect_cmd(int sock, int argc, FAR char **argv); static int wapi_save_config_cmd (int sock, int argc, FAR char **argv); @@ -121,6 +122,7 @@ static const struct wapi_command_s g_wapi_commands[] = {"ap", 2, 2, wapi_ap_cmd}, {"bitrate", 3, 3, wapi_bitrate_cmd}, {"txpower", 3, 3, wapi_txpower_cmd}, + {"country", 2, 2, wapi_country_cmd}, #ifdef CONFIG_WIRELESS_WAPI_INITCONF {"reconnect",1, 1, wapi_reconnect_cmd}, {"save_config", 1, 1, wapi_save_config_cmd}, @@ -745,6 +747,22 @@ static int wapi_scan_cmd(int sock, int argc, FAR char **argv) return wapi_scan_results_cmd(sock, 1, argv); } +/ + * Name: wapi_country_cmd + * + * Description: + * Set the country code + * + * Returned Value: + * None + * + / + +static int wapi_country_cmd(int sock, int argc, FAR char **argv) +{ + return wapi_set_country(sock, argv[0], argv[1]); +} + #ifdef CONFIG_WIRELESS_WAPI_INITCONF / diff --git a/wireless/wapi/src/wireless.c b/wireless/wapi/src/wireless.c index 9ddec6d..d507012 100644 --- a/wireless/wapi/src/wireless.c +++ b/wireless/wapi/src/wireless.c @@ -1394,6 +1394,40 @@ void wapi_scan_coll_free(FAR struct wapi_list_s *list) } / + * Name: wapi_set_country + * + * Description: + *Set the country code + * + / + +int wapi_set_country(int sock, FAR const char *ifname, + FAR const char *country) +{ + struct iwreq wrq = + { + }; + + int ret; + + /* Prepare request. */ + + wrq.u.data.pointer = (FAR void *)country; + wrq.u.data.length = 2; + + strncpy(wrq.ifr_name, ifname, IFNAMSIZ); + ret = ioctl(sock, SIOCSIWCOUNTRY, (unsigned long)((uintptr_t))); + if (ret < 0) +{ + int errcode = errno; + WAPI_IOCTL_STRERROR(SIOCSIWCOUNTRY, errcode); + ret = -errcode; +} + + return ret; +} + +/ * Name: wapi_get_sensitivity * * Description:
[incubator-nuttx] 06/06: bt_uart_shim: Setup pollfd with file* correctly
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit c612c068e1f70797ea515f351fcbe3da2fdaec36 Author: Xiang Xiao AuthorDate: Sun Dec 27 23:02:13 2020 +0800 bt_uart_shim: Setup pollfd with file* correctly Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 37 --- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 24c5797..8f1cb15 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -74,14 +74,10 @@ struct hciuart_state_s btuart_rxcallback_t callback; /* Rx callback function */ FAR void *arg;/* Rx callback argument */ - int h;/* File handle to serial device */ - struct file f;/* File structure, detached */ - - sem_t dready; /* Semaphore used by the poll operation */ + struct file f;/* File structure */ bool enabled; /* Flag indicating that reception is enabled */ int serialmontask;/* The receive serial octets task handle */ - volatile struct pollfd p; /* Polling structure for serial monitor task */ }; struct hciuart_config_s @@ -326,40 +322,35 @@ static int hcicollecttask(int argc, FAR char **argv) { FAR struct hciuart_config_s *n; FAR struct hciuart_state_s *s; + struct pollfd p; n = (FAR struct hciuart_config_s *) ((uintptr_t)strtoul(argv[1], NULL, 0)); s = >state; - file_poll(>f, (struct pollfd *)>p, true); + /* Put materials into poll structure */ + + p.ptr = >f; + p.events = POLLIN | POLLFILE; for (; ; ) { /* Wait for data to arrive */ - int ret = nxsem_wait(s->p.sem); + int ret = nx_poll(, 1, -1); if (ret < 0) { wlwarn("Poll interrupted %d\n", ret); continue; } - /* These flags can change dynamically as new events occur, so - * snapshot. - */ - - irqstate_t flags = enter_critical_section(); - uint32_t tevents = s->p.revents; - s->p.revents = 0; - leave_critical_section(flags); - - wlinfo("Poll completed %d\n", tevents); + wlinfo("Poll completed %d\n", p.revents); /* Given the nature of file_poll, there are multiple reasons why * we might be here, so make sure we only consider the read. */ - if (tevents & POLLIN) + if (p.revents & POLLIN) { if (!s->enabled) { @@ -442,16 +433,6 @@ FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) n->lower.write= hciuart_write; n->lower.rxdrain = hciuart_rxdrain; - /* Put materials into poll structure */ - - nxsem_set_protocol(>dready, SEM_PRIO_NONE); - - s->p.fd = s->h; - s->p.events = POLLIN; - s->p.sem = >dready; - - s->enabled = true; - /* Create the monitor thread */ snprintf(arg1, 16, "%p", n);
[incubator-nuttx] 03/06: bt_uart_shim: Don't hardcode the thread stack size
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 8ce2d376cc1d6c3657754ad5075f8babf1837f10 Author: Xiang Xiao AuthorDate: Sun Dec 27 17:31:31 2020 +0800 bt_uart_shim: Don't hardcode the thread stack size so let's change 1024 to CONFIG_DEFAULT_TASKSIZE Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 2d6146f..40d7d57 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -480,7 +480,8 @@ FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) s->serialmontask = kthread_create("BT HCI Rx", CONFIG_BLUETOOTH_TXCONN_PRIORITY, -1024, hcicollecttask, argv); +CONFIG_DEFAULT_TASK_STACKSIZE, +hcicollecttask, argv); return (FAR struct btuart_lowerhalf_s *)n; }
[incubator-nuttx] branch master updated (d85cf99 -> c612c06)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from d85cf99 bt_uart: Retry the lower half operation if -EINTR is returned new aec3220 bt_uart_shim: Correct the prototype of bt_uart_shim_getdevice new c0cd125 bt_uart_shim: Support the multiple instances new 8ce2d37 bt_uart_shim: Don't hardcode the thread stack size new 9f463fd bt_uart_shim: Remove g_lowerstatic static variable new c258fe0 bt_uart_shim: Make CONFIG_SERIAL_TERMIOS optional new c612c06 bt_uart_shim: Setup pollfd with file* correctly The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: drivers/wireless/bluetooth/bt_uart_shim.c | 144 ++-- include/nuttx/wireless/bluetooth/bt_uart_shim.h | 5 +- 2 files changed, 59 insertions(+), 90 deletions(-)
[incubator-nuttx] 04/06: bt_uart_shim: Remove g_lowerstatic static variable
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 9f463fd3da190c5a49946bda9c6f73d20b99386a Author: Xiang Xiao AuthorDate: Sun Dec 27 18:54:24 2020 +0800 bt_uart_shim: Remove g_lowerstatic static variable let's initialize the callback directly to save the memory Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 40d7d57..7b91396 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -111,22 +111,6 @@ static ssize_t hciuart_write(FAR const struct btuart_lowerhalf_s *lower, static ssize_t hciuart_rxdrain(FAR const struct btuart_lowerhalf_s *lower); / - * Private Data - / - -/* This structure is the configuration of the HCI UART shim */ - -static struct btuart_lowerhalf_s g_lowerstatic = -{ - .rxattach = hciuart_rxattach, - .rxenable = hciuart_rxenable, - .setbaud = hciuart_setbaud, - .read = hciuart_read, - .write = hciuart_write, - .rxdrain = hciuart_rxdrain -}; - -/ * Private Functions / @@ -460,7 +444,12 @@ FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) /* Hook the routines in */ - memcpy(>lower, _lowerstatic, sizeof(struct btuart_lowerhalf_s)); + n->lower.rxattach = hciuart_rxattach; + n->lower.rxenable = hciuart_rxenable; + n->lower.setbaud = hciuart_setbaud; + n->lower.read = hciuart_read; + n->lower.write= hciuart_write; + n->lower.rxdrain = hciuart_rxdrain; /* Put materials into poll structure */
[incubator-nuttx] 02/06: bt_uart_shim: Support the multiple instances
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit c0cd125bf37a4a30c0d67a1d4c4654fc0f54f54e Author: Xiang Xiao AuthorDate: Sun Dec 27 17:16:21 2020 +0800 bt_uart_shim: Support the multiple instances by removing the global variables(g_n) Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 45 ++- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 4c92a85..2d6146f 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -126,10 +126,6 @@ static struct btuart_lowerhalf_s g_lowerstatic = .rxdrain = hciuart_rxdrain }; -/* This is held global because its inconvenient to pass to the task */ - -static FAR struct hciuart_config_s *g_n; - / * Private Functions / @@ -353,7 +349,12 @@ static ssize_t hciuart_rxdrain(FAR const struct btuart_lowerhalf_s *lower) static int hcicollecttask(int argc, FAR char **argv) { - FAR struct hciuart_state_s *s = _n->state; + FAR struct hciuart_config_s *n; + FAR struct hciuart_state_s *s; + + n = (FAR struct hciuart_config_s *) +((uintptr_t)strtoul(argv[1], NULL, 0)); + s = >state; file_poll(>f, (struct pollfd *)>p, true); @@ -390,19 +391,19 @@ static int hcicollecttask(int argc, FAR char **argv) /* We aren't expected to be listening, so drop these data */ wlwarn("Dropping data\n"); - hciuart_rxdrain(_n->lower); + hciuart_rxdrain(>lower); } else { if (s->callback != NULL) { wlinfo("Activating callback\n"); - s->callback(_n->lower, s->arg); + s->callback(>lower, s->arg); } else { wlwarn("Dropping data (no CB)\n"); - hciuart_rxdrain(_n->lower); + hciuart_rxdrain(>lower); } } } @@ -432,32 +433,34 @@ static int hcicollecttask(int argc, FAR char **argv) FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) { + FAR struct hciuart_config_s *n; FAR struct hciuart_state_s *s; + FAR char *argv[2]; + char arg1[16]; int ret; /* Get the memory for this shim instance */ - g_n = (FAR struct hciuart_config_s *) + n = (FAR struct hciuart_config_s *) kmm_zalloc(sizeof(struct hciuart_config_s)); - if (!g_n) + if (!n) { - return 0; + return NULL; } - s = _n->state; + s = >state; ret = file_open(>f, path, O_RDWR | O_BINARY); if (ret < 0) { - kmm_free(g_n); - g_n = 0; - return 0; + kmm_free(n); + return NULL; } /* Hook the routines in */ - memcpy(_n->lower, _lowerstatic, sizeof(struct btuart_lowerhalf_s)); + memcpy(>lower, _lowerstatic, sizeof(struct btuart_lowerhalf_s)); /* Put materials into poll structure */ @@ -469,9 +472,15 @@ FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) s->enabled = true; + /* Create the monitor thread */ + + snprintf(arg1, 16, "%p", n); + argv[0] = arg1; + argv[1] = NULL; + s->serialmontask = kthread_create("BT HCI Rx", CONFIG_BLUETOOTH_TXCONN_PRIORITY, -1024, hcicollecttask, NULL); +1024, hcicollecttask, argv); - return (FAR struct btuart_lowerhalf_s *)g_n; + return (FAR struct btuart_lowerhalf_s *)n; }
[incubator-nuttx] 01/06: bt_uart_shim: Correct the prototype of bt_uart_shim_getdevice
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit aec3220fae4e933f9a1a5d90e571b4d80283f3d3 Author: Xiang Xiao AuthorDate: Sun Dec 27 02:53:32 2020 +0800 bt_uart_shim: Correct the prototype of bt_uart_shim_getdevice 1.Add const to the path argument 2.Return the explicit type(struct btuart_lowerhalf_s *) Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 5 ++--- include/nuttx/wireless/bluetooth/bt_uart_shim.h | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 8d9ac8f..4c92a85 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -58,7 +58,6 @@ #include #include #include -#include #include #include @@ -431,7 +430,7 @@ static int hcicollecttask(int argc, FAR char **argv) * / -FAR void *bt_uart_shim_getdevice(FAR char *path) +FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path) { FAR struct hciuart_state_s *s; int ret; @@ -474,5 +473,5 @@ FAR void *bt_uart_shim_getdevice(FAR char *path) CONFIG_BLUETOOTH_TXCONN_PRIORITY, 1024, hcicollecttask, NULL); - return g_n; + return (FAR struct btuart_lowerhalf_s *)g_n; } diff --git a/include/nuttx/wireless/bluetooth/bt_uart_shim.h b/include/nuttx/wireless/bluetooth/bt_uart_shim.h index dcf94d2..536335f 100644 --- a/include/nuttx/wireless/bluetooth/bt_uart_shim.h +++ b/include/nuttx/wireless/bluetooth/bt_uart_shim.h @@ -41,8 +41,7 @@ * Included Files / -#include -#include +#include #ifdef CONFIG_BLUETOOTH_UART_SHIM @@ -50,7 +49,7 @@ * Public Function Prototypes / -FAR void *bt_uart_shim_getdevice(FAR char *path); +FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path); #endif #endif
[incubator-nuttx] 05/06: bt_uart_shim: Make CONFIG_SERIAL_TERMIOS optional
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit c258fe0f85bb3f27362656eba70aedc3e8a3c0f4 Author: Xiang Xiao AuthorDate: Sun Dec 27 19:15:58 2020 +0800 bt_uart_shim: Make CONFIG_SERIAL_TERMIOS optional since the caller don't always need to use setbaud callback Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart_shim.c | 41 --- 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c b/drivers/wireless/bluetooth/bt_uart_shim.c index 7b91396..24c5797 100644 --- a/drivers/wireless/bluetooth/bt_uart_shim.c +++ b/drivers/wireless/bluetooth/bt_uart_shim.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include @@ -59,7 +60,6 @@ #include #include #include -#include / * Private Types @@ -132,7 +132,7 @@ static void hciuart_rxattach(FAR const struct btuart_lowerhalf_s *lower, btuart_rxcallback_t callback, FAR void *arg) { - struct hciuart_config_s *config = (struct hciuart_config_s *)lower; + struct hciuart_config_s *config = (FAR struct hciuart_config_s *)lower; struct hciuart_state_s *state; irqstate_t flags; @@ -153,7 +153,6 @@ hciuart_rxattach(FAR const struct btuart_lowerhalf_s *lower, else { - state->callback = NULL; state->arg = arg; state->callback = callback; } @@ -183,7 +182,7 @@ static void hciuart_rxenable(FAR const struct btuart_lowerhalf_s *lower, irqstate_t flags = spin_lock_irqsave(); if (enable != s->enabled) { - wlinfo(enable?"Enable\n":"Disable\n"); + wlinfo(enable ? "Enable\n" : "Disable\n"); } s->enabled = enable; @@ -208,15 +207,11 @@ static void hciuart_rxenable(FAR const struct btuart_lowerhalf_s *lower, static int hciuart_setbaud(FAR const struct btuart_lowerhalf_s *lower, uint32_t baud) { +#ifdef CONFIG_SERIAL_TERMIOS FAR struct hciuart_config_s *config = (FAR struct hciuart_config_s *)lower; FAR struct hciuart_state_s *state = >state; - int ret; - struct termios tio; - -#ifndef CONFIG_SERIAL_TERMIOS -# error TERMIOS Support needed for hciuart_setbaud -#endif + int ret; ret = file_ioctl(>f, TCGETS, (long unsigned int)); if (ret) @@ -234,8 +229,7 @@ hciuart_setbaud(FAR const struct btuart_lowerhalf_s *lower, uint32_t baud) tio.c_cflag |= CRTS_IFLOW | CCTS_OFLOW; - ret = file_ioctl(>f, TCSETS, (long unsigned int)); - + ret = file_ioctl(>f, TCSETS, (unsigned long int)); if (ret) { wlerr("ERROR during TCSETS, does UART support CTS/RTS?\n"); @@ -243,6 +237,9 @@ hciuart_setbaud(FAR const struct btuart_lowerhalf_s *lower, uint32_t baud) } return OK; +#else + return -ENOSYS; +#endif } / @@ -263,17 +260,15 @@ hciuart_read(FAR const struct btuart_lowerhalf_s *lower, { FAR struct hciuart_config_s *config = (FAR struct hciuart_config_s *)lower; FAR struct hciuart_state_s *state = >state; - size_t ntotal; wlinfo("config %p buffer %p buflen %lu\n", - config, buffer, (size_t) buflen); + config, buffer, (unsigned long)buflen); /* NOTE: This assumes that the caller has exclusive access to the Rx * buffer, i.e., one lower half instance can server only one upper half! */ - ntotal = file_read(>f, buffer, buflen); - return ntotal; + return file_read(>f, buffer, buflen); } / @@ -294,16 +289,13 @@ static ssize_t hciuart_write(FAR const struct btuart_lowerhalf_s *lower, FAR const void *buffer, size_t buflen) { - FAR const struct hciuart_config_s *config -= (FAR const struct hciuart_config_s *)lower; - FAR const struct hciuart_state_s *state = >state; + FAR struct hciuart_config_s *config = (FAR struct hciuart_config_s *)lower; + FAR struct hciuart_state_s *state = >state; wlinfo("config %p buffer %p buflen %lu\n", - config, buffer, (size_t) buflen); - - buflen = file_write((struct file *)>f, buffer, buflen); + config, buffer, (unsigned long)buflen); - return buflen; + return file_write(>f, buffer, buflen); } / @@ -319,8 +311,7 @@ static ssize_t hciuart_rxdrain(FAR const struct btuart_lowerhalf_s *lower) FAR struct hciuart_config_s *config = (FAR struct hciuart_config_s *)lower; FAR struct hciuart_state_s *s = >state; - file_ioctl(>f, TCDRN, 0); - return 0; + return file_ioctl(>f, TCDRN, 0); } /
[incubator-nuttx] branch master updated (f992ff3 -> d85cf99)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from f992ff3 Fix nxstyle warning new 6a30d7a bt_uart: Remove static variables in btuart_rxwork new ca5d8d8 bt_uart: Fix the minor typo in bt_uart driver new 1d8397a bt_uart: Don't call rxdrain in the successful path new d85cf99 bt_uart: Retry the lower half operation if -EINTR is returned The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: drivers/wireless/bluetooth/bt_uart.c | 56 1 file changed, 24 insertions(+), 32 deletions(-)
[incubator-nuttx] 02/04: bt_uart: Fix the minor typo in bt_uart driver
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit ca5d8d86606671280e58e710c945cdd55eac0aff Author: Xiang Xiao AuthorDate: Sun Dec 27 15:40:30 2020 +0800 bt_uart: Fix the minor typo in bt_uart driver Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart.c b/drivers/wireless/bluetooth/bt_uart.c index 87c3905..3cb1ed7 100644 --- a/drivers/wireless/bluetooth/bt_uart.c +++ b/drivers/wireless/bluetooth/bt_uart.c @@ -66,8 +66,8 @@ static ssize_t btuart_read(FAR struct btuart_upperhalf_s *upper, size_t minread) { FAR const struct btuart_lowerhalf_s *lower; - ssize_t nread; ssize_t ntotal = 0; + ssize_t nread; wlinfo("buflen %lu minread %lu\n", (unsigned long)buflen, (unsigned long)minread); @@ -91,7 +91,7 @@ static ssize_t btuart_read(FAR struct btuart_upperhalf_s *upper, } else if (nread < 0) { - wlwarn("Returned error %d\n", nread); + wlwarn("Returned error %d\n", (int)nread); return nread; } @@ -137,7 +137,7 @@ btuart_evt_recv(FAR struct btuart_upperhalf_s *upper, wlerr("ERROR: No available event buffers!\n"); } - *hdrlen = (int)hdr.len; + *hdrlen = hdr.len; wlinfo("hdrlen %u\n", hdr.len); return buf; @@ -229,7 +229,7 @@ static void btuart_rxwork(FAR void *arg) wlwarn("WARNING: Discarded %ld bytes\n", (long)nread); goto errout_with_busy; } - else if ((hdrlen - 1) > bt_buf_tailroom(buf)) + else if (hdrlen > bt_buf_tailroom(buf)) { wlerr("ERROR: Not enough space in buffer\n"); goto errout_with_buf; @@ -243,7 +243,7 @@ static void btuart_rxwork(FAR void *arg) nread = btuart_read(upper, bt_buf_tail(buf), remaining, 0); if (nread < 0) { - wlerr("ERROR: Read returned error %d\n", nread); + wlerr("ERROR: Read returned error %d\n", (int)nread); goto errout_with_buf; } @@ -265,7 +265,7 @@ static void btuart_rxwork(FAR void *arg) /* Pass buffer to the stack */ - BT_DUMP("Received", buf->data, buf->len); + BT_DUMP("Received", buf->data, buf->len); upper->busy = false; bt_hci_receive(buf); return; @@ -275,7 +275,6 @@ errout_with_buf: errout_with_busy: upper->busy = false; - return; } static void btuart_rxcallback(FAR const struct btuart_lowerhalf_s *lower, @@ -319,7 +318,7 @@ int btuart_send(FAR const struct bt_driver_s *dev, FAR struct bt_buf_s *buf) return -EINVAL; } - type = bt_buf_provide(buf, 1); + type = bt_buf_provide(buf, H4_HEADER_SIZE); switch (buf->type) { @@ -350,7 +349,7 @@ int btuart_send(FAR const struct bt_driver_s *dev, FAR struct bt_buf_s *buf) if (nwritten < 0) { - return (int)nwritten; + return nwritten; } return -EIO;
[incubator-nuttx] 01/04: bt_uart: Remove static variables in btuart_rxwork
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 6a30d7ad6b94e28518f96dd22c6fae1f3196ae0e Author: Xiang Xiao AuthorDate: Sun Dec 27 15:34:36 2020 +0800 bt_uart: Remove static variables in btuart_rxwork to support mulitple bluetooth controllers Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart.c b/drivers/wireless/bluetooth/bt_uart.c index dae18e6..87c3905 100644 --- a/drivers/wireless/bluetooth/bt_uart.c +++ b/drivers/wireless/bluetooth/bt_uart.c @@ -184,9 +184,9 @@ static void btuart_rxwork(FAR void *arg) { FAR struct btuart_upperhalf_s *upper; FAR const struct btuart_lowerhalf_s *lower; - static FAR struct bt_buf_s *buf; - static unsigned int hdrlen; - static int remaining; + FAR struct bt_buf_s *buf; + unsigned int hdrlen; + int remaining; ssize_t nread; uint8_t type; @@ -198,9 +198,6 @@ static void btuart_rxwork(FAR void *arg) * Read the first byte to get the packet type. */ - buf= NULL; - hdrlen = 0; - nread = btuart_read(upper, , 1, 0); if (nread != 1) {
[incubator-nuttx] 03/04: bt_uart: Don't call rxdrain in the successful path
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 1d8397a36d4fc18541626bab6b8afc98733103b6 Author: Xiang Xiao AuthorDate: Sun Dec 27 15:48:31 2020 +0800 bt_uart: Don't call rxdrain in the successful path because the physical uart bus may receive the next packet asynchronously Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart.c b/drivers/wireless/bluetooth/bt_uart.c index 3cb1ed7..57b5dca 100644 --- a/drivers/wireless/bluetooth/bt_uart.c +++ b/drivers/wireless/bluetooth/bt_uart.c @@ -255,14 +255,6 @@ static void btuart_rxwork(FAR void *arg) wlinfo("Full packet received\n"); - /* Drain any un-read bytes from the Rx buffer */ - - nread = lower->rxdrain(lower); - if (nread > 0) -{ - wlwarn("WARNING: Discarded %ld bytes\n", (long)nread); -} - /* Pass buffer to the stack */ BT_DUMP("Received", buf->data, buf->len);
[incubator-nuttx] 04/04: bt_uart: Retry the lower half operation if -EINTR is returned
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit d85cf99a6598bc5eee1fb15facf03226d5308641 Author: Xiang Xiao AuthorDate: Sun Dec 27 19:57:16 2020 +0800 bt_uart: Retry the lower half operation if -EINTR is returned to handle the partial write and read gracefully Signed-off-by: Xiang Xiao --- drivers/wireless/bluetooth/bt_uart.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_uart.c b/drivers/wireless/bluetooth/bt_uart.c index 57b5dca..b75d3d4 100644 --- a/drivers/wireless/bluetooth/bt_uart.c +++ b/drivers/wireless/bluetooth/bt_uart.c @@ -79,7 +79,7 @@ static ssize_t btuart_read(FAR struct btuart_upperhalf_s *upper, while (buflen > 0) { nread = lower->read(lower, buffer, buflen); - if (nread == 0) + if (nread == 0 || nread == -EINTR) { wlwarn("Got zero bytes from UART\n"); if (ntotal < minread) @@ -298,7 +298,7 @@ int btuart_send(FAR const struct bt_driver_s *dev, FAR struct bt_buf_s *buf) FAR struct btuart_upperhalf_s *upper; FAR const struct btuart_lowerhalf_s *lower; FAR uint8_t *type; - ssize_t nwritten; + ssize_t ntotal = 0; upper = (FAR struct btuart_upperhalf_s *)dev; DEBUGASSERT(upper != NULL && upper->lower != NULL); @@ -333,18 +333,22 @@ int btuart_send(FAR const struct bt_driver_s *dev, FAR struct bt_buf_s *buf) BT_DUMP("Sending", buf->data, buf->len); - nwritten = lower->write(lower, buf->data, buf->len); - if (nwritten == buf->len) + while (ntotal < buf->len) { - return OK; -} + ssize_t nwritten; - if (nwritten < 0) -{ - return nwritten; + nwritten = lower->write(lower, buf->data + ntotal, buf->len - ntotal); + if (nwritten >= 0) +{ + ntotal += nwritten; +} + else if (nwritten != -EINTR) +{ + return nwritten; +} } - return -EIO; + return OK; } int btuart_open(FAR const struct bt_driver_s *dev)
[incubator-nuttx] branch master updated (32ad989 -> f992ff3)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 32ad989 include: wireless: Replace license header with Apache License 2.0 add d1dc0bf bluetooth: Fix typos in comment add 3dfb897 bluetooth: Remove the unnecessary forward reference add 5c0d430 bluetooth: replace leave_critical_section with spin_unlock_irqrestore add b06067a bluetooth: Fix the typo error in BT_GETUINT16 and BT_PUTUINT16 add d758955 bluetooth: Don't call BT_LE162HOST in bt_buf_get_le16 add f992ff3 Fix nxstyle warning No new revisions were added by this update. Summary of changes: drivers/wireless/bluetooth/bt_uart.c| 30 +-- drivers/wireless/bluetooth/bt_uart.h| 22 +- drivers/wireless/bluetooth/bt_uart_bcm4343x.c | 2 - drivers/wireless/bluetooth/bt_uart_cc2564.c | 6 +- drivers/wireless/bluetooth/bt_uart_generic.c| 10 - include/nuttx/wireless/bluetooth/bt_buf.h | 17 +- include/nuttx/wireless/bluetooth/bt_core.h | 35 +-- include/nuttx/wireless/bluetooth/bt_driver.h| 19 +- include/nuttx/wireless/bluetooth/bt_gatt.h | 62 +++--- include/nuttx/wireless/bluetooth/bt_hci.h | 2 +- include/nuttx/wireless/bluetooth/bt_ioctl.h | 285 include/nuttx/wireless/bluetooth/bt_null.h | 17 +- include/nuttx/wireless/bluetooth/bt_uart.h | 21 +- include/nuttx/wireless/bluetooth/bt_uart_shim.h | 17 +- include/nuttx/wireless/bluetooth/bt_uuid.h | 19 +- wireless/bluetooth/bt_buf.c | 10 +- wireless/bluetooth/bt_l2cap.h | 2 +- wireless/bluetooth/bt_uuid.c| 2 +- 18 files changed, 289 insertions(+), 289 deletions(-)
[incubator-nuttx] branch master updated (39146ee -> 32ad989)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 39146ee fs/epoll: add asynchronous epoll control support add 38733b7 boards: stm32f4discovery: Fix style violations add b784fd6 arch: cxd56xx: Replace license header with Apache License 2.0 add 96769b0 boards: cxd56xx: Replace license header with Apache License 2.0 add 3e4917e boards: stm32f4discovery: Replace license header with Apache License 2.0 add b67f200 drivers: wireless: Replace license header with Apache License 2.0 add 32ad989 include: wireless: Replace license header with Apache License 2.0 No new revisions were added by this update. Summary of changes: arch/arm/src/cxd56xx/cxd56_cpuidlestack.c | 39 +-- arch/arm/src/cxd56xx/cxd56_cpuindex.c | 43 ++--- arch/arm/src/cxd56xx/cxd56_cpupause.c | 43 ++--- arch/arm/src/cxd56xx/cxd56_cpustart.c | 39 +-- boards/arm/cxd56xx/common/src/cxd56_gs2200m.c | 40 +--- boards/arm/cxd56xx/common/src/cxd56_netinit.c | 39 +-- .../arm/cxd56xx/spresense/include/cxd56_gs2200m.h | 40 +--- boards/arm/cxd56xx/spresense/scripts/gnu-elf.ld| 39 +-- .../arm/stm32/stm32f4discovery/src/stm32_gs2200m.c | 40 +--- .../arm/stm32/stm32f4discovery/src/stm32_mmcsd.c | 56 +++--- drivers/wireless/gs2200m.c | 39 +-- include/nuttx/wireless/gs2200m.h | 39 +-- 12 files changed, 154 insertions(+), 342 deletions(-)
[incubator-nuttx-apps] branch master updated: add .gitignore for ltp
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new c335c13 add .gitignore for ltp c335c13 is described below commit c335c135784739be6199fd0f8a6dc55617981727 Author: nietingting AuthorDate: Tue Dec 15 21:22:47 2020 +0800 add .gitignore for ltp Signed-off-by: nietingting --- testing/ltp/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/ltp/.gitignore b/testing/ltp/.gitignore new file mode 100644 index 000..ae3714a --- /dev/null +++ b/testing/ltp/.gitignore @@ -0,0 +1 @@ +/ltp
[incubator-nuttx] branch master updated: arch/stm32: Fix nxstyle errors
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 3adadbe arch/stm32: Fix nxstyle errors 3adadbe is described below commit 3adadbe5d70ce7cb5edc15c0e75e37fd01e57587 Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Mon Dec 14 10:32:00 2020 -0500 arch/stm32: Fix nxstyle errors arch/arm/src/stm32/stm32_usbhost.h: * Fix nxstyle errors. --- arch/arm/src/stm32/stm32_usbhost.h | 67 +++--- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/arch/arm/src/stm32/stm32_usbhost.h b/arch/arm/src/stm32/stm32_usbhost.h index c8348c0..d4b2c32 100644 --- a/arch/arm/src/stm32/stm32_usbhost.h +++ b/arch/arm/src/stm32/stm32_usbhost.h @@ -1,4 +1,4 @@ -/ +/ * arch/arm/src/stm32/stm32_usbhost.h * * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved. @@ -31,14 +31,14 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - / + / #ifndef __ARCH_ARM_SRC_STM32_STM32_USBHOST_H #define __ARCH_ARM_SRC_STM32_STM32_USBHOST_H -/ +/ * Included Files - / + / #include #include @@ -49,16 +49,17 @@ #include "hardware/stm32fx_otgfs.h" #include "hardware/stm32_otghs.h" -#if (defined(CONFIG_STM32_OTGFS) || defined(CONFIG_STM32_OTGHS)) && defined(CONFIG_STM32_USBHOST) +#if (defined(CONFIG_STM32_OTGFS) || defined(CONFIG_STM32_OTGHS)) && \ +defined(CONFIG_STM32_USBHOST) -/ +/ * Public Types - / + / #ifdef HAVE_USBHOST_TRACE enum usbhost_trace1codes_e { - __TRACE1_BASEVALUE = 0, /* This will force the first value to be 1 */ + __TRACE1_BASEVALUE = 0,/* This will force the first value to be 1 */ #ifdef CONFIG_STM32_OTGFS @@ -80,7 +81,7 @@ enum usbhost_trace1codes_e OTGFS_VTRACE1_GINT_PTXFE, /* OTGFS Handle the periodic TxFIFO empty interrupt */ OTGFS_VTRACE1_GINT_HC, /* OTGFS Handle the host channels interrupt */ OTGFS_VTRACE1_GINT_HPRT, /* OTGFS Handle the host port interrupt */ - OTGFS_VTRACE1_GINT_HPRT_POCCHNG, /* OTGFS HPRT: Port Over-Current Change*/ + OTGFS_VTRACE1_GINT_HPRT_POCCHNG, /* OTGFS HPRT: Port Over-Current Change */ OTGFS_VTRACE1_GINT_HPRT_PCDET, /* OTGFS HPRT: Port Connect Detect */ OTGFS_VTRACE1_GINT_HPRT_PENCHNG, /* OTGFS HPRT: Port Enable Changed */ OTGFS_VTRACE1_GINT_HPRT_LSDEV, /* OTGFS HPRT: Low Speed Device Connected */ @@ -113,7 +114,7 @@ enum usbhost_trace1codes_e OTGHS_VTRACE1_GINT_PTXFE, /* OTGHS Handle the periodic TxFIFO empty interrupt */ OTGHS_VTRACE1_GINT_HC, /* OTGHS Handle the host channels interrupt */ OTGHS_VTRACE1_GINT_HPRT, /* OTGHS Handle the host port interrupt */ - OTGHS_VTRACE1_GINT_HPRT_POCCHNG, /* OTGHS HPRT: Port Over-Current Change*/ + OTGHS_VTRACE1_GINT_HPRT_POCCHNG, /* OTGHS HPRT: Port Over-Current Change */ OTGHS_VTRACE1_GINT_HPRT_PCDET, /* OTGHS HPRT: Port Connect Detect */ OTGHS_VTRACE1_GINT_HPRT_PENCHNG, /* OTGHS HPRT: Port Enable Changed */ OTGHS_VTRACE1_GINT_HPRT_LSDEV, /* OTGHS HPRT: Low Speed Device Connected */ @@ -201,11 +202,11 @@ enum usbhost_trace1codes_e #endif -/ - * Public Functions - / -/* - * STM32 USB OTG FS Host Driver Support +/ + * Public Function Prototypes + / + +/* STM32 USB OTG FS Host Driver Support * * Pre-requisites * @@ -240,10 +241,6 @@ enum usbhost_trace1codes_e *
[incubator-nuttx-apps] branch master updated: system: nxplayer and nxrecorder shouldn't hardcode message length to 16
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 16c6e1f system: nxplayer and nxrecorder shouldn't hardcode message length to 16 16c6e1f is described below commit 16c6e1f0b886cf6db5b343e68af45f0adf83278f Author: Xiang Xiao AuthorDate: Mon Dec 14 18:13:54 2020 +0800 system: nxplayer and nxrecorder shouldn't hardcode message length to 16 the audio driver may config a very large buffer count, so let's adjust the message queue length dynamically. Signed-off-by: Xiang Xiao --- system/nxplayer/nxplayer.c | 17 ++--- system/nxrecorder/nxrecorder.c | 17 ++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/system/nxplayer/nxplayer.c b/system/nxplayer/nxplayer.c index 8f74a9a..a959b94 100644 --- a/system/nxplayer/nxplayer.c +++ b/system/nxplayer/nxplayer.c @@ -791,12 +791,12 @@ static void *nxplayer_playthread(pthread_addr_t pvarg) audinfo("Entry\n"); - /* Query the audio device for it's preferred buffer size / qty */ + /* Query the audio device for its preferred buffer size / qty */ if ((ret = ioctl(pplayer->dev_fd, AUDIOIOC_GETBUFFERINFO, (unsigned long) _info)) != OK) { - /* Driver doesn't report it's buffer size. Use our default. */ + /* Driver doesn't report its buffer size. Use our default. */ buf_info.buffer_size = CONFIG_AUDIO_BUFFER_NUMBYTES; buf_info.nbuffers = CONFIG_AUDIO_NUM_BUFFERS; @@ -1797,6 +1797,7 @@ static int nxplayer_playinternal(FAR struct nxplayer_s *pplayer, pthread_attr_t tattr; FAR void *value; struct audio_caps_desc_s cap_desc; + struct ap_buffer_info_s buf_info; #ifdef CONFIG_NXPLAYER_INCLUDE_MEDIADIR charpath[128]; #endif @@ -1932,9 +1933,19 @@ static int nxplayer_playinternal(FAR struct nxplayer_s *pplayer, ioctl(pplayer->dev_fd, AUDIOIOC_CONFIGURE, (unsigned long)_desc); } + /* Query the audio device for its preferred buffer count */ + + if (ioctl(pplayer->dev_fd, AUDIOIOC_GETBUFFERINFO, +(unsigned long)_info) != OK) +{ + /* Driver doesn't report its buffer size. Use our default. */ + + buf_info.nbuffers = CONFIG_AUDIO_NUM_BUFFERS; +} + /* Create a message queue for the playthread */ - attr.mq_maxmsg = 16; + attr.mq_maxmsg = buf_info.nbuffers + 8; attr.mq_msgsize = sizeof(struct audio_msg_s); attr.mq_curmsgs = 0; attr.mq_flags = 0; diff --git a/system/nxrecorder/nxrecorder.c b/system/nxrecorder/nxrecorder.c index 8f11283..06f29c2 100644 --- a/system/nxrecorder/nxrecorder.c +++ b/system/nxrecorder/nxrecorder.c @@ -242,12 +242,12 @@ static void *nxrecorder_recordthread(pthread_addr_t pvarg) audinfo("Entry\n"); - /* Query the audio device for it's preferred buffer size / qty */ + /* Query the audio device for its preferred buffer size / qty */ if ((ret = ioctl(precorder->dev_fd, AUDIOIOC_GETBUFFERINFO, (unsigned long) _info)) != OK) { - /* Driver doesn't report it's buffer size. Use our default. */ + /* Driver doesn't report its buffer size. Use our default. */ buf_info.buffer_size = CONFIG_AUDIO_BUFFER_NUMBYTES; buf_info.nbuffers = CONFIG_AUDIO_NUM_BUFFERS; @@ -773,6 +773,7 @@ int nxrecorder_recordraw(FAR struct nxrecorder_s *precorder, struct sched_param sparam; pthread_attr_t tattr; struct audio_caps_desc_s cap_desc; + struct ap_buffer_info_s buf_info; FAR void *value; int ret; @@ -844,9 +845,19 @@ int nxrecorder_recordraw(FAR struct nxrecorder_s *precorder, goto err_out; } + /* Query the audio device for its preferred buffer count */ + + if (ioctl(precorder->dev_fd, AUDIOIOC_GETBUFFERINFO, +(unsigned long)_info) != OK) +{ + /* Driver doesn't report its buffer size. Use our default. */ + + buf_info.nbuffers = CONFIG_AUDIO_NUM_BUFFERS; +} + /* Create a message queue for the recordthread */ - attr.mq_maxmsg = 16; + attr.mq_maxmsg = buf_info.nbuffers + 8; attr.mq_msgsize = sizeof(struct audio_msg_s); attr.mq_curmsgs = 0; attr.mq_flags = 0;
[incubator-nuttx] branch master updated: libc: Implement posix_fallocate
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 98be50a libc: Implement posix_fallocate 98be50a is described below commit 98be50a9bc1dd8077428431960c6574c9e95075a Author: Xiang Xiao AuthorDate: Mon Dec 14 10:56:23 2020 +0800 libc: Implement posix_fallocate as specified here: https://pubs.opengroup.org/onlinepubs/007904875/functions/posix_fallocate.html Signed-off-by: Xiang Xiao --- include/fcntl.h| 2 + libs/libc/unistd/Make.defs | 2 +- libs/libc/unistd/lib_posix_fallocate.c | 96 ++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/include/fcntl.h b/include/fcntl.h index a12071c..9d7c97b 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -174,6 +174,8 @@ extern "C" int open(FAR const char *path, int oflag, ...); int fcntl(int fd, int cmd, ...); +int posix_fallocate(int fd, off_t offset, off_t len); + #undef EXTERN #if defined(__cplusplus) } diff --git a/libs/libc/unistd/Make.defs b/libs/libc/unistd/Make.defs index 3955fe8..cf481b2 100644 --- a/libs/libc/unistd/Make.defs +++ b/libs/libc/unistd/Make.defs @@ -59,7 +59,7 @@ CSRCS += lib_execl.c endif ifneq ($(CONFIG_DISABLE_MOUNTPOINTS),y) -CSRCS += lib_truncate.c +CSRCS += lib_truncate.c lib_posix_fallocate.c endif ifeq ($(CONFIG_PIPES),y) diff --git a/libs/libc/unistd/lib_posix_fallocate.c b/libs/libc/unistd/lib_posix_fallocate.c new file mode 100644 index 000..d432f49 --- /dev/null +++ b/libs/libc/unistd/lib_posix_fallocate.c @@ -0,0 +1,96 @@ +/ + * libs/libc/unistd/lib_posix_fallocate.c + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + / + +/ + * Included Files + / + +#include +#include +#include + +#include + +#ifndef CONFIG_DISABLE_MOUNTPOINT + +/ + * Public Functions + / + +/ + * Name: posix_fallocate + * + * Description: + * The posix_fallocate() function shall ensure that any required storage for + * regular file data starting at offset and continuing for len bytes is + * allocated on the file system storage media. If posix_fallocate() returns + * successfully, subsequent writes to the specified file data shall not fail + * due to the lack of free space on the file system storage media. + * + * If the offset+len is beyond the current file size, then posix_fallocate() + * shall adjust the file size to offset+len. Otherwise, the file size shall + * not be changed. + * + * It is implementation-defined whether a previous posix_fadvise() call + * influences allocation strategy. + * + * Space allocated via posix_fallocate() shall be freed by a successful call + * to creat() or open() that truncates the size of the file. Space allocated + * via posix_fallocate() may be freed by a successful call to ftruncate() + * that reduces the file size to a size smaller than offset+ len. + * + * Returned Value: + * Upon successful completion, posix_fallocate() shall return zero; + * otherwise, an error number shall be returned to indicate the error. + * + / + +int posix_fallocate(int fd, off_t offset, off_t len) +{ + struct stat st; + + if (offset < 0 || len < 0) +{ + return EINVAL; +} + + len += offset; + if (len < 0) +{ + return EFBIG; +} + + if (fstat(fd, ) != 0) +{ + return errno; +} + + if (st.st_size < len) +{ + if (ftruncate(fd, len
[incubator-nuttx] 03/04: Revert "Revert "arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic""
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit ad9f88f04203478bcdc0ad6a823b7dbdfa1e70b2 Author: Masayuki Ishikawa AuthorDate: Thu Nov 26 21:00:18 2020 +0900 Revert "Revert "arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic"" This reverts commit 3098b617760a0a1a5f3b74a0ae8a1f8648467902. --- arch/sim/include/arch.h | 33 - arch/sim/src/sim/up_internal.h | 1 + arch/sim/src/sim/up_simsmp.c| 55 ++--- arch/sim/src/sim/up_smpsignal.c | 45 + 4 files changed, 48 insertions(+), 86 deletions(-) diff --git a/arch/sim/include/arch.h b/arch/sim/include/arch.h index 4798968..3fca681 100644 --- a/arch/sim/include/arch.h +++ b/arch/sim/include/arch.h @@ -41,14 +41,6 @@ #define __ARCH_SIM_INCLUDE_ARCH_H / - * Included Files - / - -/ - * Pre-processor Definitions - / - -/ * Inline functions / @@ -61,29 +53,4 @@ static inline uintptr_t sim_getsp(void) return (uintptr_t)__builtin_frame_address(0); } -/ - * Public Types - / - -/ - * Public Data - / - -/ - * Public Function Prototypes - / - -#ifdef __cplusplus -#define EXTERN extern "C" -extern "C" -{ -#else -#define EXTERN extern -#endif - -#undef EXTERN -#ifdef __cplusplus -} -#endif - #endif /* __ARCH_SIM_INCLUDE_ARCH_H */ diff --git a/arch/sim/src/sim/up_internal.h b/arch/sim/src/sim/up_internal.h index c356308..48ea33f 100644 --- a/arch/sim/src/sim/up_internal.h +++ b/arch/sim/src/sim/up_internal.h @@ -243,6 +243,7 @@ void sim_cpu0_start(void); void up_cpu_started(void); int up_cpu_paused(int cpu); struct tcb_s *up_this_task(void); +int up_cpu_set_pause_handler(int irq); #endif /* up_oneshot.c */ diff --git a/arch/sim/src/sim/up_simsmp.c b/arch/sim/src/sim/up_simsmp.c index 56f8ac6..478b4d7 100644 --- a/arch/sim/src/sim/up_simsmp.c +++ b/arch/sim/src/sim/up_simsmp.c @@ -123,7 +123,6 @@ static void *sim_idle_trampoline(void *arg) #ifdef CONFIG_SIM_WALLTIME uint64_t now = 0; #endif - sigset_t set; int ret; /* Set the CPU number for the CPU thread */ @@ -137,14 +136,7 @@ static void *sim_idle_trampoline(void *arg) /* Make sure the SIGUSR1 is not masked */ - sigemptyset(); - sigaddset(, SIGUSR1); - - ret = pthread_sigmask(SIG_UNBLOCK, , NULL); - if (ret < 0) -{ - return NULL; -} + up_cpu_set_pause_handler(SIGUSR1); /* Let up_cpu_start() continue */ @@ -181,28 +173,6 @@ static void *sim_idle_trampoline(void *arg) } / - * Name: sim_handle_signal - * - * Description: - * This is the SIGUSR signal handler. It implements the core logic of - * up_cpu_pause() on the thread of execution the simulated CPU. - * - * Input Parameters: - * arg - Standard sigaction arguments - * - * Returned Value: - * None - * - / - -static void sim_handle_signal(int signo, siginfo_t *info, void *context) -{ - int cpu = (int)((uintptr_t)pthread_getspecific(g_cpu_key)); - - up_cpu_paused(cpu); -} - -/ * Public Functions / @@ -223,8 +193,6 @@ static void sim_handle_signal(int signo, siginfo_t *info, void *context) void sim_cpu0_start(void) { - struct sigaction act; - sigset_t set; int ret; g_cpu_thread[0] = pthread_self(); @@ -247,26 +215,7 @@ void sim_cpu0_start(void) /* Register the common signal handler for all threads */ - act.sa_sigaction = sim_handle_signal; - act.sa_flags = SA_SIGINFO; - sigemptyset(_mask); - - ret = sigaction(SIGUSR1, , NULL); - if (ret < 0) -{ - return; -} - - /* Make sure
[incubator-nuttx] 02/04: arch, sched: Fix global IRQ control logics for SMP
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 409c65ce0bc27df685bd595f5100ad03692d674a Author: Masayuki Ishikawa AuthorDate: Wed Nov 25 11:18:24 2020 +0900 arch, sched: Fix global IRQ control logics for SMP Summary: - This commit fixes global IRQ control logic - In previous implementation, g_cpu_irqset for a remote CPU was set in sched_add_readytorun(), sched_remove_readytorun() and up_schedule_sigaction() - In this implementation, they are removed. - Instead, in the pause handler, call enter_critical_setion() which will call up_cpu_paused() then acquire g_cpu_irqlock - So if a new task with irqcount > 1 restarts on the remote CPU, the CPU will only hold a critical section. Thus, the issue such as 'POSSIBLE FOR TWO CPUs TO HOLD A CRITICAL SECTION' could be resolved. - Fix nxsched_resume_scheduler() so that it does not call spin_clrbit() if a CPU does not hold a g_cpu_irqset - Fix nxtask_exit() so that it acquires g_cpu_irqlock - Update TODO Impact: - All SMP implementations Testing: - Tested with smp, ostest with the following configurations - Tested with spresense:wifi_smp (NCPUS=2,4) - Tested with sabre-6quad:smp (QEMU, dev board) - Tested with maix-bit:smp (QEMU) - Tested with esp32-core:smp (QEMU) - Tested with lc823450-xgevk:rndis Signed-off-by: Masayuki Ishikawa --- TODO | 68 +- arch/arm/src/armv7-a/arm_cpupause.c| 17 ++- arch/arm/src/armv7-a/arm_schedulesigaction.c | 14 ++ arch/arm/src/armv7-m/arm_schedulesigaction.c | 14 ++ arch/arm/src/cxd56xx/cxd56_cpupause.c | 32 ++-- arch/arm/src/lc823450/lc823450_cpupause.c | 17 ++- arch/risc-v/src/k210/k210_cpupause.c | 17 ++- arch/risc-v/src/k210/k210_schedulesigaction.c | 14 ++ arch/xtensa/src/common/xtensa_cpupause.c | 17 ++- arch/xtensa/src/common/xtensa_schedsigaction.c | 14 ++ sched/sched/sched_addreadytorun.c | 43 ++-- sched/sched/sched_removereadytorun.c | 43 ++-- sched/sched/sched_resumescheduler.c| 7 ++- sched/task/task_exit.c | 7 +++ 14 files changed, 131 insertions(+), 193 deletions(-) diff --git a/TODO b/TODO index acc6e5b..00bb931 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -NuttX TODO List (Last updated November 20, 2020) +NuttX TODO List (Last updated November 26, 2020) This file summarizes known NuttX bugs, limitations, inconsistencies with @@ -10,7 +10,7 @@ issues related to each board port. nuttx/: (16) Task/Scheduler (sched/) - (3) SMP + (2) SMP (1) Memory Management (mm/) (0) Power Management (drivers/pm) (5) Signals (sched/signal, arch/) @@ -485,70 +485,6 @@ o SMP an bugs caused by this. But I believe that failures are possible. - Title: POSSIBLE FOR TWO CPUs TO HOLD A CRITICAL SECTION? - Description: The SMP design includes logic that will support multiple - CPUs holding a critical section. Is this necessary? How - can that occur? I think it can occur in the following - situation: - - The log below was reported is NuttX running on two cores - Cortex-A7 architecture in SMP mode. You can notice see that - when nxsched_add_readytorun() was called, the g_cpu_irqset is 3. - - nxsched_add_readytorun: irqset cpu 1, me 0 btcbname init, irqset 1 irqcount 2. - nxsched_add_readytorun: nxsched_add_readytorun line 338 g_cpu_irqset = 3. - - This can happen, but only under a very certain condition. - g_cpu_irqset only exists to support this certain condition: - - a. A task running on CPU 0 takes the critical section. So -g_cpu_irqset == 0x1. - - b. A task exits on CPU 1 and a waiting, ready-to-run task -is re-started on CPU 1. This new task also holds the -critical section. So when the task is re-restarted on -CPU 1, we than have g_cpu_irqset == 0x3 - - So we are in a very perverse state! There are two tasks - running on two different CPUs and both hold the critical - section. I believe that is a dangerous situation and there - could be undiscovered bugs that could happen in that case. - However, as of this moment, I have not heard of any specific - problems caused by this weird behavior. - - A possible solution wo
[incubator-nuttx] 04/04: sim: Fix interrupt handling for SMP
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit f3a81cb1b70a8ccf024c2deb593b1102aece62c3 Author: Masayuki Ishikawa AuthorDate: Thu Nov 26 20:43:51 2020 +0900 sim: Fix interrupt handling for SMP Summary - This commit fixes interrupt handling for SMP - The following are the changes - Introduce up_copyfullstate.c - Add enter_critical_section() to up_exit() - Add a critical section to up_schedule_sigaction() - Introduce pseudo timer thread to send periodic events - UART and interval timer are now handled in the pause handler - Apply the same SMP related code as other CPU architectures - However, signal handling and context switching are not changed - Also enable debug features and some tools in smp/defconfig Imact - SMP only Testing - Tested with sim:smp on ubuntu18.04 x86_64 - Tested with hello, taskset, smp, ostest Signed-off-by: Masayuki Ishikawa --- arch/sim/src/Makefile| 1 + arch/sim/src/sim/up_blocktask.c | 9 +- arch/sim/src/sim/up_copyfullstate.c | 64 + arch/sim/src/sim/up_exit.c | 6 + arch/sim/src/sim/up_hostirq.c| 5 + arch/sim/src/sim/up_idle.c | 28 arch/sim/src/sim/up_internal.h | 35 +++-- arch/sim/src/sim/up_interruptcontext.c | 54 --- arch/sim/src/sim/up_releasepending.c | 9 +- arch/sim/src/sim/up_reprioritizertr.c| 9 +- arch/sim/src/sim/up_schedulesigaction.c | 10 ++ arch/sim/src/sim/up_simsmp.c | 131 + arch/sim/src/sim/up_smpsignal.c | 240 +-- arch/sim/src/sim/up_unblocktask.c| 27 +++- boards/sim/sim/sim/configs/smp/defconfig | 7 +- 15 files changed, 459 insertions(+), 176 deletions(-) diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index a6935ef..f21bcbc 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -74,6 +74,7 @@ CSRCS += up_createstack.c up_usestack.c up_releasestack.c up_stackframe.c CSRCS += up_unblocktask.c up_blocktask.c up_releasepending.c CSRCS += up_reprioritizertr.c up_exit.c up_schedulesigaction.c CSRCS += up_allocateheap.c up_uart.c +CSRCS += up_copyfullstate.c VPATH = sim DEPPATH = $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) diff --git a/arch/sim/src/sim/up_blocktask.c b/arch/sim/src/sim/up_blocktask.c index e81df88..8edf230 100644 --- a/arch/sim/src/sim/up_blocktask.c +++ b/arch/sim/src/sim/up_blocktask.c @@ -113,12 +113,19 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) nxsched_suspend_scheduler(rtcb); + /* TODO */ + + if (CURRENT_REGS) +{ + ASSERT(false); +} + /* Copy the exception context into the TCB at the (old) head of the * ready-to-run Task list. if up_setjmp returns a non-zero * value, then this is really the previously running task restarting! */ - if (!up_setjmp(rtcb->xcp.regs)) + else if (!up_setjmp(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/sim/src/sim/up_copyfullstate.c b/arch/sim/src/sim/up_copyfullstate.c new file mode 100644 index 000..25b2bc4 --- /dev/null +++ b/arch/sim/src/sim/up_copyfullstate.c @@ -0,0 +1,64 @@ +/ + * arch/sim/src/sim/sim_copyfullstate.c + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + / + +/ + * Included Files + / + +#include + +#include +#include + +#include "up_internal.h" + +/*
[incubator-nuttx] branch master updated (8d01185 -> f3a81cb)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 8d01185 [Performance]net/tcp: send the ACK in time after obtain ahead buffer from iobs new a249050 sched: irq: Change irq_waitlock() from private to public new 409c65c arch, sched: Fix global IRQ control logics for SMP new ad9f88f Revert "Revert "arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic"" new f3a81cb sim: Fix interrupt handling for SMP The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: TODO | 68 + arch/arm/src/armv7-a/arm_cpupause.c| 17 +- arch/arm/src/armv7-a/arm_schedulesigaction.c | 14 +- arch/arm/src/armv7-m/arm_schedulesigaction.c | 14 +- arch/arm/src/cxd56xx/cxd56_cpupause.c | 32 ++- arch/arm/src/lc823450/lc823450_cpupause.c | 17 +- arch/risc-v/src/k210/k210_cpupause.c | 17 +- arch/risc-v/src/k210/k210_schedulesigaction.c | 14 +- arch/sim/include/arch.h| 33 --- arch/sim/src/Makefile | 1 + arch/sim/src/sim/up_blocktask.c| 9 +- .../src/sim/up_copyfullstate.c}| 18 +- arch/sim/src/sim/up_exit.c | 6 + arch/sim/src/sim/up_hostirq.c | 5 + arch/sim/src/sim/up_idle.c | 28 ++ arch/sim/src/sim/up_internal.h | 36 ++- arch/sim/src/sim/up_interruptcontext.c | 54 ++-- arch/sim/src/sim/up_releasepending.c | 9 +- arch/sim/src/sim/up_reprioritizertr.c | 9 +- arch/sim/src/sim/up_schedulesigaction.c| 10 + arch/sim/src/sim/up_simsmp.c | 166 +++- arch/sim/src/sim/up_smpsignal.c| 283 ++--- arch/sim/src/sim/up_unblocktask.c | 27 +- arch/xtensa/src/common/xtensa_cpupause.c | 17 +- arch/xtensa/src/common/xtensa_schedsigaction.c | 14 +- boards/sim/sim/sim/configs/smp/defconfig | 7 +- include/nuttx/irq.h| 50 sched/irq/irq_csection.c | 2 +- sched/sched/sched_addreadytorun.c | 43 +--- sched/sched/sched_removereadytorun.c | 43 +--- sched/sched/sched_resumescheduler.c| 7 +- sched/task/task_exit.c | 7 + 32 files changed, 624 insertions(+), 453 deletions(-) copy arch/{arm/src/armv7-m/arm_copyfullstate.c => sim/src/sim/up_copyfullstate.c} (81%)
[incubator-nuttx] 01/04: sched: irq: Change irq_waitlock() from private to public
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit a24905059e8d3dcf9e5cad2d4251af9177de8606 Author: Masayuki Ishikawa AuthorDate: Wed Nov 25 09:53:03 2020 +0900 sched: irq: Change irq_waitlock() from private to public Signed-off-by: Masayuki Ishikawa --- include/nuttx/irq.h | 50 sched/irq/irq_csection.c | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/include/nuttx/irq.h b/include/nuttx/irq.h index 07474bc..0a6c094 100644 --- a/include/nuttx/irq.h +++ b/include/nuttx/irq.h @@ -46,6 +46,9 @@ #ifndef __ASSEMBLY__ # include # include +# ifdef CONFIG_SMP +# include +# endif #endif /* Now include architecture-specific types */ @@ -171,6 +174,53 @@ int irqchain_detach(int irq, xcpt_t isr, FAR void *arg); #endif / + * Name: irq_waitlock + * + * Description: + * Spin to get g_irq_waitlock, handling a known deadlock condition: + * + * A deadlock may occur if enter_critical_section is called from an + * interrupt handler. Suppose: + * + * - CPUn is in a critical section and has the g_cpu_irqlock spinlock. + * - CPUm takes an interrupt and attempts to enter the critical section. + * - It spins waiting on g_cpu_irqlock with interrupts disabled. + * - CPUn calls up_cpu_pause() to pause operation on CPUm. This will + * issue an inter-CPU interrupt to CPUm + * - But interrupts are disabled on CPUm so the up_cpu_pause() is never + * handled, causing the deadlock. + * + * This same deadlock can occur in the normal tasking case: + * + * - A task on CPUn enters a critical section and has the g_cpu_irqlock + * spinlock. + * - Another task on CPUm attempts to enter the critical section but has + * to wait, spinning to get g_cpu_irqlock with interrupts disabled. + * - The task on CPUn causes a new task to become ready-to-run and the + * scheduler selects CPUm. CPUm is requested to pause via a pause + * interrupt. + * - But the task on CPUm is also attempting to enter the critical + * section. Since it is spinning with interrupts disabled, CPUm cannot + * process the pending pause interrupt, causing the deadlock. + * + * This function detects this deadlock condition while spinning with \ + * interrupts disabled. + * + * Input Parameters: + * cpu - The index of CPU that is trying to enter the critical section. + * + * Returned Value: + * True: The g_cpu_irqlock spinlock has been taken. + * False: The g_cpu_irqlock spinlock has not been taken yet, but there is + * a pending pause interrupt request. + * + / + +#ifdef CONFIG_SMP +bool irq_waitlock(int cpu); +#endif + +/ * Name: enter_critical_section * * Description: diff --git a/sched/irq/irq_csection.c b/sched/irq/irq_csection.c index c26e6d6..34565da 100644 --- a/sched/irq/irq_csection.c +++ b/sched/irq/irq_csection.c @@ -105,7 +105,7 @@ volatile uint8_t g_cpu_nestcount[CONFIG_SMP_NCPUS]; / #ifdef CONFIG_SMP -static inline bool irq_waitlock(int cpu) +bool irq_waitlock(int cpu) { #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS FAR struct tcb_s *tcb = current_task(cpu);
[incubator-nuttx] branch master updated (979a5b7 -> b2110fc)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 979a5b7 stm32: convert all STM32G47X specific code to generic STM32G4 series code. add b2110fc drivers/power/bq2425x.c: fix build error with baterr() No new revisions were added by this update. Summary of changes: drivers/power/bq2425x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[incubator-nuttx] branch master updated (316cdcc -> ad66ea5)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 316cdcc net/sockopt: Try usrsock further if the protocol not available new ab78bae net/igmp: add sanity check to handle allocate fail new ad66ea5 net/igmp: fix nxstyle warning The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: net/igmp/igmp_join.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-)
[incubator-nuttx] 01/02: net/igmp: add sanity check to handle allocate fail
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit ab78bae12f13535bdbf18aaa716688a370ad8ccb Author: chao.an AuthorDate: Mon Nov 30 14:35:11 2020 +0800 net/igmp: add sanity check to handle allocate fail Change-Id: Ia3128c9c2b219345fb6ac2789ece7760c6aee663 Signed-off-by: chao.an --- net/igmp/igmp_join.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/igmp/igmp_join.c b/net/igmp/igmp_join.c index c87f231..1e8876d 100644 --- a/net/igmp/igmp_join.c +++ b/net/igmp/igmp_join.c @@ -135,6 +135,11 @@ int igmp_joingroup(struct net_driver_s *dev, ninfo("Join to new group: %08" PRIx32 "\n", (uint32_t)grpaddr->s_addr); group = igmp_grpalloc(dev, >s_addr); + if (group == NULL) +{ + return -EADDRNOTAVAIL; +} + IGMP_STATINCR(g_netstats.igmp.joins); /* Send the Membership Report */
[incubator-nuttx] 02/02: net/igmp: fix nxstyle warning
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit ad66ea51e52da97870c29c94a0f8e4d39cc178b3 Author: chao.an AuthorDate: Mon Nov 30 15:20:24 2020 +0800 net/igmp: fix nxstyle warning Change-Id: I6bb84038e035b81ea66b128ebf109f4a392ee6ab Signed-off-by: chao.an --- net/igmp/igmp_join.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/net/igmp/igmp_join.c b/net/igmp/igmp_join.c index 1e8876d..c28b101 100644 --- a/net/igmp/igmp_join.c +++ b/net/igmp/igmp_join.c @@ -19,21 +19,21 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. Neither the name of CITEL Technologies Ltd nor the names of its contributors - *may be used to endorse or promote products derived from this software - *without specific prior written permission. + * 3. Neither the name of CITEL Technologies Ltd nor the names of its + *contributors may be used to endorse or promote products derived + *from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY CITEL TECHNOLOGIES AND CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL CITEL TECHNOLOGIES OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * ARE DISCLAIMED. IN NO EVENT SHALL CITEL TECHNOLOGIES OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. * /
[incubator-nuttx-apps] branch master updated (02c3298 -> ab83a12)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. from 02c3298 LVGL: use NuttX's printf() new e9a48d1 fsutils/mkfatfs/configfat.c: Fix syslog formats new 12a9843 netutils/chat/chat.c: Appease nxstyle new ab83a12 netutils/chat/chat.c: Avoid assumping debug macro expansion The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: fsutils/mkfatfs/configfat.c | 10 +- netutils/chat/chat.c| 34 -- 2 files changed, 25 insertions(+), 19 deletions(-)
[incubator-nuttx-apps] 03/03: netutils/chat/chat.c: Avoid assumping debug macro expansion
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit ab83a12cffc93018786959b1d1d4023c784c4425 Author: YAMAMOTO Takashi AuthorDate: Tue Dec 1 14:10:24 2020 +0900 netutils/chat/chat.c: Avoid assumping debug macro expansion --- netutils/chat/chat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c index 2e883ed..2a319f6 100644 --- a/netutils/chat/chat.c +++ b/netutils/chat/chat.c @@ -682,7 +682,9 @@ static int chat_script_run(FAR struct chat *priv) } } +#ifdef CONFIG_DEBUG_INFO _info("Script result %d, exited on line %d\n", ret, line_num); +#endif return ret; }
[incubator-nuttx-apps] 01/03: fsutils/mkfatfs/configfat.c: Fix syslog formats
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit e9a48d174ea04e692c25395c803fa54f2ca454ab Author: YAMAMOTO Takashi AuthorDate: Tue Dec 1 14:01:13 2020 +0900 fsutils/mkfatfs/configfat.c: Fix syslog formats --- fsutils/mkfatfs/configfat.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fsutils/mkfatfs/configfat.c b/fsutils/mkfatfs/configfat.c index 687fa50..eac5ac2 100644 --- a/fsutils/mkfatfs/configfat.c +++ b/fsutils/mkfatfs/configfat.c @@ -1013,20 +1013,20 @@ int mkfatfs_configfatfs(FAR struct fat_format_s *fmt, /* Describe the configured filesystem */ #ifdef CONFIG_DEBUG_FEATURES - finfo("Sector size: %d bytes\n",var->fv_sectorsize); - finfo("Number of sectors:%d sectors\n", fmt->ff_nsectors); + finfo("Sector size: %" PRId32 " bytes\n",var->fv_sectorsize); + finfo("Number of sectors:%" PRId32 " sectors\n", fmt->ff_nsectors); finfo("FAT size: %d bits\n", var->fv_fattype); finfo("Number FATs: %d\n", fmt->ff_nfats); finfo("Sectors per cluster: %d sectors\n", 1 << fmt->ff_clustshift); - finfo("FS size: %d sectors\n", var->fv_nfatsects); - finfo(" %d clusters\n", var->fv_nclusters); + finfo("FS size: %" PRId32 " sectors\n", var->fv_nfatsects); + finfo(" %" PRId32 " clusters\n", var->fv_nclusters); if (var->fv_fattype != 32) { finfo("Root directory slots: %d\n", fmt->ff_rootdirentries); } - finfo("Volume ID:%08x\n", fmt->ff_volumeid); + finfo("Volume ID:%08" PRIx32 "\n", fmt->ff_volumeid); finfo("Volume Label: \"%c%c%c%c%c%c%c%c%c%c%c\"\n", fmt->ff_volumelabel[0], fmt->ff_volumelabel[1], fmt->ff_volumelabel[2], fmt->ff_volumelabel[3], fmt->ff_volumelabel[4], fmt->ff_volumelabel[5],
[incubator-nuttx-apps] 02/03: netutils/chat/chat.c: Appease nxstyle
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 12a98433b7e42386c4b5a770725dccc976ac1b73 Author: YAMAMOTO Takashi AuthorDate: Tue Dec 1 14:08:41 2020 +0900 netutils/chat/chat.c: Appease nxstyle The following nxstyle error is intentionally left. It's a nested function. I guess nxstyle doesn't support it. netutils/chat/chat.c:110:8: error: Bad comment alignment --- netutils/chat/chat.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c index a4c6c88..2e883ed 100644 --- a/netutils/chat/chat.c +++ b/netutils/chat/chat.c @@ -66,9 +66,9 @@ struct chat_token { - FAR char* string; + FAR char *string; bool no_termin; - FAR struct chat_token* next; + FAR struct chat_token *next; }; / @@ -245,6 +245,7 @@ static int chat_tokenise(FAR struct chat *priv, break; case 'c': + /* Deassert line terminator */ no_termin = true; @@ -342,7 +343,8 @@ static int chat_internalise(FAR struct chat *priv, { /* Copy the token and add the line terminator as appropriate */ - sprintf(line->rhs, tok->no_termin ? "%s" : "%s\r\n", tok->string); + sprintf(line->rhs, tok->no_termin ? "%s" : "%s\r\n", + tok->string); } else { @@ -414,7 +416,7 @@ static int chat_internalise(FAR struct chat *priv, static void chat_tokens_free(FAR struct chat_token *first_tok) { - FAR struct chat_token* next_tok; + FAR struct chat_token *next_tok; while (first_tok) { @@ -437,10 +439,10 @@ static int chat_script_parse(FAR struct chat *priv, FAR const char *script) int ret; ret = chat_tokenise(priv, script, _tok); - if (!ret) - { - ret = chat_internalise(priv, first_tok); - } + if (!ret) +{ + ret = chat_internalise(priv, first_tok); +} chat_tokens_free(first_tok); return ret; @@ -504,7 +506,7 @@ static int chat_expect(FAR struct chat *priv, FAR const char *s) /* Get initial time and set the end time */ - clock_gettime(CLOCK_REALTIME, (FAR struct timespec*) ); + clock_gettime(CLOCK_REALTIME, (FAR struct timespec *)); endtime.tv_sec = abstime.tv_sec + priv->ctl.timeout; endtime.tv_nsec = abstime.tv_nsec; @@ -537,7 +539,7 @@ static int chat_expect(FAR struct chat *priv, FAR const char *s) /* Update current time */ - clock_gettime(CLOCK_REALTIME, (FAR struct timespec*) ); + clock_gettime(CLOCK_REALTIME, (FAR struct timespec *)); } } @@ -564,8 +566,8 @@ static int chat_send(FAR struct chat *priv, FAR const char *s) return ret; } -static int chat_line_run(FAR struct chat* priv, - FAR const struct chat_line* line) +static int chat_line_run(FAR struct chat *priv, + FAR const struct chat_line *line) { int ret = 0; int numarg; @@ -584,7 +586,9 @@ static int chat_line_run(FAR struct chat* priv, switch (line->lhs.command) { case CHAT_COMMAND_ABORT: + /* TODO */ + break; case CHAT_COMMAND_ECHO: @@ -684,8 +688,8 @@ static int chat_script_run(FAR struct chat *priv) static int chat_script_free(FAR struct chat *priv) { - FAR struct chat_line* line = priv->script; - FAR struct chat_line* next_line; + FAR struct chat_line *line = priv->script; + FAR struct chat_line *next_line; int ret = 0; while (line)
[incubator-nuttx] branch master updated (6637c5a -> 6d5cda1)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 6637c5a nrf52 PWM: fix missing trailing comma (build failure) new bb8c448 libc: Change OK/ERROR macro to enum new 4ebf446 arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect new 6d5cda1 Fix nxstyle warning The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: arch/arm/src/sama5/sam_ehci.c | 36 ++-- include/sys/types.h | 18 -- 2 files changed, 34 insertions(+), 20 deletions(-)
[incubator-nuttx] 01/03: libc: Change OK/ERROR macro to enum
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit bb8c4485a2803c7873b275a2e732665633b394cb Author: Xiang Xiao AuthorDate: Fri Nov 27 15:50:25 2020 +0800 libc: Change OK/ERROR macro to enum to avoid the conflict with 3rd party c++ library(e.g. protobuf): https://github.com/protocolbuffers/protobuf/blob/fdc35840b95f56c3aef44a3fc6ae5991f21620a5/src/google/protobuf/stubs/status.h#L47 Signed-off-by: Xiang Xiao Change-Id: Ie8bb9008a8375c729f8b947c9f10baa80104d157 --- include/sys/types.h | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/include/sys/types.h b/include/sys/types.h index 4bc7b97..ea46899 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -76,16 +76,6 @@ # endif #endif -/* POSIX-like OS return values: */ - -#if !defined(__cplusplus) -# undef ERROR -# define ERROR -1 -#endif - -#undef OK -#define OK 0 - /* Scheduling Priorities. * * NOTES: @@ -305,6 +295,14 @@ typedef uint64_t u_int64_t; typedef CODE int (*main_t)(int argc, FAR char *argv[]); +/* POSIX-like OS return values: */ + +enum +{ + ERROR = -1, + OK = 0, +}; + #endif /* __ASSEMBLY__ */ /
[incubator-nuttx] 02/03: arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 4ebf446ebb51b291050824e2fb9c2270761a9455 Author: Xiang Xiao AuthorDate: Fri Nov 27 19:41:46 2020 +0800 arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect Signed-off-by: Xiang Xiao --- arch/arm/src/sama5/sam_ehci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index f372908..4910ef4 100644 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -336,8 +336,8 @@ static int sam_qh_dump(struct sam_qh_s *qh, uint32_t **bp, void *arg); #else # define sam_qtd_print(qtd) # define sam_qh_print(qh) -# define sam_qtd_dump(qtd, bp, arg) OK -# define sam_qh_dump(qh, bp, arg) OK +# define sam_qtd_dump(qtd, bp, arg) +# define sam_qh_dump(qh, bp, arg) #endif static inline uint8_t sam_ehci_speed(uint8_t usbspeed);
[incubator-nuttx] 03/03: Fix nxstyle warning
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 6d5cda1db88da11c3dc7df549098890d5e840683 Author: Xiang Xiao AuthorDate: Fri Nov 27 19:45:58 2020 +0800 Fix nxstyle warning Signed-off-by: Xiang Xiao --- arch/arm/src/sama5/sam_ehci.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index 4910ef4..c794cf3 100644 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -163,7 +163,9 @@ struct sam_qh_s uint8_t pad[8]; /* Padding to assure 32-byte alignment */ }; -/* Internal representation of the EHCI Queue Element Transfer Descriptor (qTD) */ +/* Internal representation of the EHCI Queue Element Transfer Descriptor + * (qTD) + */ struct sam_qtd_s { @@ -2115,7 +2117,9 @@ static int sam_async_setup(struct sam_rhport_s *rhport, tokenbits |= QTD_TOKEN_PID_IN; } - /* Allocate a new Queue Element Transfer Descriptor (qTD) for the status */ + /* Allocate a new Queue Element Transfer Descriptor (qTD) for the + * status + */ qtd = sam_qtd_statusphase(tokenbits); if (qtd == NULL) @@ -3927,7 +3931,9 @@ static int sam_free(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer) { DEBUGASSERT(drvr && buffer); - /* No special action is require to free the transfer/descriptor buffer memory */ + /* No special action is require to free the transfer/descriptor buffer + * memory + */ kmm_free(buffer); return OK; @@ -4072,7 +4078,9 @@ static int sam_ctrlin(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep0, req->index[1], req->index[0], len); #endif - /* We must have exclusive access to the EHCI hardware and data structures. */ + /* We must have exclusive access to the EHCI hardware and data + * structures. + */ ret = sam_takesem(_ehci.exclsem); if (ret < 0) @@ -4172,7 +4180,9 @@ static ssize_t sam_transfer(FAR struct usbhost_driver_s *drvr, DEBUGASSERT(rhport && epinfo && buffer && buflen > 0); - /* We must have exclusive access to the EHCI hardware and data structures. */ + /* We must have exclusive access to the EHCI hardware and data + * structures. + */ ret = sam_takesem(_ehci.exclsem); if (ret < 0) @@ -4282,7 +4292,9 @@ static int sam_asynch(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep, DEBUGASSERT(rhport && epinfo && buffer && buflen > 0); - /* We must have exclusive access to the EHCI hardware and data structures. */ + /* We must have exclusive access to the EHCI hardware and data + * structures. + */ ret = sam_takesem(_ehci.exclsem); if (ret < 0) @@ -4713,7 +4725,9 @@ static int sam_reset(void) return -ETIMEDOUT; } - /* Now we can set the HCReset bit in the USBCMD register to initiate the reset */ + /* Now we can set the HCReset bit in the USBCMD register to initiate the + * reset + */ regval = sam_getreg(>usbcmd); regval |= EHCI_USBCMD_HCRESET; @@ -5154,7 +5168,9 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller) sam_putreg(regval, >usbcmd); - /* Start the host controller by setting the RUN bit in the USBCMD register. */ + /* Start the host controller by setting the RUN bit in the USBCMD + * register. + */ regval = sam_getreg(>usbcmd); regval |= EHCI_USBCMD_RUN;
[incubator-nuttx-apps] branch master updated: examples/mld: Fix undefined reference to `mld_catfile'
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 24b6f91 examples/mld: Fix undefined reference to `mld_catfile' 24b6f91 is described below commit 24b6f9199af7b8d593e56e43419a39b95b85abca Author: Xiang Xiao AuthorDate: Tue Nov 24 17:06:14 2020 +0800 examples/mld: Fix undefined reference to `mld_catfile' Signed-off-by: Xiang Xiao Change-Id: I0948b75fe3aea2351c3584cda9bcb7dd41cdd1f9 --- examples/mld/mld_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mld/mld_main.c b/examples/mld/mld_main.c index 8bac0b4..02b5d31 100644 --- a/examples/mld/mld_main.c +++ b/examples/mld/mld_main.c @@ -251,7 +251,7 @@ void mld_catfile(FAR const char *filepath, FAR char **iobuffer) #ifdef HAVE_PROC_NET_STATS # define mld_dumpstats(iobuffer) mld_catfile(PROCFS_MLD_PATH, iobuffer) #else -# define mld_dumpstats(iobuffer) mld_catfile(PROCFS_MLD_PATH, iobuffer) +# define mld_dumpstats(iobuffer) #endif #ifdef HAVE_PROC_NET_ROUTE
[incubator-nuttx] branch master updated (5d872e0 -> 2395ab7)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 5d872e0 Remove depricated usage of set-env in GitHub add 2395ab7 sched: task: Fix nxtask_exit() for SMP No new revisions were added by this update. Summary of changes: sched/task/task_exit.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)
[incubator-nuttx] branch master updated: nxstyle: Add more inttypes.h stuff to the whitelist
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 954115e nxstyle: Add more inttypes.h stuff to the whitelist 954115e is described below commit 954115e0974b823600245ec7e2cb8e4b8d499e8a Author: YAMAMOTO Takashi AuthorDate: Thu Nov 5 21:51:38 2020 +0900 nxstyle: Add more inttypes.h stuff to the whitelist --- tools/nxstyle.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 7e9136b..6698bdd 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -183,7 +183,16 @@ static const struct file_section_s g_section_info[] = static const char *g_white_prefix[] = { "Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */ - "PRIx",/* Ref: intttypes.h */ + "PRId",/* Ref: inttypes.h */ + "PRIi",/* Ref: inttypes.h */ + "PRIo",/* Ref: inttypes.h */ + "PRIu",/* Ref: inttypes.h */ + "PRIx",/* Ref: inttypes.h */ + "SCNd",/* Ref: inttypes.h */ + "SCNi",/* Ref: inttypes.h */ + "SCNo",/* Ref: inttypes.h */ + "SCNu",/* Ref: inttypes.h */ + "SCNx",/* Ref: inttypes.h */ "SYS_",/* Ref: include/sys/syscall.h */ "STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */ "b8", /* Ref: include/fixedmath.h */
[incubator-nuttx] branch master updated (30f862f -> 2dfd7a4)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 30f862f Avoid messing the final binary nuttx.(bin,hex,...) compilation msg add 2dfd7a4 signal.h: fix compile failed when open TTY_SIGINT No new revisions were added by this update. Summary of changes: include/signal.h | 47 ++- sched/Kconfig| 7 --- 2 files changed, 38 insertions(+), 16 deletions(-)
[incubator-nuttx] branch master updated (30f862f -> 2dfd7a4)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 30f862f Avoid messing the final binary nuttx.(bin,hex,...) compilation msg add 2dfd7a4 signal.h: fix compile failed when open TTY_SIGINT No new revisions were added by this update. Summary of changes: include/signal.h | 47 ++- sched/Kconfig| 7 --- 2 files changed, 38 insertions(+), 16 deletions(-)
[incubator-nuttx-testing] branch master updated: CI: Add Linux headers to docker image
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git The following commit(s) were added to refs/heads/master by this push: new 9cf3db3 CI: Add Linux headers to docker image 9cf3db3 is described below commit 9cf3db3a0ea95c9b96784c1cfa6c10216694820f Author: Brennan Ashton AuthorDate: Mon Nov 2 22:13:05 2020 -0800 CI: Add Linux headers to docker image Signed-off-by: Brennan Ashton --- docker/linux/Dockerfile | 1 + testlist/sim.dat| 4 2 files changed, 5 insertions(+) diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile index d0f9efe..9265611 100644 --- a/docker/linux/Dockerfile +++ b/docker/linux/Dockerfile @@ -230,6 +230,7 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q libx11-dev libx11-dev:i386 \ libxext-dev libxext-dev:i386 \ linux-libc-dev:i386 \ + linux-headers-generic \ python3 \ python3-pip \ python-is-python3 \ diff --git a/testlist/sim.dat b/testlist/sim.dat index f4740da..44bdd19 100644 --- a/testlist/sim.dat +++ b/testlist/sim.dat @@ -20,3 +20,7 @@ # macOS doesn't have ALSA -Darwin,sim:alsa + +# Do not build Linux configs +-Darwin,sim:linux.* +
[incubator-nuttx] branch master updated: sched: irq: Fix enter_critical_section() in an irq handler for SMP
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 6ec9408 sched: irq: Fix enter_critical_section() in an irq handler for SMP 6ec9408 is described below commit 6ec94082a10a914acc50330ab40f63a425fa67d0 Author: Masayuki Ishikawa AuthorDate: Mon Nov 2 17:06:21 2020 +0900 sched: irq: Fix enter_critical_section() in an irq handler for SMP Summary: - I found a deadlock during Wi-Fi audio streaming test plus stress test - The testing environment was spresense:wifi_smp (NCPUS=4) - The deadlock happened because two CPUs called up_cpu_pause() almost simultaneously - This situation should not happen, because up_cpu_pause() is called in a critical section - Actually, the latter call was from nxsem_post() in an IRQ handler - And when enter_critical_section() was called, irq_waitlock() detected a deadlock - Then it called up_cpu_paused() to break the deadlock - However, this resulted in setting g_cpu_irqset on the CPU - Even though another CPU had held a g_cpu_irqlock - This situation violates the critical section and should be avoided - To avoid the situation, if a CPU sets g_cpu_irqset after calling up_cpu_paused() - The CPU must release g_cpu_irqlock first - Then retry irq_waitlock() to acquire g_cpu_irqlock Impact: - Affect SMP Testing: - Tested with spresense:wifi_smp (NCPUS=2 and 4) - Tested with spresense:smp - Tested with sim:smp - Tested with sabre-6quad:smp (QEMU) - Tested with maix-bit:smp (QEMU) - Tested with esp32-core:smp (QEMU) - Tested with lc823450-xgevk:rndis Signed-off-by: Masayuki Ishikawa --- sched/irq/irq_csection.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/sched/irq/irq_csection.c b/sched/irq/irq_csection.c index 6993641..9eeb4b4 100644 --- a/sched/irq/irq_csection.c +++ b/sched/irq/irq_csection.c @@ -265,6 +265,7 @@ try_again: * no longer blocked by the critical section). */ +try_again_in_irq: if (!irq_waitlock(cpu)) { /* We are in a deadlock condition due to a pending @@ -273,6 +274,24 @@ try_again: */ DEBUGVERIFY(up_cpu_paused(cpu)); + + /* NOTE: As the result of up_cpu_paused(cpu), this CPU + * might set g_cpu_irqset in nxsched_resume_scheduler() + * However, another CPU might hold g_cpu_irqlock. + * To avoid this situation, releae g_cpu_irqlock first. + */ + + if ((g_cpu_irqset & (1 << cpu)) != 0) +{ + spin_clrbit(_cpu_irqset, cpu, _cpu_irqsetlock, + _cpu_irqlock); +} + + /* NOTE: Here, this CPU does not hold g_cpu_irqlock, + * so call irq_waitlock(cpu) to acquire g_cpu_irqlock. + */ + + goto try_again_in_irq; } }
[incubator-nuttx] branch master updated (9208176 -> d987dd2)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 9208176 build: Move __NuttX__ definition to tools/Config.mk add d987dd2 stm32 - Fix wrong executable permission on header file No new revisions were added by this update. Summary of changes: arch/arm/src/stm32/hardware/stm32g47xxx_vrefbuf.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm/src/stm32/hardware/stm32g47xxx_vrefbuf.h
[incubator-nuttx] branch master updated (9208176 -> d987dd2)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 9208176 build: Move __NuttX__ definition to tools/Config.mk add d987dd2 stm32 - Fix wrong executable permission on header file No new revisions were added by this update. Summary of changes: arch/arm/src/stm32/hardware/stm32g47xxx_vrefbuf.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm/src/stm32/hardware/stm32g47xxx_vrefbuf.h
[incubator-nuttx-apps] branch master updated: Fixing coding style issues for rest of nshlib directory - except for the false +ve nsh_timcmds.c
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 3b884cf Fixing coding style issues for rest of nshlib directory - except for the false +ve nsh_timcmds.c 3b884cf is described below commit 3b884cfb870d21d02542d7e8434d286228e359f6 Author: Subhra Sankha Sarkar AuthorDate: Mon Nov 2 17:00:26 2020 +0530 Fixing coding style issues for rest of nshlib directory - except for the false +ve nsh_timcmds.c --- nshlib/nsh_routecmds.c | 107 --- nshlib/nsh_syscmds.c | 3 +- nshlib/nsh_telnetlogin.c | 12 -- nshlib/nsh_test.c| 80 +-- nshlib/nsh_vars.c| 6 +-- 5 files changed, 107 insertions(+), 101 deletions(-) diff --git a/nshlib/nsh_routecmds.c b/nshlib/nsh_routecmds.c index d753b31..4e0e8ba 100644 --- a/nshlib/nsh_routecmds.c +++ b/nshlib/nsh_routecmds.c @@ -60,36 +60,36 @@ static int slash_notation(FAR char *arg) { - FAR char *sptr; - FAR char *ptr; - - /* If an address contains a /, then the netmask is imply by the following -* numeric value. -*/ - - sptr = strchr(arg, '/'); - if (sptr != NULL) - { - /* Make sure that everything following the slash is a decimal digit. */ - - ptr = sptr + 1; - while (isdigit(*ptr)) - { - ptr++; - } - - /* There should be nothing be digits after the slash and up to the -* NULL terminator. -*/ - - if (*ptr == '\0') - { - *sptr++ = '\0'; - return atoi(sptr); - } - } - - return ERROR; + FAR char *sptr; + FAR char *ptr; + + /* If an address contains a /, then the netmask is imply by the following + * numeric value. + */ + + sptr = strchr(arg, '/'); + if (sptr != NULL) +{ + /* Make sure that everything following the slash is a decimal digit. */ + + ptr = sptr + 1; + while (isdigit(*ptr)) +{ + ptr++; +} + + /* There should be nothing be digits after the slash and up to the + * NULL terminator. + */ + + if (*ptr == '\0') +{ + *sptr++ = '\0'; + return atoi(sptr); +} +} + + return ERROR; } / @@ -191,30 +191,30 @@ int cmd_addroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #ifdef CONFIG_NET_IPv4 -if (family == PF_INET) - { -ret = netlib_set_dripv4addr(argv[3], ); -if (ret != 0) - { -nsh_error(vtbl, g_fmtcmdfailed, argv[0]); -goto errout; - } - } + if (family == PF_INET) +{ + ret = netlib_set_dripv4addr(argv[3], ); + if (ret != 0) +{ + nsh_error(vtbl, g_fmtcmdfailed, argv[0]); + goto errout; +} +} #endif #ifdef CONFIG_NET_IPv6 -if (family == PF_INET6) - { -ret = netlib_set_dripv6addr(argv[3], ); -if (ret != 0) - { -nsh_error(vtbl, g_fmtcmdfailed, argv[0]); -goto errout; - } - } + if (family == PF_INET6) +{ + ret = netlib_set_dripv6addr(argv[3], ); + if (ret != 0) +{ + nsh_error(vtbl, g_fmtcmdfailed, argv[0]); + goto errout; +} +} #endif -return OK; + return OK; } /* Check if slash notation is used with the target address */ @@ -291,7 +291,7 @@ int cmd_addroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #endif - /* Convert the netmask IP address string into its binary form */ + /* Convert the netmask IP address string into its binary form */ if (shift >= 0) { @@ -355,6 +355,7 @@ int cmd_addroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } } #endif + rtrndx = 2; } else @@ -369,7 +370,7 @@ int cmd_addroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } rtrndx = 3; - } +} /* Format the netmask sockaddr instance */ @@ -396,7 +397,7 @@ int cmd_addroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #endif - /* Convert the router IP address string into its binary form */ + /* Convert the router IP address string into its binary form */ ret = inet_pton(family, argv[rtrndx], ); if (ret != 1) @@ -571,7 +572,7 @@ int cmd_delroute(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #endif - /* Convert the netmask IP address string into its binary form */ + /* Convert the netmask IP address string into its binary form */ if (shift &
[incubator-nuttx] branch master updated (21f9093 -> cc869d8)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 21f9093 nxstyle fixes add cc869d8 boards/cxd56xx: Remove HOSTCC and HOSTCFLAGS from Make.defs No new revisions were added by this update. Summary of changes: boards/arm/cxd56xx/spresense/scripts/Make.defs | 4 1 file changed, 4 deletions(-)
[incubator-nuttx-testing] branch master updated: testlist/sim.dat: Skip 32bit/X11 sim build for macOS
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git The following commit(s) were added to refs/heads/master by this push: new 21bed31 testlist/sim.dat: Skip 32bit/X11 sim build for macOS 21bed31 is described below commit 21bed31c1d560dc5f8f7d8f75d2105ce4d559f3d Author: Xiang Xiao AuthorDate: Tue Oct 27 02:21:27 2020 +0800 testlist/sim.dat: Skip 32bit/X11 sim build for macOS since macOS don't support them Signed-off-by: Xiang Xiao --- testlist/sim.dat | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/testlist/sim.dat b/testlist/sim.dat index f05ef1f..aa3e5c9 100644 --- a/testlist/sim.dat +++ b/testlist/sim.dat @@ -3,14 +3,16 @@ # CONFIG_SIM_M32=y # The recent versions of macOS is 64-bit only --sim:loadable --sim:module32 --sim:sotest32 +-Darwin,sim:loadable +-Darwin,sim:module32 +-Darwin,sim:rpproxy +-Darwin,sim:rpserver +-Darwin,sim:sotest32 # X11 # macOS doesn't have X11 --sim:nsh2 --sim:nx11 --sim:nxlines --sim:nxwm --sim:touchscreen +-Darwin,sim:nsh2 +-Darwin,sim:nx11 +-Darwin,sim:nxlines +-Darwin,sim:nxwm +-Darwin,sim:touchscreen
[incubator-nuttx] branch master updated (b405722 -> 34df212)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from b405722 usbdev: add Android Debug Bridge driver add 34df212 Fix missing 'ret' reported by Frank-Christian Kruegel No new revisions were added by this update. Summary of changes: arch/arm/src/stm32h7/stm32_ethernet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
[incubator-nuttx-apps] 01/04: wireless: gs2200m: Fix to handle UDP connect() with bind()
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 196b1f06df53541509fe149d159b1fb18d424cf7 Author: Masayuki Ishikawa AuthorDate: Fri Oct 9 21:18:29 2020 +0900 wireless: gs2200m: Fix to handle UDP connect() with bind() Summary: - This commit fixes to handle UDP connect() with bind() to local port - NOTE: GS2200M does not support TCP connect() with bind to local port Impact: - All UDP cases which use connect() with gs2200m - Need to update nuttx as well Testing: - Tested with spresense:wifi - Create a UDP socket and bind() to local port. - Then connect() to remote address with port and send() Signed-off-by: Masayuki Ishikawa --- wireless/gs2200m/gs2200m_main.c | 74 + 1 file changed, 61 insertions(+), 13 deletions(-) diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c index bbb93ad..628ea61 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -77,9 +77,11 @@ enum sock_state_e struct usock_s { - int8_t type; - charcid; + int8_t type; + char cid; enum sock_state_e state; + uint16_t lport; /* local port */ + struct sockaddr_in raddr; /* remote addr */ }; struct gs2200m_s @@ -581,6 +583,35 @@ static int connect_request(int fd, FAR struct gs2200m_s *priv, goto prepare; } + memset(, 0, sizeof(cmsg)); + + /* Check if this socket is already connected. */ + + if (BOUND == usock->state) +{ + if (usock->type == SOCK_STREAM) +{ + ret = -EISCONN; + goto prepare; +} + else +{ + /* Firstly, close the socket */ + + struct gs2200m_close_msg clmsg; + memset(, 0, sizeof(clmsg)); + clmsg.cid = usock->cid; + + ioctl(priv->gsfd, GS2200M_IOC_CLOSE, (unsigned long)); + + /* Copy the local port info */ + + cmsg.lport = usock->lport; + + usock->state = OPENED; +} +} + /* Check if address size ok. */ if (req->addrlen > sizeof(addr)) @@ -622,6 +653,7 @@ static int connect_request(int fd, FAR struct gs2200m_s *priv, { usock->cid = cmsg.cid; usock->state = CONNECTED; + usock->raddr = addr; } else { @@ -704,26 +736,41 @@ static int sendto_request(int fd, FAR struct gs2200m_s *priv, goto prepare; } + memset(, 0, sizeof(smsg)); + smsg.is_tcp = (usock->type == SOCK_STREAM) ? true : false; /* For UDP, addlen must be provided */ - if (usock->type == SOCK_DGRAM && CONNECTED != usock->state) + if (usock->type == SOCK_DGRAM) { - if (req->addrlen == 0) + if (CONNECTED != usock->state) { - ret = -EINVAL; - goto prepare; -} + if (req->addrlen == 0) +{ + ret = -EINVAL; + goto prepare; +} - /* In UDP case, read the address. */ + /* In UDP case, read the address. */ - rlen = read(fd, , sizeof(smsg.addr)); + rlen = read(fd, , sizeof(smsg.addr)); - if (rlen < 0 || rlen < req->addrlen) + if (rlen < 0 || rlen < req->addrlen) +{ + ret = -EFAULT; + goto prepare; +} +} + else if (CONNECTED == usock->state) { - ret = -EFAULT; - goto prepare; + /* Copy remote address */ + + smsg.addr = usock->raddr; +} + else +{ + ASSERT(false); } gs2200m_printf("%s: addr: %s:%d", @@ -1010,7 +1057,8 @@ static int bind_request(int fd, FAR struct gs2200m_s *priv, if (0 == ret) { - usock->cid = bmsg.cid; + usock->cid = bmsg.cid; + usock->lport = ntohs(addr.sin_port); usock->state = BOUND; }
[incubator-nuttx-apps] 02/04: wireless: gs2200m: Fix to handle address info in accept()
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 0e9594e1074efb5cc26ef6d58e20a87ef39e1ecc Author: Masayuki Ishikawa AuthorDate: Mon Oct 12 14:02:18 2020 +0900 wireless: gs2200m: Fix to handle address info in accept() Summary: - This commit fixes to handle address info in accept() Impact: - All use cases which use accept() with gs2200m - Need to update nuttx as well Testing: - Tested with spresene:wifi - Tested with telnet daemon Signed-off-by: Masayuki Ishikawa --- wireless/gs2200m/gs2200m_main.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c index 628ea61..b95be57 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -1132,7 +1132,6 @@ static int accept_request(int fd, FAR struct gs2200m_s *priv, struct gs2200m_accept_msg amsg; FAR struct usock_s *usock; FAR struct usock_s *new_usock = NULL; - struct sockaddr_in ep_addr; int ret = 0; int16_t usockid; /* usockid for new client */ @@ -1173,6 +1172,7 @@ static int accept_request(int fd, FAR struct gs2200m_s *priv, new_usock->cid = amsg.cid; new_usock->state = CONNECTED; + new_usock->raddr = amsg.addr; prepare: @@ -1185,8 +1185,8 @@ prepare: if (0 == ret) { - resp.reqack.result = 2; /* ep_addr + usock */ - resp.valuelen_nontrunc = sizeof(ep_addr); + resp.reqack.result = 2; /* new_usock->raddr + usock */ + resp.valuelen_nontrunc = sizeof(new_usock->raddr); resp.valuelen = resp.valuelen_nontrunc; } else @@ -1208,11 +1208,7 @@ prepare: { /* Send address (value) */ - /* TODO: ep_addr should be set */ - - memset(_addr, 0, sizeof(ep_addr)); - - ret = _write_to_usock(fd, _addr, resp.valuelen); + ret = _write_to_usock(fd, _usock->raddr, resp.valuelen); if (0 > ret) {
[incubator-nuttx-apps] 03/04: wireless: gs2200m: Implement getpeername_request()
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit b71c5f8cb1870c6c19f0111e69dbc9a31ce0f692 Author: Masayuki Ishikawa AuthorDate: Mon Oct 12 11:47:57 2020 +0900 wireless: gs2200m: Implement getpeername_request() Summary: - This commit adds getperrname_request() to gs2200m_main.c Impact: - Affects gs2200m only - Need to update nuttx as well Testing: - Tested with spresense:wifi - Modify telnetd and add getpeername() to show a client address Signed-off-by: Masayuki Ishikawa --- wireless/gs2200m/gs2200m_main.c | 79 +++-- 1 file changed, 76 insertions(+), 3 deletions(-) diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c index b95be57..ff45c25 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -1415,14 +1415,87 @@ err_out: } / - * Name: getsockname_request + * Name: getpeername_request / static int getpeername_request(int fd, FAR struct gs2200m_s *priv, FAR void *hdrbuf) { - DEBUGASSERT(false); - return -ENOSYS; + FAR struct usrsock_request_getpeername_s *req = hdrbuf; + struct usrsock_message_datareq_ack_s resp; + FAR struct usock_s *usock; + int ret = 0; + + DEBUGASSERT(priv); + DEBUGASSERT(req); + + gs2200m_printf("%s: called \n", __func__); + + /* Check if this socket exists. */ + + usock = gs2200m_socket_get(priv, req->usockid); + + if (!usock) +{ + ret = -EBADFD; + goto prepare; +} + + if (CONNECTED != usock->state) +{ + ret = -ENOTCONN; +} + +prepare: + + /* Prepare response. */ + + memset(, 0, sizeof(resp)); + resp.reqack.xid = req->head.xid; + resp.reqack.head.msgid = USRSOCK_MESSAGE_RESPONSE_DATA_ACK; + resp.reqack.head.flags = 0; + resp.reqack.result = ret; + + if (0 == ret) +{ + resp.valuelen_nontrunc = sizeof(usock->raddr); + resp.valuelen = resp.valuelen_nontrunc; + + if (resp.valuelen > req->max_addrlen) +{ + resp.valuelen = req->max_addrlen; +} +} + else +{ + resp.valuelen_nontrunc = 0; + resp.valuelen = 0; +} + + /* Send response. */ + + ret = _write_to_usock(fd, , sizeof(resp)); + + if (0 > ret) +{ + goto err_out; +} + + if (resp.valuelen > 0) +{ + /* Send address (value) */ + + ret = _write_to_usock(fd, >raddr, resp.valuelen); + + if (0 > ret) +{ + goto err_out; +} +} + +err_out: + gs2200m_printf("%s: end \n", __func__); + return ret; } /
[incubator-nuttx-apps] branch master updated (60342ec -> 909eff5)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. from 60342ec testing/sensortest: add sensor driver test new 196b1f0 wireless: gs2200m: Fix to handle UDP connect() with bind() new 0e9594e wireless: gs2200m: Fix to handle address info in accept() new b71c5f8 wireless: gs2200m: Implement getpeername_request() new 909eff5 wireless: gs2200m: Add support for ioctl(fd, SIOCGIFADDR, ...) The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: wireless/gs2200m/gs2200m_main.c | 166 ++-- 1 file changed, 142 insertions(+), 24 deletions(-)
[incubator-nuttx-apps] 04/04: wireless: gs2200m: Add support for ioctl(fd, SIOCGIFADDR, ...)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 909eff540d8004371d5838b9c0764cc753d665cf Author: Masayuki Ishikawa AuthorDate: Mon Oct 12 19:53:30 2020 +0900 wireless: gs2200m: Add support for ioctl(fd, SIOCGIFADDR, ...) Summary: - This commit adds support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m_main.c Impact: - Only affects ioctl(fd, SIOCGIFADDR, ...) with gs2200m - Need to update nuttx as well Testing: - Tested with spresense:wifi - Tested with dhcpc Signed-off-by: Masayuki Ishikawa --- wireless/gs2200m/gs2200m_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c index ff45c25..5865aaf 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -1516,6 +1516,7 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv, switch (req->cmd) { + case SIOCGIFADDR: case SIOCGIFHWADDR: getreq = true; break;
[incubator-nuttx] branch master updated (6a2bd9a -> df95207)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 6a2bd9a Change the default value of SIGPIPE add 02b0859 drivers: wireless: Fix to handle UDP connect() with bind() in gs2200m.c add f12d490 drivers: wireless: Fix to handle address info in accept() in gs2200m.c add df95207 drivers: wireless: Add support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m.c No new revisions were added by this update. Summary of changes: drivers/wireless/gs2200m.c | 49 include/nuttx/wireless/gs2200m.h | 2 ++ 2 files changed, 42 insertions(+), 9 deletions(-)
[incubator-nuttx] branch master updated (a907e2a -> 90476c9)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from a907e2a kinetis:flexcan fixed compile error clock_systimespec->clock_systime_timespec new 66c8d77 tiva/cc13xx: Fix syntax error and nxstyle error new 90476c9 tiva/cc13xx: Fix nxstyle errors The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c | 36 +++-- arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.h | 31 + arch/arm/src/tiva/cc13xx/cc13xx_enablepwr.c | 23 +- arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c | 5 ++-- 4 files changed, 50 insertions(+), 45 deletions(-)
[incubator-nuttx] 01/02: tiva/cc13xx: Fix syntax error and nxstyle error
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 66c8d77dd99b277126faa66126320af52a312cf6 Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Wed Oct 14 09:27:18 2020 -0400 tiva/cc13xx: Fix syntax error and nxstyle error arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c: * Fix syntax error: stray closing parenthesis in function cc13xx_gpio_interrupt(). * Fix nxstyle error. --- arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c b/arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c index a9d5238..b48bf8a 100644 --- a/arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c +++ b/arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c @@ -88,7 +88,7 @@ static struct gpio_handler_s g_gpio_inthandler[TIVA_NIRQ_PINS]; * / -static int cc13xx_gpio_interrupt)(int irq, FAR void *context, FAR void *arg) +static int cc13xx_gpio_interrupt(int irq, FAR void *context, FAR void *arg) { uint32_t evflags; uint32_t regval; @@ -118,7 +118,8 @@ static int cc13xx_gpio_interrupt)(int irq, FAR void *context, FAR void *arg) FAR struct gpio_handler_s *handler = _gpio_inthandler[dio]; - gpioinfo("dio=%d isr=%p arg=%p\n", dio, handler->isr, handler->arg); + gpioinfo("dio=%d isr=%p arg=%p\n", dio, handler->isr, + handler->arg); handler->isr(irq, context, handler->arg); evflags &= ~diomask;
[incubator-nuttx] 02/02: tiva/cc13xx: Fix nxstyle errors
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 90476c9895d76ca8a7926798d71d9a3c36f05881 Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com> AuthorDate: Wed Oct 14 09:35:43 2020 -0400 tiva/cc13xx: Fix nxstyle errors arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c: * Fix nxstyle errors. arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.h: * Fix nxstyle errors. arch/arm/src/tiva/cc13xx/cc13xx_enablepwr.c: * Fix nxstyle errors. --- arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c | 36 +++-- arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.h | 31 + arch/arm/src/tiva/cc13xx/cc13xx_enablepwr.c | 23 +- 3 files changed, 47 insertions(+), 43 deletions(-) diff --git a/arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c b/arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c index 24384b7..fc83b8b 100644 --- a/arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c +++ b/arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c @@ -1,12 +1,12 @@ -/* +/ * arch/arm/src/tiva/cc13xx/cc13x2_aux_sysif.c * Driver for the AUX System Interface * * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * - * Technical content derives from a TI aux_sysif.c file that has a compatible BSD - * license: + * Technical content derives from a TI aux_sysif.c file that has a + * compatible BSD license: * * Copyright (c) 2015-2017, Texas Instruments Incorporated * All rights reserved. @@ -38,11 +38,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - */ + / -/* +/ * Included Files - */ + / #include #include "arm_arch.h" @@ -50,11 +50,13 @@ #include "hardware/tiva_aux_sysif.h" #include "cc13xx/cc13x2_aux_sysif.h" -/* +/ * Private Data - */ + / -/* Used in aux_sysif_opmode() to control the change of the operational mode. */ +/* Used in aux_sysif_opmode() to control the change of the operational + * mode. + */ static const uint8_t g_opmode_to_order[4] = { @@ -66,11 +68,11 @@ static const uint8_t g_order_to_opmode[4] = 2, 0, 1, 3 }; -/* +/ * Public Functions - */ + / -/ +/ * Name: aux_sysif_opmode * * Description: @@ -81,17 +83,17 @@ static const uint8_t g_order_to_opmode[4] = * * Input Parameters: * - opmode: AUX operational mode. One of - * AUX_SYSIF_OPMODE_TARGET_PDLP: Power down operational mode with wakeup - *to low power mode) - * AUX_SYSIF_OPMODE_TARGET_PDA: Power down operational mode with wakeup - to active mode + * AUX_SYSIF_OPMODE_TARGET_PDLP: Power down operational mode + *with wakeup to low power mode) + * AUX_SYSIF_OPMODE_TARGET_PDA: Power down operational mode + *with wakeup to active mode * AUX_SYSIF_OPMODE_TARGET_LP: Low power operational mode) * AUX_SYSIF_OPMODE_TARGET_A:Active operational mode * * Returned Value: * None * - / + / void aux_sysif_opmode(uint32_t opmode) { diff --git a/arch/arm/src/tiva/cc13xx/cc13x2_aux
[incubator-nuttx] branch master updated (9e70e35 -> 8f9cd88)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 9e70e35 tiva: Fix nxstyle warnings add 8f9cd88 freedom-k64f: Add renew DHCP client for netnsh No new revisions were added by this update. Summary of changes: boards/arm/kinetis/freedom-k64f/configs/netnsh/defconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-)
[incubator-nuttx-apps] branch master updated (f4b0f9e -> 46650ff)
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. from f4b0f9e wireless: gs2200m: Fix recvfrom_reques() in gs2200m_main.c add 46650ff interpreters/wamr: This requires CLOCK_MONOTONIC to build No new revisions were added by this update. Summary of changes: interpreters/wamr/Kconfig | 1 + 1 file changed, 1 insertion(+)
[incubator-nuttx] branch master updated: include/nuttx/lib/math.h: Add signbit
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new f9475df include/nuttx/lib/math.h: Add signbit f9475df is described below commit f9475df13dc29c4f07c1b353873060c1ba746201 Author: YAMAMOTO Takashi AuthorDate: Tue Oct 13 13:25:11 2020 +0900 include/nuttx/lib/math.h: Add signbit --- include/nuttx/lib/math.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/lib/math.h b/include/nuttx/lib/math.h index 74f223a..faa9d68 100644 --- a/include/nuttx/lib/math.h +++ b/include/nuttx/lib/math.h @@ -443,6 +443,8 @@ long double truncl (long double x); #define nanl(x) ((long double)(NAN)) #endif +#definesignbit(x) __builtin_signbit(x) + #if defined(__cplusplus) } #endif
[incubator-nuttx] 01/02: boards: spresense: Add CONFIG_ARCH_INTERRUPTSTACK=2048 to wifi and wifi_smp
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit b592228cea5894f03728747705d428a10f9481b5 Author: Masayuki Ishikawa AuthorDate: Fri Oct 9 15:14:47 2020 +0900 boards: spresense: Add CONFIG_ARCH_INTERRUPTSTACK=2048 to wifi and wifi_smp Signed-off-by: Masayuki Ishikawa --- boards/arm/cxd56xx/spresense/configs/wifi/defconfig | 1 + boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig index 12777d0..a2f3c02 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig @@ -13,6 +13,7 @@ CONFIG_ARCH_BOARD="spresense" CONFIG_ARCH_BOARD_SPRESENSE=y CONFIG_ARCH_CHIP="cxd56xx" CONFIG_ARCH_CHIP_CXD56XX=y +CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y CONFIG_ARMV7M_USEBASEPRI=y CONFIG_AUDIO=y diff --git a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig index 235f4b9..2212e25 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig @@ -13,6 +13,7 @@ CONFIG_ARCH_BOARD="spresense" CONFIG_ARCH_BOARD_SPRESENSE=y CONFIG_ARCH_CHIP="cxd56xx" CONFIG_ARCH_CHIP_CXD56XX=y +CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y CONFIG_ARMV7M_USEBASEPRI=y CONFIG_AUDIO=y
[incubator-nuttx] 02/02: boards: spresense: Add graphics demos to wifi and wifi_smp
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 7be1739b418d004975ab4e2e77998299a784f410 Author: Masayuki Ishikawa AuthorDate: Fri Oct 9 15:26:56 2020 +0900 boards: spresense: Add graphics demos to wifi and wifi_smp Summary: - This commit enables LCD for spresense and adds graphics demos Impact: - Affects wifi and wifi_smp configurations Testing: - Tested with nx, nxdemo, nxhello and nxlines Signed-off-by: Masayuki Ishikawa --- boards/arm/cxd56xx/spresense/configs/wifi/defconfig | 16 boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig | 16 2 files changed, 32 insertions(+) diff --git a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig index a2f3c02..bf8960e 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig @@ -7,6 +7,8 @@ # # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_NXFONTS_DISABLE_16BPP is not set +# CONFIG_NX_DISABLE_16BPP is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -42,6 +44,13 @@ CONFIG_ELF=y CONFIG_EXAMPLES_FTPC=y CONFIG_EXAMPLES_FTPD=y CONFIG_EXAMPLES_HELLO=m +CONFIG_EXAMPLES_NX=y +CONFIG_EXAMPLES_NXDEMO=y +CONFIG_EXAMPLES_NXHELLO=y +CONFIG_EXAMPLES_NXHELLO_BPP=16 +CONFIG_EXAMPLES_NXLINES=y +CONFIG_EXAMPLES_NXLINES_BPP=16 +CONFIG_EXAMPLES_NX_BPP=16 CONFIG_EXAMPLES_TCPBLASTER=y CONFIG_EXAMPLES_TCPBLASTER_GROUPSIZE=500 CONFIG_EXAMPLES_TCPBLASTER_SENDSIZE=1400 @@ -62,6 +71,9 @@ CONFIG_FTP_TMPDIR="/mnt/sd0" CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y +CONFIG_LCD=y +CONFIG_LCD_ILI9340=y +CONFIG_LCD_ILI9340_IFACE0=y CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBM=y CONFIG_LIB_ENVPATH=y @@ -71,6 +83,7 @@ CONFIG_MEMSET_64BIT=y CONFIG_MEMSET_OPTSPEED=y CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MQ_MAXMSGSIZE=64 CONFIG_MTD_BYTE_WRITE=y CONFIG_MTD_PARTITION=y CONFIG_MTD_SMART=y @@ -104,8 +117,11 @@ CONFIG_NSH_DISABLE_IFUPDOWN=y CONFIG_NSH_DISABLE_NSLOOKUP=y CONFIG_NSH_FILE_APPS=y CONFIG_NSH_READLINE=y +CONFIG_NX=y +CONFIG_NXFONT_SERIF22X29=y CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT=y CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE=3072 +CONFIG_NX_BLOCKING=y CONFIG_PATH_INITIAL="/mnt/sd0/bin" CONFIG_PREALLOC_MQ_MSGS=32 CONFIG_PREALLOC_TIMERS=4 diff --git a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig index 2212e25..3f133b6 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig @@ -7,6 +7,8 @@ # # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_NXFONTS_DISABLE_16BPP is not set +# CONFIG_NX_DISABLE_16BPP is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -45,6 +47,13 @@ CONFIG_ELF=y CONFIG_EXAMPLES_FTPC=y CONFIG_EXAMPLES_FTPD=y CONFIG_EXAMPLES_HELLO=m +CONFIG_EXAMPLES_NX=y +CONFIG_EXAMPLES_NXDEMO=y +CONFIG_EXAMPLES_NXHELLO=y +CONFIG_EXAMPLES_NXHELLO_BPP=16 +CONFIG_EXAMPLES_NXLINES=y +CONFIG_EXAMPLES_NXLINES_BPP=16 +CONFIG_EXAMPLES_NX_BPP=16 CONFIG_EXAMPLES_TCPBLASTER=y CONFIG_EXAMPLES_TCPBLASTER_GROUPSIZE=500 CONFIG_EXAMPLES_TCPBLASTER_SENDSIZE=1400 @@ -65,6 +74,9 @@ CONFIG_FTP_TMPDIR="/mnt/sd0" CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y +CONFIG_LCD=y +CONFIG_LCD_ILI9340=y +CONFIG_LCD_ILI9340_IFACE0=y CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBM=y CONFIG_LIB_ENVPATH=y @@ -74,6 +86,7 @@ CONFIG_MEMSET_64BIT=y CONFIG_MEMSET_OPTSPEED=y CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MQ_MAXMSGSIZE=64 CONFIG_MTD_BYTE_WRITE=y CONFIG_MTD_PARTITION=y CONFIG_MTD_SMART=y @@ -108,9 +121,12 @@ CONFIG_NSH_DISABLE_NSLOOKUP=y CONFIG_NSH_FILE_APPS=y CONFIG_NSH_READLINE=y CONFIG_NSH_WGET_USERAGENT="NuttX/7.2x.x (; http://www.nuttx.org/)" +CONFIG_NX=y +CONFIG_NXFONT_SERIF22X29=y CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT=y CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE=3072 CONFIG_NXPLAYER_PLAYTHREAD_STACKSIZE=3072 +CONFIG_NX_BLOCKING=y CONFIG_PATH_INITIAL="/mnt/sd0/bin" CONFIG_PREALLOC_MQ_MSGS=64 CONFIG_PREALLOC_TIMERS=4