Commit Graph

3606 Commits

Author SHA1 Message Date
Bernard Xiong 5e1be7f67c
Merge pull request #3384 from DavidLin1577/patch-10
Fixed  spelling mistakes of macro, parameter ,functions
2020-02-18 16:56:12 +08:00
Bernard Xiong 10d480eec0
Merge pull request #3383 from armink/fix_eclipse
Fix eclipse
2020-02-18 15:39:45 +08:00
David Lin 8b4f55a34b
Fixed spelling mistakes of code in drv_sound.c
macro error:  
	PL041_CHANNLE_LEFT_DAC  -> PL041_CHANNEL_LEFT_DAC
	PL041_CHANNLE_RIGHT_DAC  ->  PL041_CHANNEL_RIGHT_DAC
	PL041_CHANNLE_LEFT_ADC   -> PL041_CHANNEL_LEFT_ADC
	PL041_CHANNLE_RIGHT_ADC  -> PL041_CHANNEL_RIGHT_ADC             
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:39:32 +08:00
armink 19dd40440f [bsp/stm32] update eclipse project. 2020-02-17 22:35:22 +08:00
David Lin 8a3b6b1da1
Update drv_pl041.h 2020-02-17 22:32:43 +08:00
David Lin 9ca77d6f51
Fixed spelling mistakes of code in drv_pl041.h
macro error:  
	PL041_CHANNLE_LEFT_DAC  -> PL041_CHANNEL_LEFT_DAC
	PL041_CHANNLE_RIGHT_DAC  ->  PL041_CHANNEL_RIGHT_DAC
	PL041_CHANNLE_LEFT_ADC   -> PL041_CHANNEL_LEFT_ADC
	PL041_CHANNLE_RIGHT_ADC  -> PL041_CHANNEL_RIGHT_ADC             
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_read -> aaci_pl041_channel_read
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:31:51 +08:00
David Lin 1f353c6f17
Fixed spelling mistakes of code in drv_pl041.c
macro error:  
	PL041_CHANNLE_NUM ->   PL041_CHANNEL_NUM 
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_read -> aaci_pl041_channel_read
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:11:57 +08:00
Bernard Xiong bbdc9e2c7c
Merge pull request #3350 from eYoung8475/master
[bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver
2020-02-17 12:28:56 +08:00
yangwu 55eaea2f26 make spi driver pass compiling 2020-02-16 22:12:07 +08:00
yangwu 7c94a2c3f6 fix recursive macro dependency 2020-02-16 22:10:41 +08:00
David Lin e5845ea753
Fixed typo: 'commond'
Note that the word 'commond' is wrong,
so that 'commond' should been replaced with 'command'.
2020-02-16 16:31:39 +08:00
Bernard Xiong cd8dd40cd2
Merge pull request #3362 from bigmagic123/fix_spi
Fix spi
2020-02-06 22:05:22 +08:00
Bernard Xiong e5aafd2aa0
Merge pull request #3359 from wendal/master
fix: 为W60x添加rt_hw_us_delay
2020-02-06 22:01:18 +08:00
bigmagic 3e533e9992 fix spi bug 2020-02-06 16:03:31 +08:00
bigmagic 4ec07a04e6 use gcc-arm-none-eabi-5_4 compile raspi3 2020-02-06 16:00:56 +08:00
Wendal Chen c677f88eee fix: 为W60x添加rt_hw_us_delay https://github.com/RT-Thread/W601_IoT_Board/issues/10
思路是将drv_soft_i2c的w60x_udelay, 改名为rt_hw_us_delay, 并搬到broad.c
2020-02-05 20:09:02 +08:00
品雪 cca440f815
update Kconfig in raspi-64 bsp
to fix RTT root path
2020-02-04 18:40:27 +08:00
Bernard Xiong c95987e757
Merge pull request #3296 from ChazJin/patch-5
Fix bug for drv_enet.c
2020-01-26 20:51:14 +08:00
Bernard Xiong 5ca53690f7
Merge pull request #3336 from geniusgogo/fixed_drv_eth
[stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value
2020-01-26 18:21:19 +08:00
Bernard Xiong 810063e642
Merge pull request #3290 from tyustli/imxrt-usbd
[imxrt] [driver] add usb device driver
2020-01-24 19:16:02 +08:00
Bernard Xiong 8d309ed533
Merge pull request #3343 from chengxiaohu/master
Add DMA for ADC driver, and other little update.
2020-01-24 19:07:19 +08:00
Bernard Xiong 43abbc3ce8
Merge pull request #3356 from wangyq2018/es32f369x
[bsp]add bsp essemi/es32f369x.
2020-01-23 16:27:02 +08:00
Bernard Xiong 0f781d013c
Merge pull request #3217 from essemi-yuzr/master
Add essemi/ES32F0271 BSP drivers
2020-01-23 16:26:33 +08:00
wangyq2018 9a5a66a716 [bsp]add bsp essemi/es32f369x. 2020-01-23 11:07:22 +08:00
Eric LGF 8f7cf60f24
[bsp] fix macro error 2020-01-20 16:03:33 +08:00
Bernard Xiong 78388f503e
Merge pull request #3344 from foss-for-synopsys-dwc-arc-processors/arc_new_bsp
[bsp][synopsys] add basic new embarc bsp support
2020-01-20 10:13:50 +08:00
luhuadong bfceeef81c [BSP] [stm32f769-st-disco] fix error 'undefined reference to *entry*' after scons --menuconfig 2020-01-18 11:04:40 +08:00
linyiyang 8f1d5c5ba2 [bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver 2020-01-17 21:08:50 +08:00
luhuadong 779feb5cd4 fix error 'undefined reference to entry' after menuconfig 2020-01-17 18:59:12 +08:00
Ihavedone caef50f3d1 修复SPI4 RX DMA相关的宏定义写成 SPI4 TX的问题 2020-01-17 11:54:05 +08:00
Ihavedone 5eeae513ae 添加了不需要由 PWM 或 引脚 控制LCD背光时的背光控制空函数,防止编译报错 2020-01-17 11:30:07 +08:00
Watson Zeng fe24ae7ca4 [bsp][synopsys] add basic new embarc bsp support
* the initial support of synopsys designware ARC processor
  using embARC_BSP, all synopsys ARC-based boards are
  supported:
  -ARC Software Development Platform
  -ARC EM Starter Kit
  -ARC EM Software Development Platform
  -ARC HS Development Kit
  -ARC IoT Development Kit

* The embARC BSP is a new generation embARC software development
  package.  ​It is designed to be the inter-layer between hardware and
  operating system. ​ BSP could hide the difference of hardware/boards,
  provide a unified interface to upper-layer.

* the initial support of synopsys MWDT toolchain.
  The DesignWare® ARC® MetaWare Development Toolkit builds upon
  a 25-year legacy of industry-leading compiler and debugger products.
  It is a complete solution that contains all the components needed to
  support the development, debugging and tuning of embedded applications
  for the DesignWare ARC processors.

* for detailed board information, pls go embarc.org.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-01-16 16:02:00 +08:00
Bernard Xiong 54814c42e7
Merge pull request #3324 from bigmagic123/bsp_raspi
Bsp raspi
2020-01-16 15:43:07 +08:00
Ihavedone 04831062bd 添加了 PWM9_CONFIG 默认配置 和 TIM3_CONFIG 默认配置 2020-01-15 21:05:12 +08:00
bigmagic 317e5bf4a4 [bsp/raspi] remove "kernel7.img" from bsp 2020-01-15 17:23:18 +08:00
bigmagic 114288878e [bsp/raspberry-pi] add raspi2/cpu 2020-01-15 17:19:49 +08:00
bigmagic 08f55d9fda add raspi3-32 in bsp 2020-01-15 16:38:22 +08:00
whj4674672 f117df8476 Porting for stm32h7xx spi 2020-01-15 14:31:40 +08:00
xieyangrun d2a857e13a [STM32/drv_pwm.c]fixed PWM timer init. 2020-01-15 13:45:30 +08:00
xieyangrun 0094765b31 [stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value conflicts with function's parameter 2020-01-15 11:38:35 +08:00
Kevin Peng cd95e4cd59 LPC55S69: Add Protected Storage demo
This demo shows how protected storage works in RTT. It tests by write
and read data over PSA APIs, then check the integrity. The test will
run repeatedly, each time with different data.

The TFM package does not support LPC55S69 board officially yet.

Change-Id: Ib1cd4fc8166b21e3f774f092c95d2811d51123fe
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:02 +08:00
Karl Zhang 2479d7de4a LPC55S69: TFM: Preparation to add PS demo
Link TFM PS APIs and veneer library. This is a preparation to add a
demo in RTT which can call into TFM for secure services.

Change-Id: I19ea617690d174a28af29b1804674bcaae59f838
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:00 +08:00
Bernard Xiong cad32a326c
Merge pull request #3314 from karl-zh/RT_USING_TFM
Add TFM support in RTT
2020-01-14 12:00:22 +08:00
Bernard Xiong b5caf6f5ef
Merge pull request #3328 from wangyq2018/es32f0654
[bsp]update essemi/es32f0654.
2020-01-14 11:59:14 +08:00
Bernard Xiong c07ad5c24f
Merge pull request #3323 from chenxuuu/patch-1
fix makeimg.py wrong on linux
2020-01-14 09:51:11 +08:00
wangyq2018 696b130afe [bsp]1.update es32f0654 libraries.
2.adapt to the new power management interface.
         3.rename es32f0654 folder to essemi_es32f0654 folder.
	 4.add can driver.
2020-01-13 10:22:18 +08:00
bigmagic 2fbe05d7fc [bsp/raspi] remove "kernel8.img" from bsp 2020-01-10 20:48:25 +08:00
Bernard Xiong 390687122e
Merge pull request #3318 from eYoung8475/master
[bsp][stm32]add stm32f103-atk-warshipv3 sram driver
2020-01-10 20:37:14 +08:00
bigmagic 464f1cf5fa fix compile warning 2020-01-10 14:40:27 +08:00
bigmagic c8e4bca1fc fix some bug 2020-01-10 14:14:37 +08:00
bigmagic fdde8ab198 add raspi2 and raspi3 BSP 2020-01-10 10:38:21 +08:00
chenxuuu 438397b586
fix makeimg.py wrong on linux 2020-01-09 17:05:05 +08:00
linyiyang 7e003b2214 修改相关sram名称为external sram; 2020-01-08 22:04:49 +08:00
Bernard Xiong d0098acd88
Merge pull request #3319 from ethanDu1/bugfix_drvflashf7
Bugfix drvflashf7
2020-01-07 16:58:13 +08:00
ethan.du 8e4d05d7ae modify assert and code style 2020-01-07 14:29:33 +08:00
Bernard Xiong 1f8c3e5e56
Merge pull request #3312 from xiangxistu/dev
[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series  but chip doesn't work
2020-01-07 08:08:38 +08:00
Bernard Xiong 6765cf7943
Merge pull request #3311 from xiangxistu/master
[bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
2020-01-07 08:08:22 +08:00
Bernard Xiong 026dcd62d9
Merge pull request #3306 from BernardXiong/bsp_lpc55
[BSP] fix the lpc55 issue under Linux/GCC
2020-01-07 08:07:52 +08:00
ethan.du 8f5e1c5715 add space 2020-01-06 19:43:45 +08:00
ethan.du 6b614c05b8 modify space 2020-01-06 19:40:25 +08:00
ethan.du 516702d69e drv_flash_f7.c support single bank mode 2020-01-06 19:24:23 +08:00
linyiyang 8b11bfd3ac
Provide more information about this SRAM 2020-01-06 19:14:35 +08:00
amy qian 3f70d44116 添加遗漏的.lib文件 2020-01-06 10:30:10 +08:00
amy qian 0ef62c7b10 删除了demo.c文件修改了main.c,相应修改了readme 2020-01-06 10:27:04 +08:00
linyiyang 75e832c65e [bsp][stm32]add stm32f103-atk-warshipv3 sram driver 2020-01-06 09:12:45 +08:00
liuxinaliang ead5f07c5f [bsp][stm32] change tab into whitespace
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 17:59:10 +08:00
amy qian 220343ab7e 修改了readme格式 2020-01-03 17:44:00 +08:00
amy qian f76b3f9aa0 readme修改了下格式 2020-01-03 17:30:28 +08:00
amy qian 88667374d5 修改了readme 2020-01-03 17:20:12 +08:00
amy qian 1b0b463bb2 增加Cypress PSoC6系列产品的支持 2020-01-03 16:52:07 +08:00
Karl Zhang be4e2395ff LPC55S69: Update the flash layout to fit RTT in NS
RTT fits in NS flash when enabled TF-M for secure.

Change-Id: Icfd796b7fbe8fba76f713f9d5a14bbdcb5dcd9d5
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:25 +08:00
Kevin Peng 5f4b780558 LPC55S69: Integration with TF-M
This patch enables TF-M running on secure side and RT-Thread running on
NS side by:

1. Updates the VTOR address
2. Remove a HW initialization which is already done in TF-M
3. Add a new project and linker script to build RTT in NS

Note:
    There are no secure service calls to TF-M in this patch

Change-Id: I4023a082cfb5c8df8a4f0ecc7ffee850daaadeb4
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:24 +08:00
liuxinaliang 6ad56dfbec [bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series but chip doesn't work
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 12:45:46 +08:00
liuxinaliang 4e23cb027f [bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 11:17:50 +08:00
Bernard Xiong 00338fd2ac [BSP] fix the lpc55 issue under Linux/GCC 2020-01-02 08:17:32 +08:00
ZYH 0d0d0d37dc [BSP][STM32][STM32F469-DISCO]fix build error with qspi 2019-12-30 23:45:14 +08:00
liuxinaliang e473ad5606 [bsp][stm32] bsp/stm32/stm32f407-atk-explorer 增加 USB Device支持 2019-12-30 18:13:21 +08:00
tyustli b8c13d494c remote host config 2019-12-27 12:57:55 +08:00
Bernard Xiong 55128eda45
Merge pull request #3281 from tyustli/usb
[stm32] [drivers] port usb host driver to stm32 new series
2019-12-27 12:52:50 +08:00
chao_king ae90273b68
Fix bug for drv_enet.c
源文件主要存在以下问题:
1> rt_hw_gd32_eth_init函数中对MAC初始化完成后并没有修改PHY的连接状态,这会导致测试TCP例程时无法建立TCP链接,应在初始化完成后将PHY的连接状态修改成linkup;

已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 19:03:46 +08:00
tyustli 00fa2e2d78 solve gcc build err 2019-12-26 14:10:06 +08:00
Bernard Xiong dd23a36713
Merge pull request #3284 from BernardXiong/remove_files
[bsp] Remove unnecessary files.
2019-12-22 03:34:14 +08:00
Bernard Xiong 5ef1bfc878 [bsp] Remove unnecessary files. 2019-12-21 07:25:12 +08:00
a1012112796 15ceaad6e4 [BSP/stm32f427-robomaster-a] Correct RAM configuration information 2019-12-20 22:02:11 +08:00
tyustli 0135c7bd8b port usb host driver to stm32 new series 2019-12-20 14:35:26 +08:00
Bernard Xiong c73c349113
Merge pull request #3257 from FlyGoat/mips-refine-v1
MIPS Base Code Refine v1
2019-12-17 19:51:38 +08:00
Jiaxun Yang c236e8c5d5 [bsp] Adapt ls{1b,1c}dev to new mips common code
LS1C selfboot feature have been rewiritten, and we changed
bare boot base to 0x80000000 to better utilize memory.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-17 11:09:59 +08:00
Bernard Xiong bb9a55817c
Merge pull request #3237 from qiyongzhong0/stm32l4r5-st-nucleo
add stm32l4r5-st-nucleo BSP
2019-12-13 07:19:37 +08:00
HubretXie ad397a63a8
[bsp][stm32]修复硬件定时器bug 2019-12-12 14:56:40 +08:00
Jiaxun Yang 4584054e17 [bsp] Add mipssim bsp
This bsp is used for test MIPS base code in simutator,
implemented basic MIPS cpuport and serial port driver.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:25:31 +08:00
Bernard Xiong 44123368a9
Merge pull request #3256 from armink/fix_eclipse
[bsp/stm32] update eclipse project.
2019-12-11 15:13:31 +08:00
armink 6c85182b72 [bsp/stm32] update eclipse project. 2019-12-11 14:38:26 +08:00
Bernard Xiong a972fcc0b5 [BSP] move libcpu/mips/x1000 to bsp/x1000/cpu 2019-12-11 11:01:40 +08:00
Bernard Xiong 4d9bc92885
Update SConscript 2019-12-11 08:23:09 +08:00
a1012112796 316d2e8847 [BSP/stm32f427-robomaster-a] add SD card suport 2019-12-10 23:04:25 +08:00
Bernard Xiong 500b5498d0
Merge pull request #3213 from liweihao-cn/master
增加音频设备驱动
2019-12-09 11:54:56 +08:00
qiyongzhong0 5c15fd615d 修改stm32驱动库:
1.修改drv_flash_l4.c文件中stm32_onchip_flash定义的blk_size字段,由原来2048改为FLASH_PAGE_SIZE,以增强芯片适应性.
2.修改drv_usbd.c文件中stm_usbd_register函数,增加支持RT_USING_DEVICE_OPS配置.
2019-12-05 13:40:04 +08:00
qiyongzhong0 2700130ea6 add stm32l4r5-st-nucleo BSP 2019-12-05 11:44:39 +08:00
armink f1e5883543 [bsp/stm32] Add DMAMUX support for stm32l4+.
Signed-off-by: armink <armink.ztl@gmail.com>
2019-12-01 15:50:51 +08:00
Bernard Xiong a687065ba2
Merge pull request #3225 from HubertXie/master
增加GPIO中断进入退出保护
2019-11-28 21:17:18 +08:00