(nuttx) branch master updated (3ba6047e294 -> 0dbbce3a8fe)

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 3ba6047e294 drivers/sensors/tmp112: Add support for TMP112 temperature sensor new f55e6f63838 sched: Remove r

Re: [PR] arm64: porting mu drv and scmi from arm imx9 [nuttx]

2025-08-19 Thread via GitHub
lipengfei28 commented on PR #16798: URL: https://github.com/apache/nuttx/pull/16798#issuecomment-3203940217 > please add a commit message which explains the change done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub an

(nuttx) 02/05: sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task()

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 3e29996d9721dd9d8cd3558e72ed39189d21c418 Author: Jukka Laitinen AuthorDate: Thu Aug 14 17:33:34 2025 +0300 sched

(nuttx) 05/05: sched: Remove unnecessary affinity restriction & restoration over smp calls

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 0dbbce3a8fef199b024fb15fa96462f6d6c5141e Author: Jukka Laitinen AuthorDate: Tue Aug 19 13:05:39 2025 +0300 sched

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
Donny9 merged PR #16673: URL: https://github.com/apache/nuttx/pull/16673 -- 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.apach

(nuttx) 01/05: sched: Remove race condition in sched_unlock

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit f55e6f63838a7b2381ebeeb4d9a9077f09890e2e Author: Jukka Laitinen AuthorDate: Mon Jul 21 22:46:42 2025 +0300 sched

(nuttx) 03/05: sched: Remove pending list for CONFIG_SMP

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 142f32121a65e70deaeb205519e415965aa3b4c7 Author: Jukka Laitinen AuthorDate: Fri Jul 4 09:59:10 2025 +0300 sched:

(nuttx) 04/05: sched: Change SMP list "g_assignedtasks" to a vector

2025-08-19 Thread jiuzhudong
This is an automated email from the ASF dual-hosted git repository. jiuzhudong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 4cc384757bdfc195eaf7c20a7cf2fb36bc7de986 Author: Jukka Laitinen AuthorDate: Fri Jul 18 00:28:28 2025 +0300 sched

Re: [PR] boards/arm/rp2040: Fix code style and error checking [nuttx]

2025-08-19 Thread via GitHub
linguini1 commented on code in PR #16869: URL: https://github.com/apache/nuttx/pull/16869#discussion_r2286691958 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -478,17 +482,21 @@ int rp2040_common_bringup(void) { syslog(LOG_ERR, "Failed to initialize

(nuttx-website) branch asf-site updated: Publishing web: 9694bc613262aaa0e4e5b8ccb54017a1c229e44e docs: 3ba6047e2940f84d0e24bee2fb84be20cb5c8ef3

2025-08-19 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 7cf536103 Publishing web: 9694bc6

Re: [PR] arch/risc-v/rp23xx-riscv: Add rp23xx(rp2350) (Pico 2 board) RISC-V support [nuttx]

2025-08-19 Thread via GitHub
cederom commented on PR #16424: URL: https://github.com/apache/nuttx/pull/16424#issuecomment-3203393991 Sorry for the delay @shtirlic I am kinda overloaded.. I have moment to take a look again. This `picotool reboot -c riscv` with `raspberrypi-pico-2-rv:usbnsh` does not reboot into appli

Re: [PR] boards/arm/rp2040: Fix code style and error checking [nuttx]

2025-08-19 Thread via GitHub
cederom commented on PR #16869: URL: https://github.com/apache/nuttx/pull/16869#issuecomment-3203354025 CI build error :-( -- 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. T

[I] [FEATURE] raspberrypi pico w/2/2w firmware flashing automation with make flash [nuttx]

2025-08-19 Thread via GitHub
cederom opened a new issue, #16271: URL: https://github.com/apache/nuttx/issues/16271 ### Is your feature request related to a problem? Please describe. * For now in order to flash rPI-Pico(-W/-2/-2W) we need to manually press Boot button on USB attach then copy-paste firmware file.

Re: [I] [FEATURE] raspberrypi pico w/2/2w firmware flashing automation with make flash [nuttx]

2025-08-19 Thread via GitHub
cederom commented on issue #16271: URL: https://github.com/apache/nuttx/issues/16271#issuecomment-3203077751 Not yet implemented. `make flash` only produces `nuttx.uf2` while the goal is to automate flashing of the physical chip like in other targets. Reopening :-) -- This is an automat

Re: [PR] boards/arm/rp2040: Fix code style and error checking [nuttx]

2025-08-19 Thread via GitHub
cederom commented on PR #16869: URL: https://github.com/apache/nuttx/pull/16869#issuecomment-3202966631 What configuration should I use @acassis ? :-) -- 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 g

Re: [PR] boards/arm/rp2040: Fix code style and error checking [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16869: URL: https://github.com/apache/nuttx/pull/16869#issuecomment-3202864160 @nmaggioni please test if you temperature sensor still working. I just tested compiling it! -- This is an automated message from the Apache Git Service. To respond to the message, pleas

[PR] boards/arm/rp2040: Fix code style and error checking [nuttx]

2025-08-19 Thread via GitHub
acassis opened a new pull request, #16869: URL: https://github.com/apache/nuttx/pull/16869 ## Summary This patch tries to follow the coding style of NuttX and avoids nesting functions, handling the error return. ## Impact Improvement ## Testing build only

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
fdcavalcanti commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3202673981 > https://private-user-images.githubusercontent.com/39820881/479713519-b7459ed4-373f-4d01-a04b-6af8d6ad45aa.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXV

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis merged PR #16838: URL: https://github.com/apache/nuttx/pull/16838 -- 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.apac

(nuttx) branch master updated: drivers/sensors/tmp112: Add support for TMP112 temperature sensor

2025-08-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis 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 3ba6047e294 drivers/sensors/tmp112: Add support

(nuttx) 01/02: arch/arm: Fix Kconfig style

2025-08-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 015e013447ba47e2b403758c8bb475f964e09fcb Author: simbit18 <101105604+simbi...@users.noreply.github.com> AuthorDate: Tue A

(nuttx) branch master updated (d3d1f671986 -> 2b3741d0836)

2025-08-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from d3d1f671986 drivers/analog/CMakeLists.txt: Aligned Cmake with Make new 015e013447b arch/arm: Fix Kconfig style

(nuttx) 02/02: drivers: Fix Kconfig style

2025-08-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 2b3741d08364fcb95e9bb93d31eee08aa950c174 Author: simbit18 <101105604+simbi...@users.noreply.github.com> AuthorDate: Tue A

Re: [PR] [Kconfig] Fix Kconfig style [nuttx]

2025-08-19 Thread via GitHub
acassis merged PR #16865: URL: https://github.com/apache/nuttx/pull/16865 -- 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.apac

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3202465405 @thiagofinelon nice work! Please update the Documentation/ of esp32s3 to include SPI Slave in the supported peripherals table and also add the spislave board profile to esp32s3-devkit (in

(nuttx) branch master updated: drivers/analog/CMakeLists.txt: Aligned Cmake with Make

2025-08-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis 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 d3d1f671986 drivers/analog/CMakeLists.txt: Align

Re: [PR] drivers/analog/CMakeLists.txt: Aligned Cmake with Make [nuttx]

2025-08-19 Thread via GitHub
acassis merged PR #16867: URL: https://github.com/apache/nuttx/pull/16867 -- 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.apac

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
thiagofinelon commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3202227575 https://github.com/user-attachments/assets/b7459ed4-373f-4d01-a04b-6af8d6ad45aa"; /> -- This is an automated message from the Apache Git Service. To respond to the message, pl

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-3202041115 @nmaggioni your app was already merged by @xiaoxiang781216 Please rebase and confirm your boards/arm/rp2040/raspberrypi-pico/configs/ads7046/defconfig is up to date: you can do it

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
thiagofinelon commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3202030060 @xiaoxiang781216 I think that i fixed, can we run the pipeline to check? @fdcavalcanti I have a private application working with the spi slave, do you want the logic analyzer

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3202022008 @xiaoxiang781216 Thank you. -- 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

Re: [PR] [Litmus] add litmus env [nuttx-apps]

2025-08-19 Thread via GitHub
poshiunchen closed pull request #3164: [Litmus] add litmus env URL: https://github.com/apache/nuttx-apps/pull/3164 -- 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 unsubscrib

[PR] [Litmus] add litmus env [nuttx-apps]

2025-08-19 Thread via GitHub
poshiunchen opened a new pull request, #3164: URL: https://github.com/apache/nuttx-apps/pull/3164 Add litmux build env for first draft need add symbolink to litmus source code EX: ln -s litmus-tests-riscv/hw-tests-src src *Note: Please adhere to [Contributing Guideline

(nuttx) 02/03: esp32s3: Fix bug related to the PSRAM-allocated task stack

2025-08-19 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 commit 60ca804b561c160d93a2cc0d55403cd091140f8a Author: Tiago Medicci Serrano AuthorDate: Tue Jul 15 14:43:33 2025 -0300

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
fdcavalcanti commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3201810895 @thiagofinelon looks good. Do you test output using the slave driver? Please provide some! -- This is an automated message from the Apache Git Service. To respond to the message,

(nuttx-apps) branch master updated: examples/ads7046: Add new example for ADS7046 ADC

2025-08-19 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 dfd1eb067 examples/ads7046: Add new examp

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
tmedicci commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3201782417 cc @eren-terzioglu @fdcavalcanti -- 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 spec

(nuttx) 01/03: boards/xtensa/esp32s3: Add missing board_memorymap.h

2025-08-19 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 commit 843b21c6541a14c6ceb88a8314b95f2c66fbfb9c Author: Tiago Medicci Serrano AuthorDate: Tue Jul 22 12:05:39 2025 -0300

Re: [PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 commented on PR #16866: URL: https://github.com/apache/nuttx/pull/16866#issuecomment-3201775734 @thiagofinelon please fix: ``` 4bb93d3539 boards/esp32s3: Add SPI slave device support ../nuttx/tools/checkpatch.sh -c -u -m -g e953bbd47c36d4b3cb5a38141de2595ffdcd467b..H

Re: [PR] examples/ads7046: Add new example for ADS7046 ADC [nuttx-apps]

2025-08-19 Thread via GitHub
xiaoxiang781216 merged PR #3163: URL: https://github.com/apache/nuttx-apps/pull/3163 -- 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...

Re: [PR] tools/rp{2040,23xx}: Ensure that picotool is found or built [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 commented on PR #16855: URL: https://github.com/apache/nuttx/pull/16855#issuecomment-3201753666 > @xiaoxiang781216 ACK, changes to CI tooling were moved to a dedicated PR. @nmaggioni please rebase this pr again. -- This is an automated message from the Apache Git Ser

Re: [PR] tools/ci: Include fetching pico-sdk in the CI environment setup [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 merged PR #16862: URL: https://github.com/apache/nuttx/pull/16862 -- 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...@nu

Re: [PR] arch/xtensa/esp32s3: Fix bug related to the PSRAM-allocated task stack [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 merged PR #16756: URL: https://github.com/apache/nuttx/pull/16756 -- 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...@nu

(nuttx) branch master updated: tools/ci: Include fetching pico-sdk in the CI environment setup

2025-08-19 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 0f005b7b8cd tools/ci: Include fetching pico-sd

(nuttx) branch master updated (e953bbd47c3 -> d250808c1c0)

2025-08-19 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from e953bbd47c3 Dockerfile: fix matter build error new 843b21c6541 boards/xtensa/esp32s3: Add missing board_memorym

(nuttx) 03/03: esp32s3/elf: Fix ELF loader on ESP32-S3 when using external PSRAM

2025-08-19 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 commit d250808c1c088d665e456feef92e35f37e658f5b Author: Tiago Medicci Serrano AuthorDate: Thu Aug 14 14:33:03 2025 -0300

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-3201746764 Just like before, CI will fail until the example app will be merged (the `CONFIG_EXAMPLES_ADS7046` entry used in the defconfig doesn't exist yet). I'll rebase this if/when that gets app

[I] [BUG] smp配置下,使用spin_lock系统卡死,动不了了 [nuttx]

2025-08-19 Thread via GitHub
461911662 opened a new issue, #16868: URL: https://github.com/apache/nuttx/issues/16868 ### Description / Steps to reproduce the issue 详细步骤如下: ./tools/configure.sh -a ./vendor/boss/app/boss1-app qemu-armv7a:smp make menuconfig qemu-system-arm -cpu cortex-a7 -smp 4 -nographic -

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2285673011 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,170 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

[PR] examples/ads7046: Add new example for ADS7046 ADC [nuttx-apps]

2025-08-19 Thread via GitHub
nmaggioni opened a new pull request, #3163: URL: https://github.com/apache/nuttx-apps/pull/3163 ## Summary This is a companion PR to apache/nuttx#16836. It adds a new example that shows how to read a sample from an ADS7046 ADC registered on the SPI bus. ## Impact N/A

[PR] drivers/analog/CMakeLists.txt: Aligned Cmake with Make [nuttx]

2025-08-19 Thread via GitHub
simbit18 opened a new pull request, #16867: URL: https://github.com/apache/nuttx/pull/16867 ## Summary Add Texas Instruments ADS1115 https://github.com/apache/nuttx/pull/16011 ## Impact Impact on user: NO Impact on build: This PR Aligned Cmake with Make

[PR] boards/esp32s3: Add SPI slave device support [nuttx]

2025-08-19 Thread via GitHub
thiagofinelon opened a new pull request, #16866: URL: https://github.com/apache/nuttx/pull/16866 ## Summary This PR adds **SPI slave initialization support** for the ESP32-S3 DevKit bringup. Until now, the ESP32-S3 BSP only provided SPI master initialization. Applications that r

[PR] [Kconfig] Fix Kconfig style [nuttx]

2025-08-19 Thread via GitHub
simbit18 opened a new pull request, #16865: URL: https://github.com/apache/nuttx/pull/16865 ## Summary Remove spaces from Kconfig Add TABs ## Impact Impact on user: No changes to user-facing functionality Impact on build: Build process remains the same ## Tes

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200778433 @xiaoxiang781216 Your instructions are unclear, do you want d34747da64b79cfaf415bfac316e72e6b40f to be squashed in its parent as well? That change looked semantically different to m

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200751226 > @xiaoxiang781216 I've squashed the two commits, it was too much work to move those minor changes between them. but the modification for driver should be contained in one p

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200750779 I would have usually done that, but switching between four different active PRs is taking a toll on my stash-switch-rebase game :) -- This is an automated message from the Apache Git

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200735536 > @xiaoxiang781216 I've squashed the two commits, it was too much work to move those minor changes between them. A good practice is creating commits for fix drivers separated from c

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200726182 @xiaoxiang781216 I've squashed the two commits, it was too much work to move those minor changes between them. -- This is an automated message from the Apache Git Service. To respond

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285241326 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* Tr

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285171918 ## drivers/sensors/tmp112.c: ## @@ -282,40 +282,7 @@ int tmp112_register(FAR const char *devpath, uint8_t devnum, } priv->i2c = i2c; - switch (devnu

[I] [HELP] SYSLOG vs Debug on board files [nuttx]

2025-08-19 Thread via GitHub
fdcavalcanti opened a new issue, #16864: URL: https://github.com/apache/nuttx/issues/16864 ### Description Hi all, Recently I've had a few encounters with syslog and debug functions being used on board level source code. Taking a generic sensor for example. We have some

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285155931 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /*

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285155931 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /*

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285142535 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* Tr

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285133807 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /*

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-3200604318 > @acassis I wanted to add the missing example config, docs, and test app first. Should I skip them? Understood! Ok, let keep it as Draft until you add them ;-) -- This is an aut

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200597896 > @acassis Got notified about them and commented there, but I appreciate the reminder. How does [4cceec7](https://github.com/apache/nuttx/commit/4cceec75499a4522e0947490e4ed8b1b434fee87)

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285117845 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* Tr

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285117845 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* Tr

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2285117845 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +574,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* Tr

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-3200570844 I wanted to add an example config, docs, and test app first. Should I skip them? -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200560901 @acassis Got notified about them and commented there, but I appreciate the reminder. How does 4cceec7 look? -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-3200549201 @nmaggioni I think you can remove the Draft -- 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

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
xiaoxiang781216 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2285044656 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,170 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
acassis commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200512326 @nmaggioni I included some comments there, I will show here case it doesn't appear there: https://github.com/user-attachments/assets/fa31ff72-45a2-4e77-aa00-0de0cdd98a53"; />

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
nmaggioni commented on PR #16838: URL: https://github.com/apache/nuttx/pull/16838#issuecomment-3200454518 @xiaoxiang781216 Thanks, that slipped through. Fixed and squashed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and u

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284989600 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] drivers/analog/ads7046: Add support for ADS7046 ADC [nuttx]

2025-08-19 Thread via GitHub
fdcavalcanti commented on PR #16836: URL: https://github.com/apache/nuttx/pull/16836#issuecomment-320025 > > @acassis @fdcavalcanti @jerpelea I can see why it can be cumbersome to adopt a single standard for all ADCs: they can differ wildly in capabilities and final use case. For exampl

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
simbit18 commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2284830562 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +573,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* T

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284828751 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] drivers/sensors/tmp112: Add support for TMP112 temperature sensor [nuttx]

2025-08-19 Thread via GitHub
simbit18 commented on code in PR #16838: URL: https://github.com/apache/nuttx/pull/16838#discussion_r2284830562 ## boards/arm/rp2040/common/src/rp2040_common_bringup.c: ## @@ -569,6 +573,16 @@ int rp2040_common_bringup(void) } #endif +#ifdef CONFIG_SENSORS_TMP112 + /* T

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284828751 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284785778 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284658594 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284658594 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284385720 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-08-19 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2284343297 ## sched/sched/sched_addreadytorun.c: ## @@ -114,170 +114,160 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#