Browse Source

Revert "调整目录结构,把peripheral、lua和bspMCU三个模块收敛到内部"

This reverts commit 505523665d.
master
Lizongdi 1 week ago
parent
commit
52bb8290c2
  1. 6
      CMakeLists.txt
  2. 2
      bspMCU/CMakeLists.txt
  3. 0
      bspMCU/My_Lwip.c
  4. 0
      bspMCU/My_freeRTOS.c
  5. 0
      bspMCU/My_print.c
  6. 0
      bspMCU/bsp_CAN.c
  7. 0
      bspMCU/bsp_cap.c
  8. 0
      bspMCU/bsp_i2c.c
  9. 0
      bspMCU/bsp_pin.c
  10. 0
      bspMCU/bsp_uart.c
  11. 0
      bspMCU/bsp_usb.c
  12. 0
      bspMCU/include/bsp_CAN.h
  13. 0
      bspMCU/include/bsp_cap.h
  14. 0
      bspMCU/include/bsp_i2c.h
  15. 0
      bspMCU/include/bsp_pin.h
  16. 0
      bspMCU/include/bsp_uart.h
  17. 0
      bspMCU/include/bsp_usb.h
  18. 0
      bspMCU/include/stmflash.h
  19. 0
      bspMCU/l_can.c
  20. 0
      bspMCU/l_stm32.c
  21. 0
      bspMCU/l_uart.c
  22. 0
      bspMCU/stmflash.c
  23. 2
      lua/CMakeLists.txt
  24. 0
      lua/lapi.c
  25. 0
      lua/lapi.h
  26. 0
      lua/lauxlib.c
  27. 0
      lua/lauxlib.h
  28. 0
      lua/lbaselib.c
  29. 0
      lua/lcode.c
  30. 0
      lua/lcode.h
  31. 0
      lua/lcorolib.c
  32. 0
      lua/lctype.c
  33. 0
      lua/lctype.h
  34. 0
      lua/ldblib.c
  35. 0
      lua/ldebug.c
  36. 0
      lua/ldebug.h
  37. 0
      lua/ldo.c
  38. 0
      lua/ldo.h
  39. 0
      lua/ldump.c
  40. 0
      lua/lfunc.c
  41. 0
      lua/lfunc.h
  42. 0
      lua/lgc.c
  43. 0
      lua/lgc.h
  44. 0
      lua/linit.c
  45. 0
      lua/liolib.c
  46. 0
      lua/ljumptab.h
  47. 0
      lua/llex.c
  48. 0
      lua/llex.h
  49. 0
      lua/llimits.h
  50. 0
      lua/lmathlib.c
  51. 0
      lua/lmem.c
  52. 0
      lua/lmem.h
  53. 0
      lua/loadlib.c
  54. 0
      lua/lobject.c
  55. 0
      lua/lobject.h
  56. 0
      lua/lopcodes.c
  57. 0
      lua/lopcodes.h
  58. 0
      lua/lopnames.h
  59. 0
      lua/loslib.c
  60. 0
      lua/lparser.c
  61. 0
      lua/lparser.h
  62. 0
      lua/lprefix.h
  63. 0
      lua/lstate.c
  64. 0
      lua/lstate.h
  65. 0
      lua/lstring.c
  66. 0
      lua/lstring.h
  67. 0
      lua/lstrlib.c
  68. 0
      lua/ltable.c
  69. 0
      lua/ltable.h
  70. 0
      lua/ltablib.c
  71. 0
      lua/ltm.c
  72. 0
      lua/ltm.h
  73. 0
      lua/lua.c
  74. 0
      lua/lua.h
  75. 0
      lua/lua.hpp
  76. 0
      lua/lua_base.h
  77. 0
      lua/luaconf.h
  78. 0
      lua/lualib.h
  79. 0
      lua/lundump.c
  80. 0
      lua/lundump.h
  81. 0
      lua/lutf8lib.c
  82. 0
      lua/lvm.c
  83. 0
      lua/lvm.h
  84. 0
      lua/lzio.c
  85. 0
      lua/lzio.h
  86. 0
      peripheral/ATParser.c
  87. 2
      peripheral/CMakeLists.txt
  88. 0
      peripheral/button.c
  89. 0
      peripheral/com.c
  90. 0
      peripheral/include/ATParser.h
  91. 0
      peripheral/include/button.h
  92. 0
      peripheral/include/com.h
  93. 0
      peripheral/include/led.h
  94. 0
      peripheral/led.c
  95. 0
      peripheral/peripheral.c

6
CMakeLists.txt

@ -117,9 +117,9 @@ add_module(common library/common ON OFF)
add_module(log library/log OFF OFF)
add_module(list library/list OFF OFF)
add_module(ringbuffer library/ringbuffer OFF OFF)
add_module(peripheral library/peripheral OFF ON)
add_module(lua library/lua OFF ON)
add_module(bspMCU library/bspMCU OFF OFF)
add_module(peripheral peripheral OFF ON)
add_module(lua lua OFF ON)
add_module(bspMCU bspMCU OFF OFF)
add_module(RBcore RBcore OFF OFF)
add_module(motor motor OFF OFF)
add_module(optional optional OFF OFF)

2
library/bspMCU/CMakeLists.txt → bspMCU/CMakeLists.txt

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt")
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../library/CMakeLists.txt")
if(EXISTS ${COMMON_CMAKE_PATH})
include(${COMMON_CMAKE_PATH})

0
library/bspMCU/My_Lwip.c → bspMCU/My_Lwip.c

0
library/bspMCU/My_freeRTOS.c → bspMCU/My_freeRTOS.c

0
library/bspMCU/My_print.c → bspMCU/My_print.c

0
library/bspMCU/bsp_CAN.c → bspMCU/bsp_CAN.c

0
library/bspMCU/bsp_cap.c → bspMCU/bsp_cap.c

0
library/bspMCU/bsp_i2c.c → bspMCU/bsp_i2c.c

0
library/bspMCU/bsp_pin.c → bspMCU/bsp_pin.c

0
library/bspMCU/bsp_uart.c → bspMCU/bsp_uart.c

0
library/bspMCU/bsp_usb.c → bspMCU/bsp_usb.c

0
library/bspMCU/include/bsp_CAN.h → bspMCU/include/bsp_CAN.h

0
library/bspMCU/include/bsp_cap.h → bspMCU/include/bsp_cap.h

0
library/bspMCU/include/bsp_i2c.h → bspMCU/include/bsp_i2c.h

0
library/bspMCU/include/bsp_pin.h → bspMCU/include/bsp_pin.h

0
library/bspMCU/include/bsp_uart.h → bspMCU/include/bsp_uart.h

0
library/bspMCU/include/bsp_usb.h → bspMCU/include/bsp_usb.h

0
library/bspMCU/include/stmflash.h → bspMCU/include/stmflash.h

0
library/bspMCU/l_can.c → bspMCU/l_can.c

0
library/bspMCU/l_stm32.c → bspMCU/l_stm32.c

0
library/bspMCU/l_uart.c → bspMCU/l_uart.c

0
library/bspMCU/stmflash.c → bspMCU/stmflash.c

2
library/lua/CMakeLists.txt → lua/CMakeLists.txt

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt")
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../library/CMakeLists.txt")
if(EXISTS ${COMMON_CMAKE_PATH})
include(${COMMON_CMAKE_PATH})

0
library/lua/lapi.c → lua/lapi.c

0
library/lua/lapi.h → lua/lapi.h

0
library/lua/lauxlib.c → lua/lauxlib.c

0
library/lua/lauxlib.h → lua/lauxlib.h

0
library/lua/lbaselib.c → lua/lbaselib.c

0
library/lua/lcode.c → lua/lcode.c

0
library/lua/lcode.h → lua/lcode.h

0
library/lua/lcorolib.c → lua/lcorolib.c

0
library/lua/lctype.c → lua/lctype.c

0
library/lua/lctype.h → lua/lctype.h

0
library/lua/ldblib.c → lua/ldblib.c

0
library/lua/ldebug.c → lua/ldebug.c

0
library/lua/ldebug.h → lua/ldebug.h

0
library/lua/ldo.c → lua/ldo.c

0
library/lua/ldo.h → lua/ldo.h

0
library/lua/ldump.c → lua/ldump.c

0
library/lua/lfunc.c → lua/lfunc.c

0
library/lua/lfunc.h → lua/lfunc.h

0
library/lua/lgc.c → lua/lgc.c

0
library/lua/lgc.h → lua/lgc.h

0
library/lua/linit.c → lua/linit.c

0
library/lua/liolib.c → lua/liolib.c

0
library/lua/ljumptab.h → lua/ljumptab.h

0
library/lua/llex.c → lua/llex.c

0
library/lua/llex.h → lua/llex.h

0
library/lua/llimits.h → lua/llimits.h

0
library/lua/lmathlib.c → lua/lmathlib.c

0
library/lua/lmem.c → lua/lmem.c

0
library/lua/lmem.h → lua/lmem.h

0
library/lua/loadlib.c → lua/loadlib.c

0
library/lua/lobject.c → lua/lobject.c

0
library/lua/lobject.h → lua/lobject.h

0
library/lua/lopcodes.c → lua/lopcodes.c

0
library/lua/lopcodes.h → lua/lopcodes.h

0
library/lua/lopnames.h → lua/lopnames.h

0
library/lua/loslib.c → lua/loslib.c

0
library/lua/lparser.c → lua/lparser.c

0
library/lua/lparser.h → lua/lparser.h

0
library/lua/lprefix.h → lua/lprefix.h

0
library/lua/lstate.c → lua/lstate.c

0
library/lua/lstate.h → lua/lstate.h

0
library/lua/lstring.c → lua/lstring.c

0
library/lua/lstring.h → lua/lstring.h

0
library/lua/lstrlib.c → lua/lstrlib.c

0
library/lua/ltable.c → lua/ltable.c

0
library/lua/ltable.h → lua/ltable.h

0
library/lua/ltablib.c → lua/ltablib.c

0
library/lua/ltm.c → lua/ltm.c

0
library/lua/ltm.h → lua/ltm.h

0
library/lua/lua.c → lua/lua.c

0
library/lua/lua.h → lua/lua.h

0
library/lua/lua.hpp → lua/lua.hpp

0
library/lua/lua_base.h → lua/lua_base.h

0
library/lua/luaconf.h → lua/luaconf.h

0
library/lua/lualib.h → lua/lualib.h

0
library/lua/lundump.c → lua/lundump.c

0
library/lua/lundump.h → lua/lundump.h

0
library/lua/lutf8lib.c → lua/lutf8lib.c

0
library/lua/lvm.c → lua/lvm.c

0
library/lua/lvm.h → lua/lvm.h

0
library/lua/lzio.c → lua/lzio.c

0
library/lua/lzio.h → lua/lzio.h

0
library/peripheral/ATParser.c → peripheral/ATParser.c

2
library/peripheral/CMakeLists.txt → peripheral/CMakeLists.txt

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
get_filename_component(TARGET_NAME "${CMAKE_CURRENT_SOURCE_DIR}" NAME)
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt")
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../library/CMakeLists.txt")
if(EXISTS ${COMMON_CMAKE_PATH})
include(${COMMON_CMAKE_PATH})

0
library/peripheral/button.c → peripheral/button.c

0
library/peripheral/com.c → peripheral/com.c

0
library/peripheral/include/ATParser.h → peripheral/include/ATParser.h

0
library/peripheral/include/button.h → peripheral/include/button.h

0
library/peripheral/include/com.h → peripheral/include/com.h

0
library/peripheral/include/led.h → peripheral/include/led.h

0
library/peripheral/led.c → peripheral/led.c

0
library/peripheral/peripheral.c → peripheral/peripheral.c

Loading…
Cancel
Save