futerigele
06fc3eb1c3
input/touchscreen: added touchscreen gesture
...
added touchscreen gesture
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-12-03 01:20:02 -06:00
baggio63446333
917f1a64ad
libdsp: Fix compile error with the standard math library
...
The libdsp uses M_PI_F and M_PI_2_F which are defined only in the NuttX
math library. Fix an compile error when CONFIG_LIBM is disabled and the
other math library is used.
2021-12-02 12:49:27 +01:00
buyuer
b9345c64c8
Add cinttypes header file for mini-cxxlib.
...
Signed-off-by: buyuer <dingddding@163.com>
2021-12-01 06:51:51 -06:00
Sebastien Lorquet
437424d234
Support multiple SST26 devices on the same spi bus
2021-11-30 18:45:27 +01:00
Simon Filgis
46c36e2603
c++ style comment
2021-11-30 10:44:40 -06:00
Simon Filgis
0e327b18c0
added special registers of KSZ8061 ethernet phy
2021-11-30 10:44:40 -06:00
anjiahao
c2bcef4db8
include/stdio:add setlinebuf marco
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-29 11:18:36 -06:00
Xiang Xiao
54eabf9616
libc: Add mknod implementation
...
https://pubs.opengroup.org/onlinepubs/007904875/functions/mknod.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-28 23:31:16 +01:00
songlinzhang
22df553443
net/arp: clean the arp table when netdev carrier off
...
Fix the arp address changed if netdev renew, since the
arp table should be cleared when the netdev carrier off
Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2021-11-27 06:19:50 -06:00
anjiahao
4db9513658
inculude/netinet:add net mask define
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-27 06:19:10 -06:00
anjiahao
80d32edbe1
libc/str:add strlcat to libc
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-26 15:24:35 -03:00
Petro Karashchenko
0d9425676d
arch/arm/src/samv7: add flash progmem erasestate ioctl support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-26 14:55:34 -03:00
Xiang Xiao
c1cb429a98
libc/hex2bin: Handle the line ending(\r, \n and \r\n) dynamically
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-26 11:55:00 -03:00
chao.an
6cd850b0e6
net/icmp/v6: add ICMP Destination Unreachable code definitions
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-11-26 08:47:54 -06:00
zhangguoliang
b16eea4f14
feat: charger: add operation to get out voltage
...
Signed-off-by: zhangguoliang <zhangguoliang3@xiaomi.com>
2021-11-26 11:16:53 +01:00
weizhifang
e20becd91b
feature: charge: add add chipid ioctl api
...
1.add chipid ioctl api to battery monitor code
2.add chipid itctl api to battery charger code
3.add chipid itctl api to battery gauge code
Signed-off-by: weizhifang <weizhifang@xiaomi.com>
2021-11-26 11:16:53 +01:00
anjiahao
624b8d0776
add MAXHOSTNAMELEN in headfile
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-24 22:49:09 -06:00
anjiahao
41c3b42468
change /dev/syslog & /dev/ramlog for unix standard
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-24 05:19:46 -06:00
chao.an
e228434cea
libs/libc: add interface to support output stream as buffer style
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-11-23 21:00:43 -06:00
chao.an
7cbb8da692
binfmt/elf: add bare metal coredump support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-11-23 20:48:00 -06:00
chao.an
f33c46af21
elf: add elf define of Note Section
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-11-23 20:34:56 +09:00
Xiang Xiao
91f616e824
libc/pthread: Implement pthread_atfork
...
fork isn't supported yet, so the dummy implementation is enough.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 15:11:48 -03:00
Xiang Xiao
d2b693a204
sched: Move g_tcbinfo to include/nuttx/sched.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 14:59:48 -03:00
songnannan
83668c7091
fix(sensor): align for selftest interface define.
...
Align for selftest interface in struct sensor_ops_s
Signed-off-by: songnannan <songnannan@xiaomi.com>
2021-11-19 11:55:40 +01:00
songnannan
550d2bff32
feature: sensor: add set calibration interface for sensor driver.
...
Add standard sensor interface for setting calibartiion value.
Signed-off-by: songnannan <songnannan@xiaomi.com>
2021-11-19 11:55:40 +01:00
Xiang Xiao
a29ee19af4
driver/motor: Remove the unnecessary critical section operation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-11-18 19:27:07 -06:00
Jiuzhu Dong
c0c1e46c5f
driver/motor: add upperhalf structure
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-11-18 19:27:07 -06:00
ligd
b5d1ec28de
mm: do kmm_checkcorruption in IRQ when TCB_FLAG_DEBUG_CHECK set
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-17 09:55:19 -06:00
buyuer
fa90a3dfd4
Optimized GPS sensor and add gps satellite sensor.
...
Signed-off-by: buyuer <dingddding@163.com>
2021-11-17 08:59:40 -06:00
futerigele
17b67093cb
input/touchscreen: added time stamp for touchscreen event
...
added time stamp for touchscreen event
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-11-17 01:47:56 -06:00
songnannan
1799994f2c
feature: sensor: Add sensor type ots.
...
Add ots sensor type for ots sensor.
Signed-off-by: songnannan <songnannan@xiaomi.com>
2021-11-16 14:51:57 -03:00
Andres Sanchez
064f6c8c55
add MTDIOCTL_PROGMEM_ERASESTATE support
...
Signed-off-by: Andres Sanchez <tito97_sp@hotmail.com>
solve style check errors.
2021-11-16 14:45:03 -03:00
Alin Jerpelea
33383a09dd
include: Haltian Ltd: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Haltian Ltd has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-11-15 06:49:32 -06:00
Xiang Xiao
bec1b0bc92
Revert "libc: Implement fesetround & fegetround for arm"
...
Since the toolchain provide the implementation now.
This reverts commit fe992a5b6c
.
2021-11-10 14:35:53 -03:00
Xiang Xiao
69d35455c7
clock.h: Remove the unnecessary L from macro
...
It's safe for the number <= 32767 since C standard require int at least 16bit
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 14:32:16 -03:00
zhuyanlin
012bd1494c
arch:debug: add struct for task aware debug.
...
When enable DEBUG_TCBINFO config, a global struct will
provide, then debuggers can aware nuttx task infomation.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-10 14:31:10 -03:00
Gustavo Henrique Nihei
5dfb2713f6
include: Add __socklen_t_defined for compatibility to other C libraries
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-09 08:19:27 -06:00
futerigele
7381245159
input/touchscreen: separate the interface for user interaction
...
Separate the interface for user interaction, touch upper half
provides the interface uniformly.
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-11-08 21:56:03 -06:00
raiden00pl
bf23abfbd5
drivers/qencoder: add an interface to configure the encoder index pin position
2021-11-07 03:52:48 -06:00
David Sidrane
040a04241e
drivers/spi:Define SPI_~CS~_DELAY_CONTROL to support other delays
2021-11-06 05:14:05 -05:00
ligd
00ef4fca51
rpmgs_socket: set RPMSG_SOCKET_NAME_SIZE to 16 for handing prefix
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
Jukka Laitinen
c79d2067c7
Move timespec calculations from sched into libc/sched
...
Allow using these functions also outside sched, where systick
related calculations are performed
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-04 13:19:01 -05:00
ligd
131e8dc7e7
socket.h: set SOMAXCONN default value to 8
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-01 13:52:10 -05:00
Xiang Xiao
aec01e96fa
libc: Remove the empty lib_initialize
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-01 11:03:02 -03:00
Jiuzhu Dong
1ed4118378
power/battery: add baterr, batinfo, batwarn for debug log
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-26 13:59:42 -03:00
zhuyanlin
b4ea11f7b1
arch:cache: add lock feature for cache
...
Some architectures support lock & unlock cache feature.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-10-22 13:31:32 -03:00
anjiahao
0aa14f832d
mq_open: add long file name check and parameter check
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-21 11:01:45 -03:00
Jiuzhu Dong
f1f0bcc521
driver/sensor: support new sensor type:ECG,PPG,Imdepance
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-20 09:55:18 -05:00
zhangguoliang
12b2b7c240
fix: charger: change the operations of battery ioctl to common
...
Almost all charger chip need the same oprations, which was not
appropriate only for BQ2429X. Therefore, open the operations to
all charger chips.
Signed-off-by: zhangguoliang <zhangguoliang3@xiaomi.com>
2021-10-20 09:52:21 +02:00
weizhifang
2a6673bcdd
feature: charge: modify battery_gauge code
...
add temperature and current ioctl api
Signed-off-by: weizhifang <weizhifang@xiaomi.com>
2021-10-20 09:52:11 +02:00
Alexander Lunev
6bdc737f5c
bcm43xxx: supported high-speed timing mode with a clock rate up to 50MHz
2021-10-18 21:58:03 -05:00
Jari van Ewijk
b1d5eff52d
Userled driver: Add option to check actual pin state with getall
2021-10-18 12:30:18 -07:00
Xiang Xiao
643e34efde
sdio: Update the defintion to the latest spec
...
and correct the comment:
https://www.sdcard.org/downloads/pls/
https://www.jedec.org/standards-documents/technology-focus-areas/flash-memory-ssds-ufs-emmc/e-mmc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-17 06:29:13 -03:00
Xiang Xiao
8b67944c75
sched: Remove pidhash_s and move ticks to tcb_s
...
simplify the code logic and reduce memory a little bit
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-16 06:19:17 -03:00
Juha Niskanen
fc1ac6e3e0
include/nuttx/net/netconfig.h: add MSS values for usrsock
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-10-15 06:18:27 -07:00
anjiahao
1623848720
battery_monitor:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
anjiahao
ef7c61ae2d
battery_gauge:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
anjiahao
0d95d6fa45
battery_charger:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
Jiuzhu Dong
9bc913abef
wd_start: use sclock_t type replace int
...
when enable SYSTEM_TIME64, tick may exceed the int32 range
example:
pthread_cond_clockwait
---->clock_abstime2ticks
---->wd_start
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-10 19:59:57 -07:00
Jiuzhu Dong
5ee16ee684
driver/sensor: support sensor_ops: selftest
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-10 08:28:49 -03:00
Jari van Ewijk
20bf309939
Userled driver: Rename functions to make it more consistent and avoid confusion
2021-10-05 06:08:10 -07:00
liushuai25
6c374fc06c
feat: driver: support double buffer for display
...
add pan display for fb driver.
reference links:
https://github.com/torvalds/linux/blob/master/drivers/video/fbdev/core/fbmem.c
https://github.com/torvalds/linux/blob/master/drivers/video/fbdev/goldfishfb.c
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
Update include/nuttx/video/fb.h
Co-authored-by: Gustavo Henrique Nihei <38959758+gustavonihei@users.noreply.github.com>
Update include/nuttx/video/fb.h
Co-authored-by: Gustavo Henrique Nihei <38959758+gustavonihei@users.noreply.github.com>
2021-09-30 09:07:48 -03:00
Xiang Xiao
77bc1d1bdf
power/battery: Move the enumurate to the common place
...
so the userspace program can handle the different battery driver equally
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-30 14:58:42 +09:00
Alin Jerpelea
b0ddc6e2c5
include: Omni Hoverboards: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Omni Hoverboards has submitted the SGA
Paul Alexander Patience has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-28 04:37:38 -07:00
futerigele
a264fd9541
input/touch: add io command for touch firmware version
...
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-09-27 18:17:17 -07:00
FASTSHIFT
649f99ce30
libc/misc: add lib_glob.
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2021-09-25 07:54:39 -03:00
zhuyanlin
a41f92d1f6
sched:tcb_s:rearrange sched_priority/int_priority to word align
...
As pid_t is uint16_t,this could save space for many archs.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-09-23 23:08:51 -07:00
chao.an
c132e5bed4
net/tcp: sanity check for the listen address
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-23 23:07:57 -07:00
FASTSHIFT
f3477a86d2
libc/string: add lib_strchrnul.
2021-09-22 09:20:06 -03:00
iceaway
beba1056a8
userleds: add missing include (stdbool.h)
...
Would not compile without stdbool.h included (uses the bool type in
the header file)
2021-09-20 02:01:47 -07:00
Alexander Lunev
36fbedcbfc
net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO.
...
In case of enabled packet forwarding mode, packets were forwarded in a reverse order
because of LIFO behavior of the connection event list.
The issue exposed only during high network traffic. Thus the event list started to grow
that resulted in changing the order of packets inside of groups of several packets
like the following: 3, 2, 1, 6, 5, 4, 8, 7 etc.
Remarks concerning the connection event list implementation:
* Now the queue (list) is FIFO as it should be.
* The list is singly linked.
* The list has a head pointer (inside of outer net_driver_s structure),
and a tail pointer is added into outer net_driver_s structure.
* The list item is devif_callback_s structure.
It still has two pointers to two different list chains (*nxtconn and *nxtdev).
* As before the first argument (*dev) of the list functions can be NULL,
while the other argument (*list) is effective (not NULL).
* An extra (*tail) argument is added to devif_callback_alloc()
and devif_conn_callback_free() functions.
* devif_callback_alloc() time complexity is O(1) (i.e. O(n) to fill the whole list).
* devif_callback_free() time complexity is O(n) (i.e. O(n^2) to empty the whole list).
* devif_conn_event() time complexity is O(n).
2021-09-18 21:01:39 -05:00
Alin Jerpelea
48f92e6f1d
author: Bill Gatliff : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Bill Gatliff has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-16 21:56:08 -05:00
Abdelatif Guettouche
3b2aea204c
sched/irq/irq_csection.c: Fix typos and correct some comments.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-16 10:53:51 -05:00
Peter Bee
a5406c63cb
drivers/lcd: Add GC9A01 driver and refine ST7735
...
Added custom resolution, offset and BGR mode for ST7735 driver
Added GC9A01 driver (based on ST7789 driver)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-09-16 08:39:35 -03:00
Alin Jerpelea
49667a230e
include: author: Hexagon AB: update licenses to Apache
...
Hexagon AB has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 18:19:42 +08:00
SPRESENSE
ebd736240e
drivers/video: Replace error output macro to verr
...
Add video debug macros verr/vwarn/vinfo, and replace error output macro to verr.
2021-09-15 07:06:35 +02:00
SPRESENSE
74df4b70b3
drivers: video: Rearchitect video driver
...
Rearchitect video driver:
- Define two video I/F(struct imgsensor_ops_s and struct imgdata_ops_s),
and support them.
- CISIF driver supports new video I/F struct imgdata_ops_s.
- ISX012 driver supports new video I/F struct imgsensor_ops_s.
- Move ISX012 driver to general driver directory.
2021-09-15 07:06:35 +02:00
chao.an
e8d7779ab1
sys/socket/scm: add more socket message control helper
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-15 12:04:01 +08:00
Abdelatif Guettouche
20d34cce98
sched/irq_section.c: irq_waitlock is a private function; remove its
...
prototype from irq.h and define it as static.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-15 06:20:59 +09:00
liushuai25
fdcd1228b2
feature: driver: add interface for lcd dev driver
...
add get and set framerate interface for lcd dev driver.
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
2021-09-13 18:18:27 -03:00
liushuai25
3183251de0
feature: driver: add interface for fb driver
...
add get and set panel power interface for fb driver.
add get and set framerate interface for fb driver.
add panel information at videoinfo for fb driver.
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
2021-09-13 18:18:27 -03:00
Alin Jerpelea
bb54ed4227
author: OffCode Ltd : update licenses to Apache
...
OffCode Ltd has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-13 22:43:36 +08:00
Jiuzhu Dong
6df9d1907c
fs/ioctl: using FIOC_FILEPATH instead of FIOC_FILENAME.
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-13 08:56:10 +08:00
Jiuzhu Dong
dfb4b6e3d8
lib_vsprintf: Add %pV format support
...
test case:
void test(const char *fmt, ...)
{
struct va_format vaf;
va_list ap;
va_start(ap, fmt);
vaf.fmt = fmt;
vaf.va = ≈
printf("func:%s, %pV, line:%d\n", __func__, &vaf, __LINE__);
va_end(ap);
}
int main(int argc, FAR char *argv[])
{
char str[] = "Hello Boy and Girl!";
int count = 10;
test("%s %d", str, count);
return 0;
}
>> test
func:test, Hello Boy and Girl! 10, line:49
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 21:14:46 +08:00
Jiuzhu Dong
2438403f23
libc/rexec/rexec_af: support remote execution
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 21:14:06 +08:00
Jiuzhu Dong
d8ea482b58
errno: use staic errno to replace tl_errno before tls initialization
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:48:31 +08:00
Jiuzhu Dong
c9c284089f
debug: allow customize EXTRA_FMT
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:33:20 +08:00
Abdelatif Guettouche
083272ad92
spinlock.h: In single CPU case force the lock passed to
...
spin_lock_irqsave to be unused in the macro to avoid spreading
UNUSED() or void throughout the code base.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-11 23:24:32 +09:00
daviepeng
3b5914f57b
add support for power management ic axp202
2021-09-07 13:42:54 +08:00
Jukka Laitinen
1b75b5d5aa
Fix compilation of arm protected build
...
Correct typos in include/nuttx/arch.h and suppress
"'noreturn' function does return" warning coming from arm_pthread_exit.c
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-09-07 00:31:47 +08:00
liushuai25
0368cbdf7c
modify comments
...
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
2021-09-07 00:31:33 +08:00
Alin Jerpelea
df088c39f0
author: Anthony Merlino : update licenses to Apache
...
Verge Aero has submitted the SGA
Anthony Merlino has submitted the SGA
Gregory Nutt has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-06 20:38:14 +08:00
Alin Jerpelea
a20d4ac4ec
author: Aleksandr Vyhovanec: update licenses to Apache
...
Aleksandr Vyhovanec has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-03 17:38:33 +08:00
Alin Jerpelea
7f0aefa632
include: nxstyle fixes
...
fixes for nxstyle warnings reported by the nexstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
110632293c
LICENSE: revert to the original license from Atmel Corporation
...
revert to the original license from Atmel Corporation and add the files to
the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Gustavo Henrique Nihei
a6e9be88c4
nuttx: Add function attribute for inhibiting stack protector
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 23:11:03 +08:00
Alin Jerpelea
151f6eab3c
author: Anton D. Kachalov: update licenses to Apache
...
Anton D. Kachalov has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-01 21:02:34 +08:00
Gustavo Henrique Nihei
558b772146
include/threads: Fix pthread_mutexattr_t initialization on mtx_init
...
pthread_attr_init was being erroneously called for initializing an
instance of pthread_mutexattr_t.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00
Gustavo Henrique Nihei
270e9196c6
include/threads: Prevent operator precedence issues
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00
Gustavo Henrique Nihei
b628d92e63
include/threads: Fix incompatible pointer type on call to pthread_join
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00