[GitHub] [nuttx-apps] xiaoxiang781216 commented on pull request #1576: fsutils/passwd: fix warning: leak of ‘iobuffer’ [CWE-401] [-Wanalyzer-malloc-leak]

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on PR #1576: URL: https://github.com/apache/nuttx-apps/pull/1576#issuecomment-1435519062 good idea, let's add this option to Toolchain.def. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [nuttx-apps] xiaoxiang781216 merged pull request #1576: fsutils/passwd: fix warning: leak of ‘iobuffer’ [CWE-401] [-Wanalyzer-malloc-leak]

2023-02-18 Thread via GitHub
xiaoxiang781216 merged PR #1576: URL: https://github.com/apache/nuttx-apps/pull/1576 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...

[nuttx-apps] branch master updated: fsutils/passwd: fix warning: leak of ‘iobuffer’ [CWE-401] [-Wanalyzer-malloc-leak]

2023-02-18 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 78b7318a0 fsutils/passwd: fix warning: le

[GitHub] [nuttx] oreh-a opened a new pull request, #8573: Add mtd loop device

2023-02-18 Thread via GitHub
oreh-a opened a new pull request, #8573: URL: https://github.com/apache/nuttx/pull/8573 ## Summary Adds kernel needed functionality to register filemtd device via IOCTL (command line tool will be added to apps folder). This will give possibility to mount littlefs, spiffs (and potential

[GitHub] [nuttx-apps] oreh-a opened a new pull request, #1577: Add NSH lomtd command

2023-02-18 Thread via GitHub
oreh-a opened a new pull request, #1577: URL: https://github.com/apache/nuttx-apps/pull/1577 ## Summary Create MTD loop device from command line (lomtd, similar to losetup, losmart) ## Impact No impact ## Testing Testing should be performed when related code will be add

[GitHub] [nuttx] pussuw commented on pull request #8546: libc/exit: Purge calls to userspace API exit() from kernel

2023-02-18 Thread via GitHub
pussuw commented on PR #8546: URL: https://github.com/apache/nuttx/pull/8546#issuecomment-1435643688 > Hi! > > This caused a regression while building `./tools/configure.sh esp32s3-devkit:knsh`: > > ``` > xtensa-esp32s3-elf-ld: /home/tiago/Documents/work/espressif/projects/

[GitHub] [nuttx] pussuw commented on pull request #8546: libc/exit: Purge calls to userspace API exit() from kernel

2023-02-18 Thread via GitHub
pussuw commented on PR #8546: URL: https://github.com/apache/nuttx/pull/8546#issuecomment-1435643860 I will do another test patch that disables abort() for the kernel next week, let's see if there are other places that call it -- This is an automated message from the Apache Git Service. T

[GitHub] [nuttx] fjpanag commented on a diff in pull request #8569: stm32_eth: Fixed alignment of Ethernet descriptors & buffers.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #8569: URL: https://github.com/apache/nuttx/pull/8569#discussion_r000153 ## arch/arm/src/stm32/stm32_eth.c: ## @@ -634,22 +634,26 @@ struct stm32_ethmac_s uint16_t segments;/* RX segment count */ uint16_t infl

[GitHub] [nuttx] michallenc opened a new pull request, #8574: pwm: add PWM overwrite under CONFIG_PWM_OVERWRITE option

2023-02-18 Thread via GitHub
michallenc opened a new pull request, #8574: URL: https://github.com/apache/nuttx/pull/8574 ## Summary Generic drivers shoud not use architecture related config options like CONFIG_SAMV7_PWM. This commit adds PWM pin overwrite under generic configuration option CONFIG_PWM_OVERWRITE.

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r026576 ## net/bluetooth/Kconfig: ## @@ -22,9 +22,45 @@ config NET_BLUETOOTH if NET_BLUETOOTH -config NET_BLUETOOTH_NCONNS - int "Max Bluetooth sockets" +config NET_BL

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r026672 ## net/bluetooth/bluetooth_conn.c: ## @@ -113,20 +113,30 @@ void bluetooth_conn_initialize(void) FAR struct bluetooth_conn_s *bluetooth_conn_alloc(void) { FAR struct

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r027760 ## net/bluetooth/Kconfig: ## @@ -22,9 +22,45 @@ config NET_BLUETOOTH if NET_BLUETOOTH -config NET_BLUETOOTH_NCONNS - int "Max Bluetooth sockets" +confi

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on PR #7525: URL: https://github.com/apache/nuttx/pull/7525#issuecomment-1435670603 not all comments get addressed? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the s

[GitHub] [nuttx] michallenc commented on pull request #8574: pwm: add PWM overwrite under CONFIG_PWM_OVERWRITE option

2023-02-18 Thread via GitHub
michallenc commented on PR #8574: URL: https://github.com/apache/nuttx/pull/8574#issuecomment-1435674939 Fixed the unused variable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific co

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8573: Add mtd loop device

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #8573: URL: https://github.com/apache/nuttx/pull/8573#discussion_r031560 ## include/nuttx/fs/loopmtd.h: ## @@ -0,0 +1,107 @@ +/ + * include/nuttx/fs/loopmtd.h

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r039747 ## net/tcp/Kconfig: ## @@ -50,11 +50,45 @@ config NET_TCPURGDATA compiled in. Urgent data (out-of-band data) is a rarely used TCP feature

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r039949 ## net/tcp/tcp_conn.c: ## @@ -449,16 +449,25 @@ FAR struct tcp_conn_s *tcp_alloc_conn(void) if (dq_peek(&g_free_tcp_connections) == NULL) { +#if CONFIG_NET_TCP_

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r040090 ## net/udp/udp_conn.c: ## @@ -472,16 +472,25 @@ FAR struct udp_conn_s *udp_alloc_conn(void) if (dq_peek(&g_free_udp_connections) == NULL) { +#if CONFIG_NET_UDP_

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r040285 ## net/udp/Kconfig: ## @@ -36,11 +36,45 @@ config NET_UDP_CHECKSUMS Enable/disable UDP checksum support. UDP checksum support is REQUIRED

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r040512 ## net/icmp/Kconfig: ## @@ -32,9 +32,45 @@ config NET_ICMP_SOCKET if NET_ICMP_SOCKET -config NET_ICMP_NCONNS - int "Max ICMP packet sockets" +config NET_ICMP_P

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r040708 ## net/icmp/icmp_conn.c: ## @@ -109,13 +109,23 @@ FAR struct icmp_conn_s *icmp_alloc(void) ret = nxmutex_lock(&g_free_lock); if (ret >= 0) { -#ifdef CONFIG_NET

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041058 ## net/usrsock/Kconfig: ## @@ -25,15 +25,49 @@ config NET_USRSOCK if NET_USRSOCK -config NET_USRSOCK_CONNS - int "Number of usrsock connections" +config NET_US

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041208 ## net/usrsock/usrsock_conn.c: ## @@ -77,20 +78,30 @@ static dq_queue_t g_active_usrsock_connections; FAR struct usrsock_conn_s *usrsock_alloc(void) { FAR struct usr

[GitHub] [nuttx] fjpanag commented on pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on PR #7525: URL: https://github.com/apache/nuttx/pull/7525#issuecomment-1435678194 > not all comments get addressed? Working on it... I will ping you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub a

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041369 ## net/icmpv6/Kconfig: ## @@ -200,9 +200,45 @@ endif # NET_ICMPv6_ROUTER if NET_ICMPv6_SOCKET -config NET_ICMPv6_NCONNS - int "Max ICMPv6 packet sockets" +conf

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041416 ## net/icmpv6/icmpv6_conn.c: ## @@ -109,13 +110,23 @@ FAR struct icmpv6_conn_s *icmpv6_alloc(void) ret = nxmutex_lock(&g_free_lock); if (ret >= 0) { -#ifdef CO

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041449 ## net/ieee802154/ieee802154_conn.c: ## @@ -107,20 +107,31 @@ void ieee802154_conn_initialize(void) FAR struct ieee802154_conn_s *ieee802154_conn_alloc(void) { FAR s

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041538 ## net/ieee802154/Kconfig: ## @@ -33,9 +33,45 @@ config NET_IEEE802154_FRAMELEN This setting is currently used only for detection data transfers

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041597 ## net/pkt/Kconfig: ## @@ -22,9 +22,45 @@ config NET_PKT if NET_PKT -config NET_PKT_CONNS - int "Max packet sockets" +config NET_PKT_PREALLOC_CONNS + int

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041614 ## net/pkt/pkt_conn.c: ## @@ -106,20 +106,30 @@ void pkt_initialize(void) FAR struct pkt_conn_s *pkt_alloc(void) { FAR struct pkt_conn_s *conn; -#ifdef CONFIG_NET_AL

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041695 ## net/netlink/Kconfig: ## @@ -22,11 +22,45 @@ config NET_NETLINK if NET_NETLINK -config NETLINK_CONNS - int "Number of Netlink connections" +config NETLINK_PR

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041775 ## net/netlink/netlink_conn.c: ## @@ -131,20 +132,30 @@ void netlink_initialize(void) FAR struct netlink_conn_s *netlink_alloc(void) { FAR struct netlink_conn_s *con

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041888 ## net/can/can_conn.c: ## @@ -101,20 +101,30 @@ void can_initialize(void) FAR struct can_conn_s *can_alloc(void) { FAR struct can_conn_s *conn; -#ifdef CONFIG_NET_AL

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r041943 ## net/can/Kconfig: ## @@ -30,11 +30,45 @@ config NET_CAN_HAVE_ERRORS bool default n -config CAN_CONNS - int "Max number of CAN socket connections

[GitHub] [nuttx] xiaoxiang781216 opened a new pull request, #8575: Revert "drivrs/mtd/filemtd.c: add block device MTD interface. Block …

2023-02-18 Thread via GitHub
xiaoxiang781216 opened a new pull request, #8575: URL: https://github.com/apache/nuttx/pull/8575 ## Summary …MTD interface allows using block device directly as MTD instead of having to use file-system in between. NOTE that this provides the opposite capability of FTL which will let

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r043291 ## include/nuttx/net/netconfig.h: ## @@ -451,11 +451,11 @@ * connection requires approximately 30 bytes of memory. */ -#ifndef CONFIG_NET_TCP_CONNS -# ifdef CONFIG

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r043338 ## include/nuttx/net/netconfig.h: ## @@ -318,11 +318,11 @@ /* The maximum amount of concurrent UDP connection, Default: 10 */ -#ifndef CONFIG_NET_UDP_CONNS -# ifdef

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r043607 ## net/bluetooth/Kconfig: ## @@ -22,9 +22,45 @@ config NET_BLUETOOTH if NET_BLUETOOTH -config NET_BLUETOOTH_NCONNS - int "Max Bluetooth sockets" +config NET_BL

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r044399 ## net/bluetooth/Kconfig: ## @@ -22,9 +22,45 @@ config NET_BLUETOOTH if NET_BLUETOOTH -config NET_BLUETOOTH_NCONNS - int "Max Bluetooth sockets" +confi

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r044952 ## net/tcp/tcp_conn.c: ## @@ -549,16 +549,25 @@ FAR struct tcp_conn_s *tcp_alloc_conn(void) if (dq_peek(&g_free_tcp_connections) == NULL) { +#if CONFIG_

[GitHub] [nuttx] fjpanag commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r045457 ## net/devif/devif_callback.c: ## @@ -43,8 +43,8 @@ * Private Data / -#ifndef CONFIG_NET

[GitHub] [nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1577: Add NSH lomtd command

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #1577: URL: https://github.com/apache/nuttx-apps/pull/1577#discussion_r045557 ## nshlib/nsh_fscmds.c: ## @@ -998,6 +1001,170 @@ int cmd_losmart(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) #endif #endif +/**

[GitHub] [nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1577: Add NSH lomtd command

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #1577: URL: https://github.com/apache/nuttx-apps/pull/1577#discussion_r045787 ## nshlib/nsh_fscmds.c: ## @@ -998,6 +1001,170 @@ int cmd_losmart(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) #endif #endif +/**

[GitHub] [nuttx] fjpanag opened a new issue, #8576: STM32F4 Ethernet MAC error handling.

2023-02-18 Thread via GitHub
fjpanag opened a new issue, #8576: URL: https://github.com/apache/nuttx/issues/8576 While browsing the [STM32F4 reference manual](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj9lIylrp_9AhWicPEDHRWTBKEQFnoECBYQAQ&url=https%3A%2F%2Fwww.st.com%2Fresou

[GitHub] [nuttx] xiaoxiang781216 merged pull request #8574: pwm: add PWM overwrite under CONFIG_PWM_OVERWRITE option

2023-02-18 Thread via GitHub
xiaoxiang781216 merged PR #8574: URL: https://github.com/apache/nuttx/pull/8574 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[nuttx] branch master updated: pwm: add PWM overwrite under CONFIG_PWM_OVERWRITE option

2023-02-18 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 333707e101 pwm: add PWM overwrite under CONFIG

[GitHub] [nuttx] fjpanag commented on issue #8533: Assertion fails while freeing IOBs.

2023-02-18 Thread via GitHub
fjpanag commented on issue #8533: URL: https://github.com/apache/nuttx/issues/8533#issuecomment-1435731163 @anchao The attached defconfig reproduces the issue. [defconfig.txt](https://github.com/apache/nuttx/files/10774895/defconfig.txt) -- This is an automated message from the

[GitHub] [nuttx] Cynerd opened a new pull request, #8577: boards/samv7/hsmci: add option to invert card detection pin

2023-02-18 Thread via GitHub
Cynerd opened a new pull request, #8577: URL: https://github.com/apache/nuttx/pull/8577 The original code hard-coded card detection to the low when card is inserted and high when not. This might not be true on every board because it depends on the slot and wiring used. The second reason is

[GitHub] [nuttx] cederom opened a new issue, #8578: initial configuration problem after moving local files

2023-02-18 Thread via GitHub
cederom opened a new issue, #8578: URL: https://github.com/apache/nuttx/issues/8578 Hello world :-) I found a problem with initial configuration after some git remote renames and top `nuttxworkspace.git` directory. No clue why exactly :-) ``` % git checkout master Switche

[GitHub] [nuttx] cederom commented on issue #8578: initial configuration problem after moving local files

2023-02-18 Thread via GitHub
cederom commented on issue #8578: URL: https://github.com/apache/nuttx/issues/8578#issuecomment-1435787984 * Okay so I had to simply link the default `Make.defs` to some board config and things work back again :-) * Do we want to fix that situation shomehow in the `tools/configure.sh`?

[GitHub] [nuttx] cederom opened a new issue, #8579: Add BSD include paths (/usr/local/include).

2023-02-18 Thread via GitHub
cederom opened a new issue, #8579: URL: https://github.com/apache/nuttx/issues/8579 Hello world :-) I have tried to build the `sim:nxwm` example, but got this on FreeBSD: ``` ./sim/posix/sim_x11framebuffer.c:29:10: fatal error: 'X11/Xlib.h' file not found #include

[GitHub] [nuttx] cederom opened a new issue, #8580: [BSD] gnu sed vs bsd sed

2023-02-18 Thread via GitHub
cederom opened a new issue, #8580: URL: https://github.com/apache/nuttx/issues/8580 * On FreeBSD `sed` part of the build needs to be fixed in order to complete the build process :-) * Probably a gnu sed vs bsd sed issue (just like gnu make vs bsd make). * Assign to self :-) ```

[nuttx-website] branch asf-site updated: Publishing web: b50f5ca4ed22743959c1160aab5dcc9ae18b3eff docs: 333707e1011ee6f17d85b455885b7b6787929b17

2023-02-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 34d4dd69 Publishing web: b50f5ca4

[GitHub] [nuttx] cederom commented on issue #8580: [BSD] gnu sed vs bsd sed

2023-02-18 Thread via GitHub
cederom commented on issue #8580: URL: https://github.com/apache/nuttx/issues/8580#issuecomment-1435813237 This one above is caused by: https://github.com/apache/nuttx/blob/333707e1011ee6f17d85b455885b7b6787929b17/arch/sim/src/Makefile#L354-L358 Replacing `sed` with `gsed` fix

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8573: Add mtd loop device

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #8573: URL: https://github.com/apache/nuttx/pull/8573#discussion_r136115 ## drivers/mtd/filemtd.c: ## @@ -708,3 +735,190 @@ bool filemtd_isfilemtd(FAR struct mtd_dev_s *dev) return (priv->mtd.erase == filemtd_erase); } + +/**

[GitHub] [nuttx] xiaoxiang781216 commented on issue #8579: [BSD] include paths (/usr/local/include).

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on issue #8579: URL: https://github.com/apache/nuttx/issues/8579#issuecomment-1435817218 you can add the search to HOSTCFLAGS here: https://github.com/apache/nuttx/blob/master/arch/sim/src/Makefile#L142-L156 But it's strange that /usr/local/include/ isn't on yo

[GitHub] [nuttx] cederom commented on issue #8579: [BSD] include paths (/usr/local/include).

2023-02-18 Thread via GitHub
cederom commented on issue #8579: URL: https://github.com/apache/nuttx/issues/8579#issuecomment-1435820354 Thank you @xiaoxiang781216 that should provide a quickfix :-) Here on BSD we usually include `.include ` that holds all defaults.. but NuttX uses GNU make so this won't work.. un

[GitHub] [nuttx] xiaoxiang781216 commented on issue #8580: [BSD] gnu sed vs bsd sed

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on issue #8580: URL: https://github.com/apache/nuttx/issues/8580#issuecomment-1435823446 But, gsed isn't installed by default. It's better to finish the job with only POSIX defined features. BTW, it's also better to use the same approach to postpone the calling

[nuttx] branch master updated: boards/samv7/hsmci: add option to invert card detection pin

2023-02-18 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 74790c8033 boards/samv7/hsmci: add option to i

[GitHub] [nuttx] xiaoxiang781216 merged pull request #8577: boards/samv7/hsmci: add option to invert card detection pin

2023-02-18 Thread via GitHub
xiaoxiang781216 merged PR #8577: URL: https://github.com/apache/nuttx/pull/8577 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[GitHub] [nuttx] cederom commented on issue #8579: [BSD] include paths (/usr/local/include).

2023-02-18 Thread via GitHub
cederom commented on issue #8579: URL: https://github.com/apache/nuttx/issues/8579#issuecomment-1435824439 Its alive! :-) ``` % gmake LD: nuttx ld: warning: arch_setjmp_x86_64.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecat

[GitHub] [nuttx] xiaoxiang781216 opened a new pull request, #8581: fs: Map FD_SETSIZE to OPEN_MAX instead hardcoding 256

2023-02-18 Thread via GitHub
xiaoxiang781216 opened a new pull request, #8581: URL: https://github.com/apache/nuttx/pull/8581 ## Summary and change the default value of LIBC_OPEN_MAX to 256. Here has more discussion: https://www.mail-archive.com/dev@nuttx.apache.org/msg09095.html ## Impact code

[GitHub] [nuttx-apps] xiaoxiang781216 merged pull request #1571: lvgl/port/lv_port_touchpad: add cursor display

2023-02-18 Thread via GitHub
xiaoxiang781216 merged PR #1571: URL: https://github.com/apache/nuttx-apps/pull/1571 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...

[nuttx-apps] branch master updated: lvgl/port/lv_port_touchpad: add cursor display

2023-02-18 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 8bee2e2fe lvgl/port/lv_port_touchpad: add

[GitHub] [nuttx] cederom opened a new pull request, #8582: Updated python scripts interpreter invocation in `tools/`.

2023-02-18 Thread via GitHub
cederom opened a new pull request, #8582: URL: https://github.com/apache/nuttx/pull/8582 ## Summary * Using call to portable `#!/usr/bin/env python3` syntax. ## Impact * This enables running python scripts on all platforms with no problem (using both base OS packages and python

[GitHub] [nuttx] xiaoxiang781216 opened a new pull request, #8583: Revert "STM32 Nucleo: warning: #warning "Default Flash Configuration Used""

2023-02-18 Thread via GitHub
xiaoxiang781216 opened a new pull request, #8583: URL: https://github.com/apache/nuttx/pull/8583 ## Summary This reverts commit 62c15c03d39103349efc2dd862e0943244deb2e4. Fix warning: the choice symbol STM32_FLASH_CONFIG_G (defined at arch/arm/src/stm32/Kconfig:1275) is selected

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #8583: Revert "STM32 Nucleo: warning: #warning "Default Flash Configuration Used""

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on PR #8583: URL: https://github.com/apache/nuttx/pull/8583#issuecomment-1435838178 @spi3ex I revert your patch(https://github.com/apache/nuttx/pull/8558) since it generate another warning. Please find a better method to fix it. -- This is an automated message fr

[GitHub] [nuttx] xiaoxiang781216 opened a new pull request, #8584: libc: Move math library from libs/libc/math to libs/libm/libm

2023-02-18 Thread via GitHub
xiaoxiang781216 opened a new pull request, #8584: URL: https://github.com/apache/nuttx/pull/8584 ## Summary to prepare the support of other implementation e.g.: https://github.com/JuliaMath/openlibm https://gitlab.com/gtd-gmbh/libmcs ## Impact split math code from l

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #8584: libc: Move math library from libs/libc/math to libs/libm/libm

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on PR #8584: URL: https://github.com/apache/nuttx/pull/8584#issuecomment-1435858454 @acassis this is the first step to support external libm implementation, please take a look. -- This is an automated message from the Apache Git Service. To respond to the message

[GitHub] [nuttx] cederom commented on issue #1020: [RFC] Using devicetree (DTS) to improve board support

2023-02-18 Thread via GitHub
cederom commented on issue #1020: URL: https://github.com/apache/nuttx/issues/1020#issuecomment-1435872636 I got into this thread by accident searching for some thing else, so if I really had to comment on DTS: 1. Cons: DTS was the main reason I ran away from Zephyr :-P 2. Pros: Option

[nuttx] branch master updated: Updated python scripts interpreter invocation in `tools/`.

2023-02-18 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 833f7a5a3e Updated python scripts interpreter

[GitHub] [nuttx] xiaoxiang781216 merged pull request #8582: Updated python scripts interpreter invocation in `tools/`.

2023-02-18 Thread via GitHub
xiaoxiang781216 merged PR #8582: URL: https://github.com/apache/nuttx/pull/8582 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #7525: Improvements in TCP connections allocation.

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r176913 ## net/devif/devif_callback.c: ## @@ -43,8 +43,8 @@ * Private Data / -#ifndef CO

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #8584: libc: Move math library from libs/libc/math to libs/libm/libm

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on PR #8584: URL: https://github.com/apache/nuttx/pull/8584#issuecomment-1435913200 @centurysys this patch could resolve your confusion happened in https://github.com/apache/nuttx/pull/8510. -- This is an automated message from the Apache Git Service. To respond

[GitHub] [nuttx] oreh-a commented on a diff in pull request #8573: Add mtd loop device

2023-02-18 Thread via GitHub
oreh-a commented on code in PR #8573: URL: https://github.com/apache/nuttx/pull/8573#discussion_r183259 ## drivers/mtd/filemtd.c: ## @@ -708,3 +735,190 @@ bool filemtd_isfilemtd(FAR struct mtd_dev_s *dev) return (priv->mtd.erase == filemtd_erase); } + +/***

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8573: Add mtd loop device

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #8573: URL: https://github.com/apache/nuttx/pull/8573#discussion_r183879 ## drivers/mtd/filemtd.c: ## @@ -708,3 +735,190 @@ bool filemtd_isfilemtd(FAR struct mtd_dev_s *dev) return (priv->mtd.erase == filemtd_erase); } + +/**

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8573: Add mtd loop device

2023-02-18 Thread via GitHub
xiaoxiang781216 commented on code in PR #8573: URL: https://github.com/apache/nuttx/pull/8573#discussion_r183879 ## drivers/mtd/filemtd.c: ## @@ -708,3 +735,190 @@ bool filemtd_isfilemtd(FAR struct mtd_dev_s *dev) return (priv->mtd.erase == filemtd_erase); } + +/**

[GitHub] [nuttx] centurysys commented on pull request #8584: libc: Move math library from libs/libc/math to libs/libm/libm

2023-02-18 Thread via GitHub
centurysys commented on PR #8584: URL: https://github.com/apache/nuttx/pull/8584#issuecomment-1435916934 @xiaoxiang781216 Thank you for doing all this hard work! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the