simbit18
ccc0c54401
Fix Kconfig style
...
Remove extra TABs
Remove spaces from Kconfig
Add comments
2023-12-04 22:20:50 +08:00
Rodrigo Sim
ce4c70690f
stm32f401rc-rs485: Add eeprom support
2023-12-04 00:34:14 -08:00
chao an
4540dd4718
stm32/clang: enable LIBM avoid build break on clang-17
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-11-29 03:58:05 -08:00
Takumi Ando
e11627d0fb
boards: Use MS56XX instead of MS5611
...
Signed-off-by: Takumi Ando <t-ando@advaly.co.jp>
2023-11-28 16:48:50 -03:00
Rodrigo Sim
89ddb2f709
stm32f401rc-rs485: Add sdcard support
2023-11-25 23:16:44 -08:00
guotong ma
6c25d2a2f5
fix f401rc flash size.
2023-11-23 08:15:06 -08:00
hujun5
1a65f5ed88
sched_lock refine: remove sched_[un]lock in xxx_waitsample
...
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-11-21 20:03:43 -08:00
Xiang Xiao
eddd90de78
poll: pollsetup should notify only one fd passd by caller
...
since it's redundant to iterate the whole fds array in setup
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-11-21 09:07:17 +01:00
Rodrigo Sim
a3e3e0b1ec
stm32f401rc-rs485: Add buttons support
2023-11-18 17:07:32 -08:00
raiden00pl
014029c649
boards: add support for ODrive V3.6 board
2023-11-18 17:07:20 -08:00
raiden00pl
c0ffcca0e8
boards: remove obsolete CONFIG_EXAMPLES_FOC_IPHASE_ADC option
2023-11-15 03:43:25 -08:00
raiden00pl
99513ac23e
drivers/foc: return scaling factor for phase currents and BEMF via ioctl
...
These values are board-specific properties that must be known on the application side.
Until now, these values had to be hardcoded on the application side.
2023-11-14 04:34:49 -08:00
raiden00pl
7d99f01cf7
drivers/foc: get hardware information via lower-half interface
2023-11-14 04:34:49 -08:00
Rodrigo Sim
66ccaed5ce
stm32f4/stm32f401rc-rs485: add support to userleds
2023-11-12 16:58:31 -08:00
raiden00pl
ede4b6b0ab
boards/b-g431b-esc1: rework board to not use CONFIG_STM32_USE_LEGACY_PINMAP=y
2023-11-03 22:25:46 +08:00
yinshengkai
d0a5489ac5
sched: explicitly select the cpuload clock source configuration
...
Different configurations require different dependencies.
Explicitly select dependencies to avoid automatically selecting inappropriate configurations.
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-11-01 09:27:56 +08:00
chenrun1
de17f43481
boards:Modify test "ramtest" path
...
Based on the PR#2161 change, we need to modify the macro switch in most boards to configure ramtest.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-10-26 13:17:35 +02:00
simbit18
37729540c0
Fix Kconfig style
...
Remove spaces from Kconfig
Add comments
2023-10-26 01:53:58 +08:00
chao an
3cadf6642a
kernel: replace all usleep to nxsig_usleep in kernel space
...
syscall cannot be called from kernel space
Signed-off-by: chao an <anchao@xiaomi.com>
2023-10-25 15:46:03 +08:00
Alan Carvalho de Assis
95800a7f54
boards: Rename shiftgame to brickmatch
...
This patch will rename the shiftgame to brickmatch and will add
support to initialize brickmatch automatically on esp32-devkitc.
2023-10-24 13:54:32 +08:00
Rodrigo Sim
21ba49408c
boards/stm32: add support to STM32F401RC-RS485 board
...
The STM32F401RC-RS485 is a board with RS485 support, SD Card, buttons,
leds, temperature sensor, adc and etc.
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2023-10-23 14:28:27 +08:00
Alan Carvalho de Assis
444b6d9635
boards: Update all boards that were using CONFIG_NET_LL_GUARDSIZE=50
2023-10-16 08:55:21 +08:00
Hank Wu
f144169f44
Initialize led driver during bringup for nucleo-f446re board.
2023-10-01 19:33:55 +08:00
ThomasNS
a2c806027f
fix led panic feature
2023-09-21 00:35:12 +08:00
Daniel Appiagyei
5bfda12634
c++ compatibility: rename reserved c++ keywords 'public' and 'this'
2023-09-16 19:45:02 +08:00
ThomasNS
109247e723
add buttons to stm32f411e-diso
2023-09-09 00:18:56 +08:00
trns1997
153137a258
Add userleds and autoleds to the stm32f411e-disco board
2023-09-08 01:30:54 +08:00
zhangyuan21
0efd4d0e12
usbdev: Split usbdev descriptor information
...
The class device only handles descriptor information specific to the class,
and shared descriptor information is passed through parameters and
handled by the composite driver.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-09-06 02:29:32 +08:00
Alan Carvalho de Assis
c27c33e9a9
Run refresh.sh to update all board configs
2023-09-02 14:45:44 +08:00
chao an
664927c86e
mm/alloc: remove all unnecessary cast for alloc
...
Fix the minor style issue and remove unnecessary cast
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-30 14:34:20 +08:00
cuiziwei
4ec7af779d
nuttx/boards:init_array.* needs to be executed in order
...
When I try to set priorities in certain programs, such as init_priority(HIGH_PRIORITY), I've noticed that during linking, there's no guarantee that the programs will be compiled in the sequence I've specified based on priority. This has led to some runtime errors in my program.
I realized that in the ld file, when initializing dynamic arrays, there's no assurance of initializing init_array.* before init_array. This has resulted in runtime errors in the program. Consequently, I've rearranged the init_array.* in the ld file of NuttX to be placed before init_array and added a SORT operation to init_array.* to ensure accurate initialization based on priorities during linking.
2023-08-29 22:54:37 +08:00
chao an
b60f01a55b
inode/i_private: remove all unnecessary cast for i_private
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-29 08:58:07 +02:00
chao an
7aa45305b7
fs/inode: remove all unnecessary check for filep/inode
...
Since VFS layer already contains sanity checks, so remove unnecessary lower half checks
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-29 09:47:11 +08:00
raiden00pl
9117cf44e1
Documentation: migrate STM32F1
2023-08-25 00:11:05 +08:00
raiden00pl
00db279c00
Documentation: migrate STM32F4
2023-08-24 12:07:40 -03:00
raiden00pl
87b028c227
Documentation: migrate STM32F3
2023-08-23 23:38:16 +08:00
raiden00pl
2b6f8ede4b
Documentation: migrate STM32L1
2023-08-23 23:29:50 +08:00
raiden00pl
d3b727eec3
Documentation: migrate STM32F2
2023-08-23 23:29:08 +08:00
raiden00pl
a630f9f210
Documentation: migrate STM32G4
2023-08-23 23:22:41 +08:00
wanggang26
92eeaa4277
enable CONFIG_BOARDCTL for ofloader
...
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2023-08-13 11:43:43 -03:00
Xiang Xiao
6b4e5c0d15
binfmt: Change the default of BINFMT_DISABLE to DEFAULT_SMALL
...
to optimize the image size when and DEFAULT_SMALL is enabled
and refresh the defconfig in boards/
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-10 11:35:41 +03:00
anjiahao
3a808bab19
support stm32f429i-disco run open flash loader
...
We can use the driver in nuttx to download
files with debugger
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-05 12:40:02 -07:00
cuiziwei
25eb09c3bb
nuttx/boards:add KEEP to *(.init_array .init_array.*)
...
replace *(.init_array .init_array.*) with KEEP(*(.init_array .init_array.*)).
The KEEP statement within a linker script will instruct the linker to keep the specified section, even if no symbols inside it are referenced. This statement is used within the SECTIONS section of the linker script. This becomes relevant when garbage collection is performed at link time, enabled by passing the --gc-sections switch to the linker. The KEEP statement instructs the linker to use the specified section as a root node when creating a dependency graph, looking for unused sections. Essentially forcing the section to be marked as used.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-05 05:02:25 -07:00
simbit18
2868e28837
fix incorrect comments
...
stm32_bh1750.c: barometer -> ambient light sensor
xmc4_max6675.c: barometer -> temperature
esp32_max6675.c: barometer -> temperature
esp32s2_max6675.c: barometer -> temperature
2023-08-03 08:04:51 -07:00
raiden00pl
4f83811a09
nucleo-f446re: add systemview configuration
2023-08-02 08:05:37 -07:00
raiden00pl
4aa54e8405
cmake: port more stm32 boards and format already ported stm32 boards
2023-07-25 06:08:54 -07:00
Xiang Xiao
a51be33a41
libc/tls: Change the default value of TLS_NELEM to zero
...
to ensure the default config as small as possible.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-20 08:11:30 +02:00
Xiang Xiao
abfe082a6f
Kconfig: Simplify the conditional default statement
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-16 14:39:20 -03:00
Xiang Xiao
e031a73aef
Kconfig: Change some "default y" to "default !DEFAULT_SMALL"
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-16 14:39:20 -03:00
raiden00pl
cf871b48d8
cmake: convert more stm32 boards
2023-07-14 21:33:53 +08:00