[GitHub] [incubator-nuttx] yamt opened a new pull request #2486: Syslog format and nxstyle fixes
yamt opened a new pull request #2486: URL: https://github.com/apache/incubator-nuttx/pull/2486 ## Summary Extracted from https://github.com/apache/incubator-nuttx/pull/2347 ## Impact ## Testing 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx] yamt commented on pull request #2486: Syslog format and nxstyle fixes
yamt commented on pull request #2486: URL: https://github.com/apache/incubator-nuttx/pull/2486#issuecomment-739490245 The nxstyle errors in boards/arm/sam34/sam3u-ek/src/sam_lcd.c are intentionally left. They are a part of a large table, which is not trivial to fix. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx] diegoherranz commented on pull request #2462: drivers/led/ws2812: fix comments
diegoherranz commented on pull request #2462: URL: https://github.com/apache/incubator-nuttx/pull/2462#issuecomment-739494812 > Were you able to use this driver? I'm starting to use it on an STM32 board and it seems to be working. I may contribute some board support for it. Thanks! 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2486: Syslog format and nxstyle fixes
xiaoxiang781216 merged pull request #2486: URL: https://github.com/apache/incubator-nuttx/pull/2486 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[incubator-nuttx] 08/27: boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Appease nxstyle
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/incubator-nuttx.git commit b69dbbcbcf4ee359c3ba9e75833893269998c178 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:28:13 2020 +0900 boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Appease nxstyle --- boards/arm/sama5/sama5d4-ek/src/sam_at25.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/arm/sama5/sama5d4-ek/src/sam_at25.c b/boards/arm/sama5/sama5d4-ek/src/sam_at25.c index 4f7ef1a..eaf4244 100644 --- a/boards/arm/sama5/sama5d4-ek/src/sam_at25.c +++ b/boards/arm/sama5/sama5d4-ek/src/sam_at25.c @@ -101,7 +101,8 @@ int sam_at25_automount(int minor) mtd = at25_initialize(spi); if (!mtd) { - ferr("ERROR: Failed to bind SPI port %d to the AT25 FLASH driver\n"); + ferr("ERROR: Failed to bind SPI port %d " + "to the AT25 FLASH driver\n"); return -ENODEV; }
[incubator-nuttx] 09/27: boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Fix a syslog format
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/incubator-nuttx.git commit 3599120dbb1120b46b924b14496b9f991de75fec Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:28:35 2020 +0900 boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Fix a syslog format --- boards/arm/sama5/sama5d4-ek/src/sam_at25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/sama5/sama5d4-ek/src/sam_at25.c b/boards/arm/sama5/sama5d4-ek/src/sam_at25.c index eaf4244..7456e5b 100644 --- a/boards/arm/sama5/sama5d4-ek/src/sam_at25.c +++ b/boards/arm/sama5/sama5d4-ek/src/sam_at25.c @@ -102,7 +102,7 @@ int sam_at25_automount(int minor) if (!mtd) { ferr("ERROR: Failed to bind SPI port %d " - "to the AT25 FLASH driver\n"); + "to the AT25 FLASH driver\n", AT25_PORT); return -ENODEV; }
[incubator-nuttx] 02/27: arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle
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/incubator-nuttx.git commit c8eb8ac9c1a15376ee9c0872a0121697b8fd3e4c Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:03:12 2020 +0900 arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle --- arch/arm/src/sama5/sam_xdmac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/sama5/sam_xdmac.c b/arch/arm/src/sama5/sam_xdmac.c index 4eb8e3e..37c0a4c 100644 --- a/arch/arm/src/sama5/sam_xdmac.c +++ b/arch/arm/src/sama5/sam_xdmac.c @@ -2325,7 +2325,9 @@ int sam_dmastart(DMA_HANDLE handle, dma_callback_t callback, void *arg) if (xdmach->llhead) { - /* Save the callback info. This will be invoked whent the DMA completes */ + /* Save the callback info. This will be invoked whent the DMA + * completes + */ xdmach->callback = callback; xdmach->arg = arg;
[incubator-nuttx] 07/27: arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats
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/incubator-nuttx.git commit 83b24f03821a606a5c983f52e0cecc1703ba9c77 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:26:18 2020 +0900 arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats --- arch/arm/src/armv7-a/arm_syscall.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm/src/armv7-a/arm_syscall.c b/arch/arm/src/armv7-a/arm_syscall.c index 988..23921a4 100644 --- a/arch/arm/src/armv7-a/arm_syscall.c +++ b/arch/arm/src/armv7-a/arm_syscall.c @@ -24,6 +24,7 @@ #include +#include #include #include #include @@ -142,14 +143,16 @@ uint32_t *arm_syscall(uint32_t *regs) * and R1..R7 = variable number of arguments depending on the system call. */ - svcinfo("SYSCALL Entry: regs: %p cmd: %d\n", regs, cmd); - svcinfo(" R0: %08x %08x %08x %08x %08x %08x %08x %08x\n", + svcinfo("SYSCALL Entry: regs: %p cmd: %" PRId32 "\n", regs, cmd); + svcinfo(" R0: %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 + " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 "\n", regs[REG_R0], regs[REG_R1], regs[REG_R2], regs[REG_R3], regs[REG_R4], regs[REG_R5], regs[REG_R6], regs[REG_R7]); - svcinfo(" R8: %08x %08x %08x %08x %08x %08x %08x %08x\n", + svcinfo(" R8: %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 + " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32 "\n", regs[REG_R8], regs[REG_R9], regs[REG_R10], regs[REG_R11], regs[REG_R12], regs[REG_R13], regs[REG_R14], regs[REG_R15]); - svcinfo("CPSR: %08x\n", regs[REG_CPSR]); + svcinfo("CPSR: %08" PRIx32 "\n", regs[REG_CPSR]); /* Handle the SVCall according to the command in R0 */ @@ -479,13 +482,15 @@ uint32_t *arm_syscall(uint32_t *regs) /* Report what happened */ svcinfo("SYSCALL Exit: regs: %p\n", regs); - svcinfo(" R0: %08x %08x %08x %08x %08x %08x %08x %08x\n", + svcinfo(" R0: %" PRIx32 " %" PRIx32 " %" PRIx32 " %" PRIx32 + " %" PRIx32 " %" PRIx32 " %" PRIx32 " %" PRIx32 "\n", regs[REG_R0], regs[REG_R1], regs[REG_R2], regs[REG_R3], regs[REG_R4], regs[REG_R5], regs[REG_R6], regs[REG_R7]); - svcinfo(" R8: %08x %08x %08x %08x %08x %08x %08x %08x\n", + svcinfo(" R8: %" PRIx32 " %" PRIx32 " %" PRIx32 " %" PRIx32 + " %" PRIx32 " %" PRIx32 " %" PRIx32 " %" PRIx32 "\n", regs[REG_R8], regs[REG_R9], regs[REG_R10], regs[REG_R11], - regs[REG_R12], regs[REG_R13], regs[REG_R14], regs[REG_R15]); - svcinfo("CPSR: %08x\n", regs[REG_CPSR]); + regs[REG_R12], regs[REG_R13], regs[REG_R14], regs[REG_R15]); + svcinfo("CPSR: %08" PRIx32 "\n", regs[REG_CPSR]); /* Return the last value of curent_regs. This supports context switches * on return from the exception. That capability is only used with the
[incubator-nuttx] 18/27: boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Appease nxstyle
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/incubator-nuttx.git commit c007f70de5ea319b85ce7df05f5143c7d6dfc2ae Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 10:03:25 2020 +0900 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Appease nxstyle The following nxstyle errrors are intentionally left. They are a part of a large table, which is not trivial to fix. boards/arm/sam34/sam3u-ek/src/sam_lcd.c:43:87: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:44:86: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:45:87: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:46:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:47:89: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:48:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:49:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:50:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:51:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:52:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:53:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:54:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:55:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:56:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:57:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:58:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:59:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:60:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:61:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:62:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:63:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:64:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:65:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:66:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:67:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:68:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:69:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:70:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:71:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:72:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:73:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:74:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:75:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:76:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:77:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:78:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:79:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:80:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:81:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:82:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:83:84: error: Long line found boards/arm/sam34/sam3u-ek/src/sam_lcd.c:84:84: error: Long line found --- boards/arm/sam34/sam3u-ek/src/sam_lcd.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/boards/arm/sam34/sam3u-ek/src/sam_lcd.c b/boards/arm/sam34/sam3u-ek/src/sam_lcd.c index 5c557c0..860ef98 100644 --- a/boards/arm/sam34/sam3u-ek/src/sam_lcd.c +++ b/boards/arm/sam34/sam3u-ek/src/sam_lcd.c @@ -384,10 +384,10 @@ static const struct fb_videoinfo_s g_videoinfo = static const struct lcd_planeinfo_s g_planeinfo = { - .putrun = sam_putrun,/* Put a run into LCD memory */ - .getrun = sam_getrun,/* Get a run from LCD memory */ - .buffer = (uint8_t*)g_runbuffer, /* Run scratch buffer */ - .bpp= SAM3UEK_BPP, /* Bits-per-pixel */ + .putrun = sam_putrun, /* Put a run into LCD memory */ + .getrun = sam_getrun, /* Get a run from LCD memory */ + .buffer = (uint8_t *)g_runbuffer, /* Run scratch buffer */ + .bpp= SAM3UEK_BPP,/* Bits-per-pixel */ }; /* This is the standard, NuttX LCD driver object */ @@ -602,7 +602,7 @@ static int sam_putrun(fb_coord_t row, fb_coord_t col, FAR const uint8_t *buffer, size_t npixels) { - uint16_t *run = (uint16_t*)buffer; + uint16_t *run = (uint16_t *)buffer; unsigned int i; /* Buffer must be provided and aligned to a 16-bit address boundary */ @@ -651,6 +651,7 @@ static
[incubator-nuttx] 11/27: arch/arm/src/sama5/sam_emacb.c: Fix a syslog format
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/incubator-nuttx.git commit 8af7af12b385ede1be95d02600d491e22cb389df Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:32:54 2020 +0900 arch/arm/src/sama5/sam_emacb.c: Fix a syslog format --- arch/arm/src/sama5/sam_emacb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index c70b7c5..9173372 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -2247,8 +2247,10 @@ static int sam_ifup(struct net_driver_s *dev) #ifdef CONFIG_NET_IPv4 ninfo("Bringing up: %d.%d.%d.%d\n", -dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff, -(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24); +(int)(dev->d_ipaddr & 0xff), +(int)((dev->d_ipaddr >> 8) & 0xff), +(int)((dev->d_ipaddr >> 16) & 0xff), +(int)(dev->d_ipaddr >> 24)); #endif #ifdef CONFIG_NET_IPv6 ninfo("Bringing up: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",
[incubator-nuttx] 05/27: libs/libc/machine/arm/armv7-a/arch_elf.c: Appease nxstyle
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/incubator-nuttx.git commit 51b6a3cd1a235ba28c157289f2f5ea9bd0f808b5 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:13:28 2020 +0900 libs/libc/machine/arm/armv7-a/arch_elf.c: Appease nxstyle --- libs/libc/machine/arm/armv7-a/arch_elf.c | 37 +--- 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/libs/libc/machine/arm/armv7-a/arch_elf.c b/libs/libc/machine/arm/armv7-a/arch_elf.c index 0cbdd41..73ba3db 100644 --- a/libs/libc/machine/arm/armv7-a/arch_elf.c +++ b/libs/libc/machine/arm/armv7-a/arch_elf.c @@ -80,7 +80,8 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if (ehdr->e_ident[EI_CLASS] != ELFCLASS32) { - berr("ERROR: Need 32-bit objects: e_ident[EI_CLASS]=%02x\n", ehdr->e_ident[EI_CLASS]); + berr("ERROR: Need 32-bit objects: e_ident[EI_CLASS]=%02x\n", + ehdr->e_ident[EI_CLASS]); return false; } @@ -92,7 +93,8 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) #endif { - berr("ERROR: Wrong endian-ness: e_ident[EI_DATA]=%02x\n", ehdr->e_ident[EI_DATA]); + berr("ERROR: Wrong endian-ness: e_ident[EI_DATA]=%02x\n", + ehdr->e_ident[EI_DATA]); return false; } @@ -100,11 +102,13 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if ((ehdr->e_entry & 3) != 0) { - berr("ERROR: Entry point is not properly aligned: %08x\n", ehdr->e_entry); + berr("ERROR: Entry point is not properly aligned: %08x\n", + ehdr->e_entry); return false; } /* TODO: Check ABI here. */ + return true; } @@ -160,8 +164,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_CALL: case R_ARM_JUMP24: { -binfo("Performing PC24 [%d] link at addr %08lx [%08lx] to sym '%p' st_value=%08lx\n", - ELF32_R_TYPE(rel->r_info), (long)addr, (long)(*(uint32_t *)addr), +binfo("Performing PC24 [%d] link " + "at addr %08lx [%08lx] to sym '%p' st_value=%08lx\n", + ELF32_R_TYPE(rel->r_info), (long)addr, + (long)(*(uint32_t *)addr), sym, (long)sym->st_value); offset = (*(uint32_t *)addr & 0x00ff) << 2; @@ -171,7 +177,8 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, } offset += sym->st_value - addr; -if (offset & 3 || offset < (int32_t) 0xfe00 || offset >= (int32_t) 0x0200) +if (offset & 3 || offset < (int32_t) 0xfe00 || +offset >= (int32_t) 0x0200) { berr("ERROR: PC24 [%d] relocation out of range, offset=%08lx\n", ELF32_R_TYPE(rel->r_info), offset); @@ -189,8 +196,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_ABS32: case R_ARM_TARGET1: /* New ABI: TARGET1 always treated as ABS32 */ { -binfo("Performing ABS32 link at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", - (long)addr, (long)(*(uint32_t *)addr), sym, (long)sym->st_value); +binfo("Performing ABS32 link " + "at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", + (long)addr, (long)(*(uint32_t *)addr), sym, + (long)sym->st_value); *(uint32_t *)addr += sym->st_value; } @@ -213,8 +222,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_PREL31: { -binfo("Performing PREL31 link at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", - (long)addr, (long)(*(uint32_t *)addr), sym, (long)sym->st_value); +binfo("Performing PREL31 link " + "at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", + (long)addr, (long)(*(uint32_t *)addr), sym, + (long)sym->st_value); offset= *(uint32_t *)addr + sym->st_value - addr; *(uint32_t *)addr = offset & 0x7fff; @@ -224,8 +235,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_MOVW_ABS_NC: case R_ARM_MOVT_ABS: { -binfo("Performing MOVx_ABS [%d] link at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", - ELF32_R_TYPE(rel->r_info), (long)addr, (long)(*(uint32_t *)addr), +binfo("Performing MOVx_ABS [%d] link " + "at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", + ELF32_R_TYPE(rel->r_info), (long)addr, + (long)(*(uint32_t *)addr), sym, (long)sym->st_value); offset = *(uint32_t *)addr;
[incubator-nuttx] 27/27: boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats
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/incubator-nuttx.git commit faa23102fefaa77995c8733f453d6e19886a0de3 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 20:34:29 2020 +0900 boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats --- boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c b/boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c index 0a8d6da..f6c137a 100644 --- a/boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c +++ b/boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c @@ -133,14 +133,14 @@ int s32k1xx_bringup(void) if (i2c == NULL) { - serr("ERROR: Failed to get I2C%d interface\n", bus); + serr("ERROR: Failed to get I2C interface\n"); } else { ret = i2c_register(i2c, 0); if (ret < 0) { - serr("ERROR: Failed to register I2C%d driver: %d\n", bus, ret); + serr("ERROR: Failed to register I2C driver: %d\n", ret); s32k1xx_i2cbus_uninitialize(i2c); } }
[incubator-nuttx] 23/27: arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats
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/incubator-nuttx.git commit cba6e69ccf59e914653adce3a50413c475f40961 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 18:56:50 2020 +0900 arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats --- arch/arm/src/s32k1xx/s32k1xx_lpi2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c b/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c index 2eb9f19..0c9e487 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c +++ b/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -754,7 +755,7 @@ static inline void * still pending. */ - i2cinfo("Timeout with Status Register: %x\n", regval); + i2cinfo("Timeout with Status Register: %" PRIx32 "\n", regval); } / @@ -1606,7 +1607,7 @@ static int s32k1xx_lpi2c_transfer(FAR struct i2c_master_s *dev, { ret = -ETIMEDOUT; - i2cerr("ERROR: Timed out: MCR: status: 0x%x\n", priv->status); + i2cerr("ERROR: Timed out: MCR: status: 0x%" PRIx32 "\n", priv->status); } /* Check for error status conditions */
[incubator-nuttx] 20/27: arch/arm/src/sam34/sam_emac.c: Fix syslog formats
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/incubator-nuttx.git commit fbf7d7cdf9386a9e0094a9a8b169c798173cb5cf Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 18:47:36 2020 +0900 arch/arm/src/sam34/sam_emac.c: Fix syslog formats --- arch/arm/src/sam34/sam_emac.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index b12e85b..1745949 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -50,6 +50,7 @@ #include +#include #include #include #include @@ -1018,7 +1019,7 @@ static int sam_recvframe(struct sam_emac_s *priv) sam_cmcc_invalidate((uintptr_t)rxdesc, (uintptr_t)rxdesc + sizeof(struct emac_rxdesc_s)); - ninfo("rxndx: %d\n", rxndx); + ninfo("rxndx: %" PRId32 "\n", rxndx); while ((rxdesc->addr & EMACRXD_ADDR_OWNER) != 0) { @@ -1115,7 +1116,8 @@ static int sam_recvframe(struct sam_emac_s *priv) /* Frame size from the EMAC */ dev->d_len = (rxdesc->status & EMACRXD_STA_FRLEN_MASK); - ninfo("packet %d-%d (%d)\n", priv->rxndx, rxndx, dev->d_len); + ninfo("packet %d-%" PRId32 " (%d)\n", +priv->rxndx, rxndx, dev->d_len); /* All data have been copied in the application frame buffer, * release the RX descriptor @@ -1144,7 +1146,7 @@ static int sam_recvframe(struct sam_emac_s *priv) if (pktlen < dev->d_len) { - nerr("ERROR: Buffer size %d; frame size %d\n", + nerr("ERROR: Buffer size %d; frame size %" PRId32 "\n", dev->d_len, pktlen); return -E2BIG; } @@ -1471,7 +1473,7 @@ static void sam_interrupt_work(FAR void *arg) imr = sam_getreg(priv, SAM_EMAC_IMR); pending = isr & ~(imr | EMAC_INT_UNUSED); - ninfo("isr: %08x pending: %08x\n", isr, pending); + ninfo("isr: %08" PRIx32 " pending: %08" PRIx32 "\n", isr, pending); /* Check for the completion of a transmission. This should be done before * checking for received data (because receiving can cause another @@ -1497,7 +1499,7 @@ static void sam_interrupt_work(FAR void *arg) clrbits = EMAC_TSR_RLE | sam_txinuse(priv); sam_txreset(priv); - nerr("ERROR: Retry Limit Exceeded TSR: %08x\n", tsr); + nerr("ERROR: Retry Limit Exceeded TSR: %08" PRIx32 "\n", tsr); regval = sam_getreg(priv, SAM_EMAC_NCR); regval |= EMAC_NCR_TXEN; @@ -1508,7 +1510,7 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_COL) != 0) { - nerr("ERROR: Collision occurred TSR: %08x\n", tsr); + nerr("ERROR: Collision occurred TSR: %08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_COL; } @@ -1516,7 +1518,8 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_TFC) != 0) { - nerr("ERROR: Transmit Frame Corruption due to AHB error: %08x\n", + nerr("ERROR: Transmit Frame Corruption due to AHB error: " + "%08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_TFC; } @@ -1532,7 +1535,7 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_UND) != 0) { - nerr("ERROR: Transmit Underrun TSR: %08x\n", tsr); + nerr("ERROR: Transmit Underrun TSR: %08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_UND; } @@ -1569,7 +1572,7 @@ static void sam_interrupt_work(FAR void *arg) if ((rsr & EMAC_RSR_RXOVR) != 0) { - nerr("ERROR: Receiver overrun RSR: %08x\n", rsr); + nerr("ERROR: Receiver overrun RSR: %08" PRIx32 "\n", rsr); clrbits |= EMAC_RSR_RXOVR; } @@ -1586,7 +1589,7 @@ static void sam_interrupt_work(FAR void *arg) if ((rsr & EMAC_RSR_BNA) != 0) { - nerr("ERROR: Buffer not available RSR: %08x\n", rsr); + nerr("ERROR: Buffer not available RSR: %08" PRIx32 "\n", rsr); clrbits |= EMAC_RSR_BNA; } @@ -1844,8 +1847,10 @@ static int sam_ifup(struct net_driver_s *dev) int ret; ninfo("Bringing up: %d.%d.%d.%d\n", -dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff, -(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24); +(int)(dev->d_ipaddr & 0xff), +(int)((dev->d_ipaddr >> 8) & 0xff), +(int)((dev->d_ipaddr >> 16) & 0xff), +(int)(dev->d_ipaddr >> 24)); /* Configure the EMAC interface for normal operation. */
[incubator-nuttx] 24/27: arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format
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/incubator-nuttx.git commit 1c7bdcea983ce0ab5640b9153c3e78040d68e4ca Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 18:58:55 2020 +0900 arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format --- arch/arm/src/s32k1xx/s32k1xx_lpspi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/s32k1xx/s32k1xx_lpspi.c b/arch/arm/src/s32k1xx/s32k1xx_lpspi.c index 5ce449d..f50ed6b 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_lpspi.c +++ b/arch/arm/src/s32k1xx/s32k1xx_lpspi.c @@ -64,6 +64,7 @@ #include #include +#include #include #include #include @@ -1211,7 +1212,8 @@ static uint32_t s32k1xx_lpspi_send(FAR struct spi_dev_s *dev, uint32_t wd) regval = s32k1xx_lpspi_getreg32(priv, S32K1XX_LPSPI_SR_OFFSET); - spiinfo("Sent: %04x Return: %04x Status: %02x\n", wd, ret, regval); + spiinfo("Sent: %04" PRIx32 " Return: %04" PRIx32 + " Status: %02" PRIx32 "\n", wd, ret, regval); UNUSED(regval); return ret;
[incubator-nuttx] 21/27: boards/arm/sam34/sam4e-ek/src/sam_at25.c: Appease nxstyle
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/incubator-nuttx.git commit 392c2948e559f7fac6f812a9f0284f36a55c2479 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 18:50:32 2020 +0900 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Appease nxstyle --- boards/arm/sam34/sam4e-ek/src/sam_at25.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boards/arm/sam34/sam4e-ek/src/sam_at25.c b/boards/arm/sam34/sam4e-ek/src/sam_at25.c index 282aa61..ac722ea 100644 --- a/boards/arm/sam34/sam4e-ek/src/sam_at25.c +++ b/boards/arm/sam34/sam4e-ek/src/sam_at25.c @@ -97,7 +97,8 @@ int sam_at25_automount(int minor) mtd = at25_initialize(spi); if (!mtd) { - ferr("ERROR: Failed to bind SPI port %d to the AT25 FLASH driver\n"); + ferr("ERROR: Failed to bind SPI port %d to " + "the AT25 FLASH driver\n"); return -ENODEV; } @@ -132,6 +133,7 @@ int sam_at25_automount(int minor) return ret; } #endif + /* Now we are initialized */ initialized = true;
[incubator-nuttx] 19/27: boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Fix syslog formats
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/incubator-nuttx.git commit 61579ed140b086a50582b26587e7176783b07da7 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 10:07:24 2020 +0900 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Fix syslog formats --- boards/arm/sam34/sam3u-ek/src/sam_lcd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/boards/arm/sam34/sam3u-ek/src/sam_lcd.c b/boards/arm/sam34/sam3u-ek/src/sam_lcd.c index 860ef98..738704a 100644 --- a/boards/arm/sam34/sam3u-ek/src/sam_lcd.c +++ b/boards/arm/sam34/sam3u-ek/src/sam_lcd.c @@ -113,6 +113,7 @@ #include #include +#include #include #include #include @@ -921,7 +922,7 @@ int board_lcd_initialize(void) /* Enable SMC peripheral clock */ putreg32((1 << SAM_PID_SMC), SAM_PMC_PCER); - lcdinfo("PMC PCSR: %08x SMC: %08x\n", + lcdinfo("PMC PCSR: %08" PRIx32 " SMC: %08x\n", getreg32(SAM_PMC_PCSR), (1 << SAM_PID_SMC)); /* Configure SMC CS2 */ @@ -949,10 +950,10 @@ int board_lcd_initialize(void) (SMCCS_MODE_DBW_16BITS); putreg32(regval, SAM_SMCCS_MODE(2)); - lcdinfo("SMC SETUP[%08x]: %08x PULSE[%08x]: %08x\n", + lcdinfo("SMC SETUP[%08x]: %08" PRIx32 " PULSE[%08x]: %08" PRIx32 "\n", SAM_SMCCS_SETUP(2), getreg32(SAM_SMCCS_SETUP(2)), SAM_SMCCS_PULSE(2), getreg32(SAM_SMCCS_PULSE(2))); - lcdinfo("CYCLE[%08x]: %08x MODE[%08x]: %08x\n", + lcdinfo("CYCLE[%08x]: %08" PRIx32 " MODE[%08x]: %08" PRIx32 "\n", SAM_SMCCS_CYCLE(2), getreg32(SAM_SMCCS_CYCLE(2)), SAM_SMCCS_MODE(2), getreg32(SAM_SMCCS_MODE(2)));
[incubator-nuttx] 16/27: arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats
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/incubator-nuttx.git commit 5461bb2462ce77f52a389b7a8104d7362d047f88 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 09:40:31 2020 +0900 arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats --- arch/arm/src/sam34/sam4s_nand.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/sam34/sam4s_nand.c b/arch/arm/src/sam34/sam4s_nand.c index 6a49f64..f1ad929 100644 --- a/arch/arm/src/sam34/sam4s_nand.c +++ b/arch/arm/src/sam34/sam4s_nand.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -215,7 +216,7 @@ static inline int nand_tryeraseblock(struct sam_nandcs_s *priv, off_t block) ret = nand_wait_ready(priv); if (ret < 0) { - ferr("ERROR: Block %d Could not erase: %d\n", block, ret); + ferr("ERROR: Block %jd Could not erase: %d\n", (intmax_t)block, ret); } return ret; @@ -373,8 +374,9 @@ static int nand_rawread(struct nand_raw_s *raw, off_t block, rowaddr = block * nandmodel_pagesperblock(&priv->raw.model) + page; coladdr = data ? 0 : pagesize; - fwarn("block=%d page=%d rowaddr=%d coladdr %d data=%p spare=%p\n", -(int)block, page, rowaddr, coladdr , data, spare); + fwarn("block=%jd page=%d rowaddr=%jd coladdr %jd data=%p spare=%p\n", +(intmax_t)block, page, (intmax_t)rowaddr, (intmax_t)coladdr, +data, spare); coladdr = (coladdr >> 8) & 0x4 ? coladdr & 0x83f : coladdr; if (data) { @@ -583,7 +585,7 @@ struct mtd_dev_s *sam_nand_initialize(int cs) mtd = nand_initialize(&priv->raw); if (!mtd) { - ferr("ERROR: CS%d nand_initialize failed %d\n", cs); + ferr("ERROR: CS%d nand_initialize failed\n", cs); return NULL; }
[incubator-nuttx] 14/27: arch/arm/src/sam34/sam_wdt.c: Fix syslog formats
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/incubator-nuttx.git commit fcca968c0b064be8e0aa4e6429a88c77b1391d2d Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:47:33 2020 +0900 arch/arm/src/sam34/sam_wdt.c: Fix syslog formats --- arch/arm/src/sam34/sam_wdt.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/sam34/sam_wdt.c b/arch/arm/src/sam34/sam_wdt.c index 5ae0fd0..c427344 100644 --- a/arch/arm/src/sam34/sam_wdt.c +++ b/arch/arm/src/sam34/sam_wdt.c @@ -43,6 +43,7 @@ #include +#include #include #include #include @@ -440,10 +441,10 @@ static int sam34_getstatus(FAR struct watchdog_lowerhalf_s *lower, status->timeleft = (priv->timeout * elapsed) / (priv->reload + 1); - wdinfo("Status : %08x\n", sam34_getreg(SAM_WDT_SR)); - wdinfo(" flags: %08x\n", status->flags); - wdinfo(" timeout : %d\n", status->timeout); - wdinfo(" timeleft : %d\n", status->timeleft); + wdinfo("Status : %08" PRIx32 "\n", sam34_getreg(SAM_WDT_SR)); + wdinfo(" flags: %08" PRIx32 "\n", status->flags); + wdinfo(" timeout : %" PRId32 "\n", status->timeout); + wdinfo(" timeleft : %" PRId32 "\n", status->timeleft); return OK; } @@ -470,13 +471,13 @@ static int sam34_settimeout(FAR struct watchdog_lowerhalf_s *lower, uint32_t reload; DEBUGASSERT(priv); - wdinfo("Entry: timeout=%d\n", timeout); + wdinfo("Entry: timeout=%" PRId32 "\n", timeout); /* Can this timeout be represented? */ if (timeout < 1 || timeout > WDT_MAXTIMEOUT) { - wderr("ERROR: Cannot represent timeout=%d > %d\n", + wderr("ERROR: Cannot represent timeout=%" PRId32 " > %d\n", timeout, WDT_MAXTIMEOUT); return -ERANGE; } @@ -501,7 +502,7 @@ static int sam34_settimeout(FAR struct watchdog_lowerhalf_s *lower, priv->reload = reload; - wdinfo("fwdt=%d reload=%d timeout=%d\n", + wdinfo("fwdt=%d reload=%" PRId32 " timeout=%" PRId32 "\n", WDT_FCLK, reload, priv->timeout); /* Don't commit to MR register until started! */
[incubator-nuttx] 15/27: drivers/mtd/mtd_onfi.c: Fix syslog formats
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/incubator-nuttx.git commit 6c269e8360b0c94f5539480ef6fc698b1f8de6f0 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 09:31:44 2020 +0900 drivers/mtd/mtd_onfi.c: Fix syslog formats --- drivers/mtd/mtd_onfi.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/mtd_onfi.c b/drivers/mtd/mtd_onfi.c index 14bc282..605bb28 100644 --- a/drivers/mtd/mtd_onfi.c +++ b/drivers/mtd/mtd_onfi.c @@ -53,6 +53,7 @@ #include +#include #include #include #include @@ -357,15 +358,15 @@ int onfi_read(uintptr_t cmdaddr, uintptr_t addraddr, uintptr_t dataaddr, onfi->model = *(FAR uint8_t *)(parmtab + 49); finfo("Returning:\n"); - finfo(" manufacturer: 0x%02x\n", onfi->manufacturer); - finfo(" buswidth: %d\n", onfi->buswidth); - finfo(" luns: %d\n", onfi->luns); - finfo(" eccsize: %d\n", onfi->eccsize); - finfo(" model: 0x%02s\n", onfi->model); - finfo(" sparesize: %d\n", onfi->sparesize); - finfo(" pagesperblock: %d\n", onfi->pagesperblock); - finfo(" blocksperlun: %d\n", onfi->blocksperlun); - finfo(" pagesize: %d\n", onfi->pagesize); + finfo(" manufacturer: 0x%02x\n", onfi->manufacturer); + finfo(" buswidth: %d\n", onfi->buswidth); + finfo(" luns: %d\n", onfi->luns); + finfo(" eccsize: %d\n", onfi->eccsize); + finfo(" model: 0x%02x\n", onfi->model); + finfo(" sparesize: %d\n", onfi->sparesize); + finfo(" pagesperblock: %d\n", onfi->pagesperblock); + finfo(" blocksperlun: %d\n", onfi->blocksperlun); + finfo(" pagesize: %" PRId32 "\n", onfi->pagesize); return OK; }
[incubator-nuttx] 04/27: arch/arm/src/sama5/sam_emacb.c: Fix syslog formats
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/incubator-nuttx.git commit 3152ee6c6292e6723ed1d98024b42c899284a014 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:06:56 2020 +0900 arch/arm/src/sama5/sam_emacb.c: Fix syslog formats --- arch/arm/src/sama5/sam_emacb.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index f482817..c70b7c5 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -65,6 +65,7 @@ # define CONFIG_DEBUG_NET 1 #endif +#include #include #include #include @@ -1367,7 +1368,7 @@ static int sam_recvframe(struct sam_emac_s *priv) up_invalidate_dcache((uintptr_t)rxdesc, (uintptr_t)rxdesc + sizeof(struct emac_rxdesc_s)); - ninfo("rxndx: %d\n", rxndx); + ninfo("rxndx: %" PRId32 "\n", rxndx); while ((rxdesc->addr & EMACRXD_ADDR_OWNER) != 0) { @@ -1478,7 +1479,8 @@ static int sam_recvframe(struct sam_emac_s *priv) /* Frame size from the EMAC */ dev->d_len = (rxdesc->status & EMACRXD_STA_FRLEN_MASK); - ninfo("packet %d-%d (%d)\n", priv->rxndx, rxndx, dev->d_len); + ninfo("packet %d-%" PRId32 " (%d)\n", +priv->rxndx, rxndx, dev->d_len); /* All data have been copied in the application frame buffer, * release the RX descriptor @@ -1512,7 +1514,7 @@ static int sam_recvframe(struct sam_emac_s *priv) ninfo("rxndx: %d d_len: %d\n", priv->rxndx, dev->d_len); if (pktlen < dev->d_len) { - nerr("ERROR: Buffer size %d; frame size %d\n", + nerr("ERROR: Buffer size %d; frame size %" PRId32 "\n", dev->d_len, pktlen); return -E2BIG; } @@ -1872,7 +1874,7 @@ static void sam_interrupt_work(FAR void *arg) imr = sam_getreg(priv, SAM_EMAC_IMR_OFFSET); pending = isr & ~(imr | EMAC_INT_UNUSED); - ninfo("isr: %08x pending: %08x\n", isr, pending); + ninfo("isr: %08" PRIx32 " pending: %08" PRIx32 "\n", isr, pending); /* Check for the completion of a transmission. This should be done before * checking for received data (because receiving can cause another @@ -1898,7 +1900,7 @@ static void sam_interrupt_work(FAR void *arg) clrbits = EMAC_TSR_RLE | sam_txinuse(priv); sam_txreset(priv); - nerr("ERROR: Retry Limit Exceeded TSR: %08x\n", tsr); + nerr("ERROR: Retry Limit Exceeded TSR: %08" PRIx32 "\n", tsr); regval = sam_getreg(priv, SAM_EMAC_NCR_OFFSET); regval |= EMAC_NCR_TXEN; @@ -1909,7 +1911,7 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_COL) != 0) { - nerr("ERROR: Collision occurred TSR: %08x\n", tsr); + nerr("ERROR: Collision occurred TSR: %08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_COL; } @@ -1917,7 +1919,8 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_TFC) != 0) { - nerr("ERROR: Transmit Frame Corruption due to AHB error: %08x\n", + nerr("ERROR: Transmit Frame Corruption " + "due to AHB error: %08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_TFC; } @@ -1933,7 +1936,7 @@ static void sam_interrupt_work(FAR void *arg) if ((tsr & EMAC_TSR_UND) != 0) { - nerr("ERROR: Transmit Underrun TSR: %08x\n", tsr); + nerr("ERROR: Transmit Underrun TSR: %08" PRIx32 "\n", tsr); clrbits |= EMAC_TSR_UND; } @@ -1970,7 +1973,7 @@ static void sam_interrupt_work(FAR void *arg) if ((rsr & EMAC_RSR_RXOVR) != 0) { - nerr("ERROR: Receiver overrun RSR: %08x\n", rsr); + nerr("ERROR: Receiver overrun RSR: %08" PRIx32 "\n", rsr); clrbits |= EMAC_RSR_RXOVR; } @@ -1987,7 +1990,7 @@ static void sam_interrupt_work(FAR void *arg) if ((rsr & EMAC_RSR_BNA) != 0) { - nerr("ERROR: Buffer not available RSR: %08x\n", rsr); + nerr("ERROR: Buffer not available RSR: %08" PRIx32 "\n", rsr); clrbits |= EMAC_RSR_BNA; }
[incubator-nuttx] branch master updated (ec83dc2 -> faa2310)
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/incubator-nuttx.git. from ec83dc2 nxstyle fixes new 59dc739 arch/arm/src/sama5/sam_ssc.c: Fix syslog formats new c8eb8ac arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle new c3bcf80 arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats new 3152ee6 arch/arm/src/sama5/sam_emacb.c: Fix syslog formats new 51b6a3c libs/libc/machine/arm/armv7-a/arch_elf.c: Appease nxstyle new 0117d2b libs/libc/machine/arm/armv7-a/arch_elf.c: Fix syslog formats new 83b24f0 arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats new b69dbbc boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Appease nxstyle new 3599120 boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Fix a syslog format new 2d78501 drivers/audio/audio_null.c: Fix a syslog format new 8af7af1 arch/arm/src/sama5/sam_emacb.c: Fix a syslog format new 8eb0712 arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats new f22982f arch/arm/src/sam34/sam_wdt.c: Appease nxstyle new fcca968 arch/arm/src/sam34/sam_wdt.c: Fix syslog formats new 6c269e8 drivers/mtd/mtd_onfi.c: Fix syslog formats new 5461bb2 arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats new 2829ecd arch/arm/src/sam34/sam_spi.c: Fix syslog formats new c007f70 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Appease nxstyle new 61579ed boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Fix syslog formats new fbf7d7c arch/arm/src/sam34/sam_emac.c: Fix syslog formats new 392c294 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Appease nxstyle new 46974c2 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Fix a syslog format new cba6e69 arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats new 1c7bdce arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format new 6079546 boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats new a600b24 arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats new faa2310 boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats The 27 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/armv7-a/arm_syscall.c | 21 +++--- arch/arm/src/s32k1xx/s32k1xx_flexcan.c | 9 +-- arch/arm/src/s32k1xx/s32k1xx_lpi2c.c | 5 +- arch/arm/src/s32k1xx/s32k1xx_lpspi.c | 4 +- arch/arm/src/sam34/sam4s_nand.c| 10 +-- arch/arm/src/sam34/sam_emac.c | 29 arch/arm/src/sam34/sam_hsmci.c | 20 +++--- arch/arm/src/sam34/sam_spi.c | 14 ++-- arch/arm/src/sam34/sam_wdt.c | 81 -- arch/arm/src/sama5/sam_emacb.c | 29 arch/arm/src/sama5/sam_ssc.c | 7 +- arch/arm/src/sama5/sam_xdmac.c | 10 ++- .../rddrone-uavcan144/src/s32k1xx_bringup.c| 4 +- .../rddrone-uavcan146/src/s32k1xx_bringup.c| 4 +- boards/arm/sam34/sam3u-ek/src/sam_lcd.c| 21 +++--- boards/arm/sam34/sam4e-ek/src/sam_at25.c | 3 +- boards/arm/sama5/sama5d4-ek/src/sam_at25.c | 3 +- drivers/audio/audio_null.c | 2 +- drivers/mtd/mtd_onfi.c | 19 ++--- libs/libc/machine/arm/armv7-a/arch_elf.c | 44 20 files changed, 201 insertions(+), 138 deletions(-)
[incubator-nuttx] 01/27: arch/arm/src/sama5/sam_ssc.c: Fix syslog formats
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/incubator-nuttx.git commit 59dc73989525a20ac25e41c1cbcce500712c76ad Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:01:53 2020 +0900 arch/arm/src/sama5/sam_ssc.c: Fix syslog formats --- arch/arm/src/sama5/sam_ssc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/sama5/sam_ssc.c b/arch/arm/src/sama5/sam_ssc.c index 1b9a724..220723c 100644 --- a/arch/arm/src/sama5/sam_ssc.c +++ b/arch/arm/src/sama5/sam_ssc.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -2195,7 +2196,7 @@ static int ssc_receive(struct i2s_dev_s *dev, struct ap_buffer_s *apb, #endif DEBUGASSERT(priv && apb && ((uintptr_t)apb->samp & priv->align) == 0); - i2sinfo("apb=%p nmaxbytes=%d arg=%p timeout=%d\n", + i2sinfo("apb=%p nmaxbytes=%d arg=%p timeout=%" PRId32 "\n", apb, apb->nmaxbytes, arg, timeout); ssc_init_buffer(apb->samp, apb->nmaxbytes); @@ -2416,7 +2417,7 @@ static int ssc_send(struct i2s_dev_s *dev, struct ap_buffer_s *apb, */ DEBUGASSERT(priv && apb); - i2sinfo("apb=%p nbytes=%d arg=%p timeout=%d\n", + i2sinfo("apb=%p nbytes=%d arg=%p timeout=%" PRId32 "\n", apb, apb->nbytes - apb->curbyte, arg, timeout); ssc_dump_buffer("Sending", &apb->samp[apb->curbyte], @@ -2913,7 +2914,7 @@ static void ssc_clocking(struct sam_ssc_s *priv) sam_enableperiph1(priv->pid); - i2sinfo("PCSR1=%08x PCR=%08x CMR=%08x\n", + i2sinfo("PCSR1=%08" PRIx32 " PCR=%08" PRIx32 " CMR=%08" PRIx32 "\n", getreg32(SAM_PMC_PCSR1), regval, ssc_getreg(priv, SAM_SSC_CMR_OFFSET)); }
[incubator-nuttx] 06/27: libs/libc/machine/arm/armv7-a/arch_elf.c: Fix syslog formats
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/incubator-nuttx.git commit 0117d2b2f6906b258e4b30af5e906aa996cc98de Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:23:02 2020 +0900 libs/libc/machine/arm/armv7-a/arch_elf.c: Fix syslog formats --- libs/libc/machine/arm/armv7-a/arch_elf.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libs/libc/machine/arm/armv7-a/arch_elf.c b/libs/libc/machine/arm/armv7-a/arch_elf.c index 73ba3db..8e6210c 100644 --- a/libs/libc/machine/arm/armv7-a/arch_elf.c +++ b/libs/libc/machine/arm/armv7-a/arch_elf.c @@ -39,6 +39,7 @@ #include +#include #include #include #include @@ -102,7 +103,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if ((ehdr->e_entry & 3) != 0) { - berr("ERROR: Entry point is not properly aligned: %08x\n", + berr("ERROR: Entry point is not properly aligned: %08" PRIx32 "\n", ehdr->e_entry); return false; } @@ -164,7 +165,7 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_CALL: case R_ARM_JUMP24: { -binfo("Performing PC24 [%d] link " +binfo("Performing PC24 [%" PRId32 "] link " "at addr %08lx [%08lx] to sym '%p' st_value=%08lx\n", ELF32_R_TYPE(rel->r_info), (long)addr, (long)(*(uint32_t *)addr), @@ -180,7 +181,8 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, if (offset & 3 || offset < (int32_t) 0xfe00 || offset >= (int32_t) 0x0200) { -berr("ERROR: PC24 [%d] relocation out of range, offset=%08lx\n", +berr("ERROR: PC24 [%" PRId32 "] relocation out of range, " + "offset=%08lx\n", ELF32_R_TYPE(rel->r_info), offset); return -EINVAL; @@ -235,7 +237,7 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_MOVW_ABS_NC: case R_ARM_MOVT_ABS: { -binfo("Performing MOVx_ABS [%d] link " +binfo("Performing MOVx_ABS [%" PRId32 "] link " "at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", ELF32_R_TYPE(rel->r_info), (long)addr, (long)(*(uint32_t *)addr), @@ -256,7 +258,8 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, break; default: - berr("ERROR: Unsupported relocation: %d\n", ELF32_R_TYPE(rel->r_info)); + berr("ERROR: Unsupported relocation: %" PRId32 "\n", + ELF32_R_TYPE(rel->r_info)); return -EINVAL; }
[incubator-nuttx] 10/27: drivers/audio/audio_null.c: Fix a syslog format
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/incubator-nuttx.git commit 2d78501e9a00e0a39cc2eb80dcaed68e0c364de0 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:31:08 2020 +0900 drivers/audio/audio_null.c: Fix a syslog format --- drivers/audio/audio_null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/audio/audio_null.c b/drivers/audio/audio_null.c index 47750fa..d153e34 100644 --- a/drivers/audio/audio_null.c +++ b/drivers/audio/audio_null.c @@ -769,7 +769,7 @@ static int null_ioctl(FAR struct audio_lowerhalf_s *dev, int cmd, FAR struct ap_buffer_info_s *bufinfo; #endif - audinfo("cmd=%d arg=%ld\n"); + audinfo("cmd=%d arg=%ld\n", cmd, arg); /* Deal with ioctls passed from the upper-half driver */
[incubator-nuttx] 13/27: arch/arm/src/sam34/sam_wdt.c: Appease nxstyle
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/incubator-nuttx.git commit f22982f7e6d0d667489f16f87059e4b60fa88e91 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:45:25 2020 +0900 arch/arm/src/sam34/sam_wdt.c: Appease nxstyle --- arch/arm/src/sam34/sam_wdt.c | 66 +--- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/arch/arm/src/sam34/sam_wdt.c b/arch/arm/src/sam34/sam_wdt.c index ebe428b..5ae0fd0 100644 --- a/arch/arm/src/sam34/sam_wdt.c +++ b/arch/arm/src/sam34/sam_wdt.c @@ -59,7 +59,9 @@ / * Pre-processor Definitions / + /* Clocking */ + /* The minimum frequency of the WWDG clock is: * * So the maximum delay (in milliseconds) is then: @@ -88,6 +90,7 @@ / * Private Types / + /* This structure provides the private representation of the "lower-half" * driver state structure. This structure must be cast-compatible with the * well-known watchdog_lowerhalf_s structure. @@ -96,6 +99,7 @@ struct sam34_lowerhalf_s { FAR const struct watchdog_ops_s *ops; /* Lower half operations */ + xcpt_t handler; /* Current EWI interrupt handler */ uint32_t timeout; /* The actual timeout value */ bool started; /* The timer has been started */ @@ -106,6 +110,7 @@ struct sam34_lowerhalf_s / * Private Function Prototypes / + /* Register operations **/ #ifdef CONFIG_SAM34_WDT_REGDEBUG @@ -137,6 +142,7 @@ static int sam34_ioctl(FAR struct watchdog_lowerhalf_s *lower, int cmd, / * Private Data / + /* "Lower half" driver methods */ static const struct watchdog_ops_s g_wdgops = @@ -177,8 +183,8 @@ static uint32_t sam34_getreg(uint32_t addr) uint32_t val = getreg32(addr); - /* Is this the same value that we read from the same register last time? Are - * we polling the register? If so, suppress some of the output. + /* Is this the same value that we read from the same register last time? + * Are we polling the register? If so, suppress some of the output. */ if (addr == prevaddr && val == preval) @@ -204,7 +210,7 @@ static uint32_t sam34_getreg(uint32_t addr) { /* Yes.. then show how many times the value repeated */ - wdinfo("[repeats %d more times]\n", count-3); + wdinfo("[repeats %d more times]\n", count - 3); } /* Save the new address, value, and count */ @@ -291,8 +297,8 @@ static int sam34_interrupt(int irq, FAR void *context, FAR void *arg) * Start the watchdog timer, resetting the time to the current timeout, * * Input Parameters: - * lower - A pointer the publicly visible representation of the "lower-half" - * driver state structure. + * lower - A pointer the publicly visible representation of the + * "lower-half" driver state structure. * * Returned Value: * Zero on success; a negated errno value on failure. @@ -315,14 +321,15 @@ static int sam34_start(FAR struct watchdog_lowerhalf_s *lower) #if defined(CONFIG_SAM34_JTAG_FULL_ENABLE) || \ defined(CONFIG_SAM34_JTAG_NOJNTRST_ENABLE) || \ defined(CONFIG_SAM34_JTAG_SW_ENABLE) - { -mr_val |= (WDT_MR_WDDBGHLT|WDT_MR_WDIDLEHLT); - } +{ + mr_val |= (WDT_MR_WDDBGHLT | WDT_MR_WDIDLEHLT); +} #endif /* TODO: WDT_MR_WDFIEN if handler available? WDT_MR_WDRPROC? */ - mr_val |= (WDT_MR_WDD(priv->window) | WDT_MR_WDV(priv->reload) | WDT_MR_WDRSTEN); + mr_val |= (WDT_MR_WDD(priv->window) | WDT_MR_WDV(priv->reload) | + WDT_MR_WDRSTEN); sam34_putreg(mr_val, SAM_WDT_MR); priv->started = true; return OK; @@ -335,8 +342,8 @@ static int sam34_start(FAR struct watchdog_lowerhalf_s *lower) * Stop the watchdog timer * * Input Parameters: - * lower - A pointer the publicly visible representation of the "lower-half" - * driver state structure. + * lower - A pointer the publicly visible representation of the + * "lower-half" driver state structure. * * Returned Value: * Zero on success; a negated errno value on failure. @@ -366,8 +373,8 @@ static int sam34_stop(FAR struct watchdog_lowerhalf_s *lower) * intervals during no
[incubator-nuttx] 17/27: arch/arm/src/sam34/sam_spi.c: Fix syslog formats
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/incubator-nuttx.git commit 2829ecd18a43a37e2ec7962831e3cbf640b19d62 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 09:53:53 2020 +0900 arch/arm/src/sam34/sam_spi.c: Fix syslog formats --- arch/arm/src/sam34/sam_spi.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm/src/sam34/sam_spi.c b/arch/arm/src/sam34/sam_spi.c index ae7b982..50ff506 100644 --- a/arch/arm/src/sam34/sam_spi.c +++ b/arch/arm/src/sam34/sam_spi.c @@ -42,6 +42,7 @@ #include #include +#include #include #include #include @@ -984,7 +985,7 @@ static uint32_t spi_setfrequency(struct spi_dev_s *dev, uint32_t frequency) uint32_t regval; unsigned int offset; - spiinfo("cs=%d frequency=%d\n", spics->cs, frequency); + spiinfo("cs=%d frequency=%" PRId32 "\n", spics->cs, frequency); /* Check if the requested frequency is the same as the frequency * selection @@ -1057,14 +1058,15 @@ static uint32_t spi_setfrequency(struct spi_dev_s *dev, uint32_t frequency) /* Calculate the new actual frequency */ actual = SAM_SPI_CLOCK / scbr; - spiinfo("csr[offset=%02x]=%08x actual=%d\n", offset, regval, actual); + spiinfo("csr[offset=%02x]=%08" PRIx32 " actual=%" PRId32 "\n", + offset, regval, actual); /* Save the frequency setting */ spics->frequency = frequency; spics->actual= actual; - spiinfo("Frequency %d->%d\n", frequency, actual); + spiinfo("Frequency %" PRId32 "->%" PRId32 "\n", frequency, actual); return actual; } @@ -1133,7 +1135,7 @@ static void spi_setmode(struct spi_dev_s *dev, enum spi_mode_e mode) } spi_putreg(spi, regval, offset); - spiinfo("csr[offset=%02x]=%08x\n", offset, regval); + spiinfo("csr[offset=%02x]=%08" PRIx32 "\n", offset, regval); /* Save the mode so that subsequent re-configurations will be faster */ @@ -1178,7 +1180,7 @@ static void spi_setbits(struct spi_dev_s *dev, int nbits) regval |= SPI_CSR_BITS(nbits); spi_putreg(spi, regval, offset); - spiinfo("csr[offset=%02x]=%08x\n", offset, regval); + spiinfo("csr[offset=%02x]=%08" PRIx32 "\n", offset, regval); /* Save the selection so the subsequent re-configurations will be * faster. @@ -1905,7 +1907,7 @@ struct spi_dev_s *sam_spibus_initialize(int port) spi_putreg(spi, regval, offset); spics->nbits = 8; - spiinfo("csr[offset=%02x]=%08x\n", offset, regval); + spiinfo("csr[offset=%02x]=%08" PRIx32 "\n", offset, regval); return &spics->spidev; }
[incubator-nuttx] 12/27: arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats
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/incubator-nuttx.git commit 8eb0712dec7e3045488a0156afed32bb98787340 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:40:27 2020 +0900 arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats --- arch/arm/src/sam34/sam_hsmci.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/arm/src/sam34/sam_hsmci.c b/arch/arm/src/sam34/sam_hsmci.c index c68d7b6..ca6a7bb 100644 --- a/arch/arm/src/sam34/sam_hsmci.c +++ b/arch/arm/src/sam34/sam_hsmci.c @@ -24,6 +24,7 @@ #include +#include #include #include #include @@ -1295,7 +1296,7 @@ static int sam_interrupt(int irq, void *context, FAR void *arg) { /* Yes.. Was it some kind of timeout error? */ - mcerr("ERROR: enabled: %08x pending: %08x\n", + mcerr("ERROR: enabled: %08" PRIx32 " pending: %08" PRIx32 "\n", enabled, pending); if ((pending & HSMCI_DATA_TIMEOUT_ERRORS) != 0) @@ -1342,7 +1343,7 @@ static int sam_interrupt(int irq, void *context, FAR void *arg) { /* Yes.. Was the error some kind of timeout? */ - mcerr("ERROR: events: %08x SR: %08x\n", + mcerr("ERROR: events: %08" PRIx32 " SR: %08" PRIx32 "\n", priv->cmdrmask, enabled); if ((pending & HSMCI_RESPONSE_TIMEOUT_ERRORS) != 0) @@ -1797,7 +1798,8 @@ static int sam_sendcmd(FAR struct sdio_dev_s *dev, /* Write the fully decorated command to CMDR */ - mcinfo("cmd: %08x arg: %08x regval: %08x\n", cmd, arg, regval); + mcinfo("cmd: %08" PRIx32 " arg: %08" PRIx32 " regval: %08" PRIx32 "\n", + cmd, arg, regval); putreg32(regval, SAM_HSMCI_CMDR); sam_cmdsample1(SAMPLENDX_AFTER_CMDR); return OK; @@ -1979,7 +1981,8 @@ static int sam_waitresponse(FAR struct sdio_dev_s *dev, uint32_t cmd) { /* Yes.. Was the error some kind of timeout? */ - mcerr("ERROR: cmd: %08x events: %08x SR: %08x\n", + mcerr("ERROR: cmd: %08" PRIx32 " events: %08" PRIx32 +" SR: %08" PRIx32 "\n", cmd, priv->cmdrmask, sr); if ((pending & HSMCI_RESPONSE_TIMEOUT_ERRORS) != 0) @@ -2011,8 +2014,9 @@ static int sam_waitresponse(FAR struct sdio_dev_s *dev, uint32_t cmd) } else if (--timeout <= 0) { - mcerr("ERROR: Timeout cmd: %08x events: %08x SR: %08x\n", - cmd, priv->cmdrmask, sr); + mcerr("ERROR: Timeout cmd: %08" PRIx32 " events: %08" PRIx32 +" SR: %08" PRIx32 "\n", +cmd, priv->cmdrmask, sr); priv->wkupevent = SDIOWAIT_TIMEOUT; return -ETIMEDOUT; @@ -2512,7 +2516,7 @@ static int sam_dmarecvsetup(FAR struct sdio_dev_s *dev, FAR uint8_t *buffer, #ifdef CONFIG_SAM34_PDCA modifyreg32(SAM_HSMCI_MR, 0, HSMCI_MR_PDCMODE); - mcinfo("SAM_HSMCI_MR = 0x%08X\n", getreg32(SAM_HSMCI_MR)); + mcinfo("SAM_HSMCI_MR = 0x%08" PRIX32 "\n", getreg32(SAM_HSMCI_MR)); putreg32((uint32_t)buffer, SAM_HSMCI_PDC_RPR); putreg32(buflen / 4, SAM_HSMCI_PDC_RCR); @@ -2582,7 +2586,7 @@ static int sam_dmasendsetup(FAR struct sdio_dev_s *dev, #ifdef CONFIG_SAM34_PDCA modifyreg32(SAM_HSMCI_MR, 0, HSMCI_MR_PDCMODE); - mcinfo("SAM_HSMCI_MR = 0x%08X\n", getreg32(SAM_HSMCI_MR)); + mcinfo("SAM_HSMCI_MR = 0x%08" PRIX32 "\n", getreg32(SAM_HSMCI_MR)); putreg32((uint32_t)buffer, SAM_HSMCI_PDC_TPR); putreg32(buflen / 4, SAM_HSMCI_PDC_TCR);
[incubator-nuttx] 03/27: arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats
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/incubator-nuttx.git commit c3bcf80a18f9a3b8a4d7f8e24cdc1bcff3a814a7 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 22:04:02 2020 +0900 arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats --- arch/arm/src/sama5/sam_xdmac.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_xdmac.c b/arch/arm/src/sama5/sam_xdmac.c index 37c0a4c..1134bbb 100644 --- a/arch/arm/src/sama5/sam_xdmac.c +++ b/arch/arm/src/sama5/sam_xdmac.c @@ -39,6 +39,7 @@ #include +#include #include #include #include @@ -1850,7 +1851,7 @@ static int sam_xdmac_interrupt(int irq, void *context, FAR void *arg) { /* Yes... Terminate the transfer with an error? */ - dmaerr("ERROR: DMA failed: %08x\n", chpending); + dmaerr("ERROR: DMA failed: %08" PRIx32 "\n", chpending); sam_dmaterminate(xdmach, -EIO); } @@ -1867,7 +1868,8 @@ static int sam_xdmac_interrupt(int irq, void *context, FAR void *arg) else { - dmaerr("ERROR: Unexpected interrupt: %08x\n", chpending); + dmaerr("ERROR: Unexpected interrupt: %08" PRIx32 "\n", + chpending); DEBUGPANIC(); }
[incubator-nuttx] 22/27: boards/arm/sam34/sam4e-ek/src/sam_at25.c: Fix a syslog format
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/incubator-nuttx.git commit 46974c29bda4091a6c95a80dc34c6e78311c0998 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 18:50:53 2020 +0900 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Fix a syslog format --- boards/arm/sam34/sam4e-ek/src/sam_at25.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/arm/sam34/sam4e-ek/src/sam_at25.c b/boards/arm/sam34/sam4e-ek/src/sam_at25.c index ac722ea..a13dda3 100644 --- a/boards/arm/sam34/sam4e-ek/src/sam_at25.c +++ b/boards/arm/sam34/sam4e-ek/src/sam_at25.c @@ -97,8 +97,7 @@ int sam_at25_automount(int minor) mtd = at25_initialize(spi); if (!mtd) { - ferr("ERROR: Failed to bind SPI port %d to " - "the AT25 FLASH driver\n"); + ferr("ERROR: Failed to bind SPI port to the AT25 FLASH driver\n"); return -ENODEV; }
[incubator-nuttx] 25/27: boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats
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/incubator-nuttx.git commit 60795464ef07e51582433408b1b9c9e10b5873bd Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 19:03:10 2020 +0900 boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats --- boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c b/boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c index 5dfb50a..47cdb36 100644 --- a/boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c +++ b/boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c @@ -130,14 +130,14 @@ int s32k1xx_bringup(void) if (i2c == NULL) { - serr("ERROR: Failed to get I2C%d interface\n", bus); + serr("ERROR: Failed to get I2C interface\n"); } else { ret = i2c_register(i2c, 0); if (ret < 0) { - serr("ERROR: Failed to register I2C%d driver: %d\n", bus, ret); + serr("ERROR: Failed to register I2C driver: %d\n", ret); s32k1xx_i2cbus_uninitialize(i2c); } }
[incubator-nuttx] 26/27: arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats
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/incubator-nuttx.git commit a600b2478deaf614e0069dd255205bed02f0e336 Author: YAMAMOTO Takashi AuthorDate: Sun Dec 6 19:08:21 2020 +0900 arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats --- arch/arm/src/s32k1xx/s32k1xx_flexcan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/s32k1xx/s32k1xx_flexcan.c b/arch/arm/src/s32k1xx/s32k1xx_flexcan.c index 8d28042..c7f6aef 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_flexcan.c +++ b/arch/arm/src/s32k1xx/s32k1xx_flexcan.c @@ -24,6 +24,7 @@ #include +#include #include #include #include @@ -637,7 +638,7 @@ static int s32k1xx_transmit(FAR struct s32k1xx_driver_s *priv) if (mbi == TXMBCOUNT) { - nwarn("No TX MB available mbi %i\r\n", mbi); + nwarn("No TX MB available mbi %" PRIi32 "\r\n", mbi); return 0; /* No transmission for you! */ } @@ -1597,7 +1598,7 @@ static int s32k1xx_initialize(struct s32k1xx_driver_s *priv) for (i = 0; i < RXMBCOUNT; i++) { - ninfo("Set MB%i to receive %p\r\n", i, &priv->rx[i]); + ninfo("Set MB%" PRIi32 " to receive %p\r\n", i, &priv->rx[i]); priv->rx[i].cs.edl = 0x1; priv->rx[i].cs.brs = 0x1; priv->rx[i].cs.esi = 0x0; @@ -1661,8 +1662,8 @@ static void s32k1xx_reset(struct s32k1xx_driver_s *priv) for (i = 0; i < TOTALMBCOUNT; i++) { - ninfo("MB %i %p\r\n", i, &priv->rx[i]); - ninfo("MB %i %p\r\n", i, &priv->rx[i].id.w); + ninfo("MB %" PRIi32 " %p\r\n", i, &priv->rx[i]); + ninfo("MB %" PRIi32 " %p\r\n", i, &priv->rx[i].id.w); priv->rx[i].cs.cs = 0x0; priv->rx[i].id.w = 0x0; priv->rx[i].data[0].w00 = 0x0;
[incubator-nuttx-website] branch asf-site updated: Publishing web: 2a727256b61552b01127e23ffaff1604fa84c2b4 docs: faa23102fefaa77995c8733f453d6e19886a0de3
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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 86441e3 Publishing web: 2a727256b61552b01127e23ffaff1604fa84c2b4 docs: faa23102fefaa77995c8733f453d6e19886a0de3 86441e3 is described below commit 86441e33ff05bdf03146288573de611715853836 Author: Matias AuthorDate: Sun Dec 6 14:02:59 2020 + Publishing web: 2a727256b61552b01127e23ffaff1604fa84c2b4 docs: faa23102fefaa77995c8733f453d6e19886a0de3 --- content/docs/10.0.0/index.html | 2 +- content/docs/latest/index.html | 2 +- content/feed.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index 4cacf0f..9031a38 100644 --- a/content/docs/10.0.0/index.html +++ b/content/docs/10.0.0/index.html @@ -207,7 +207,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 03:58 +Last Updated: 06 December 20 at 14:01 Table of Contents diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index 866cf7e..84fb763 100644 --- a/content/docs/latest/index.html +++ b/content/docs/latest/index.html @@ -208,7 +208,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 03:59 +Last Updated: 06 December 20 at 14:01 Table of Contents diff --git a/content/feed.xml b/content/feed.xml index 3b58325..1429e47 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -5,8 +5,8 @@ / -Sun, 06 Dec 2020 04:00:35 + -Sun, 06 Dec 2020 04:00:35 + +Sun, 06 Dec 2020 14:02:58 + +Sun, 06 Dec 2020 14:02:58 + Jekyll v3.8.5
[incubator-nuttx] 06/18: arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded
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/incubator-nuttx.git commit d11bcef391a5d81a93e22f459bc13c4d3d5a0c24 Author: YAMAMOTO Takashi AuthorDate: Sun Nov 22 15:28:49 2020 +0900 arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded --- arch/x86_64/src/common/up_assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/src/common/up_assert.c b/arch/x86_64/src/common/up_assert.c index 8e76edc..6cc87a1 100644 --- a/arch/x86_64/src/common/up_assert.c +++ b/arch/x86_64/src/common/up_assert.c @@ -250,7 +250,7 @@ void up_assert(const char *filename, int lineno) board_autoled_on(LED_ASSERTION); -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT) _alert("Assertion failed at file:%s line: %d task: %s\n", filename, lineno, rtcb->name); #else
[incubator-nuttx] 02/18: include/syslog.h: Sprinkle sysloglike
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/incubator-nuttx.git commit ed1a2584f017c61e2f61fcbb02a5f53e64dd6c80 Author: YAMAMOTO Takashi AuthorDate: Fri Nov 20 11:34:10 2020 +0900 include/syslog.h: Sprinkle sysloglike --- include/syslog.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/syslog.h b/include/syslog.h index 4c6b57f..9c6d879 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -198,8 +198,9 @@ void closelog(void); * / -void syslog(int priority, FAR const IPTR char *fmt, ...); -void vsyslog(int priority, FAR const IPTR char *fmt, va_list ap); +void syslog(int priority, FAR const IPTR char *fmt, ...) sysloglike(2, 3); +void vsyslog(int priority, FAR const IPTR char *fmt, va_list ap) + sysloglike(2, 0); / * Name: setlogmask
[incubator-nuttx] 03/18: include/nuttx/compiler.h: Use __syslog__ if available
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/incubator-nuttx.git commit 8d16fe7cfdc0ddc3497a3e8ce7e92e59fe02f2f5 Author: YAMAMOTO Takashi AuthorDate: Sat Nov 21 08:38:47 2020 +0900 include/nuttx/compiler.h: Use __syslog__ if available --- include/nuttx/compiler.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 9b50bc14..f6779a7 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -143,8 +143,17 @@ # define inline_function __attribute__ ((always_inline,no_instrument_function)) # define noinline_function __attribute__ ((noinline)) +/* Some versions of GCC have a separate __syslog__ format. + * http://mail-index.netbsd.org/source-changes/2015/10/14/msg069435.html + * Use it if available. Otherwise, assume __printf__ accepts %m. + */ + +# if !defined(__syslog_attribute__) +#define __syslog__ __printf__ +# endif + # define printflike(a, b) __attribute__((__format__ (__printf__, a, b))) -# define sysloglike(a, b) __attribute__((__format__ (__printf__, a, b))) +# define sysloglike(a, b) __attribute__((__format__ (__syslog__, a, b))) # define scanflike(a, b) __attribute__((__format__ (__scanf__, a, b))) /* GCC does not use storage classes to qualify addressing */
[incubator-nuttx] 09/18: wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion
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/incubator-nuttx.git commit af4f81a7e14b52cd52c03e456e8c4c34eb2113e0 Author: YAMAMOTO Takashi AuthorDate: Mon Nov 23 17:18:31 2020 +0900 wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion --- wireless/bluetooth/bt_hcicore.c | 2 -- wireless/bluetooth/bt_hcicore.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/wireless/bluetooth/bt_hcicore.c b/wireless/bluetooth/bt_hcicore.c index feaa5bb..3d7bdfe 100644 --- a/wireless/bluetooth/bt_hcicore.c +++ b/wireless/bluetooth/bt_hcicore.c @@ -2144,7 +2144,6 @@ void bt_conn_cb_register(FAR struct bt_conn_cb_s *cb) g_callback_list = cb; } -#ifdef CONFIG_DEBUG_WIRELESS_ERROR FAR const char *bt_addr_str(FAR const bt_addr_t *addr) { static char bufs[2][18]; @@ -2170,7 +2169,6 @@ FAR const char *bt_addr_le_str(FAR const bt_addr_le_t *addr) return str; } -#endif /* CONFIG_DEBUG_WIRELESS_ERROR */ #else diff --git a/wireless/bluetooth/bt_hcicore.h b/wireless/bluetooth/bt_hcicore.h index 343dfc2..4c2a6e5 100644 --- a/wireless/bluetooth/bt_hcicore.h +++ b/wireless/bluetooth/bt_hcicore.h @@ -327,10 +327,8 @@ int bt_hci_cmd_send_sync(uint16_t opcode, FAR struct bt_buf_s *buf, * not multi-threading safe */ -#ifdef CONFIG_DEBUG_WIRELESS_ERROR FAR const char *bt_addr_str(FAR const bt_addr_t *addr); FAR const char *bt_addr_le_str(FAR const bt_addr_le_t *addr); -#endif / * Name: bt_start_advertising
[incubator-nuttx] 16/18: arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit b18c2e6cc5b0f146dd6578d6db81d6bba7f89edc Author: YAMAMOTO Takashi AuthorDate: Fri Nov 27 13:32:29 2020 +0900 arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion --- arch/arm/src/arm/arm_assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/arm/arm_assert.c b/arch/arm/src/arm/arm_assert.c index 4957af5..0db0c41 100644 --- a/arch/arm/src/arm/arm_assert.c +++ b/arch/arm/src/arm/arm_assert.c @@ -332,7 +332,7 @@ void up_assert(const char *filename, int lineno) syslog_flush(); -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT) _alert("Assertion failed at file:%s line: %d task: %s\n", filename, lineno, rtcb->name); #else
[incubator-nuttx] 01/18: include/nuttx/compiler.h: Add sysloglike macro
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/incubator-nuttx.git commit 7b39e612db568db7cf0e415e3ec6ccb34b381398 Author: YAMAMOTO Takashi AuthorDate: Fri Nov 20 11:30:42 2020 +0900 include/nuttx/compiler.h: Add sysloglike macro Right now, same as printflike. Introduce a separate macro because syslog takes a bit different format from printf. (ie. %m) If it turns out that a compiler is not happy with the difference, we can disable this selectively. --- include/nuttx/compiler.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 2ee6bcf..9b50bc14 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -144,6 +144,7 @@ # define noinline_function __attribute__ ((noinline)) # define printflike(a, b) __attribute__((__format__ (__printf__, a, b))) +# define sysloglike(a, b) __attribute__((__format__ (__printf__, a, b))) # define scanflike(a, b) __attribute__((__format__ (__scanf__, a, b))) /* GCC does not use storage classes to qualify addressing */ @@ -362,6 +363,7 @@ # define noinline_function # define printflike(a, b) +# define sysloglike(a, b) # define scanflike(a, b) /* The reentrant attribute informs SDCC that the function @@ -491,6 +493,7 @@ # define inline_function # define noinline_function # define printflike(a, b) +# define sysloglike(a, b) # define scanflike(a, b) /* REVISIT: */ @@ -593,6 +596,7 @@ # define inline_function # define noinline_function # define printflike(a, b) +# define sysloglike(a, b) # define scanflike(a, b) # define FAR @@ -650,6 +654,7 @@ # define inline_function # define noinline_function # define printflike(a, b) +# define sysloglike(a, b) # define scanflike(a, b) # define FAR
[incubator-nuttx] 04/18: include/debug.h: Apply sysloglike to _none
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/incubator-nuttx.git commit 48c7fee534ff6568f0e1dbbecc14aa658b9eba7a Author: YAMAMOTO Takashi AuthorDate: Fri Nov 20 16:48:40 2020 +0900 include/debug.h: Apply sysloglike to _none --- include/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/debug.h b/include/debug.h index dcebe4c..e3c16db 100644 --- a/include/debug.h +++ b/include/debug.h @@ -105,7 +105,9 @@ */ #ifdef CONFIG_CPP_HAVE_VARARGS -# define _none(x...) +/* don't call syslog while performing the compiler's format check. */ +# define _none(format, ...) \ +do { if (0) syslog(LOG_ERR, format, ##__VA_ARGS__); } while (0) #else # define _none (void) #endif
[incubator-nuttx] 08/18: libs/libc/machine/risc-v/rv64/arch_elf.c: Don't assume binfo expansion
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/incubator-nuttx.git commit f0fc385232359d099b15681bece380c5922da533 Author: YAMAMOTO Takashi AuthorDate: Sun Nov 22 17:21:26 2020 +0900 libs/libc/machine/risc-v/rv64/arch_elf.c: Don't assume binfo expansion --- libs/libc/machine/risc-v/rv64/arch_elf.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libs/libc/machine/risc-v/rv64/arch_elf.c b/libs/libc/machine/risc-v/rv64/arch_elf.c index acc0243..85a78a0e 100644 --- a/libs/libc/machine/risc-v/rv64/arch_elf.c +++ b/libs/libc/machine/risc-v/rv64/arch_elf.c @@ -43,19 +43,16 @@ * Private Data Types / -#ifdef CONFIG_DEBUG_BINFMT_INFO struct rname_code_s { const char *name; int type; }; -#endif / * Private Data / -#ifdef CONFIG_DEBUG_BINFMT_INFO static struct rname_code_s _rname_table[] = { {"RELAX", R_RISCV_RELAX}, @@ -68,14 +65,12 @@ static struct rname_code_s _rname_table[] = {"RVC_JUMP", R_RISCV_RVC_JUMP}, {"RVC_BRANCH", R_RISCV_RVC_BRANCH}, }; -#endif / * Private Functions / -#ifdef CONFIG_DEBUG_BINFMT_INFO -const char *_get_rname(int type) +static const char *_get_rname(int type) { int i = 0; @@ -91,7 +86,6 @@ const char *_get_rname(int type) return "?"; } -#endif / * Name: _get_val, set_val, _add_val
[incubator-nuttx] 12/18: arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit 065d310cf290c353819f2c263be3649fd59ab168 Author: YAMAMOTO Takashi AuthorDate: Wed Nov 25 13:16:46 2020 +0900 arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion --- arch/arm/src/stm32f0l0g0/stm32_adc.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/src/stm32f0l0g0/stm32_adc.c b/arch/arm/src/stm32f0l0g0/stm32_adc.c index 2ebc8dd..f1ecc21 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_adc.c +++ b/arch/arm/src/stm32f0l0g0/stm32_adc.c @@ -262,9 +262,7 @@ static void adc_modifyreg(FAR struct stm32_dev_s *priv, int offset, static uint32_t adccmn_base_get(FAR struct stm32_dev_s *priv); static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, uint32_t clrbits, uint32_t setbits); -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset); -# endif #endif #ifdef ADC_HAVE_TIMER static uint16_t tim_getreg(FAR struct stm32_dev_s *priv, int offset); @@ -575,7 +573,6 @@ static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, * Name: adccmn_getreg / -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) { uint32_t base = 0; @@ -588,7 +585,6 @@ static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) return getreg32(base + offset); } -# endif #endif /* HAVE_ADC_CMN_REGS */ /
[incubator-nuttx] 13/18: arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit 44f88cd71a56dd8429dd9d90631eaab2eb787fa7 Author: YAMAMOTO Takashi AuthorDate: Wed Nov 25 19:30:55 2020 +0900 arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion --- arch/arm/src/lpc17xx_40xx/lpc17_40_can.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c index 7d11140..124a6cb 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c @@ -552,9 +552,7 @@ static void lpc17can_reset(FAR struct can_dev_s *dev) static int lpc17can_setup(FAR struct can_dev_s *dev) { -#ifdef CONFIG_DEBUG_CAN_INFO FAR struct up_dev_s *priv = (FAR struct up_dev_s *)dev->cd_priv; -#endif int ret; caninfo("CAN%d\n", priv->port);
[incubator-nuttx] 14/18: arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit 330aa43f72d4fcd61734c25db9d86c1b7d9853e1 Author: YAMAMOTO Takashi AuthorDate: Thu Nov 26 06:57:02 2020 +0900 arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion --- arch/arm/src/stm32/stm32_adc.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/arm/src/stm32/stm32_adc.c index 7efe5f1..8e2006c 100644 --- a/arch/arm/src/stm32/stm32_adc.c +++ b/arch/arm/src/stm32/stm32_adc.c @@ -473,9 +473,7 @@ static void adc_modifyreg(FAR struct stm32_dev_s *priv, int offset, static uint32_t adccmn_base_get(FAR struct stm32_dev_s *priv); static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, uint32_t clrbits, uint32_t setbits); -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset); -# endif #endif #ifdef ADC_HAVE_TIMER static uint16_t tim_getreg(FAR struct stm32_dev_s *priv, int offset); @@ -1086,7 +1084,6 @@ static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, * Name: adccmn_getreg / -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) { uint32_t base = 0; @@ -1099,7 +1096,6 @@ static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) return getreg32(base + offset); } -# endif #endif /* HAVE_ADC_CMN_REGS */ /
[incubator-nuttx] 15/18: arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit c3791e7c23b962a780e9b859f65819081bb34015 Author: YAMAMOTO Takashi AuthorDate: Thu Nov 26 19:34:50 2020 +0900 arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion --- arch/arm/src/armv7-m/arm_assert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/armv7-m/arm_assert.c b/arch/arm/src/armv7-m/arm_assert.c index c1a29cd..ee6c0d1 100644 --- a/arch/arm/src/armv7-m/arm_assert.c +++ b/arch/arm/src/armv7-m/arm_assert.c @@ -398,7 +398,7 @@ void up_assert(const char *filename, int lineno) syslog_flush(); #ifdef CONFIG_SMP -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT) _alert("Assertion failed CPU%d at file:%s line: %d task: %s\n", up_cpu_index(), filename, lineno, rtcb->name); #else @@ -406,7 +406,7 @@ void up_assert(const char *filename, int lineno) up_cpu_index(), filename, lineno); #endif #else -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT) _alert("Assertion failed at file:%s line: %d task: %s\n", filename, lineno, rtcb->name); #else
[incubator-nuttx] branch master updated (faa2310 -> 8c748f2)
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/incubator-nuttx.git. from faa2310 boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats new 7b39e61 include/nuttx/compiler.h: Add sysloglike macro new ed1a258 include/syslog.h: Sprinkle sysloglike new 8d16fe7 include/nuttx/compiler.h: Use __syslog__ if available new 48c7fee include/debug.h: Apply sysloglike to _none new 97b86d5 fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro new d11bcef arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded new c7a2ee1 libs/libc/machine/arm/armv6-m/arch_elf.c: Appease nxstyle new f0fc385 libs/libc/machine/risc-v/rv64/arch_elf.c: Don't assume binfo expansion new af4f81a wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion new 14b7ea0 wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion new 2a2679e wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion new 065d310 arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion new 44f88cd arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion new 330aa43 arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion new c3791e7 arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion new b18c2e6 arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion new 1e12c57 boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion new 8c748f2 drivers/video/ov2640.c: Avoid assuming debug macro expansion The 18 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/arm/arm_assert.c | 2 +- arch/arm/src/armv7-m/arm_assert.c | 4 +- arch/arm/src/lpc17xx_40xx/lpc17_40_can.c | 2 - arch/arm/src/stm32/stm32_adc.c | 4 -- arch/arm/src/stm32f0l0g0/stm32_adc.c | 4 -- arch/x86_64/src/common/up_assert.c | 2 +- boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c | 8 +++ drivers/video/ov2640.c | 4 ++ fs/spiffs/src/spiffs_core.c| 2 - include/debug.h| 4 +- include/nuttx/compiler.h | 14 + include/syslog.h | 5 +- libs/libc/machine/arm/armv6-m/arch_elf.c | 72 +- libs/libc/machine/risc-v/rv64/arch_elf.c | 8 +-- wireless/bluetooth/bt_conn.c | 2 - wireless/bluetooth/bt_hcicore.c| 2 - wireless/bluetooth/bt_hcicore.h| 2 - wireless/bluetooth/bt_smp.c| 4 -- 18 files changed, 85 insertions(+), 60 deletions(-)
[incubator-nuttx] 17/18: boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion
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/incubator-nuttx.git commit 1e12c57bbad8a6dadbf34bb2cc1c50070936e341 Author: YAMAMOTO Takashi AuthorDate: Sat Nov 28 10:31:24 2020 +0900 boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion --- boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c | 8 1 file changed, 8 insertions(+) diff --git a/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c b/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c index 078fe7b..dfc4450 100644 --- a/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c +++ b/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c @@ -237,16 +237,20 @@ static void spi_select(FAR struct spi_dev_s *dev, uint32_t devid, /* Enable slave select (low enables) */ putreg32(bit, CS_CLR_REGISTER); +#ifdef CONFIG_DEBUG_SPI_INFO spiinfo("CS asserted: %08" PRIx32 "->%08" PRIx32 "\n", regval, getreg32(CS_PIN_REGISTER)); +#endif } else { /* Disable slave select (low enables) */ putreg32(bit, CS_SET_REGISTER); +#ifdef CONFIG_DEBUG_SPI_INFO spiinfo("CS de-asserted: %08" PRIx32 "->%08" PRIx32 "\n", regval, getreg32(CS_PIN_REGISTER)); +#endif /* Wait for the TX FIFO not full indication */ @@ -382,16 +386,20 @@ static int spi_cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd) /* L: the inputs at D0 to D7 are transferred to the command registers */ putreg32(bit, CS_CLR_REGISTER); +#ifdef CONFIG_DEBUG_SPI_INFO spiinfo("Command: %08" PRIx32 "->%08" PRIx32 "\n", regval, getreg32(CS_PIN_REGISTER)); +#endif } else { /* H: the inputs at D0 to D7 are treated as display data. */ putreg32(bit, CS_SET_REGISTER); +#ifdef CONFIG_DEBUG_SPI_INFO spiinfo("Data: %08" PRIx32 "->%08" PRIx32 "\n", regval, getreg32(CS_PIN_REGISTER)); +#endif } return OK;
[incubator-nuttx] 07/18: libs/libc/machine/arm/armv6-m/arch_elf.c: Appease nxstyle
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/incubator-nuttx.git commit c7a2ee11ca409c4cd64c7d65ec3c24f5e6b3518e Author: YAMAMOTO Takashi AuthorDate: Sun Nov 22 10:32:12 2020 +0900 libs/libc/machine/arm/armv6-m/arch_elf.c: Appease nxstyle The following errors are intentionally left. They are a part of tables which are not trivial to fix. libs/libc/machine/arm/armv6-m/arch_elf.c:228:94: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:230:89: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:238:94: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:240:89: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:401:94: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:403:91: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:411:94: error: Long line found libs/libc/machine/arm/armv6-m/arch_elf.c:413:91: error: Long line found --- libs/libc/machine/arm/armv6-m/arch_elf.c | 72 +--- 1 file changed, 48 insertions(+), 24 deletions(-) diff --git a/libs/libc/machine/arm/armv6-m/arch_elf.c b/libs/libc/machine/arm/armv6-m/arch_elf.c index 900aaca..5425695 100644 --- a/libs/libc/machine/arm/armv6-m/arch_elf.c +++ b/libs/libc/machine/arm/armv6-m/arch_elf.c @@ -92,7 +92,8 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if (ehdr->e_ident[EI_CLASS] != ELFCLASS32) { - berr("ERROR: Need 32-bit objects: e_ident[EI_CLASS]=%02x\n", ehdr->e_ident[EI_CLASS]); + berr("ERROR: Need 32-bit objects: e_ident[EI_CLASS]=%02x\n", + ehdr->e_ident[EI_CLASS]); return false; } @@ -104,11 +105,13 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr) if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) #endif { - berr("ERROR: Wrong endian-ness: e_ident[EI_DATA]=%02x\n", ehdr->e_ident[EI_DATA]); + berr("ERROR: Wrong endian-ness: e_ident[EI_DATA]=%02x\n", + ehdr->e_ident[EI_DATA]); return false; } /* TODO: Check ABI here. */ + return true; } @@ -166,8 +169,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_CALL: case R_ARM_JUMP24: { -binfo("Performing PC24 [%d] link at addr %08lx [%08lx] to sym '%p' st_value=%08lx\n", - ELF32_R_TYPE(rel->r_info), (long)addr, (long)(*(uint32_t *)addr), +binfo("Performing PC24 [%d] link at " + "addr %08lx [%08lx] to sym '%p' st_value=%08lx\n", + ELF32_R_TYPE(rel->r_info), (long)addr, + (long)(*(uint32_t *)addr), sym, (long)sym->st_value); offset = (*(uint32_t *)addr & 0x00ff) << 2; @@ -177,9 +182,11 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, } offset += sym->st_value - addr; -if (offset & 3 || offset < (int32_t) 0xfe00 || offset >= (int32_t) 0x0200) +if (offset & 3 || offset < (int32_t) 0xfe00 || +offset >= (int32_t) 0x0200) { -berr("ERROR: ERROR: PC24 [%d] relocation out of range, offset=%08lx\n", +berr("ERROR: ERROR: PC24 [%d] relocation out of range, " + "offset=%08lx\n", ELF32_R_TYPE(rel->r_info), offset); return -EINVAL; @@ -195,8 +202,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, case R_ARM_ABS32: case R_ARM_TARGET1: /* New ABI: TARGET1 always treated as ABS32 */ { -binfo("Performing ABS32 link at addr=%08lx [%08lx] to sym=%p st_value=%08lx\n", - (long)addr, (long)(*(uint32_t *)addr), sym, (long)sym->st_value); +binfo("Performing ABS32 link at addr=%08lx [%08lx] " + "to sym=%p st_value=%08lx\n", + (long)addr, (long)(*(uint32_t *)addr), sym, + (long)sym->st_value); *(uint32_t *)addr += sym->st_value; } @@ -243,8 +252,10 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, upper_insn = (uint32_t)(*(uint16_t *)addr); lower_insn = (uint32_t)(*(uint16_t *)(addr + 2)); -binfo("Performing THM_JUMP24 [%d] link at addr=%08lx [%04x %04x] to sym=%p st_value=%08lx\n", - ELF32_R_TYPE(rel->r_info), (long)addr, (int)upper_insn, (int)lower_insn, +binfo("Performing THM_JUMP24 [%d] link " + "at addr=%08lx [%04x %04x] to sym=%p st_value=%08lx\n", + ELF32_R_TYPE(rel->r_info), (long)addr, + (int)upper_insn, (int)lower_insn, sym, (long)sym->st_value); /* Extract the 25-bit offset from the 32-bit instruction: @@ -288,7 +299,8 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && (offset & 1) == 0)
[incubator-nuttx] 11/18: wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion
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/incubator-nuttx.git commit 2a2679e11a21ae6a6d6ca84494ca63ec2b9bcb55 Author: YAMAMOTO Takashi AuthorDate: Mon Nov 23 17:34:24 2020 +0900 wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion --- wireless/bluetooth/bt_smp.c | 4 1 file changed, 4 deletions(-) diff --git a/wireless/bluetooth/bt_smp.c b/wireless/bluetooth/bt_smp.c index 1c43806..29a8a07 100644 --- a/wireless/bluetooth/bt_smp.c +++ b/wireless/bluetooth/bt_smp.c @@ -138,9 +138,7 @@ struct bt_smphandlers_s * Private Function Prototypes / - #ifdef CONFIG_DEBUG_WIRELESS_INFO static const char *h(FAR const void *buf, size_t len); -#endif static void xor_128(FAR const struct uint128_s *p, FAR const struct uint128_s *q, FAR struct uint128_s *r); static int le_encrypt(const uint8_t key[16], const uint8_t plaintext[16], @@ -323,7 +321,6 @@ static const uint8_t g_mac4[] = * in a single syslog call. */ -#ifdef CONFIG_DEBUG_WIRELESS_INFO static const char *h(FAR const void *buf, size_t len) { static const char hex[] = "0123456789abcdef"; @@ -352,7 +349,6 @@ static const char *h(FAR const void *buf, size_t len) str[i * 2] = '\0'; return str; } -#endif static void xor_128(FAR const struct uint128_s *p, FAR const struct uint128_s *q,
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2347: Enable format check for syslog
xiaoxiang781216 merged pull request #2347: URL: https://github.com/apache/incubator-nuttx/pull/2347 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[incubator-nuttx] 18/18: drivers/video/ov2640.c: Avoid assuming debug macro expansion
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/incubator-nuttx.git commit 8c748f2d23a18939ce9056fa53a6bebcef8612f6 Author: YAMAMOTO Takashi AuthorDate: Sat Dec 5 07:48:18 2020 +0900 drivers/video/ov2640.c: Avoid assuming debug macro expansion --- drivers/video/ov2640.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/ov2640.c b/drivers/video/ov2640.c index 52fc83f..bb3e4f2 100644 --- a/drivers/video/ov2640.c +++ b/drivers/video/ov2640.c @@ -860,12 +860,16 @@ static int ovr2640_chipid(FAR struct i2c_master_s *i2c) if (pidl != OVR2640_PRODUCT_IDL || pidh != OVR2640_PRODUCT_IDH) { +#ifdef CONFIG_DEBUG_GRAPHICS gerr("ERROR: Unsupported PID=%02x$02x MID=%02x%02x\n", pidh, pidl, midh, midl); +#endif return -ENOSYS; } +#ifdef CONFIG_DEBUG_GRAPHICS ginfo("PID=%02x$02x MID=%02x%02x\n", pidh, pidl, midh, midl); +#endif return OK; }
[incubator-nuttx] 05/18: fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro
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/incubator-nuttx.git commit 97b86d58488115613b71f8275b586845e11999b5 Author: YAMAMOTO Takashi AuthorDate: Sat Nov 21 11:33:47 2020 +0900 fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro --- fs/spiffs/src/spiffs_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/spiffs/src/spiffs_core.c b/fs/spiffs/src/spiffs_core.c index 374eae0..c8ed78e 100644 --- a/fs/spiffs/src/spiffs_core.c +++ b/fs/spiffs/src/spiffs_core.c @@ -1523,12 +1523,10 @@ void spiffs_fobj_event(FAR struct spiffs_s *fs, int ev, int16_t objid_raw, int16_t spndx, int16_t new_pgndx, uint32_t new_size) { -#ifdef CONFIG_DEBUG_FS_INFO FAR static const char *evname[] = { "UPD", "NEW", "DEL", "MOV", "HUP", "???" }; -#endif FAR struct spiffs_file_s *fobj; FAR struct spiffs_file_s *next;
[incubator-nuttx] 10/18: wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion
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/incubator-nuttx.git commit 14b7ea01ba83dfcd1d84b5931f1af9b9b020922b Author: YAMAMOTO Takashi AuthorDate: Mon Nov 23 17:26:25 2020 +0900 wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion --- wireless/bluetooth/bt_conn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wireless/bluetooth/bt_conn.c b/wireless/bluetooth/bt_conn.c index 0c13f8b..cfa934a 100644 --- a/wireless/bluetooth/bt_conn.c +++ b/wireless/bluetooth/bt_conn.c @@ -92,7 +92,6 @@ static struct bt_conn_handoff_s g_conn_handoff = * Private Functions / -#ifdef CONFIG_DEBUG_WIRELESS_INFO static const char *state2str(enum bt_conn_state_e state) { switch (state) @@ -116,7 +115,6 @@ static const char *state2str(enum bt_conn_state_e state) return "(unknown)"; } } -#endif static void bt_conn_reset_rx_state(FAR struct bt_conn_s *conn) {
[incubator-nuttx] branch master updated: stm32: convert all STM32G47X specific code to generic STM32G4 series code.
This is an automated email from the ASF dual-hosted git repository. hartmannathan 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 979a5b7 stm32: convert all STM32G47X specific code to generic STM32G4 series code. 979a5b7 is described below commit 979a5b7fd4372e362669c6760ba9d06cf5a3c552 Author: raiden00pl AuthorDate: Sat Dec 5 17:14:50 2020 +0100 stm32: convert all STM32G47X specific code to generic STM32G4 series code. This is an initial step towards supporting other STM32G4 chips. --- arch/arm/include/stm32/chip.h | 10 +++--- arch/arm/include/stm32/irq.h | 4 +-- .../stm32/{stm32g47xxx_irq.h => stm32g4_irq.h} | 8 ++--- arch/arm/src/stm32/Kconfig | 40 +- arch/arm/src/stm32/hardware/stm32_adc_v2.h | 4 +-- arch/arm/src/stm32/hardware/stm32_dma_v1.h | 2 +- arch/arm/src/stm32/hardware/stm32_dmamux.h | 4 +-- arch/arm/src/stm32/hardware/stm32_flash.h | 38 ++-- arch/arm/src/stm32/hardware/stm32_memorymap.h | 4 +-- arch/arm/src/stm32/hardware/stm32_pinmap.h | 4 +-- .../{stm32g474cxx_pinmap.h => stm32g4xxc_pinmap.h} | 10 +++--- .../{stm32g47xxx_pinmap.h => stm32g4xxk_pinmap.h} | 36 ++- .../{stm32g474mxx_pinmap.h => stm32g4xxm_pinmap.h} | 10 +++--- .../{stm32g47xxx_pinmap.h => stm32g4xxp_pinmap.h} | 36 ++- .../{stm32g474qxx_pinmap.h => stm32g4xxq_pinmap.h} | 10 +++--- .../{stm32g474rxx_pinmap.h => stm32g4xxr_pinmap.h} | 10 +++--- .../{stm32g474vxx_pinmap.h => stm32g4xxv_pinmap.h} | 10 +++--- .../{stm32g47xxx_dmamux.h => stm32g4_dmamux.h} | 17 + .../{stm32g47xxx_gpio.h => stm32g4_gpio.h} | 8 ++--- ...2g47xxx_memorymap.h => stm32g4_memorymap.h} | 10 +++--- .../{stm32g47xxx_pinmap.h => stm32g4_pinmap.h} | 34 ++ .../{stm32g47xxx_pwr.h => stm32g4_pwr.h} | 8 ++--- .../{stm32g47xxx_rcc.h => stm32g4_rcc.h} | 10 +++--- .../{stm32g47xxx_syscfg.h => stm32g4_syscfg.h} | 8 ++--- .../{stm32g47xxx_uart.h => stm32g4_uart.h} | 8 ++--- ...stm32g47xxx_vrefbuf.h => stm32g4_vrefbuf.h} | 8 ++--- arch/arm/src/stm32/stm32_allocateheap.c| 13 +-- arch/arm/src/stm32/stm32_dma_v1.c | 4 +-- arch/arm/src/stm32/stm32_dumpgpio.c| 2 +- arch/arm/src/stm32/stm32_gpio.c| 12 +++ arch/arm/src/stm32/stm32_gpio.h| 8 ++--- arch/arm/src/stm32/stm32_lowputc.c | 10 +++--- arch/arm/src/stm32/stm32_rcc.c | 4 +-- arch/arm/src/stm32/stm32_rcc.h | 4 +-- arch/arm/src/stm32/stm32_serial.c | 12 +++ arch/arm/src/stm32/stm32_syscfg.h | 4 +-- arch/arm/src/stm32/stm32_uart.h| 4 +-- .../stm32/{stm32g47xxx_rcc.c => stm32g4_rcc.c} | 6 ++-- 38 files changed, 229 insertions(+), 205 deletions(-) diff --git a/arch/arm/include/stm32/chip.h b/arch/arm/include/stm32/chip.h index d7b08ec..e77c10c 100644 --- a/arch/arm/include/stm32/chip.h +++ b/arch/arm/include/stm32/chip.h @@ -80,10 +80,10 @@ #else # define __HAVE_F4 0 #endif -#ifdef CONFIG_STM32_STM32G47XX -# define __HAVE_G47 1 +#ifdef CONFIG_STM32_STM32G4XXX +# define __HAVE_G4 1 #else -# define __HAVE_G47 0 +# define __HAVE_G4 0 #endif #ifdef CONFIG_STM32_STM32L15XX # define __HAVE_L1 1 @@ -92,7 +92,7 @@ #endif #if ((__HAVE_F1 + __HAVE_F2 + __HAVE_F30 + __HAVE_F33 + __HAVE_F37 + __HAVE_F4 + \ - __HAVE_G47 + __HAVE_L1) != 1) + __HAVE_G4 + __HAVE_L1) != 1) # error "Only one STM32 family must be selected !" #endif @@ -2514,7 +2514,7 @@ #elif defined(CONFIG_STM32_STM32F4XXX) # define STM32_HAVE_IP_SPI_V2 -#elif defined(CONFIG_STM32_STM32G47XX) +#elif defined(CONFIG_STM32_STM32G4XXX) # define STM32_HAVE_IP_SPI_V4 #elif defined(CONFIG_STM32_STM32L15XX) diff --git a/arch/arm/include/stm32/irq.h b/arch/arm/include/stm32/irq.h index 892c6f0..818820d 100644 --- a/arch/arm/include/stm32/irq.h +++ b/arch/arm/include/stm32/irq.h @@ -95,8 +95,8 @@ # include #elif defined(CONFIG_STM32_STM32F4XXX) # include -#elif defined(CONFIG_STM32_STM32G47XX) -# include +#elif defined(CONFIG_STM32_STM32G4XXX) +# include #else # error "Unsupported STM32 chip" #endif diff --git a/arch/arm/include/stm32/stm32g47xxx_irq.h b/arch/arm/include/stm32/stm32g4_irq.h similarity index 98% rename from arch/arm/include/stm32/stm32g47xxx_irq.h rename to arch/arm/include/stm32/stm32g4_irq.h index 4daf9d4..d998ab6 100644 --- a/arch/arm/include/stm32/stm32g47xxx_irq.h +++ b/arch/arm/include/stm32/stm32g4_irq.h @@ -1,5 +1,5 @@ /**
[GitHub] [incubator-nuttx] hartmannathan merged pull request #2483: stm32: convert all STM32G47X specific code to generic STM32G4 series code
hartmannathan merged pull request #2483: URL: https://github.com/apache/incubator-nuttx/pull/2483 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx-website] btashton opened a new pull request #39: Add release 10.0.0
btashton opened a new pull request #39: URL: https://github.com/apache/incubator-nuttx-website/pull/39 ## Summary This adds the release entry for Apache NuttX 10.0.0 to the website. ## Testing Locally built the site   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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx-website] Ouss4 commented on pull request #39: Add release 10.0.0
Ouss4 commented on pull request #39: URL: https://github.com/apache/incubator-nuttx-website/pull/39#issuecomment-739563104 Thanks @btashton 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[incubator-nuttx-website] branch master updated: Add release 10.0.0
This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git The following commit(s) were added to refs/heads/master by this push: new 7177b0e Add release 10.0.0 7177b0e is described below commit 7177b0e0539c9b86cda96fbfa5284addb26f2cb3 Author: Brennan Ashton AuthorDate: Sun Dec 6 12:47:27 2020 -0800 Add release 10.0.0 Signed-off-by: Brennan Ashton --- README |9 - _releases/10.0.0.md | 1303 +++ 2 files changed, 1303 insertions(+), 9 deletions(-) diff --git a/README b/README deleted file mode 100644 index bebf029..000 --- a/README +++ /dev/null @@ -1,9 +0,0 @@ -Apache Website Template release 0.0.1 - -This is a source or binary distribution of Apache Website Template. - -The LICENSE and NOTICE files contain license information. - -README.md explains the purpose of this project, how to generate and -deploy a simple web site based on this template, and how to create a -web site for your project based on this template. diff --git a/_releases/10.0.0.md b/_releases/10.0.0.md new file mode 100644 index 000..cd2473a --- /dev/null +++ b/_releases/10.0.0.md @@ -0,0 +1,1303 @@ +--- +layout: page +released: true +apache: true +title: 10.0.0 +date: 2020-12-03 +summary: > +Release v10.0.0 + +artifact-root: "https://downloads.apache.org/incubator/nuttx/10.0.0"; +checksum-root: "https://downloads.apache.org/incubator/nuttx/10.0.0"; +key-file: "https://downloads.apache.org/incubator/nuttx/KEYS"; + +source-os-dist: +- "apache-nuttx-10.0.0-incubating.tar.gz" +source-app-dist: +- "apache-nuttx-apps-10.0.0-incubating.tar.gz" + +--- + + + + +{% include JB/setup %} + +# Apache NuttX-10.0.0 Release Notes +* TOC +{:toc} + +## Major Changes to Core OS +### Watchdog Callback Argument Change +The wdog timer call backs used to support a variable number of arguments. +Now they support only a single argument ([PR +#1565](https://github.com/apache/incubator-nuttx/pull/1565)). This eliminates +(1) the configuration option `CONFIG_MAX_WDOGPARMS` and the OS interfaces +`wd_create()` and `wd_delete()` * wdog timer data structures are no longer +pre-allocated. Now they are allocated by the caller of `wd_start()`. This (1) +eliminates the configuration options `CONFIG_PREALLOC_WDOGS` and +`CONFIG_WDOG_INTRESERVE`, (2) eliminates the type `WDOG_ID` which was a pointer +type to `struct wdog_s`, and (3) change the type of the first argument of all +remaining wdog interfaces functions from `WDOG_ID` to `FAR struct wdog_s *`. + +Because of these changes, all proprietary drivers maintained by all NuttX users +will require modification. The following summaries the required modifications: + + Most drivers have a field in structure like `WDOG_ID wdog`; That must be + changed to `struct wdog_s wdog`; That changes the field from a pointer to a + `struct wdog_s` to the `struct wdog_s` storage itself. * Eliminate all calls + to `wd_create()`. The `WDOG_ID` is not longer managed by the timing subsystem + and the `wd_create()` interface has been removed. * The `wd_delete()` + interface has also been removed, but more care will need to be exercised: + `wd_delete()` also cancels any running timer so, in many case, calls to + `wd_delete()` should be replaced with calls to `wd_cancel()`. If you are certain + that the timer has never been started, then you must remove the call to + `wd_delete()` altogether. Calling `wd_cancel()` with an un-initialized s`truct + wdog_s` instance may well cause a fatal crash. * Replace the first parameter + of all remaining wdog function calls from. For example, replace a call like `ret + = wd_cancel(priv->wdog)` where `priv->wdog` was type `WDOG_ID` with the call + `ret = wd_cancel(&priv->wdog)`where `priv->wdog` is now type `struct wdog_s`. + +### New Features + + * [PR-1877](https://github.com/apache/incubator-nuttx/pull/1877) libc: + Implement "j" modifier for scanf + + * [PR-1864](https://github.com/apache/incubator-nuttx/pull/1864) libc: fs: Add + relative path support + + * [PR-1863](https://github.com/apache/incubator-nuttx/pull/1863) libc: + Implement `access()` + + * [PR-1866](https://github.com/apache/incubator-nuttx/pull/1866) libc: uio: + enable `writev()` for sockets + + * [PR-1853](https://github.com/apache/incubator-nuttx/pull/1853) libc: + Implement `popcount/popcountl/popcountll` + + * [PR-1850](https://github.com/apache/incubator-nuttx/pull/1850) Add tool for + parsing the callstack for Trace32 + + * [PR-1840](https://github.com/apache/incubator-nuttx/pull/1840) Add POLLPRI + for exception condition on the file descriptor + + * [PR-1828](https://github.com/apache/incubator-nuttx/pull/1828) Implement + mkdtemp syscall + + * [PR-1826](https://github.com/apache/incubator-nuttx/pull/1826) libc: Add + "tm\_zone" member to tm + + * [PR-1824](https://gi
[GitHub] [incubator-nuttx-website] Ouss4 merged pull request #39: Add release 10.0.0
Ouss4 merged pull request #39: URL: https://github.com/apache/incubator-nuttx-website/pull/39 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[incubator-nuttx-website] branch asf-site updated: Publishing web: 7177b0e0539c9b86cda96fbfa5284addb26f2cb3 docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552
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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 194d295 Publishing web: 7177b0e0539c9b86cda96fbfa5284addb26f2cb3 docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 194d295 is described below commit 194d295b5495c05af18de57dfbac42fc863194b0 Author: Brennan AuthorDate: Sun Dec 6 21:07:06 2020 + Publishing web: 7177b0e0539c9b86cda96fbfa5284addb26f2cb3 docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 --- content/README |9 - content/docs/10.0.0/index.html |2 +- content/docs/latest/index.html |2 +- content/download/index.html| 12 + content/feed.xml |4 +- content/releases/10.0.0/index.html | 1880 6 files changed, 1896 insertions(+), 13 deletions(-) diff --git a/content/README b/content/README deleted file mode 100644 index bebf029..000 --- a/content/README +++ /dev/null @@ -1,9 +0,0 @@ -Apache Website Template release 0.0.1 - -This is a source or binary distribution of Apache Website Template. - -The LICENSE and NOTICE files contain license information. - -README.md explains the purpose of this project, how to generate and -deploy a simple web site based on this template, and how to create a -web site for your project based on this template. diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index 9031a38..c679f25 100644 --- a/content/docs/10.0.0/index.html +++ b/content/docs/10.0.0/index.html @@ -207,7 +207,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 14:01 +Last Updated: 06 December 20 at 21:05 Table of Contents diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index 84fb763..bb51e44 100644 --- a/content/docs/latest/index.html +++ b/content/docs/latest/index.html @@ -208,7 +208,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 14:01 +Last Updated: 06 December 20 at 21:05 Table of Contents diff --git a/content/download/index.html b/content/download/index.html index b0c745e..a482f6f 100644 --- a/content/download/index.html +++ b/content/download/index.html @@ -109,6 +109,18 @@ and another for the integrated Apps. +10.0.0 +Release v10.0.0 + +https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-10.0.0-incubating.tar.gz";>OS/https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-apps-10.0.0-incubating.tar.gz";>Apps +https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-10.0.0-incubating.tar.gz.sha512";>OS/https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-apps-10.0.0-incubating.tar.gz.sha512";>Apps +https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-10.0.0-incubating.tar.gz.asc";>OS/https://downloads.apache.org/incubator/nuttx/10.0.0/apache-nuttx-apps-10.0.0-incubating.tar.gz.asc";>Apps +2020-12-03 + + + + + 9.1.0 Release v9.1.0 diff --git a/content/feed.xml b/content/feed.xml index 1429e47..18e07ca 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -5,8 +5,8 @@ / -Sun, 06 Dec 2020 14:02:58 + -Sun, 06 Dec 2020 14:02:58 + +Sun, 06 Dec 2020 21:07:04 + +Sun, 06 Dec 2020 21:07:04 + Jekyll v3.8.5 diff --git a/content/releases/10.0.0/index.html b/content/releases/10.0.0/index.html new file mode 100644 index 000..f55f7c4 --- /dev/null +++ b/content/releases/10.0.0/index.html @@ -0,0 +1,1880 @@ + + + + + + +10.0.0 + + + + + + + + + + + + + + + + + + + + + + + + +
[GitHub] [incubator-nuttx-website] Ouss4 opened a new pull request #40: Update committers' list.
Ouss4 opened a new pull request #40: URL: https://github.com/apache/incubator-nuttx-website/pull/40 ## Summary Add the new committers to the list. ## Impact ## Testing 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
svn commit: r44868 - in /dev/incubator/nuttx: 10.0.1-RC0/ 9.1.1-RC0/
Author: btashton Date: Sun Dec 6 22:17:54 2020 New Revision: 44868 Log: Fix bad staged artifacts for NuttX 10.0.1-RC0 and 9.1.1-RC0 Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.asc dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.sha512 dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.asc dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.sha512 dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.asc dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.sha512 dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz.asc dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz.sha512 Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.asc == Binary files - no diff available. Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-10.0.1-incubating.tar.gz.sha512 Sun Dec 6 22:17:54 2020 @@ -1 +1 @@ -da8ab4a19a8f8ca6d63b9a1112a42d704094e980f788e7f51eb48ca55b767bfc2699736c546e66cafa8d858e12c17e8b289ded26aeae8916ee506970c2b08f39 apache-nuttx-10.0.1-incubating.tar.gz +9e5ac062017a1bae7b1f1ed79bed59f2f2bf573b8d4479adcfe95b28c3e947cc71d530447f9714f2e3ab58a9dcc37363eadcdc3f06ba1ba48231e9041c600fdc apache-nuttx-10.0.1-incubating.tar.gz Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.asc == Binary files - no diff available. Modified: dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/10.0.1-RC0/apache-nuttx-apps-10.0.1-incubating.tar.gz.sha512 Sun Dec 6 22:17:54 2020 @@ -1 +1 @@ -da2f51bd4966b5868e3b06058074f7950ec3c0c33bd13e0ae2a9fe9ae02d5a20b4b08398cb9bab52df164b0a3ef06577698eb636a493a6c06239d582a32185fc apache-nuttx-apps-10.0.1-incubating.tar.gz +3bb20eeccf309be8755d22c47d043459278513f0ee7583ca665726a3116637d2cedf722daa8f4b034260f30547e3f350dea6f3c8325b33c08c35b96b9a95f673 apache-nuttx-apps-10.0.1-incubating.tar.gz Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.asc == Binary files - no diff available. Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.sha512 == --- dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.sha512 (original) +++ dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-9.1.1-incubating.tar.gz.sha512 Sun Dec 6 22:17:54 2020 @@ -1 +1 @@ -fe25b902fc82fbe676ac90d0e7ea334fff12feaa1f50aa599efad019afdc7a0b6c8e6f5d3c7f5361b70567ebf7a2aa774c21bdaebc289c5d5b0823fb94d3fdd5 apache-nuttx-9.1.1-incubating.tar.gz +e12a43028aab99dbdf214a016281b4b3ce8c661f063ea2f353600950bd6738710f04b3c65b00f115323f9e6ce8e2cd560327e3d4cb906eba13afa4cc275e6359 apache-nuttx-9.1.1-incubating.tar.gz Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz == Binary files - no diff available. Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz.asc == Binary files - no diff available. Modified: dev/incubator/nuttx/9.1.1-RC0/apache-nuttx-apps-9.1.1-incubating.tar.gz.sha512 ===
[GitHub] [incubator-nuttx-website] btashton commented on pull request #40: Update committers' list.
btashton commented on pull request #40: URL: https://github.com/apache/incubator-nuttx-website/pull/40#issuecomment-739575432 Thank you! I don't know how we missed this. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx-website] btashton merged pull request #40: Update committers' list.
btashton merged pull request #40: URL: https://github.com/apache/incubator-nuttx-website/pull/40 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[incubator-nuttx-website] branch master updated: Update committers' list.
This is an automated email from the ASF dual-hosted git repository. btashton pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git The following commit(s) were added to refs/heads/master by this push: new 0c0103c Update committers' list. 0c0103c is described below commit 0c0103c8517f13270f961e2289dd0f3df1c6c5da Author: Ouss4 AuthorDate: Sun Dec 6 22:31:21 2020 + Update committers' list. --- _data/contributors.yml | 24 1 file changed, 24 insertions(+) diff --git a/_data/contributors.yml b/_data/contributors.yml index fedf4d7..8e71295 100644 --- a/_data/contributors.yml +++ b/_data/contributors.yml @@ -24,6 +24,12 @@ role: PPMC, Committer org: +- name: Adam Feuer + apacheId: adamfeuer + githubId: adamfeuer + role: Committer + org: + - name: Alan Carvalho de Assis apacheId: acassis githubId: acassis @@ -71,6 +77,12 @@ githubId: liuguo09 role: Commiter +- name: Johannes Schock + apacheId: jschock + githubId: johannes-nivus + role: Committer + org: + - name: Justin Mclean apacheId: jmclean githubId: justinmclean @@ -94,6 +106,12 @@ githubId: raiden00pl role: Committer org: + +- name: Matias Nitsche + apacheId: protobits + githubId: v01d + role: Committer + org: - name: Mohammad Asif Siddiqui apacheId: asifdxtreme @@ -107,6 +125,12 @@ role: PPMC, Committer org: +- name: Sebastian Ene + apacheId: sene + githubId: sebastianene07 + role: Committer + org: + - name: Xiang Xiao apacheId: xiaoxiang githubId: xiaoxiang781216
[incubator-nuttx-website] branch asf-site updated: Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552
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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new a078f4f Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 a078f4f is described below commit a078f4f219ed228c6deb1d5af8aae1c7ce8eefc3 Author: Ouss4 AuthorDate: Sun Dec 6 22:31:08 2020 + Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 --- content/community-members/index.html | 36 content/docs/10.0.0/index.html | 2 +- content/docs/latest/index.html | 2 +- content/feed.xml | 4 ++-- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/content/community-members/index.html b/content/community-members/index.html index ba937a7..3c374eb 100644 --- a/content/community-members/index.html +++ b/content/community-members/index.html @@ -114,6 +114,15 @@ +http://github.com/adamfeuer";>http://github.com/adamfeuer.png"; /> +Adam Feuer +adamfeuer +http://github.com/adamfeuer";>adamfeuer +Committer + + + + http://github.com/acassis";>http://github.com/acassis.png"; /> Alan Carvalho de Assis acassis @@ -186,6 +195,15 @@ +http://github.com/johannes-nivus";>http://github.com/johannes-nivus.png"; /> +Johannes Schock +jschock +http://github.com/johannes-nivus";>johannes-nivus +Committer + + + + http://github.com/justinmclean";>http://github.com/justinmclean.png"; /> Justin Mclean jmclean @@ -222,6 +240,15 @@ +http://github.com/v01d";>http://github.com/v01d.png"; /> +Matias Nitsche +protobits +http://github.com/v01d";>v01d +Committer + + + + http://github.com/asifdxtreme";>http://github.com/asifdxtreme.png"; /> Mohammad Asif Siddiqui asifdxtreme @@ -240,6 +267,15 @@ +http://github.com/sebastianene07";>http://github.com/sebastianene07.png"; /> +Sebastian Ene +sene +http://github.com/sebastianene07";>sebastianene07 +Committer + + + + http://github.com/xiaoxiang781216";>http://github.com/xiaoxiang781216.png"; /> Xiang Xiao xiaoxiang diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index c679f25..ec3cb75 100644 --- a/content/docs/10.0.0/index.html +++ b/content/docs/10.0.0/index.html @@ -207,7 +207,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 21:05 +Last Updated: 06 December 20 at 22:29 Table of Contents diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index bb51e44..32efc23 100644 --- a/content/docs/latest/index.html +++ b/content/docs/latest/index.html @@ -208,7 +208,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 21:05 +Last Updated: 06 December 20 at 22:29 Table of Contents diff --git a/content/feed.xml b/content/feed.xml index 18e07ca..093772e 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -5,8 +5,8 @@ / -Sun, 06 Dec 2020 21:07:04 + -Sun, 06 Dec 2020 21:07:04 + +Sun, 06 Dec 2020 22:31:06 + +Sun, 06 Dec 2020 22:31:06 + Jekyll v3.8.5
[incubator-nuttx-website] branch asf-site updated: Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552
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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 4c23a5f Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 4c23a5f is described below commit 4c23a5fbb8022a2d0bde9a72ac6bfb4749942aef Author: Ouss4 AuthorDate: Mon Dec 7 00:48:12 2020 + Publishing web: 0c0103c8517f13270f961e2289dd0f3df1c6c5da docs: 979a5b7fd4372e362669c6760ba9d06cf5a3c552 --- content/docs/10.0.0/index.html | 2 +- content/docs/latest/index.html | 2 +- content/feed.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index ec3cb75..d7082a3 100644 --- a/content/docs/10.0.0/index.html +++ b/content/docs/10.0.0/index.html @@ -207,7 +207,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 22:29 +Last Updated: 07 December 20 at 00:46 Table of Contents diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index 32efc23..ad68ed6 100644 --- a/content/docs/latest/index.html +++ b/content/docs/latest/index.html @@ -208,7 +208,7 @@ by following these NuttX Documentation¶ NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). -Last Updated: 06 December 20 at 22:29 +Last Updated: 07 December 20 at 00:46 Table of Contents diff --git a/content/feed.xml b/content/feed.xml index 093772e..1d5a47d 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -5,8 +5,8 @@ / -Sun, 06 Dec 2020 22:31:06 + -Sun, 06 Dec 2020 22:31:06 + +Mon, 07 Dec 2020 00:48:11 + +Mon, 07 Dec 2020 00:48:11 + Jekyll v3.8.5
[GitHub] [incubator-nuttx] anchao opened a new pull request #2487: clock/time: add CLOCK_BOOTTIME definition
anchao opened a new pull request #2487: URL: https://github.com/apache/incubator-nuttx/pull/2487 ## Summary clock/time: add CLOCK_BOOTTIME definition ## Impact N/A ## Testing N/A 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx] anchao opened a new pull request #2488: libs/libc: correct the getrandom(2) prototype
anchao opened a new pull request #2488: URL: https://github.com/apache/incubator-nuttx/pull/2488 ## Summary libs/libc: correct the getrandom(2) prototype libs/libc/getrandom(2): add ORed bit mask definition ## Impact getrandom(2) prototype Reference here: https://man7.org/linux/man-pages/man2/getrandom.2.html ## Testing getrandom test 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-nuttx] anchao opened a new pull request #2489: [Performance]net/tcp: send the ACK in time after obtain ahead buffer from iobs
anchao opened a new pull request #2489: URL: https://github.com/apache/incubator-nuttx/pull/2489 ## Summary 1. [Performance]net/tcp: send the ACK in time after obtain ahead buffer from iobs Request the TCP ACK to estimate the receive window after handle any data already buffered in a read-ahead buffer. 2. net/tcp: add a member to record the current receiving window 3. net/tcp: rename the winszie to snd_wnd to make the semantics more accurate ## Impact TCP Performance ## Testing HTTP Streaming 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org