Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Petro Karashchenko
8d3bf05fd2
include: fix double include pre-processor guards
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 11:11:14 -03:00
P.Brier
f6fdc81c2d
Added reset code to allow the teensy to compile with CONFIG_BOARDCTL_RESET and be able to reset the board in code
2021-10-06 10:18:14 -03:00
Michal Lenc
e180f32020
boards/arm/imxrt/teensy-4.x: add option to have CAN3 as can0
...
This commit adds option for Teensy 4.x board to initialize CAN3 as can0.
The reason of this is the CAN FD capability of CAN3. This commit also
disables tickless mode support for pikron-bb configuration as this option
started causing hard faults which are yet to be solved.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-08-31 14:47:41 -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
Xiang Xiao
007adc7736
Replace all __attribute__((section(x)) with locate_data(x)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-29 21:55:21 -03:00
Michal Lenc
3d7e0becfb
boards/arm/imxrt/teensy-4.x: added board level support for GPIO driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-26 21:41:21 -05:00
Michal Lenc
6e2db9bed1
boards/arm/imxrt/teensy-4.x: added board level support for FlexPWM driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-26 09:58:52 -05:00
Michal Lenc
0851036ae3
boards/arm/imxrt/teensy-4.x: added support for encoder
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-16 21:22:03 -05:00
Xiang Xiao
001e7c3e76
sched: Don't include nuttx/sched.h inside sched.h
...
But let nuttx/sched.h include sched.h instead to
avoid expose nuttx kernel API to userspace.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-24 12:11:53 +09:00
Alin Jerpelea
6f14299dd0
boards: nxstyle fixes
...
nxstyle fixes to pass the CI check
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-18 22:58:27 -07:00
Gustavo Henrique Nihei
47cb41c92f
makefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Xiang Xiao
9473434587
Ensure the kernel component don't call userspace API
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Michal Lenc
3b219fb2da
boards/arm/imxrt/teensy-4.x: allow configuration of all CANs
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-25 22:31:04 -08:00
Masayuki Ishikawa
d87f350831
arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
...
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
g_irq_spin for backword compatibility (In this case, NULL must be specified)
Impact:
- None
Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
Matias N
76cc5c36e4
bmp280: convert to common sensor interface
2021-01-18 21:08:34 -03:00
Michal Lenc
1502693f93
boards/arm/imxrt/teensy-4.x: Added support for LCD display with ST7789
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
Michal Lenc
3ec7cd186a
boards/arm/imxrt/teensy-4.x: CDC-ACM console support
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-14 04:25:56 -06:00
Michal Lenc
eabd79f97b
boards/arm/imxrt/teensy-4.x: fixed build error and nx style
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-04 10:18:41 -08:00
Michal Lenc
11be65db8b
board/arm/imxrt: Added Teensy-4 BSP based on imxrt1060-evk
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-04 10:18:41 -08:00