curuvar
178ba6fbb4
Add ws2812 bringup logic to all RP2040 boards.
2022-07-07 12:33:25 +08:00
curuvar
feb5c5307a
fixed up defconfig files.
2022-06-30 22:13:49 -07:00
curuvar
0c3db448bb
Added Adafruit Feather RP2040, Adafruit KB2040 and Added neopixel driver to support RP2040
2022-06-30 22:13:49 -07:00
curuvar
412539e66c
Added PWM support to rp2040
2022-06-23 10:17:40 -03:00
curuvar
75facdee72
Added PWM support for rp2040
2022-06-23 10:17:40 -03:00
Xiang Xiao
1f920e55d3
Move warning option from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 15:40:35 +03:00
Xiang Xiao
75bf7be0c3
boards/arm: Enable gcov in pimoroni-tiny2040:nsh
...
to improve the ci coverage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-06 14:43:57 -03:00
Xiang Xiao
cd001725b7
arch/arm: Remove FAR and CODE from board folder(1)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-03 16:50:52 +03:00
Xiang Xiao
aeb9c5d822
boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs
...
and migrate MAXOPTIMIZATION into ARCHOPTIMIZATION
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-01 11:36:41 +03:00
Xiang Xiao
8f8ee25a9c
boards: Move -g from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 16:23:03 +03:00
Xiang Xiao
75326e563d
boards: Move -fno-common from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 07:57:29 +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
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
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
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
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
Peter Kalbus
72355878ec
Added support for the Pimoroni Tiny 2040 device
...
It’s an RP2040 based device with some interesting features:
+ small form factor (18x21.3mm)
+ 8 MByte Flash
+ RGB LED
+ Reset Button
+ USB-C
- reduced pin-header
Support in derived from: boards/arm/rp2040/raspberrypi-pico
Location: boards/arm/rp2040/pimoroni-tiny2040
2022-01-10 23:15:12 +01: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
Masanari Iida
627eb08942
boards/raspberrypi-pico: Fix some typos in README.txt
...
This patch fixes some spelling typos in README.txt
2021-11-22 22:34:19 -06:00
Yuichi Nakamura
dda73393d9
boards/raspberrypi-pico: Update README to fix Pico SDK version
2021-11-22 01:39:36 -06:00
Xiang Xiao
3847539f3d
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 13:19:15 +01:00
Yuichi Nakamura
c109262a7f
rp2040: add rp2040_gpio_get_function_pin()
2021-11-07 03:43:22 -08: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
Pedro Bertoleti
b399c509c8
Add BMP180 and INA219 headers. Fix rp2040_ina219.h last comment format
2021-08-05 20:08:09 -03:00
Peter Bee
84480d760b
raspberrypi-pico: add support for lcd_dev
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Change-Id: I5cf9fa40cae6ddfe5c8041145f19e5058b76193f
2021-07-30 14:08:05 -03:00
transistorretorcido
c9b4348b81
added st7735 LCD based support
...
added st7735 LCD based support
2021-07-22 06:23:49 -07:00
Nathan Hartman
609ee6b54b
Fix typos in comments and identifiers
2021-07-19 22:55:30 -03: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
transistorretorcido
494e53668e
added PCF8574 backpack support
...
added PCF8574 backpack support
added PCF8574 backpack support
added PCF8574 backpack support
2021-07-06 21:50:42 -05:00
Masayuki Ishikawa
4a9c07fab1
boards: raspberrypi-pico: Update smp/defconfig
...
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to smp/defconfig
Impact:
- raspberrypi-pico:smp only
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 04:13:13 -05:00
Peter Bee
181ad49ffd
Support for Waveshare Pico-LCD-1.x modules
...
Add support for Chinese brand LCDs. The 1.14" and 1.3" modules are
tested.
Module details:
https://www.waveshare.com/wiki/Pico-LCD-1.14
https://www.waveshare.com/wiki/Pico-LCD-1.3
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-06-30 09:03:46 -03:00
Yuichi Nakamura
e00546335d
boards/raspberrypi-pico: Add board support for USB device
2021-06-14 09:05:19 -03:00
Alexander Vasiljev
45672c269d
Make: use gcc as LD
2021-06-10 03:43:18 -07: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
Matheus Castello
f81f973af3
boards: rp2040: Add user gpio driver
...
Add user space gpio driver supporting gpout, gpin, gpint
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2021-06-05 12:58:20 -03:00
YAMAMOTO Takashi
c20ed229b1
refresh configs
2021-06-03 10:05:33 -05:00
Xiang Xiao
d7f96003cf
Don't include debug.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
Masayuki Ishikawa
1bded73f9f
boards: raspberrypi-pico: Add CONFIG_STACK_COLORATION=y to smp/defconfig
2021-04-25 03:19:24 -05:00
Yuichi Nakamura
7fb73dba1c
boards/raspberrypi-pico: Pico Audio Pack (I2S) support
2021-04-19 09:39:51 +09: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
Yuichi Nakamura
5699dd86eb
boards/raspberrypi-pico: Pico Display Pack (ST7789 LCD) support
2021-03-16 06:35:04 -03:00
Yuichi Nakamura
a657357640
boards/raspberrypi-pico: Support ENC28J60 SPI ethernet board
2021-03-11 19:31:17 -03:00
Pedro Bertoleti
a063974df2
Add INA219 support.
2021-03-11 10:41:52 +08:00
Pedro Bertoleti
9b7d0a01e4
Add BMP180 sensor support.
2021-03-09 18:33:24 -03:00
Yuichi Nakamura
938b1daf02
arm/rp2040: RP2040 SPI DMA transfer support
2021-03-08 17:37:48 -03:00
Yuichi Nakamura
b9c5294226
boards/raspberrypi-pico: Support SPI and SD card
2021-03-08 17:06:07 +09:00
Yuichi Nakamura
81d917f741
boards/raspberrypi-pico: Add new config ssd1306
2021-03-03 09:35:45 -03:00
Yuichi Nakamura
599e5b1bb2
boards/raspberrypi-pico: Fix board settings to support i2c and ssd1306
2021-03-03 09:35:45 -03: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
Masayuki Ishikawa
59a5d03842
boards: raspberrypi-pico: Update defconfigs
...
Summary:
- Adjust CONFIG_BOARD_LOOPSPERMSEC in all defconfigs
- Add CONFIG_TESTING_GETPRIM to nsh and nshsram
- Add CONFIG_SYSTEM_TASKSET to smp
- NOTE: CONFIG_SCHED_WAITPID is removed because it is selected
Impact:
- The smp app will take longer than before but it's a correct behavior
Testing:
- Tested with getprime, ostest, smp
2021-02-26 22:23:55 -06:00
Yuichi Nakamura
01699e00e0
arm/rp2040: Raspberry Pi Pico SMP support
2021-02-25 07:20:59 +09:00
Yuichi Nakamura
7b8c72ec1b
boards: raspberrypi-pico: Add nshsram defconfig for SRAM build
2021-02-22 09:11:09 -08:00
Masayuki Ishikawa
1f61c58e43
boards: raspberrypi-pico: Normalize nsh/defconfig
...
Summary:
- This commit normalizes nsh/defconfig
Impact:
- None
Testing:
- None
2021-02-22 12:14:47 +00:00
Masayuki Ishikawa
706740bfc3
boards: raspberrypi-pico: Introduce rp2040_reset.c to support reboot
...
Summary:
- This commit introduces rp2040_reset.c to support reboot
Impact:
- None
Testing:
- Tested with both BOOTSEL=ON and OFF
2021-02-21 13:22:35 +00:00
Masayuki Ishikawa
d68bfe1e1a
boards: raspberrypi-pico: Introduce rp2040_bringup() to mount procfs
...
Summary:
- This commit introduces rp2040_bringup() to mount procfs
Impact:
- None
Testing:
- Tested with raspberrypi-pico:nsh
2021-02-21 13:22:35 +00:00
Yuichi Nakamura
b753eeabf1
boards/arm: Add Raspberry Pi Pico board support
2021-02-20 03:45:24 -08:00