Xiang Xiao
dd61d3d9f9
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 18:00:40 +01:00
Xiang Xiao
1a95cce1a3
build: Move .config check to the top Makefile
...
remove the workaround to handle the inexistence of .config/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-20 17:57:34 +01:00
Xiang Xiao
7faf3c0254
build: replace ${TOPDIR} with $(TOPDIR) in Makefile
...
make the usage consistence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
567962bd62
build: Move the extension definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
8b42ee421a
build: Move MKDEP definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
9ec9431706
build: Move DIRLINK/DIRUNLINK definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
5eae32577e
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Xiang Xiao
bd656888f2
build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig
...
so the correct value can be determinated by Kconfig system automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Nathan Hartman
8d985819b3
Fix typos
...
Comments only. No functional changes.
2020-05-14 10:49:44 -06:00
Matias Nitsche
4fdf2520e6
stm32: move qencoder initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
cf1ff36e0e
stm32: move zerocross sensor initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
562210a9bd
stm32: move APDS9960 initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
beba7a8f0b
stm32: move HCSR04 initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
382ccf7b79
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
64987db9e1
stm32: use macros from board.h to pass configuration to common board logic, not structs
2020-05-14 08:32:48 +02:00
Matias Nitsche
944ed5ae0a
stm32: move NRF24L01 support into common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
7c7836d1d7
stm32: move lm75 handling into common board logic; delete unused lm75 file for stm3210e-eval
2020-05-14 08:32:48 +02:00
Matias Nitsche
35471e33dc
stm32: move ssd1306 and tone driver handling to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
717fa46a53
stm32: move nunchuck driver to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
d444df59af
stm32: move APA102, VEML6070 and MAX6675 initialization to board common logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
cf8206a0cb
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
edafeccc9f
stm32: make BMP180 initialization part of stm32 board-common logic
2020-05-14 08:32:48 +02:00
Gregory Nutt
801b9d6e5f
arch/arm: Remove support for old redundant toolchains.
...
Remove support for the Codesourcery, Atollic, DevKitArm, Raisonance, and CodeRed toolchains. Not only are these tools old and no longer used but they are all equivalent to standard ARM EABI toolchains. Retaining specific support has no effect (they are still supported, but now just as generic EABI toolchains).
2020-05-13 18:41:10 +01:00
Pierre-Olivier Vauboin
1ef0fe36c4
stm32f103-minimum/src/stm32_tone: fix style issues
2020-05-05 10:30:44 -06:00
Pierre-Olivier Vauboin
c11325d061
stm32f103-minimum/src/stm32_tone: remove unnecessary call to tone start()
...
The "info" structure was used non initialized and causing bad sounds at
boot. The start() function is anyway called later on when actually playing
sounds.
2020-05-05 10:30:44 -06:00
Gregory Nutt
037c9ea0a4
arch/arm: Rename all up_*.h files to arm_*.h
...
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private files begin with the name of the architecture, not up_.
This PR addresses only these name changes for the up_*.h files. There are only three, but almost 1680 files that include them:
up_arch.h
up_internal.h
up_vfork.h
The only change to the files is from including up_arch.h to arm_arch.h (for example).
The entire job required to be compatible with that Naming Convention will also require changing the naming of the up_() functions that are used only within arch/arm and board/arm.
Impact
There should be not impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
2020-05-01 03:43:44 +01:00
Xiang Xiao
f2d4e1e2b7
Follow up change in apps "nshlib: Rename sh to source"
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:54 -06:00
liuhaitao
459ad99373
Use EXTRAFLAGS instead of EXTRADEFINES to be used by make via command line
...
So call 'make EXTRAFLAGS=-Wno-cpp' could suppress the warnings with pre-processor
directive #warning in GCC.
Change-Id: Iaa618238924c9969bf91db22117b39e6d2fc9bb6
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-11 08:31:08 -06:00
YAMAMOTO Takashi
1ffa009c8b
Revert "Don't generate .depend anymore"
...
This reverts commit 79af7fbf4e
.
Because:
* btashton reported some issues in local builds:
https://github.com/apache/incubator-nuttx/pull/603#issuecomment-602264860
* this might be related to the current CI breakage:
> /bin/sh: 1: /__w/incubator-nuttx/incubator-nuttx/nuttx/tools/mkdeps: not found
2020-03-22 23:07:29 -05:00
Xiang Xiao
79af7fbf4e
Don't generate .depend anymore
2020-03-22 18:15:29 +00:00
Gregory Nutt
f7e11fb2a6
boards/: Remove references to CONFIG_FS_WRITABLE
...
Remove references from defconfig files, README.txt files and a couple of uses in .c files
2020-03-22 08:24:07 -05:00
Alan Carvalho de Assis
0332cddccf
stm32f103-minimum: Remove unnecessary RAMMTD support in W25 initialization
2020-03-04 18:31:08 -06:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
...
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
Xiang Xiao
80277d1630
Refine the preprocessor conditional guard style ( #190 )
2020-01-31 19:07:39 +01:00
Xiang Xiao
68951e8d72
Remove exra whitespace from files ( #189 )
...
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
YAMAMOTO Takashi
83354983c3
Fix "with with" typos
...
In many cases, remove one of them.
In a few places, it looks like a typo of "width" actually.
2020-01-27 08:46:46 +01:00
Alan Carvalho de Assis
05a346214c
Disable MKRD RAMDISK support to save 1KB of memory
2020-01-23 16:46:36 -06:00
Xiang Xiao
540e947c0c
Run ./tools/refresh.sh --silent all
2020-01-22 20:47:18 -06:00
Pieter du Preez
70fbc14103
Removed stray references to MPL115A in stm32_bmp180.c files.
...
The references to MPL115A inside the stm32_bmp180.c files were
probably copy-paste errors. This commit removes them.
2020-01-10 20:04:21 -03:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Minamiya Natsuki
0357115bf9
Merged in MinamiyaNatsuki/nuttx (pull request #1095 )
...
Remove duplicate code from stm32_bringup.c
This code repeated two times by mistake.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-15 12:21:28 +00:00
Alan Carvalho de Assis
3840889b11
boards/arm/stm32/stm32f103-minimum/: Add support to LCD1602 using PCF8574 Backpack board.
2019-12-13 12:10:17 -06:00
Xiang Xiao
3bc62f1ccc
Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:39:12 -06:00
Gregory Nutt
6a0545ec6b
Trivial cleanup from re-review of last patch set.
2019-10-05 14:27:01 -06:00
Gregory Nutt
2925c28f8f
All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces.
2019-09-15 17:22:16 -06:00
Gregory Nutt
0bd60c3722
All linker scripts: Preface all _ebss defininitions with . = ALIGN(4). Otherwise, the last bytes in the .bss section will not be initialized properly. Also convert all linker scripts that use TABs to spaces.
2019-09-15 15:27:58 -06:00
Gregory Nutt
bbbe9d85c5
Move EXIDX assignments inside of braces so that we can be assure that the symbols have the correct alignment. Suggested by Daniel P. Volpato
...
Squashed commit of the following:
Some scripts use TABs, others spaced. Make usage consistent.
Move __exidx_end assignment inside of brackets.
Remove old __exidx_end assignment.
Move __exidx_start assignment inside of brackets.
Remove old __exidx_start assignment
2019-09-12 09:57:50 -06:00
Alan Carvalho de Assis
415e3d3448
Modify all files from 2eb4fe5ffb
to use solution from Daniel P. Volpato.
2019-09-11 21:00:41 -06:00
Augusto Fraga Giachero
68bbc8438c
drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated.
2019-09-02 07:57:10 -06:00