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
Xiang Xiao
3b786a53cd
Fix error: '%d' directive writing between 1 and 10 bytes into a region of size 3
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02: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
Alin Jerpelea
7689392528
author: Zilogic Systems: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Zilogic Systems has submitted the SGA
Uniquix Tecnologia has submitted the SGA
Michael Jung has submitted the ICLA
Alan Carvalho de Assis has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-07-19 03:08:00 -07:00
Xiang Xiao
2e54df0f35
Don't include assert.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-03 08:36:03 -07:00
Marco Krahl
aea0135273
stm32f103-minimum: Adds custom initializing for sensors
...
This adds initializing for the following sensor types:
- HYT271 humidity and temperature sensor
- DS18B20 temperature sensor
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-14 02:49:28 -05:00
Gustavo Henrique Nihei
2efae6928d
drivers/input: Rename BUTTONS configs to INPUT_BUTTONS
2021-04-08 14:41:22 -03:00
Alin Jerpelea
b1ca7cf3ce
boards: Nxstyle fixes
...
Nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
190582c764
boards: stm32: Laurent Latil: update licenses to Apache
...
Laurent Latil has submitted the ICLA and we can migrate the 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-04-01 12:13:12 -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
e8e2a0875a
boards: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the ICL and we can migrate the 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
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
Alin Jerpelea
aa66d91604
boards: nxstyle fixes
...
nxstyle fixes to pass CI.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
a255a2794b
boards: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the
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-19 23:01:46 -07: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
Alan C. Assis
0fb2059fd9
stm32/common: Common LCD1602 based on PCF8574 Backpack
2021-03-14 20:14:40 -07:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f
makefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Xiang Xiao
151cf49562
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09: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
Diego Herranz
375211f5a1
boards/arm/stm32: add common and stm32f103-minimum support for WS2812 LEDs.
2020-12-09 22:55:27 +01:00
Diego Herranz
258fc77999
boards/arm/stm32/stm32f103-minimum: cleanup
...
- Remove prototypes no longer needed after some code was moved to common folder
- Fix function names in syslog messages
- Minor typos
2020-12-09 12:54:25 +01:00
Simon Piriou
33125e929c
stm32f103-minimum: add Android Debug Bridge defconfig
2020-12-08 10:13:29 -06:00
Simon Piriou
2bb31dca4c
stm32f103-minimum: add board reset
2020-12-08 10:13:29 -06:00
YAMAMOTO Takashi
73e82edfb9
boards/arm/stm32/stm32f103-minimum/src/stm32_lcd_backpack.c: Fix a syslog format
2020-11-27 23:38:40 -06:00
Juha Niskanen
0cea0f5cd4
board: LCD: fix wrong number of parameters to lcderr() macro
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-10-24 16:55:05 -03:00
Xiang Xiao
24262a4ddb
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-06-07 19:28:10 +01:00
Xiang Xiao
7a18ebe459
drivers/led: Extend userled_set_t from 8bits to 32bits
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I5701b42ff930998198b1d915316cc4f2d085d4eb
2020-06-07 19:28:10 +01:00
Xiang Xiao
76965474ac
drivers/led: Let board_userled_initialize return the led number
...
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Icf6638a6865bac42150b5957376e55909f041d40
2020-06-07 19:28:10 +01:00
Xiang Xiao
a61b8a13c6
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-06-07 19:28:10 +01:00
Xiang Xiao
1b47aa1cb2
drivers/button: Let board_button_initialize return the button number
...
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2ff5c30049a5c5e8ee90baea56e9f4cb1a8a4f87
2020-06-07 19:28:10 +01:00
Xiang Xiao
23668a4b9b
build: Remove the empty variable assignment
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:24:13 -06:00
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
5eae32577e
build: Move INCDIROPT to common place
...
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
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
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