Commit Graph

169 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Bernard Xiong 36d5154256
Merge pull request #5320 from mysterywolf/pse-master
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man 7f619606a1 [stm32l475] improve the structrue of sconscript 2021-10-24 16:21:21 -04:00
Meco Man fa4b7ec8fd [stm32][bsp] The sconscript script in the application folder increases the recursion searching capability 2021-10-15 15:14:30 -04:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Man 698569c3ca [stm32][lib] modify heap size to zero 2021-10-11 17:25:15 -04:00
liukangcc 0e46c8a33d [update] support armclang 2021-09-26 10:46:21 +08:00
Meco Man 66e6038dfe [bsp][stm32][f407-explorer] 优化board kconfig配置 2021-08-27 19:52:42 -04:00
Meco Man 2963a8095f [stm32-f407-explorer] remove sdcard thread 2021-08-20 16:10:45 -04:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
Meco Man ad2e60d716 [stm32f407-explorer] remove FAL_USING_AUTO_INIT 2021-08-17 06:42:37 -04:00
guo b3ea49c8a3
Merge pull request #4930 from mysterywolf/littlefs-check
[stm32f407-explorer] 优化FAL相关设置
2021-08-08 20:54:22 +08:00
guo d92dcb59be
Merge pull request #4920 from mysterywolf/at-esp8266
[stm32][stm32f407-explorer][Kconfig] implement ESP8266 configuration in extended module driver menu
2021-08-08 20:23:17 +08:00
Meco Man 0c4b2a9e3c [bsp][stm32f407-exlorer] update readme 2021-08-07 02:03:43 +08:00
Meco Man f8f9a304f0 [stm32f407-explorer] 优化FAL相关设置 2021-08-07 01:16:31 +08:00
Meco Man edf7e90020 [stm32f407-explorer]优化Kconfig文件系统命名,SFUD注册w25q128时命名自适应,避免用户多设置一步名称 2021-08-06 15:15:56 +08:00
Meco Man 963cce1e1b 解决没有选定FAL和littlefs软件包的问题,解决挂载顺序不合理的问题,重命名spiflash设备为spiflash0 2021-08-05 21:11:37 +08:00
YJIE_1998 addfbefeeb 【修改】修改 drv_filesystem.c 文件 ci 格式 2021-08-05 18:31:06 +08:00
Meco Man d03a0a0f6a [stm32][stm32f407-explorer][Kconfig] implement ESP8266 configuration in extended module driver menu 2021-08-05 13:32:23 +08:00
YJIE_1998 2ac8bc8864 【修改】函数和宏命名,移除添加的文件 2021-08-05 10:47:34 +08:00
YJIE_1998 74b3bb0af3 【添加】添加dfs_romfs.h文件,并修改构建脚本 2021-08-04 19:21:45 +08:00
YJIE_1998 a403a3ec3b 【修改】移植 littlefs 文件系统 2021-08-04 18:22:04 +08:00
Meco Man 0030bde175 [stm32-stm32f407-atk-explorer] 优化文件系统选项Kconfig 2021-08-01 00:13:38 +08:00
Meco Man b8ec694731 [STM32][explorer] 增加ROMFS根文件系统 2021-07-28 21:57:10 +08:00
chenjh 67b86e61ba [uart] Modify the uart file to configure uart_pin for pullup 2021-07-07 18:51:21 +08:00
Meco Jianting Man 71a5385a97
[sconscript] application文件夹增加工程文件路径向下扫描功能
用户在加入自己的工程文件夹时,只要该文件内含有Sconscript,就可以被自动探测到,无需手动修改application下的sconscript手动添加。
2021-05-14 10:06:27 +08:00
Meco Jianting Man 74064e8cc7
[bug][bsp][stm32f407-explorer] 修复sdcard驱动没有加入工程的问题 2021-05-14 10:03:38 +08:00
Bernard Xiong bfd836e44c
Merge pull request #4675 from mysterywolf/stm32f407_2
[bsp][stm32f407-explorer] fix a bug that cannot use fatfs in the main thread at starting up
2021-05-13 20:51:06 +08:00
Bernard Xiong 1dd166734b
Merge pull request #4671 from mysterywolf/stm32f407_1
[bsp-stm32f407-explorer] 完善F407探索者网络部分board配置
2021-05-13 20:50:57 +08:00
Meco Man 2b5970e94a tab->spaces 2021-05-11 09:15:10 +08:00
Meco Man 119c04d0f2 [Kconfig] 避免COM2与以太网或PWM冲突
因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2
2021-05-10 20:20:29 +08:00
Meco Man 39417ac51a [kconfig]优化 PHY_USING_LAN8720A 2021-05-10 17:15:46 +08:00
Meco Man dc55b1e19c [bsp][stm32f407-explorer] 重命名sram_port.h为drv_sram.h 2021-05-10 16:49:02 +08:00
Meco Man ab6c69fe9e 优化SDIO_MAX_FREQ依赖 删除PHY_USING_LAN8720A无用配置 2021-05-10 16:45:00 +08:00
Meco Man d81be2e8fd [bsp][stm32f407-explorer] fix a bug that cannot use fatfs in the main thread at starting up 2021-05-10 15:14:50 +08:00
Meco Man 61ec310591 implement BSP_USING_ETH_SAL 2021-05-10 14:22:06 +08:00
Meco Man efa64e0da4 [bsp-stm32f407-explorer] 完善F407探路者网络board配置 2021-05-09 21:30:14 +08:00
Meco Man a13aea3a30 remove return 2021-03-28 22:42:37 +08:00
Meco Man 390c635267 [stm32] remove 'count' variable in main() 2021-03-28 19:36:32 +08:00
Meco Man 5bd17e1433 [stm32] auto formatted 2021-03-14 15:33:55 +08:00
Meco Man 4f06fdc0ad [stm32]删除RTC对libc的依赖 2021-03-05 09:26:26 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08:00
chenjh 352f599367 add dac config for stmf4 2020-12-15 17:58:12 +08:00
SummerGift fea7f2bb58 [add] dist_dir function for every stm32 bsp 2020-05-25 14:36:42 +08:00
SummerGift b74ec1ec8c [add] stm32 bsp dist handle in rtconfig.py 2020-05-06 15:05:09 +08:00
Bernard Xiong 90e8b3664d
Merge pull request #3401 from thread-liu/master
[update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug
2020-03-04 11:45:26 +08:00
Bernard Xiong 05bd0c0797
Merge pull request #3411 from armink/fix_eclipse
Fix eclipse
2020-02-26 17:31:15 +08:00
armink 5dffac8483 [bsp/stm32] Add cpp lib path for eclipse project. 2020-02-26 15:22:52 +08:00
liuxinaliang b07a417a7c [update] disable "--specs=nano.specs" parameter
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-02-26 11:59:35 +08:00
thread-liu 34cd69348b [update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug 2020-02-24 13:02:42 +08:00
malongwei c0a48f3ab0 add stm32f407-atk-explorer sram driver 2020-02-23 11:37:24 +08:00
armink 19dd40440f [bsp/stm32] update eclipse project. 2020-02-17 22:35:22 +08:00
liuxinaliang e473ad5606 [bsp][stm32] bsp/stm32/stm32f407-atk-explorer 增加 USB Device支持 2019-12-30 18:13:21 +08:00
tyustli 0135c7bd8b port usb host driver to stm32 new series 2019-12-20 14:35:26 +08:00
armink 6c85182b72 [bsp/stm32] update eclipse project. 2019-12-11 14:38:26 +08:00
armink e32c7c98a2 [bsp/stm32] update stm32 bsp eclipse project 2019-10-31 13:49:50 +08:00
armink c73d9518c7 [bsp/stm32] remove the rtconfig_reinc.h file. 2019-10-28 15:42:38 +08:00
armink 8dabc3be27 [tools] change the eclipse project include path format 2019-10-25 16:35:09 +08:00
armink 5560e59d20 [bsp/stm32] update the eclipse project config and add include file. 2019-10-25 15:09:15 +08:00
armink 21e5a706e0 [bsp/stm32] update the eclipse project config. 2019-10-25 13:53:34 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
yangjie 1ef33e66cd [bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项 2019-09-11 12:06:43 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
tangweikang b76d3dac8a [components][drivers] change name: encoder -> pulse_encoder 2019-08-30 15:58:52 +08:00
tangweikang 94d7bdd010 [bsp][stm32] add drv_encoder.c to stm32f407-atk-explorer 2019-08-23 16:50:59 +08:00
laoyening cdb70c696e 1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
2019-08-15 10:37:58 +08:00
armink 2150439a73 [bsp/stm32] Update the eclipse project. 2019-08-03 15:56:18 +08:00
Ernest 9058fb2684 [bsp][stm32][kconfig] rename quote kconfig 2019-07-18 11:48:10 +08:00
Ernest a962fb3532 [bsp][stm32]add source kconfig by batch 2019-07-18 10:28:12 +08:00
Ernest 1f114ec22f [bsp][stm32]upgrade menuconfig about crypto 2019-07-18 10:27:27 +08:00
Bernard Xiong efab8a25c3
Merge pull request #2797 from armink/fix_eclipse
Fix eclipse
2019-06-19 12:04:52 +08:00
armink 71eb4b6022 [bsp/stm32/stm32f407-atk-explorer] Add eclipse project. 2019-06-19 09:12:50 +08:00
tangweikang c4c58a0ead [add] stm32 SDIO_MAX_FREQ option.If not defined, the default minimum value is 1000000 . 2019-06-18 16:14:21 +08:00
SummerGift d78c574629 【修改】407-atk-explorer bsp 的 shell 默认栈大小为 4096 2019-05-29 09:52:23 +08:00
周传福 9329b62bef
Merge branch 'master' into stm32_uart_tx_dma 2019-05-16 12:22:53 +08:00
yangjie d7832ef8c9 [bsp/stm32][board.h]support AC6 for stm32 bsp. 2019-05-06 10:20:58 +08:00
zhouchuanfu d52a412f4c 增加串口DMA发送功能 2019-05-03 20:52:31 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
tyustli ea8509717e delete C++ support for gcc in the rtconfig.py file 2019-03-26 15:41:06 +08:00
tyustli 4f03ef589f add c++ support for the bsp of stm32 2019-03-23 13:59:53 +08:00
zylx b941e6c730 [bsp][stm32]添加 RTC 时钟源选择 2019-03-19 18:24:28 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
misonyo 700ce3ae6e [bsp/stm32]change str(Dir('#')) to GetCurrentDir() 2019-02-14 15:55:51 +08:00
SummerGift 532a14ddd8 [bsp][stm32] fix flash partition bug 2019-01-28 14:00:13 +08:00
SummerGift 32b43c1fde [bsp][stm32] optimize spi flash prompt message 2019-01-28 13:56:32 +08:00
SummerGift 45ece194cc [bsp][stm32] update bsp headfile 2019-01-22 10:05:57 +08:00
SummerGift 3b472cb3cd [bsp][stm32] optimize stm32 headfile 2019-01-22 09:15:05 +08:00
misonyo 69cd16e136 [all BSP]fix kconfig file syntax error 2019-01-16 23:23:38 +08:00
SummerGift 289b4316af [bsp][stm32] add extern "C" for header file 2019-01-09 10:12:35 +08:00
SummerGift 883a9f1e13 [bsp][stm32] update dma config in Kconfig 2019-01-08 14:09:33 +08:00
SummerGift 74395fd114 [bsp][stm32] update kconfig 2019-01-08 12:05:06 +08:00