Xiang Xiao
2956b8516b
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 01:45:06 -07:00
Xiang Xiao
eb4121ce38
Change all 'Nuttx' to 'NuttX'
...
Unify the naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 01:45:06 -07:00
Philippe Coval
bc14716d03
freedom-k64f: Regenerate demo/defconfig
...
With default settings,
it has been verified using:
./tools/refresh.sh --silent freedom-k64f/demo
Change-Id: I3cb96b82a392ac169d7887f5afda37a8b5daf992
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Forwarded: https://github.com/apache/incubator-nuttx/pull/2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-19 21:19:00 -07:00
Philippe Coval
bce251a791
freedom-k64f: Add demo configuration
...
Minimal configuration.
Each feature will added one after one
to track configuration flags.
Change-Id: Iab8aff1d489a518b6050ecba0f0b950a8b27745b
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Forwarded: https://github.com/apache/incubator-nuttx/pull/2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-19 21:19:00 -07:00
Philippe Coval
80be4a5d3c
freedom-k64f: Fix k64_buttons.c
...
Change-Id: I0c9f8903513fdbce05e9dc03a3b6c772f6920002
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 19:23:56 -04:00
Xiang Xiao
a49a3eae51
tools: Remove the special handle for Ubuntu under Windows 10
...
since the Native Linux support could be reused for this case:
https://lists.apache.org/thread.html/r315682ed20bbeb2f1403cf592f892ef009274423189ffc5b3841a6a9%40%3Cdev.nuttx.apache.org%3E
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:48:19 -07:00
Philippe Coval
54bb98232e
freedom-k64f: Lint freedom-k64f.h
...
Change-Id: I29e2ae0c003353840b79e8b190871a6b08afc86a
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 21:06:05 +08:00
Philippe Coval
08c1e4aadc
freedom-k64f: Declare k64_i2cdev_initialize function
...
This will suppress a warning.
For some reason if declared weak,
it's not properly resolved at runtime,
this will need more investigations, any clues ?
Change-Id: I3cc3b7d145c7b32db20f5f2cbf4314ac20dba588
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 21:06:05 +08:00
Gregory Nutt
d5be1acf06
Revert PR #2009
...
We cannot accept any new files into the repository that do not have Apache 2.0 license headers.
This reverts commit 00eccfd4fa
.
2020-10-17 21:43:19 -07:00
Michal Lenc
b5e9961036
Fix nxstyle errors and warnings
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-10-17 19:38:42 -03:00
Michal Lenc
1f323fe6be
imxrt1060-evk: Added support for FlexCAN driver
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-10-17 19:38:42 -03:00
chenwen
67c0af650f
xtensa/esp32: Add power management of deep-sleep
2020-10-17 19:38:14 -03:00
Alan C. Assis
fdc44dc6fc
Add PSRAM board config test and update README
2020-10-17 20:02:43 +01:00
Philippe Coval
dfb626a215
freedom-k64f: Register on board sensor driver
...
Change-Id: I4f3ff16fae994250f62537cd0c3021465db1189c
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Last-update: 2020-10-16
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 02:33:51 +08:00
Dong Heng
a0b84ae53e
xtensa/esp32: Add ESP32 WiFi adapter and driver
2020-10-17 22:46:27 +09:00
Daniel P. Carvalho
7284956730
Fix nxstyle errors and warnings
2020-10-17 10:40:50 -03:00
Daniel P. Carvalho
45cefc5a1b
Fix nxstyle.
2020-10-17 10:40:50 -03:00
Daniel P. Carvalho
00eccfd4fa
Added support to STM32L432KC DAC.
2020-10-17 10:40:50 -03:00
Philippe Coval
35fa8bdfca
freedom-k64f: Add I2C initial support
...
It was checked using i2c tool and onboard sensor:
nsh> i2c bus
Bus 0: YES
nsh> i2c dev 1 0x7F
10: -- -- -- -- -- -- -- -- -- -- -- -- -- 1d -- --
nsh> i2c get -a 1d -r 0d
#| READ Bus: 0 Addr: 1d Subaddr: 0d Value: c7
Sensor driver to come next.
Feature should be enabled using:
CONFIG_SYSTEM_I2CTOOL=y
CONFIG_KINETIS_I2C0=y
Change-Id: I4f3ff16fae994250f62537cd0c3021465db1189c
Forwarded: https://github.com/apache/incubator-nuttx/pull/1982/
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-14 15:02:14 -03:00
Philippe Coval
8f9cd8832d
freedom-k64f: Add renew DHCP client for netnsh
...
Also enable ifup, use USB console and create raw image.
Windows is not mandatory, I use linux as host
so defconfig can rely on defaults.
Change-Id: Ic0e5f79f28facb6eff1d9831bcb31e1ff329a5aa
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-14 07:31:09 +02:00
Philippe Coval
fff15f1b93
freedom-k64f: Support raw binary firmware format
...
Then it can easly deployed using USB masstorage
(same as on embed)
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Change-Id: I62381d3f571fbc6e4716fa01d6974954f9193075
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-13 15:30:50 +08:00
Philippe Coval
b76b3b6f3d
freedom-k64f: Include kinetis.h for resources macros
...
Change-Id: I37560525678b820668abcb6e4aae93b978797066
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval rzr@users.sf.net
2020-10-13 02:34:51 +08:00
Philippe Coval
cabaa10428
freedom-k64f: Init PWM only if enabled
...
Aligned to k28f.
Change-Id: I1b384ee69dd1b87268545ef6343acc63f29b2ae6
Forwarded: https://github.com/apache/incubator-nuttx/pull/1969
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-13 01:52:40 +08:00
Philippe Coval
a377c742a6
freedom-k64f: Lint code for checkpatch
...
Change-Id: Ie44b199af21e7a483c5b07539db9537e8bcb9b51
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-13 00:39:44 +08:00
Philippe Coval
0081b75d20
freedom-k64f: Declare missing NUM_BUTTONS
...
Change-Id: I99429d0e6d8bccc18358465eb192e739bf82881a
Forwarded: https://github.com/apache/incubator-nuttx/pull/1968
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-13 00:39:44 +08:00
Philippe Coval
718d928342
freedom-k64f: Close statement with semicolon in board_buttons
...
More changes to come
Change-Id: Ie60fd97083c4bc1b5b631d2e812b93bff304760a
Forwarded: https://github.com/apache/incubator-nuttx/pull/1967
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-13 00:18:40 +08:00
Masayuki Ishikawa
7be1739b41
boards: spresense: Add graphics demos to wifi and wifi_smp
...
Summary:
- This commit enables LCD for spresense and adds graphics demos
Impact:
- Affects wifi and wifi_smp configurations
Testing:
- Tested with nx, nxdemo, nxhello and nxlines
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-12 09:37:29 +02:00
Masayuki Ishikawa
b592228cea
boards: spresense: Add CONFIG_ARCH_INTERRUPTSTACK=2048 to wifi and wifi_smp
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-12 09:37:29 +02:00
raiden00pl
650997e1f6
Fix nxstyle warnings
2020-10-10 12:24:28 -06:00
raiden00pl
17255414b5
stm32: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
29541e59e0
stm32h7: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
33901969fe
Fix nxstyle warnings
2020-10-10 12:24:28 -06:00
raiden00pl
25c58f2a32
stm32f0l0g0: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
478de48bc7
nrf52: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
Masayuki Ishikawa
cb6dd70082
boards: cxd56xx: Fix a deadlock in cxd56_gs2200m.c
...
Summary:
- During streaming test, I noticed a dealock when controlling IRQ
- Actually, it will send an IPI when the cpu index is not 0
- However, up_cpu_pause() also sends IPI with critical section
- So the IRQ control must follow the same rule
Impact:
- Affects SMP only
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-08 09:02:17 +02:00
Sara Souza
0faf861256
xtensa/esp32: Added Timer Support
2020-10-07 14:12:22 -03:00
Abdelatif Guettouche
caa945cb24
arch/xtensa/src/esp32: Add a way to retrieve reset cause.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:51:47 -03:00
Abdelatif Guettouche
c20c8c6dd5
arch/xtensa/esp32: Implement system reset.
...
Both CPUs are soft-reset with a call to board_reset. This is actually a
Core Reset, so both cores and all registers are reset. The only
exception is RTC.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:51:47 -03:00
Nathan Hartman
80ce7800a9
Sources and Docs: Fix typos and nxstyle issues
...
Documentation/contributing/coding_style.rst:
* Fix repeated words: ("this this").
* Remove trailing spaces.
boards/z80/z80/z80sim/README.txt:
* Fix repeated words: ("this this") and rewrap lines.
graphics/Kconfig,
libs/libc/math/Kconfig:
* Fix repeated words: ("this this").
arch/arm/src/armv7-a/arm_assert.c,
arch/arm/src/armv7-r/arm_assert.c,
arch/arm/src/imxrt/imxrt_enet.c,
arch/arm/src/kinetis/kinetis_enet.c,
arch/arm/src/kinetis/kinetis_flexcan.c,
arch/arm/src/s32k1xx/s32k1xx_enet.c,
arch/arm/src/s32k1xx/s32k1xx_flexcan.c,
arch/arm/src/stm32/stm32_pwm.c,
arch/arm/src/stm32h7/stm32_pwm.c,
arch/arm/src/stm32l4/stm32l4_pwm.c,
arch/renesas/src/rx65n/rx65n_usbdev.c,
binfmt/libnxflat/libnxflat_bind.c,
drivers/pipes/pipe_common.c,
net/igmp/igmp_input.c,
net/tcp/tcp_conn.c,
sched/sched/sched_roundrobin.c:
* Fix typo in comment ("this this").
arch/arm/src/cxd56xx/cxd56_usbdev.c,
arch/arm/src/lc823450/lc823450_usbdev.c:
* Fix typo in comment and rewrap lines.
arch/arm/src/imxrt/imxrt_usbdev.c,
arch/arm/src/stm32/stm32_dac.c,
arch/arm/src/stm32f0l0g0/stm32_pwm.c,
arch/arm/src/stm32f7/stm32_pwm.c,
arch/arm/src/tiva/lm/lm4f_gpio.h,
fs/nxffs/nxffs_write.c,
include/nuttx/analog/pga11x.h,
include/nuttx/usb/usbdev.h,
net/mld/mld_join.c:
* Fix typo in comment ("this this").
* Fix nxstyle issues.
2020-10-02 04:54:52 +02:00
Masayuki Ishikawa
8d1dc11a36
boards: spresense: Add CONFIG_USERMAIN_STACKSIZE=3072 to wifi/defconfig
...
Summary:
- I noticed that stack for the init task was filled almost 100%
- This commit fixes this issue
Impact:
- Affects spresense:wifi configuration only
Testing:
- Tested with renew/mount/wget/nxplayer commands
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-01 08:45:48 +02:00
Bhindhiya
cdd111a1fa
Update to avoid divide by zero issue for RX65N
2020-09-29 21:40:04 +01:00
Bhindhiya
9369ce6488
Add RX65N SPI (RSPI) driver support
2020-09-29 09:09:55 -03:00
David Sidrane
0e98dc306b
risc-v:k210: Add KEEP on init_section
2020-09-29 10:26:59 +08:00
David Sidrane
02ffe7da32
mor1kx:or1k Add KEEP on init_section
2020-09-29 10:26:59 +08:00
David Sidrane
c720f221c2
s32k1xx:boards Add KEEP on init_section
2020-09-29 10:26:59 +08:00
David Sidrane
06d1ea1a67
imxrt:imxrt10x0-evk Add KEEP on init_section
2020-09-29 10:26:59 +08:00
Bhindhiya
9707f39ff7
RX65N DTC Driver Support Added
2020-09-26 11:45:15 -03:00
Sebastian Ene
c47ad0c909
arch/sim: Add host timer to oneshot timer logic
...
## Summary of Changes
Add a host timer that generates periodic signals and sends SIGALRM to
the process that runs the NuttX simulation. This logic is integrated as
part of the existing NuttX oneshot timer. The host timer installs an
irq handler which is expected to run every CONFIG_USEC_PER_TICK .
Signed-off-by: Sebastian Ene <nuttx@fitbit.com>
2020-09-25 17:36:16 -03:00
anjana
c6b51771f0
USB Device Mode Driver Support for RX65N
2020-09-25 09:06:59 -03:00
Thomas Axelsson
d67bc0c3c8
imxrt: ADC driver
...
Based on LPC17xx_40xx and STM32 drivers.
2020-09-23 13:16:33 -03:00