Nathan Hartman
7259601baa
ReleaseNotes: Fix missing Compatibility Concerns for NuttX-9.1
...
* ReleaseNotes:
Discovered that the entire Compatibility Concerns section was
missing.
Copied this information from the CWIKI ReleaseNotes [1] and
reformatted to fit the textual format of this file.
[1] https://cwiki.apache.org/confluence/display/NUTTX/NuttX+9.1#NuttX9.1-CompatibilityConcerns
2021-06-10 18:33:07 +01:00
raiden00pl
f6e6bc65ce
boards/b-g431b-esc1: add support for FOC configurations
2021-06-10 13:58:33 -03:00
raiden00pl
d76f8ea04a
arch/arm/src/stm32/stm32_foc.c: add workaround for an issue found in STM32G4 family
...
From G4 erratas: "ADC channel 0 converted instead of the required ADC channel"
2021-06-10 13:58:33 -03:00
raiden00pl
7c47f32a19
arch/arm/src/stm32/hardware/stm32g4xxc_pinmap.h: rename OPAMP pins to match the manual
2021-06-10 13:58:33 -03:00
raiden00pl
76824ba2a9
stm32g4xxxx_memorymap.h: remove invalid OPAMP1-6 definitions
2021-06-10 13:58:33 -03:00
raiden00pl
af0f2b4f37
stm32g4: add OPAMP defs
2021-06-10 13:58:33 -03:00
raiden00pl
0ee42f38b3
boards/b-g431b-esc1: add button support
2021-06-10 13:58:33 -03:00
raiden00pl
7a2aa8aa69
b-g431b-esc1: refactor bringup logic for consistency with other boards
2021-06-10 13:58:33 -03:00
chao.an
805d3a2061
net/local: add local_nextconn() helper
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-10 13:57:32 -03:00
Alexander Vasiljev
9d0da9818c
arch/arm/src/stm32h7: qspi use indirect write instead indirect read without data.
2021-06-10 10:46:34 -05:00
chao.an
2c51c29768
mm/iob: add an interface to support dequeue an iob from the queue
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-10 10:45:30 -05:00
chao.an
e73883aba5
Documentation/iob: update the function prototype
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-10 10:45:30 -05:00
Virus.V
7c20199a61
riscv/bl602:replace syslog to debugging log macros
2021-06-10 08:59:16 -05:00
Fotis Panagiotopoulos
2ef90786c8
setjmp.h: Added missing include.
2021-06-10 08:58:52 -05:00
Xiang Xiao
c0fdddc5d7
arch: Remove all go_nx_start from chip specifc source
...
since the idle stack color is done in the common code now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-10 06:50:41 -07:00
Xiang Xiao
fa0d123f87
arch: Colorize the idle thread stack in an unified way
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Idae8da53e5a4799a8edc0e882f17fd515b70cb14
2021-06-10 06:50:41 -07:00
Chen Wen
dbf9c87a42
risc-v/esp32c3: Support ESP32-C3 RTC driver
2021-06-10 09:33:04 -03:00
Alexander Vasiljev
45672c269d
Make: use gcc as LD
2021-06-10 03:43:18 -07:00
Virus.V
317bd40fec
net/dns:fix unaligned access in dns query
2021-06-10 02:03:31 -05:00
Peter van der Perk
3b94669b7f
FlexCAN Fix TX abort process
2021-06-09 13:34:13 -05:00
chao.an
6e6eecaa73
arch: adjust idle stack offset to reserve space of stack info
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-09 13:30:13 -05:00
Xiang Xiao
6576306bca
arch: Rename xxx_getsp to up_getsp
...
All modern desgin support stack pointer and it's also an
important information, so let's standardize this interface.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-09 10:20:02 -07:00
chao.an
fdf325c7e3
netinet: move the byte ordering convert functions to "netinet/in.h"
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-09 12:04:25 -05:00
Alexander Lunev
1bb23a7a33
boards: lm3s6965-ek: added config to run NuttX with enabled NXFLAT binary loader mode on QEMU;
...
Conditionally turn off -mpic-data-is-text-relative flag to access bss via the GOT
(https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139630111 ).
This is related to issue #3737 .
2021-06-09 12:03:35 -05:00
Michal Lenc
02d42e4f03
boards/arm/stm32/nucleo-f446re: added support for GPIO driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-09 11:54:02 -05:00
Juha Niskanen
6c67b560b4
boards: stm32l5: remove unused STM32L5_BOARD_HCLK
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-09 11:53:20 -05:00
Juha Niskanen
ed3c73b307
boards: stm32l4: remove unused STM32L4_BOARD_HCLK
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-09 11:53:20 -05:00
Juha Niskanen
939e547ca8
arch/arm/src/stm32l4: fix some printf format errors and warnings
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-09 11:52:33 -05:00
Fotis Panagiotopoulos
b73dc0f166
syslog: Added separator in file logs.
2021-06-09 10:09:04 -05:00
YAMAMOTO Takashi
b3e8535ad6
Revert "tls: Move pthread key destructor to libc"
...
This reverts commit cc514d7791
.
* It introduced a regression.
https://github.com/apache/incubator-nuttx/issues/3868
* It seems conceptually wrong to have per-process data in
the main thread's stack.
2021-06-09 07:59:44 -05:00
YAMAMOTO Takashi
8079d9fac3
Revert "TLS: Correct handling of returned error values."
...
This reverts commit 9aaeaefa41
.
2021-06-09 07:59:44 -05:00
Xiang Xiao
5b2a17b892
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
David Sidrane
131e2490c9
stm32f7:bbsram add assert header
2021-06-08 13:19:22 -05:00
David Sidrane
a1de902708
stm32h7:bbsram add assert header
2021-06-08 13:19:22 -05:00
Fotis Panagiotopoulos
37ec290a11
Syslog file rotations number is configurable.
2021-06-08 04:12:48 -05:00
chao.an
39245f63fe
net/icmp: fix race condition in icmp recvmsg
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-07 22:17:50 -05:00
chao.an
ae613446c8
net/icmp: add nonblocking support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-07 22:17:50 -05:00
chao.an
9c1fb4c04b
net/icmp: consume the data length to avoid duplicate packet
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-07 22:17:50 -05:00
chao.an
b0ac97adab
net/icmp: fix invalid condition comparison
...
up_assert: Assertion failed at file:
icmp/icmp_recvmsg.c line: 175 task: net_tasklet
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-06-07 22:17:50 -05:00
Gregory Nutt
9aaeaefa41
TLS: Correct handling of returned error values.
...
I not two problems in handling of the return error values in PR #3858 :
1. In KERNEL mode, the error return value of _SEM_WAIT() will be a negated errno value; in all other modes, it will be -1 (ERROR) with the errno variable set. This must be handled in the test of the returned value: Don't compare with -1; rather check if < 0
2. Also, conversion of the returned value to a negated errno value must be handled differently. This is handled by replacing -get_errno() with the macro _ERRVAL(ret)
This effects only error handling (it fixes it) and no other impacts are expected.
2021-06-07 22:32:42 -03:00
Alan C. Assis
3859031a6b
Fix ht16k33 driver to support multi-modules
2021-06-07 01:08:11 -05:00
Xiang Xiao
f7c0d46ed8
serial: Remove the unnecessary err_out label
2021-06-07 07:55:14 +09:00
Michal Lenc
dd8420431a
boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config name
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-06 22:48:49 +01:00
Huang Qi
cc514d7791
tls: Move pthread key destructor to libc
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-06-06 15:25:56 -06:00
Nathan Hartman
c3c6bc3e71
Licensing: Add BSD-style license from uIP
...
LICENSE:
* Add the BSD-style license from uIP, as some lower-level networking
components derive from it. License text obtained from [1].
Per feedback of John D. Ament in the general@incubator.a.o
thread "[VOTE] Release Apache NuttX (Incubating) 10.1.0 [RC1]"
on 21 May 2021, archived at [2,3].
[1] https://github.com/adamdunkels/uip/blob/uip-1-0/uip/uip.c
[2] https://mail-archives.apache.org/mod_mbox/incubator-general/202105.mbox/%3cCAOqetn8dOhKFj8jdprM1_gmuU=WSwKpK3D6W1a+w2dZ8AbjtNw@mail.gmail.com%3e
[3] https://lists.apache.org/thread.html/r293352a21dfd1112b4dfb0e27265a2ac4741083fa1e7875e4001da86%40%3Cgeneral.incubator.apache.org%3E
2021-06-06 11:21:24 -06:00
Masayuki Ishikawa
3ccef09b4e
drivers: serial: Remove an unnecessary critical section (cs) for SMP
...
Summary:
- I thought this cs is needed to avoid data corruption
- For example, while executing uart_xmitchar() in the interrupt
handler on CPU0, an application running on CPU1 can call
uart_putxmitchar() via write()->uart_write().
- In this case, taking xmit.sem in uart_write() will wait for CPU0
to finish uart_xmitchar() because CPU0 has already taken a cs
in uart_xmitchar() then nxsem_wait() on CPU0 takes a new cs
inside (and release the cs when returning but it's OK)
- Then uart_write() on CPU1 disables UART TX, so uart_xmitchar()
on CPU0 will not be called while executing uart_write() on CPU1.
- So this critical section in uart_putxmitchar() can be removed.
Impact:
- None
Testing:
- Tested with spresense:wifi_smp, esp32-devkitc:smp
Reported-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-05 22:33:09 -05:00
Alan C. Assis
be1c8036d5
esp32-devkitc: Add board support to ht16k33 14-seg display
2021-06-05 20:32:04 -05:00
Alan C. Assis
54134507ff
lcd: Add support to Holtek HT16K33 as 14-segment display controller
2021-06-05 20:32:04 -05:00
unixjet
68f19a6290
risc-v/rv32m1: Basic port to rv32m1 ri5cy
2021-06-05 17:25:57 -03:00
Matheus Castello
f81f973af3
boards: rp2040: Add user gpio driver
...
Add user space gpio driver supporting gpout, gpin, gpint
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2021-06-05 12:58:20 -03:00