Nathan Hartman
835d394856
tiva: tiva_timerlow32.c: Fix nxstyle warnings
...
arch/arm/src/tiva/common/tiva_timerlow32.c:
* Fix nxstyle warnings. No functional changes.
2020-09-08 23:38:09 +08:00
Bhindhiya
0a2c7f7ac5
RX65N RTC Pre-check Warnings Resolved
2020-09-08 14:54:49 +08:00
Masayuki Ishikawa
35b2e7c431
boards: spresense: Fix build error for wifi_smp
...
Summary:
- Fix build error introduced by PR1520
Impact:
- Affects spresense:wifi_smp only
Testing:
- Build check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-07 14:32:05 +08:00
Xiang Xiao
952af92690
sched/note: Move the circle buffer code to driver
...
so the format code can be shared by different transport
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Xiang Xiao
f99719e260
Move note driver from drivers/syslog to drivers/note
...
it's better to put the note transport layer into a common folder
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Nathan Hartman
dc4c4102c3
b-g474e-dpow1: Add support for FLASH bootloader
...
boards/arm/stm32/b-g474e-dpow1/scripts/ld.script.dfu:
* New file. Reserve up to 24KiB at the start of FLASH for a
bootloader.
boards/arm/stm32/b-g474e-dpow1/scripts/Make.defs:
* When building with CONFIG_STM32_DFU, use the new ld.script.dfu
to leave room in FLASH for a bootloader.
boards/arm/stm32/b-g474e-dpow1/README.txt:
* "FLASH Bootloader Support": New section.
2020-09-07 11:41:46 +08:00
Adam Feuer
d788b2e16c
fix bugs in quickstart docs
...
- change Gnu to GNU
- fix formatting and link fixes
- add menuconfig screenshot
- replaced config file edits with kconfig-tweak
- fix section numbering
- removed leftover todo in quickstart/index.rst
- rewrote debugging section to use menuconfig
2020-09-06 22:28:32 +01:00
Matias N
44cee3f211
documentation: split device drivers sections into individual documents
2020-09-06 10:58:12 -03:00
Brennan Ashton
7549e2e9de
CI: Enable ccache for Linux and MacOS builds
2020-09-06 11:10:21 +08:00
Johannes Schock
515ad1c388
Added KDEFINE (__KERNEL__) to EXTRAFLAGS for libboard, for other architectures.
2020-09-05 21:25:31 +08:00
Johannes Schock
77b32a721d
Removed -w option from MKEXPORT_ARGS.
2020-09-05 21:25:31 +08:00
Johannes Schock
9e69b87aa3
Added KDEFINE (__KERNEL__) to EXTRAFLAGS for libboard.
2020-09-05 21:25:31 +08:00
Sebastian Ene
18b47f9663
arch/sim: Add the pthread_cond_* API to the nuttx-names.in list
...
## Summary of changes
The pthread_cond_* API is also present as part of libfs.a and we want
to avoid colisions and link with the correct implementation.
Signed-off-by: Sebastian Ene <nuttx@fitbit.com>
2020-09-05 16:41:54 +08:00
Sebastian Ene
5beb32bf0b
arch/sim: Use pthread_cond for signalling CPU initialisation done
...
## Summary of changes
On OSX with CONFIG_SMP=y the semaphore which notifies that the CPU is
initialised, is not created and the up_cpu_start() returns with error
from sem_init(). This patch fixes the problem by using pthread_cond_t
signalling mechanism which is supported on Mac.
Signed-off-by: Sebastian Ene <nuttx@fitbit.com>
2020-09-05 16:41:54 +08:00
David Sidrane
719246eddc
stm32h7:i2c driver fixed iterrupt storm
...
Driver was getting into a state that it would keep
generating interrups and not service them.
2020-09-05 16:41:01 +08:00
Nathan Hartman
e67f72b02d
stm32: lowputc: Ensure USART is disabled before configuring
...
arch/arm/src/stm32/stm32_lowputc.c:
* stm32_lowsetup(): Ensure the USART is disabled before attempting
to configure it because some register bits cannot be modified
otherwise. This solves an issue that was encountered when a
serial bootloader did not perform a full teardown/cleanup before
launching NuttX.
2020-09-04 17:39:19 -07:00
Adam Feuer
b88038a1e1
add quickstart docs from NuttX Companion
...
- with suggested edits from PR feedback
2020-09-04 20:03:49 -03:00
Adam Feuer
ce604692db
deleted section on copying driver code
...
- changed to "use for inspiration only"
2020-09-04 20:02:30 -03:00
Adam Feuer
7632b4d716
formatting fixes
2020-09-04 20:02:30 -03:00
Adam Feuer
8cd8adb5d9
removed alternative rename and merge flow
2020-09-04 20:02:30 -03:00
Adam Feuer
c1eb911814
removed text about interactive rebase
2020-09-04 20:02:30 -03:00
Adam Feuer
dcf32363c2
fixed copy-paste error in sim
2020-09-04 20:02:30 -03:00
Adam Feuer
5ec5a99631
heading level fix
2020-09-04 20:02:30 -03:00
Adam Feuer
341f496226
PR feedback changes
2020-09-04 20:02:30 -03:00
Adam Feuer
d3414178ae
added docs for rebase flow
2020-09-04 20:02:30 -03:00
Adam Feuer
b85fcd7566
PR feedback changes
2020-09-04 20:02:30 -03:00
Adam Feuer
56b89a89f2
add sim and drivers guides, contributing workflow
2020-09-04 20:02:30 -03:00
Ouss4
41f432eb18
boards/xtensa/esp32/esp32-core: Add support for an MMCSD card over SPI.
2020-09-04 17:43:51 -03:00
Ouss4
3560e16ac7
arch/xtensa/src/esp32/esp32_spi.c: When the TX buffer is empty send
...
something to kick off the SPI clock.
2020-09-04 17:43:51 -03:00
Xiang Xiao
8e8f41faeb
drivers/timer: auto select the related option in Kconfig
...
to avoid the user make the wrong combination in defconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-04 16:16:51 -03:00
Bhindhiya
d7aec84dbe
Resolve build warnings in file mld_group.c
2020-09-04 21:16:00 +08:00
Brennan Ashton
6d3269a69d
CI: Fix check patch to handle renames / deletes
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 20:05:57 -03:00
Xiang Xiao
5107104bbe
arch/sim: Model host signal as NuttX's interrupt
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-03 10:20:50 +08:00
Sebastian Ene
5db11a275e
arch/sim: Mask and restore the host signal in irq_save and irq_restore
...
to avoid the host signal process interrupt the execution of NuttX critical section
Signed-off-by: Sebastian Ene <nuttx@fitbit.com>
2020-09-03 10:20:50 +08:00
Masayuki Ishikawa
08c4376606
arch, include, sched : Refactor ARCH_GLOBAL_IRQDISABLE related code
...
Summary:
- ARCH_GLOBAL_IRQDISABLE was initially introduced for LC823450 SMP
- At that time, i.MX6 (quad Cortex-A9) did not use this config
- However, this option is now used for all CPUs which support SMP
- So it's good timing for refactoring the code
Impact:
- Should have no impact because the logic is the same for SMP
Testing:
- Tested with board: spresense:smp, spresense:wifi_smp
- Tested with qemu: esp32-core:smp, maix-bit:smp, sabre-6quad:smp
- Build only: lc823450-xgevk:rndis, sam4cmp-db:nsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-03 10:20:20 +08:00
Brennan Ashton
74aec1c424
CI: Move fetch of tags back to source stage now that cache is faster
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 10:10:41 +08:00
Ouss4
7c83c63d8e
tools/configure.sh: Add -L option to list all available
...
configurations.
Mention this option when Make is run on an unconfiugred project.
2020-09-02 17:19:34 -07:00
Matias N
2120eed84f
documentation: fix build warning
2020-09-02 13:16:24 -07:00
Brennan Ashton
572be4d74d
Docs: Clean up installation requirements and only support pipenv
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-02 17:12:32 -03:00
Bhindhiya
144044aa0a
Resolve build warnings in up_initialize.c
2020-09-03 01:33:38 +08:00
Bhindhiya
7338151136
Resolve build warnings in file up_internal.h
2020-09-03 01:33:38 +08:00
Ouss4
953f46426e
INVIOLABLES.md: Fix a simple alignment and change occurrences of Nuttx
...
to NuttX.
2020-09-03 01:33:05 +08:00
Matias N
9b08cf945f
documentation: address various duplicate declarations
2020-09-02 16:00:08 +08:00
Xiang Xiao
76c2ede936
arch/sim: Fix macOS error: 'sem_init' is deprecated
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-02 12:37:34 +09:00
Xiang Xiao
406c6ae4dd
arch/sim: Fix clang error: address argument to atomic operation must be a pointer to _Atomic type
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-02 12:37:34 +09:00
Xiang Xiao
165e55f92c
board/sim: Add a new config for SMP
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-02 12:37:34 +09:00
Ouss4
062ac73644
baords/arm/stm32/olimex-stm32-p407: Add hooks to configure UEXT USART3
2020-09-01 18:19:31 -03:00
Ouss4
c98ec2ad3e
drivers/sensors/mpu60x0.c: Correct comments.
2020-09-01 18:18:24 -03:00
Johannes Schock
a5a3e54be0
Kinetis USBHSHOST: Changed Async Await to linked list, restored two accidently deleted lines.
2020-09-01 20:49:03 +01:00
Johannes Schock
e521c224c1
Kinetis USBHSHOST improvement.
...
Avoid race conditions during freeing of queue head structures by using Async Advance Doorbell.
2020-09-01 20:49:03 +01:00