chao.an
2246afcdd8
arch/armv7-m: Unify the toolchain definition of eabi/clang/iar for linux and windows
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-19 23:17:27 +08:00
raiden00pl
7403678db7
boards/nucleo-f446re: initialize up_perf
2022-04-02 10:34:35 -03:00
Gustavo Henrique Nihei
e1f28c19c2
arch/arm: Make CXX exception and RTTI depend on Kconfig options
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Xiang Xiao
54e630e14d
arch: Merge up_arch.h into up_internal.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-14 09:32:17 +02:00
Petro Karashchenko
dab5bb6bd3
boards/Kconfig: introduce ARCH_BOARD_COMMON option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-11 16:00:00 +08:00
Xiang Xiao
ee931c137f
boards: Remove -fno-builtin
...
it's more efficent to generate the machine code directly if possible
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
54b886ca0d
boards: Add -fno-common to ARCHCFLAGS and ARCHCXXFLAGS
...
since elf loader can't handle SHN_COMMON
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 22:00:32 +08:00
Alan Rosenthal
8defb843aa
Remove duplicate linker script definitions
...
## Summary
A lot of linker scripts were listed twice, once for unix, once for windows.
This PR cleans up the logic so they're only listed once.
## Impact
Any opportunity to use a single source of truth and reduce lines of code is a win!
## Testing
CI will test all build
2022-02-17 02:55:25 +08:00
Xiang Xiao
0499979908
sched: Disable pthread by default when DEFAULT_SMALL is enabled
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-07 12:04:03 +08:00
raiden00pl
bc178344a9
net/can: add an option to control CAN EXTID support
2022-02-06 17:09:11 +08:00
Xiang Xiao
a9d7a776c4
sched: Remove SDCLONE_DISABLE option and config
...
since the related code was removed by:
commit 4d5a964f29
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Tue Feb 23 18:04:13 2021 +0800
net: unify socket into file descriptor
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-31 19:03:20 +01:00
Xiang Xiao
8bcdefafc9
board: Remove -fno-strength-reduce
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-19 00:14:03 +01:00
raiden00pl
2aede9168b
boards/nucleo-f446re: add SocketCAN example
2022-01-15 12:51:55 -03:00
raiden00pl
a983cd2377
boards/stm32: register CAN character device if configured
2022-01-05 06:16:41 -08:00
raiden00pl
474205e1be
boards/nucleo-f446re: add procfs support
2022-01-05 18:31:44 +08:00
chao.an
cbd82f1c1b
compile/flags: remove redundant -fomit-frame-pointer from board flags
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-27 22:31:27 -06:00
ligd
412d030149
boards: move USERMAIN_XX out of INIT_ENTRYPOINT
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-12-24 08:23:30 -06:00
Huang Qi
58e0781e2e
arch/arm: Implement TLS support
...
Signed-off-by: Huang Qi <no1wudi@qq.com>
2021-12-07 23:31:41 -06:00
Xiang Xiao
0aeb132d15
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:16:35 +01:00
Xiang Xiao
1f371581c8
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 13:09:40 +01:00
raiden00pl
99b7ae5207
boards/stm32: Normalize FOC related project
2021-10-31 08:22:49 -05:00
raiden00pl
d862cbd7c8
boards: rename CONFIG_EXAMPLES_FOC_VEL_ADC to CONFIG_EXAMPLES_FOC_SETPOINT_ADC for all example/foc configurations
2021-10-30 13:50:40 -05:00
Alan C. Assis
099e9fb4f7
boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS
2021-09-13 08:58:25 +08:00
YAMAMOTO Takashi
58bdcbab9b
Revert "Make: use gcc as LD"
...
This reverts commit 45672c269d
.
Because:
* It's very confusing to have cc as LD.
* I don't see what "-nostartfiles -nodefaultlibs" in LDFLAGS are
supposed to do when we use LD directly. It would be simpler to
remove them from our LDFLAGS.
2021-09-08 09:40:48 +08:00
raiden00pl
06cf12617c
nucleo-f446re: add 3-phase Hall effect sensor support
2021-08-19 08:19:38 -07:00
Alin Jerpelea
c481a5b7ac
boards: stm32: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
raiden00pl
f0b377f434
nucleo-f446re: add qenco example configuration
2021-08-11 09:30:12 -03:00
Xiang Xiao
b12f588140
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
Jiuzhu Dong
85470176e7
sched/task: delete CONFIG_MAX_TASKS limit
...
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Michal Lenc
b83769feb7
boards/arm/stm32/nucleo-f446re: added support for DAC driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-18 00:49:15 -05:00
Alexander Vasiljev
45672c269d
Make: use gcc as LD
2021-06-10 03:43:18 -07:00
Michal Lenc
02d42e4f03
boards/arm/stm32/nucleo-f446re: added support for GPIO driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-09 11:54:02 -05:00
Xiang Xiao
5b2a17b892
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
Michal Lenc
dd8420431a
boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config name
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-06 22:48:49 +01:00
Michal Lenc
2dcd41f2ab
boards/arm/stm32/nucleo-f446re: added support for PWM
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-05-01 15:18:24 -03:00
raiden00pl
5eadd8b3a9
nucleo-f446re: add ADC example
2021-04-10 15:48:06 -05:00
raiden00pl
155770b1e7
nucleo-f446re: fix compilation error when ADC is enabled and FOC is disabled
2021-04-10 15:48:06 -05:00
raiden00pl
2b309349fe
nucleo-f446re: add FOC example based on IHM08M1 expansion board
2021-04-10 08:19:14 -07:00
Michal Lenc
4b8df9f835
boards/arm/stm32/nucleo-f446re: added support for ili9225 display
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-04-09 22:41:56 -03:00
Gustavo Henrique Nihei
ada84cacda
drivers/input: Rename AJOYSTICK configs to INPUT_AJOYSTICK
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
2efae6928d
drivers/input: Rename BUTTONS configs to INPUT_BUTTONS
2021-04-08 14:41:22 -03:00
Anthony Merlino
028aca433c
Removes STM32_BOARD_HCLK from all board.h files. It is now unneccessary. Use STM32_HCLK_FREQUENCY instead.
2021-04-06 22:42:06 -05:00
raiden00pl
eced2779b6
boards/nucleo-f446re: register button
2021-03-30 01:15:23 -05:00
Alin Jerpelea
b8175f2841
boards: nxstyle fixes
...
nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Alin Jerpelea
1ad3a22ad5
board: stm32: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Jiuzhu Dong
59eb4fa8d6
fs: delete NFILE_DESCRIPTORS for allocating dynamically
...
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
raiden00pl
8cf752db55
nucleo-f446re: refactor bringup logic for consistency with other boards
2021-03-15 09:12:29 -07:00
raiden00pl
16a0b8ab94
nucleo-f446re: move clock configuration to board.h for consistency with other boards
2021-03-15 09:12:29 -07:00
Michal Lenc
d889350822
boards/arm/stm32/nucleo-f446re: added support for CAN driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-03-14 20:18:27 -03:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00