rt-thread/bsp
YangZhongQing 50cb4be8ce
bsp beaglebone: add IAR support (#6443)
* bsp beaglebone: add IAR template files and fix it's build error

ATTENTION:
project.* was generated by scons, so I add it to gitignore.
rtconfig.py *FLAGS located in "PLATFORM == 'iccarm'" are unverified and maybe wrong.
(我只是从STM32里面抄来,然后根据自己的理解改了一下,并没有验证这些参数的正确性,
我也不知道怎么用命令行调用这些参数来编译)

* bsp beaglebone: add beaglebone_ram.icf ROM address from uboot_cmd.txt

am335x_DDR.icf use 0x82000000, different to uboot_cmd.txt & gcc beaglebone_ram.lds,
the difference will easy cause later developer got below error:

=> go 0x80200000
## Starting application at 0x80200000 ...
undefined instruction
pc : [<8200956c>]	   lr : [<8ff62497>]
reloc pc : [<728a956c>]	   lr : [<80802497>]
sp : 8df37358  ip : 00000000	 fp : 00000002
r10: 8df4d448  r9 : 8df3feb8	 r8 : 8ffd30f8
r7 : 8ff78089  r6 : 00000002	 r5 : 80200000  r4 : 8df4d44c
r3 : 80200000  r2 : 8df4d44c	 r1 : 8df4d44c  r0 : 00000001
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32
Code: 5dbffcdd bb9bdf7f abf85423 eff1f77f (7ed7daaf)
Resetting CPU ...

resetting ...

* libcpu am335x: context_iar.S rt_hw_context_switch: add thumb mode support

IAR new project defualt Processor mode is Thumb, this will cause user
easy occur the following error:
...
msh />Execption:
r00:0x8800aaa8 r01:0x802080c5 r02:0x00000000 r03:0x88009b4c
r04:0x00001000 r05:0x00000000 r06:0x00001403 r07:0x00100000
r08:0x00000000 r09:0x00000000 r10:0x0000000a
fp :0x0000000a ip :0x65687374
sp :0x00006c6c lr :0x0000008a pc :0x88008be0
cpsr:0x880001bc
software interrupt
shutdown...
(0) assertion failed at function:rt_hw_cpu_shutdown, line number:160

* bsp beaglebone: change IAR template.ewp code use Arm mode

Arm mode bin size will bigger than Thumb mode

* libcpu am335x: IAR: use rt_hw_cpu_dcache_enable instead of rt_cpu_dcache_enable

Reviewer mysterywolf say:
麻烦把rt_cpu_icache_enable 和 rt_cpu_dcache_enable, 统一改成 rt_hw_cpu_icache_enable 和 rt_hw_cpu_dcache_enable
rt_hw_cpu_icache_enable 和 rt_hw_cpu_dcache_enable 是其他bsp也是这么命名的 这是个命名统一的函数
2022-09-22 14:13:34 +08:00
..
CME_M7 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
ESP32_C3 ESP32_C3 migrate to ESP-IDF package (#6427) 2022-09-14 03:49:05 -04:00
Vango update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
acm32 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
airm2m update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
allwinner_tina update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
amebaz update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
apm32 [bsp][APM32][APM32F407VGT6] (#6377) 2022-09-06 01:01:03 -04:00
apollo2 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
asm9260t update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
at32 [fal] PKG_USING_FAL -> RT_USING_FAL 2022-08-22 09:42:35 +08:00
at91 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
avr32uc3b0 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
beaglebone bsp beaglebone: add IAR support (#6443) 2022-09-22 14:13:34 +08:00
bf533 add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
bluetrum Add annotations 2022-09-06 14:28:45 -04:00
bm3803 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
ck802 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
cypress Cypress-Modify configuration 2022-08-31 14:15:17 +08:00
dm365 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
efm32 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
essemi [rtduino] remove libraries dependencies 2022-08-22 09:45:45 +08:00
fm33lc026 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
frdm-k64f update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
ft32 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
ft2004 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
fujitsu/mb9x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32 使用 __ARMCC_VERSION 代替 __CC_ARM 用以支持AC6编译 (#6436) 2022-09-16 08:13:40 -04:00
gd32e230k-start update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32vf103v-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32105c-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32107c-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32303e-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32350r-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
gd32450z-eval update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hc32 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hc32l136 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hc32l196 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hifive1 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hk32 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
hpmicro Add BSP for HPM6750EVK and HPM6750EVKMINI (#6374) 2022-09-06 00:48:16 -04:00
imx6sx update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
imx6ul update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
imxrt [imxrt1170-m7]Adjust pro dir structure (#6446) 2022-09-19 01:20:02 -04:00
juicevm update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
k210 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lm3s9b9x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lm3s8962 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lm4f232 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
loongson update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc43xx update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc55sxx update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc176x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc178x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc408x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc824 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00
lpc1114 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc2148 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc2478 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc5410x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc54114-lite update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
lpc54608-LPCXpresso update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
m16c62p [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00
maxim [bsp/maxium/max3660]Update README.md (#6323) 2022-08-22 13:44:25 -04:00
microblaze add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
microchip update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mini2440 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mini4020 [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
mipssim update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mm32 补充开发板资料说明 2022-09-02 10:04:47 +08:00
mm32f103x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mm32f327x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mm32l3xx update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
mm32l07x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
n32 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
n32g452xx [n32g45x] bsp 完善can驱动中断处理 (#6313) 2022-08-20 12:21:51 -04:00
nios_ii add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
nrf5x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
nuclei update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
nuvoton [bsp/nuvoton] Support NuMaker-IoT-M467 board (#6448) 2022-09-20 10:30:21 -04:00
nv32f100x [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00
pic32ethernet add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
qemu-vexpress-a9 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
qemu-vexpress-gemini update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
qemu-virt64-aarch64 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
qemu-virt64-riscv update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
raspberry-pi update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
raspberry-pico update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
renesas [annotation] renesas默认使用串口V2标准 (#6391) 2022-09-07 21:05:17 -04:00
rm48x50 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00
rockchip update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
rv32m1_vega update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
rx 修改bsp的usb host 驅動 (#4379) 2022-01-26 10:46:57 +08:00
sam7x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
samd21 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断 2022-06-09 07:01:59 +08:00
sep6200 add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
simulator [fix] Fix simulator compilation warnings (#6438) 2022-09-20 10:31:11 -04:00
smartfusion2 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
sparkfun-redv update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
stm32 [stm32f401 nucleo] update main.c revert blinking LED 2022-09-20 10:33:12 -04:00
synopsys/boards update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
synwit 将swm320和swm341整合进synwit (#6290) 2022-08-16 12:43:24 -04:00
tae32f5300 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
taihu add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
thead-smart update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
tkm32F499 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
tm4c123bsp update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
tm4c129x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
tms320c6678 add new bsp tms320c6678 2022-01-29 16:11:42 +08:00
tms320f28379d tms320f28379d fix init (#6343) 2022-08-29 15:35:23 -04:00
upd70f3454 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00
w60x update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
wch [ch32v307v-r1] 添加了模拟iic驱动 (#6447) 2022-09-19 10:33:55 -04:00
wh44b0
x86 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
xplorer4330 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
yichip/yc3121-pos update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
zynqmp-r5-axu4ev update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Copyright_Notice.md 本次PR涉及①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。 (#5638) 2022-03-08 12:03:06 +08:00