null 5 ani în urmă
părinte
comite
47b0bc8918
100 a modificat fișierele cu 1005 adăugiri și 0 ștergeri
  1. BIN
      documents/images/board_large.png
  2. BIN
      documents/images/board_small.png
  3. BIN
      documents/sheet/TM4C129X Datasheet.pdf
  4. 387 0
      rtt_default_project_0/.config
  5. 197 0
      rtt_default_project_0/.cproject
  6. 28 0
      rtt_default_project_0/.project
  7. 83 0
      rtt_default_project_0/.settings/bsp-tm4c129x.JLink.Debug.rttlaunch
  8. 14 0
      rtt_default_project_0/.settings/language.settings.xml
  9. 21 0
      rtt_default_project_0/.settings/org.eclipse.cdt.core.prefs
  10. 2 0
      rtt_default_project_0/.settings/org.eclipse.core.resources.prefs
  11. 3 0
      rtt_default_project_0/.settings/org.eclipse.core.runtime.prefs
  12. 19 0
      rtt_default_project_0/.settings/projcfg.ini
  13. 30 0
      rtt_default_project_0/Kconfig
  14. 14 0
      rtt_default_project_0/SConscript
  15. 34 0
      rtt_default_project_0/SConstruct
  16. 11 0
      rtt_default_project_0/applications/SConscript
  17. 21 0
      rtt_default_project_0/applications/application.c
  18. 100 0
      rtt_default_project_0/applications/board.c
  19. 41 0
      rtt_default_project_0/applications/board.h
  20. BIN
      rtt_default_project_0/build/applications/application.o
  21. BIN
      rtt_default_project_0/build/applications/board.o
  22. BIN
      rtt_default_project_0/build/drivers/drv_eth.o
  23. BIN
      rtt_default_project_0/build/drivers/drv_uart.o
  24. BIN
      rtt_default_project_0/build/kernel/components/drivers/serial/serial.o
  25. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/completion.o
  26. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/dataqueue.o
  27. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/pipe.o
  28. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/ringblk_buf.o
  29. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/ringbuffer.o
  30. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/waitqueue.o
  31. BIN
      rtt_default_project_0/build/kernel/components/drivers/src/workqueue.o
  32. BIN
      rtt_default_project_0/build/kernel/components/finsh/cmd.o
  33. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_compiler.o
  34. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_error.o
  35. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_heap.o
  36. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_init.o
  37. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_node.o
  38. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_ops.o
  39. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_parser.o
  40. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_token.o
  41. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_var.o
  42. BIN
      rtt_default_project_0/build/kernel/components/finsh/finsh_vm.o
  43. BIN
      rtt_default_project_0/build/kernel/components/finsh/shell.o
  44. BIN
      rtt_default_project_0/build/kernel/components/libc/compilers/common/time.o
  45. BIN
      rtt_default_project_0/build/kernel/components/libc/compilers/newlib/libc.o
  46. BIN
      rtt_default_project_0/build/kernel/components/libc/compilers/newlib/libc_syms.o
  47. BIN
      rtt_default_project_0/build/kernel/components/libc/compilers/newlib/stdio.o
  48. BIN
      rtt_default_project_0/build/kernel/components/libc/compilers/newlib/syscalls.o
  49. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/api_lib.o
  50. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/api_msg.o
  51. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/err.o
  52. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netbuf.o
  53. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netdb.o
  54. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netifapi.o
  55. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/sockets.o
  56. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/tcpip.o
  57. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/arch/sys_arch.o
  58. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/def.o
  59. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/dhcp.o
  60. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/dns.o
  61. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/init.o
  62. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/autoip.o
  63. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/icmp.o
  64. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/igmp.o
  65. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/inet.o
  66. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/inet_chksum.o
  67. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip.o
  68. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip_addr.o
  69. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip_frag.o
  70. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/memp.o
  71. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/netif.o
  72. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/pbuf.o
  73. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/raw.o
  74. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/stats.o
  75. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/sys.o
  76. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp.o
  77. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp_in.o
  78. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp_out.o
  79. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/timers.o
  80. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/udp.o
  81. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/etharp.o
  82. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/ethernetif.o
  83. BIN
      rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/slipif.o
  84. BIN
      rtt_default_project_0/build/kernel/libcpu/arm/common/backtrace.o
  85. BIN
      rtt_default_project_0/build/kernel/libcpu/arm/common/div0.o
  86. BIN
      rtt_default_project_0/build/kernel/libcpu/arm/common/showmem.o
  87. BIN
      rtt_default_project_0/build/kernel/libcpu/arm/cortex-m4/context_gcc.o
  88. BIN
      rtt_default_project_0/build/kernel/libcpu/arm/cortex-m4/cpuport.o
  89. BIN
      rtt_default_project_0/build/kernel/src/clock.o
  90. BIN
      rtt_default_project_0/build/kernel/src/components.o
  91. BIN
      rtt_default_project_0/build/kernel/src/device.o
  92. BIN
      rtt_default_project_0/build/kernel/src/idle.o
  93. BIN
      rtt_default_project_0/build/kernel/src/ipc.o
  94. BIN
      rtt_default_project_0/build/kernel/src/irq.o
  95. BIN
      rtt_default_project_0/build/kernel/src/kservice.o
  96. BIN
      rtt_default_project_0/build/kernel/src/mem.o
  97. BIN
      rtt_default_project_0/build/kernel/src/memheap.o
  98. BIN
      rtt_default_project_0/build/kernel/src/mempool.o
  99. BIN
      rtt_default_project_0/build/kernel/src/object.o
  100. BIN
      rtt_default_project_0/build/kernel/src/scheduler.o

BIN
documents/images/board_large.png


BIN
documents/images/board_small.png


BIN
documents/sheet/TM4C129X Datasheet.pdf


+ 387 - 0
rtt_default_project_0/.config

@@ -0,0 +1,387 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# RT-Thread Configuration
+#
+
+#
+# RT-Thread Kernel
+#
+CONFIG_RT_NAME_MAX=8
+# CONFIG_RT_USING_SMP is not set
+CONFIG_RT_ALIGN_SIZE=4
+# CONFIG_RT_THREAD_PRIORITY_8 is not set
+CONFIG_RT_THREAD_PRIORITY_32=y
+# CONFIG_RT_THREAD_PRIORITY_256 is not set
+CONFIG_RT_THREAD_PRIORITY_MAX=32
+CONFIG_RT_TICK_PER_SECOND=100
+CONFIG_RT_USING_OVERFLOW_CHECK=y
+CONFIG_RT_USING_HOOK=y
+CONFIG_RT_USING_IDLE_HOOK=y
+CONFIG_RT_IDLE_HOOK_LIST_SIZE=4
+CONFIG_IDLE_THREAD_STACK_SIZE=256
+CONFIG_RT_USING_TIMER_SOFT=y
+CONFIG_RT_TIMER_THREAD_PRIO=4
+CONFIG_RT_TIMER_THREAD_STACK_SIZE=512
+CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
+# CONFIG_RT_DEBUG_INIT_CONFIG is not set
+# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
+# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
+# CONFIG_RT_DEBUG_IPC_CONFIG is not set
+# CONFIG_RT_DEBUG_TIMER_CONFIG is not set
+# CONFIG_RT_DEBUG_IRQ_CONFIG is not set
+# CONFIG_RT_DEBUG_MEM_CONFIG is not set
+# CONFIG_RT_DEBUG_SLAB_CONFIG is not set
+# CONFIG_RT_DEBUG_MEMHEAP_CONFIG is not set
+# CONFIG_RT_DEBUG_MODULE_CONFIG is not set
+
+#
+# Inter-Thread communication
+#
+CONFIG_RT_USING_SEMAPHORE=y
+CONFIG_RT_USING_MUTEX=y
+CONFIG_RT_USING_EVENT=y
+CONFIG_RT_USING_MAILBOX=y
+CONFIG_RT_USING_MESSAGEQUEUE=y
+# CONFIG_RT_USING_SIGNALS is not set
+
+#
+# Memory Management
+#
+CONFIG_RT_USING_MEMPOOL=y
+CONFIG_RT_USING_MEMHEAP=y
+# CONFIG_RT_USING_NOHEAP is not set
+CONFIG_RT_USING_SMALL_MEM=y
+# CONFIG_RT_USING_SLAB is not set
+# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
+# CONFIG_RT_USING_MEMTRACE is not set
+CONFIG_RT_USING_HEAP=y
+
+#
+# Kernel Device Object
+#
+CONFIG_RT_USING_DEVICE=y
+# CONFIG_RT_USING_DEVICE_OPS is not set
+# CONFIG_RT_USING_INTERRUPT_INFO is not set
+CONFIG_RT_USING_CONSOLE=y
+CONFIG_RT_CONSOLEBUF_SIZE=128
+CONFIG_RT_CONSOLE_DEVICE_NAME="uart0"
+CONFIG_RT_VER_NUM=0x40000
+# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
+
+#
+# RT-Thread Components
+#
+CONFIG_RT_USING_COMPONENTS_INIT=y
+CONFIG_RT_USING_USER_MAIN=y
+CONFIG_RT_MAIN_THREAD_STACK_SIZE=2048
+CONFIG_RT_MAIN_THREAD_PRIORITY=10
+
+#
+# C++ features
+#
+# CONFIG_RT_USING_CPLUSPLUS is not set
+
+#
+# Command shell
+#
+CONFIG_RT_USING_FINSH=y
+CONFIG_FINSH_THREAD_NAME="tshell"
+CONFIG_FINSH_USING_HISTORY=y
+CONFIG_FINSH_HISTORY_LINES=5
+CONFIG_FINSH_USING_SYMTAB=y
+CONFIG_FINSH_USING_DESCRIPTION=y
+# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
+CONFIG_FINSH_THREAD_PRIORITY=20
+CONFIG_FINSH_THREAD_STACK_SIZE=4096
+CONFIG_FINSH_CMD_SIZE=80
+# CONFIG_FINSH_USING_AUTH is not set
+# CONFIG_FINSH_USING_MSH is not set
+
+#
+# Device virtual file system
+#
+# CONFIG_RT_USING_DFS is not set
+
+#
+# Device Drivers
+#
+CONFIG_RT_USING_DEVICE_IPC=y
+CONFIG_RT_PIPE_BUFSZ=512
+CONFIG_RT_USING_SERIAL=y
+CONFIG_RT_SERIAL_USING_DMA=y
+# CONFIG_RT_USING_CAN is not set
+# CONFIG_RT_USING_HWTIMER is not set
+# CONFIG_RT_USING_CPUTIME is not set
+# CONFIG_RT_USING_I2C is not set
+# CONFIG_RT_USING_PIN is not set
+# CONFIG_RT_USING_ADC is not set
+# CONFIG_RT_USING_PWM is not set
+# CONFIG_RT_USING_MTD_NOR is not set
+# CONFIG_RT_USING_MTD_NAND is not set
+# CONFIG_RT_USING_MTD is not set
+# CONFIG_RT_USING_PM is not set
+# CONFIG_RT_USING_RTC is not set
+# CONFIG_RT_USING_SDIO is not set
+# CONFIG_RT_USING_SPI is not set
+# CONFIG_RT_USING_WDT is not set
+# CONFIG_RT_USING_AUDIO is not set
+
+#
+# Using WiFi
+#
+# CONFIG_RT_USING_WIFI is not set
+
+#
+# Using USB
+#
+# CONFIG_RT_USING_USB_HOST is not set
+# CONFIG_RT_USING_USB_DEVICE is not set
+
+#
+# POSIX layer and C standard library
+#
+CONFIG_RT_USING_LIBC=y
+# CONFIG_RT_USING_PTHREADS is not set
+
+#
+# Network
+#
+
+#
+# Socket abstraction layer
+#
+# CONFIG_RT_USING_SAL is not set
+
+#
+# light weight TCP/IP stack
+#
+CONFIG_RT_USING_LWIP=y
+CONFIG_RT_USING_LWIP141=y
+# CONFIG_RT_USING_LWIP202 is not set
+# CONFIG_RT_USING_LWIP210 is not set
+# CONFIG_RT_LWIP_IGMP is not set
+CONFIG_RT_LWIP_ICMP=y
+# CONFIG_RT_LWIP_SNMP is not set
+CONFIG_RT_LWIP_DNS=y
+CONFIG_RT_LWIP_DHCP=y
+CONFIG_IP_SOF_BROADCAST=1
+CONFIG_IP_SOF_BROADCAST_RECV=1
+
+#
+# Static IPv4 Address
+#
+CONFIG_RT_LWIP_IPADDR="192.168.1.30"
+CONFIG_RT_LWIP_GWADDR="192.168.1.1"
+CONFIG_RT_LWIP_MSKADDR="255.255.255.0"
+CONFIG_RT_LWIP_UDP=y
+CONFIG_RT_LWIP_TCP=y
+# CONFIG_RT_LWIP_RAW is not set
+# CONFIG_RT_LWIP_PPP is not set
+CONFIG_RT_MEMP_NUM_NETCONN=8
+CONFIG_RT_LWIP_PBUF_NUM=16
+CONFIG_RT_LWIP_RAW_PCB_NUM=4
+CONFIG_RT_LWIP_UDP_PCB_NUM=4
+CONFIG_RT_LWIP_TCP_PCB_NUM=4
+CONFIG_RT_LWIP_TCP_SEG_NUM=40
+CONFIG_RT_LWIP_TCP_SND_BUF=8196
+CONFIG_RT_LWIP_TCP_WND=8196
+CONFIG_RT_LWIP_TCPTHREAD_PRIORITY=10
+CONFIG_RT_LWIP_TCPTHREAD_MBOX_SIZE=8
+CONFIG_RT_LWIP_TCPTHREAD_STACKSIZE=1024
+# CONFIG_LWIP_NO_RX_THREAD is not set
+# CONFIG_LWIP_NO_TX_THREAD is not set
+CONFIG_RT_LWIP_ETHTHREAD_PRIORITY=12
+CONFIG_RT_LWIP_ETHTHREAD_STACKSIZE=1024
+CONFIG_RT_LWIP_ETHTHREAD_MBOX_SIZE=8
+# CONFIG_RT_LWIP_REASSEMBLY_FRAG is not set
+CONFIG_LWIP_NETIF_STATUS_CALLBACK=1
+CONFIG_SO_REUSE=1
+CONFIG_LWIP_SO_RCVTIMEO=1
+CONFIG_LWIP_SO_SNDTIMEO=1
+CONFIG_LWIP_SO_RCVBUF=1
+# CONFIG_RT_LWIP_NETIF_LOOPBACK is not set
+CONFIG_LWIP_NETIF_LOOPBACK=0
+# CONFIG_RT_LWIP_STATS is not set
+# CONFIG_RT_LWIP_DEBUG is not set
+
+#
+# Modbus master and slave stack
+#
+# CONFIG_RT_USING_MODBUS is not set
+
+#
+# AT commands
+#
+# CONFIG_RT_USING_AT is not set
+# CONFIG_LWIP_USING_DHCPD is not set
+
+#
+# VBUS(Virtual Software BUS)
+#
+# CONFIG_RT_USING_VBUS is not set
+
+#
+# Utilities
+#
+# CONFIG_RT_USING_LOGTRACE is not set
+# CONFIG_RT_USING_RYM is not set
+# CONFIG_RT_USING_ULOG is not set
+# CONFIG_RT_USING_UTEST is not set
+
+#
+# RT-Thread online packages
+#
+
+#
+# IoT - internet of things
+#
+# CONFIG_PKG_USING_PAHOMQTT is not set
+# CONFIG_PKG_USING_WEBCLIENT is not set
+# CONFIG_PKG_USING_WEBNET is not set
+# CONFIG_PKG_USING_MONGOOSE is not set
+# CONFIG_PKG_USING_WEBTERMINAL is not set
+# CONFIG_PKG_USING_CJSON is not set
+# CONFIG_PKG_USING_JSMN is not set
+# CONFIG_PKG_USING_LJSON is not set
+# CONFIG_PKG_USING_EZXML is not set
+# CONFIG_PKG_USING_NANOPB is not set
+
+#
+# Wi-Fi
+#
+
+#
+# Marvell WiFi
+#
+# CONFIG_PKG_USING_WLANMARVELL is not set
+
+#
+# Wiced WiFi
+#
+# CONFIG_PKG_USING_WLAN_WICED is not set
+# CONFIG_PKG_USING_COAP is not set
+# CONFIG_PKG_USING_NOPOLL is not set
+# CONFIG_PKG_USING_NETUTILS is not set
+# CONFIG_PKG_USING_AT_DEVICE is not set
+# CONFIG_PKG_USING_WIZNET is not set
+
+#
+# IoT Cloud
+#
+# CONFIG_PKG_USING_ONENET is not set
+# CONFIG_PKG_USING_GAGENT_CLOUD is not set
+# CONFIG_PKG_USING_ALI_IOTKIT is not set
+# CONFIG_PKG_USING_AZURE is not set
+# CONFIG_PKG_USING_TENCENT_IOTKIT is not set
+
+#
+# security packages
+#
+# CONFIG_PKG_USING_MBEDTLS is not set
+# CONFIG_PKG_USING_libsodium is not set
+# CONFIG_PKG_USING_TINYCRYPT is not set
+
+#
+# language packages
+#
+# CONFIG_PKG_USING_LUA is not set
+# CONFIG_PKG_USING_JERRYSCRIPT is not set
+# CONFIG_PKG_USING_MICROPYTHON is not set
+
+#
+# multimedia packages
+#
+# CONFIG_PKG_USING_OPENMV is not set
+# CONFIG_PKG_USING_MUPDF is not set
+
+#
+# tools packages
+#
+# CONFIG_PKG_USING_CMBACKTRACE is not set
+# CONFIG_PKG_USING_EASYFLASH is not set
+# CONFIG_PKG_USING_EASYLOGGER is not set
+# CONFIG_PKG_USING_SYSTEMVIEW is not set
+# CONFIG_PKG_USING_RDB is not set
+# CONFIG_PKG_USING_QRCODE is not set
+# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
+
+#
+# system packages
+#
+# CONFIG_PKG_USING_GUIENGINE is not set
+# CONFIG_PKG_USING_CAIRO is not set
+# CONFIG_PKG_USING_PIXMAN is not set
+# CONFIG_PKG_USING_LWEXT4 is not set
+# CONFIG_PKG_USING_PARTITION is not set
+# CONFIG_PKG_USING_FAL is not set
+# CONFIG_PKG_USING_SQLITE is not set
+# CONFIG_PKG_USING_RTI is not set
+# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
+# CONFIG_PKG_USING_CMSIS is not set
+# CONFIG_PKG_USING_DFS_YAFFS is not set
+# CONFIG_PKG_USING_LITTLEFS is not set
+
+#
+# peripheral libraries and drivers
+#
+# CONFIG_PKG_USING_REALTEK_AMEBA is not set
+# CONFIG_PKG_USING_SHT2X is not set
+# CONFIG_PKG_USING_AHT10 is not set
+# CONFIG_PKG_USING_AP3216C is not set
+# CONFIG_PKG_USING_STM32_SDIO is not set
+# CONFIG_PKG_USING_ICM20608 is not set
+# CONFIG_PKG_USING_U8G2 is not set
+# CONFIG_PKG_USING_BUTTON is not set
+# CONFIG_PKG_USING_MPU6XXX is not set
+# CONFIG_PKG_USING_PCF8574 is not set
+# CONFIG_PKG_USING_KENDRYTE_SDK is not set
+
+#
+# miscellaneous packages
+#
+# CONFIG_PKG_USING_LIBCSV is not set
+# CONFIG_PKG_USING_OPTPARSE is not set
+# CONFIG_PKG_USING_FASTLZ is not set
+# CONFIG_PKG_USING_MINILZO is not set
+# CONFIG_PKG_USING_QUICKLZ is not set
+# CONFIG_PKG_USING_MULTIBUTTON is not set
+# CONFIG_PKG_USING_CANFESTIVAL is not set
+# CONFIG_PKG_USING_ZLIB is not set
+# CONFIG_PKG_USING_DSTR is not set
+# CONFIG_PKG_USING_TINYFRAME is not set
+# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
+
+#
+# samples: kernel and components samples
+#
+# CONFIG_PKG_USING_KERNEL_SAMPLES is not set
+# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
+# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
+# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
+# CONFIG_PKG_USING_HELLO is not set
+
+#
+# Privated Packages of RealThread
+#
+# CONFIG_PKG_USING_CODEC is not set
+# CONFIG_PKG_USING_PLAYER is not set
+# CONFIG_PKG_USING_PERSIMMON_SRC is not set
+# CONFIG_PKG_USING_JS_PERSIMMON is not set
+# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
+
+#
+# Network Utilities
+#
+# CONFIG_PKG_USING_MDNS is not set
+# CONFIG_PKG_USING_UPNP is not set
+# CONFIG_PKG_USING_WICED is not set
+# CONFIG_PKG_USING_CLOUDSDK is not set
+# CONFIG_PKG_USING_COREMARK is not set
+# CONFIG_PKG_USING_POWER_MANAGER is not set
+# CONFIG_PKG_USING_RT_OTA is not set
+# CONFIG_PKG_USING_RDBD_SRC is not set
+# CONFIG_PKG_USING_RTINSIGHT is not set
+# CONFIG_PKG_USING_SMARTCONFIG is not set
+# CONFIG_PKG_USING_RTX is not set
+CONFIG_RT_USING_UART0=y

Fișier diff suprimat deoarece este prea mare
+ 197 - 0
rtt_default_project_0/.cproject


+ 28 - 0
rtt_default_project_0/.project

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+  <name>bsp-tm4c129x</name>
+  <comment />
+  <projects>
+	</projects>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+      <triggers>clean,full,incremental,</triggers>
+      <arguments>
+			</arguments>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+      <triggers>full,incremental,</triggers>
+      <arguments>
+			</arguments>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.cdt.core.cnature</nature>
+    <nature>org.rt-thread.studio.rttnature</nature>
+    <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+    <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+  </natures>
+  <linkedResources />
+</projectDescription>

+ 83 - 0
rtt_default_project_0/.settings/bsp-tm4c129x.JLink.Debug.rttlaunch

@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="ilg.gnumcueclipse.debug.gdbjtag.jlink.launchConfigurationType">
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.adapterName" value="J-Link"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doConnectToRunning" value="false"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doContinue" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doDebugInRam" value="false"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doFirstReset" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerAllocateConsole" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerAllocateSemihostingConsole" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerInitRegs" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerLocalOnly" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerSilent" value="false"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doGdbServerVerifyDownload" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doSecondReset" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.doStartGdbServer" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.enableFlashBreakpoints" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.enableSemihosting" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.enableSemihostingIoclientGdbClient" value="false"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.enableSemihostingIoclientTelnet" value="true"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.enableSwo" value="true"/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.firstResetSpeed" value="1000"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.firstResetType" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.flashDeviceName" value="TM4C129XKCZAD"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbClientOtherCommands" value="set mem inaccessible-by-default off"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbClientOtherOptions" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerConnection" value="usb"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerConnectionAddress" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDebugInterface" value="swd"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceEndianness" value="little"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceName" value="TM4C129XKCZAD"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceSpeed" value="1000"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerExecutable" value="${rtt_install_path}/repo/Extract/Debugger_Support_Packages/SEGGER/J-Link/6.80d/JLinkGDBServerCL.exe"/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerGdbPortNumber" value="2331"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerLog" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerOther" value="-singlerun"/>
+<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerRunAfterStopDebug" value="true"/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerSwoPortNumber" value="2332"/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerTelnetPortNumber" value="2333"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.interfaceSpeed" value="auto"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.jlinkExecutable" value="${rtt_install_path}/repo/Extract/Debugger_Support_Packages/SEGGER/J-Link/6.80d/JLink.exe"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.otherInitCommands" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.otherRunCommands" value=""/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.secondResetType" value=""/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.swoEnableTargetCpuFreq" value="0"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.swoEnableTargetPortMask" value="0x1"/>
+<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.swoEnableTargetSwoFreq" value="0"/>
+<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.svdPath" value="${rtt_install_path}\repo\Extract\Chip_Support_Packages\RealThread\STM32F0\0.1.9\debug\svd\STM32F0x0.svd"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageOffset" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDevice" value="GNU MCU J-Link"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadImage" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadSymbols" value="true"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="2331"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsFileName" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsOffset" value=""/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForImage" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForSymbols" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useRemoteTarget" value="true"/>
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${rtt_gnu_gcc}/arm-none-eabi-gdb.exe"/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
+<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="0"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="rtthread.elf"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="scons_project"/>
+<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/scons_project"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.cdt.debug.core.sourceLocator"/>
+<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;sourceLookupDirector&gt;&#13;&#10;&lt;sourceContainers duplicates=&quot;false&quot;&gt;&#13;&#10;&lt;container memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;default/&amp;gt;&amp;#13;&amp;#10;&quot; typeId=&quot;org.eclipse.debug.core.containerType.default&quot;/&gt;&#13;&#10;&lt;/sourceContainers&gt;&#13;&#10;&lt;/sourceLookupDirector&gt;&#13;&#10;"/>
+<stringAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_ENCODING" value="GBK"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="true"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="true"/>
+</launchConfiguration>

+ 14 - 0
rtt_default_project_0/.settings/language.settings.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<project>
+	<configuration id="ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094" name="Debug">
+		<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
+			<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
+			<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
+			<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
+			<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1845881166325662302" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
+				<language-scope id="org.eclipse.cdt.core.gcc"/>
+				<language-scope id="org.eclipse.cdt.core.g++"/>
+			</provider>
+		</extension>
+	</configuration>
+</project>

+ 21 - 0
rtt_default_project_0/.settings/org.eclipse.cdt.core.prefs

@@ -0,0 +1,21 @@
+eclipse.preferences.version=1
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/CWD/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/CWD/operation=replace
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/CWD/value=${ProjDirPath}
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONHOME/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONHOME/operation=replace
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONHOME/value=${rtt_install_path}\\platform\\env_released\\env\\tools\\Python27
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PATH/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PATH/operation=append
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PATH/value=${SCONS_ROOT}/Scripts;${PYTHONPATH};${PYTHONHOME};
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONPATH/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONPATH/operation=replace
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/PYTHONPATH/value=${rtt_install_path}\\platform\\env_released\\env\\tools\\Python27\\Lib\\site-packages\\scons
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/SCONS_ROOT/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/SCONS_ROOT/operation=replace
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/SCONS_ROOT/value=${rtt_install_path}\\platform\\env_released\\env\\tools\\Python27
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/RTT_EXEC_PATH/delimiter=;
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/RTT_EXEC_PATH/operation=replace
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/RTT_EXEC_PATH/value=${rtt_install_path}\\repo\\Extract\\ToolChain_Support_Packages\\ARM\\GNU_Tools_for_ARM_Embedded_Processors\\5.4.1\\bin
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/append=true
+environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.553091094/appendContributed=true

+ 2 - 0
rtt_default_project_0/.settings/org.eclipse.core.resources.prefs

@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8

+ 3 - 0
rtt_default_project_0/.settings/org.eclipse.core.runtime.prefs

@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1

+ 19 - 0
rtt_default_project_0/.settings/projcfg.ini

@@ -0,0 +1,19 @@
+#RT-Thread Studio Project Configuration
+#Tue Jan 19 14:30:18 CST 2021
+cfg_version=v3.0
+board_name=BLANK-PROJECT-TEMPLATE
+example_name=scons_project
+hardware_adapter=J-Link
+project_type=bare-metal
+board_base_nano_proj=False
+chip_name=None
+selected_rtt_version=
+bsp_version=1.1.0
+os_branch=notUsed
+output_project_path=D\:/RT-ThreadStudio/workspace
+is_base_example_project=True
+is_use_scons_build=False
+project_base_bsp=true
+project_name=scons_project
+os_version=notUsed
+bsp_path=repo/Extract/Board_Support_Packages/RealThread/BLANK-PROJECT-TEMPLATE/1.1.0

+ 30 - 0
rtt_default_project_0/Kconfig

@@ -0,0 +1,30 @@
+mainmenu "RT-Thread Configuration"
+
+config BSP_DIR
+    string
+    option env="BSP_ROOT"
+    default "."
+
+config RTT_DIR
+    string
+    option env="RTT_ROOT"
+    default "rt-thread"
+
+config PKGS_DIR
+    string
+    option env="PKGS_ROOT"
+    default "packages"
+
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+
+config SOC_TM4C129
+    bool
+    select RT_USING_COMPONENTS_INIT
+    select RT_USING_USER_MAIN
+    default y
+
+config RT_USING_UART0
+    bool "Using RT_USING_UART0"
+    default y    
+ 

+ 14 - 0
rtt_default_project_0/SConscript

@@ -0,0 +1,14 @@
+# for module compiling
+import os
+Import('RTT_ROOT')
+
+cwd = str(Dir('#'))
+objs = []
+list = os.listdir(cwd)
+
+for d in list:
+    path = os.path.join(cwd, d)
+    if os.path.isfile(os.path.join(path, 'SConscript')):
+        objs = objs + SConscript(os.path.join(d, 'SConscript'))
+
+Return('objs')

+ 34 - 0
rtt_default_project_0/SConstruct

@@ -0,0 +1,34 @@
+import os
+import sys
+import rtconfig
+
+if os.getenv('RTT_ROOT'):
+    RTT_ROOT = os.getenv('RTT_ROOT')
+else:
+    RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
+
+# set RTT_ROOT
+if not os.getenv("RTT_ROOT"): 
+    RTT_ROOT="rt-thread"
+
+sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
+from building import *
+
+TARGET = 'rtthread.' + rtconfig.TARGET_EXT
+
+DefaultEnvironment(tools=[])
+env = Environment(tools = ['mingw'],
+	AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
+	CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,
+	AR = rtconfig.AR, ARFLAGS = '-rc',
+	LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
+env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
+
+Export('RTT_ROOT')
+Export('rtconfig')
+
+# prepare building environment
+objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
+
+# make a building
+DoBuilding(TARGET, objs)

+ 11 - 0
rtt_default_project_0/applications/SConscript

@@ -0,0 +1,11 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd     = os.path.join(str(Dir('#')), 'applications')
+src	= Glob('*.c')
+CPPPATH = [cwd, str(Dir('#'))]
+
+group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')

+ 21 - 0
rtt_default_project_0/applications/application.c

@@ -0,0 +1,21 @@
+/*
+ * File      : application.c
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2014, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2014-07-18     ArdaFu       the first version for TM4C129X
+ */
+
+#include <rtthread.h>
+
+int main(void)
+{
+  /* user app entry */
+}
+

+ 100 - 0
rtt_default_project_0/applications/board.c

@@ -0,0 +1,100 @@
+/*
+ * File      : board.c
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2013 RT-Thread Develop Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2009-01-05     Bernard      first implementation
+ * 2014-07-18     ArdaFu       Port to TM4C129X
+ */
+
+#include <rthw.h>
+#include <rtthread.h>
+#include "board.h"
+
+
+#include "driverlib/interrupt.h"
+#include "driverlib/sysctl.h"
+#include "driverlib/systick.h"
+#include "driverlib/fpu.h"
+#include "driverlib/rom_map.h"
+
+#define SYS_CLOCK_DEFAULT 120000000
+uint32_t SystemCoreClock;
+#define FAULT_NMI               2           // NMI fault
+#define FAULT_HARD              3           // Hard fault
+#define FAULT_MPU               4           // MPU fault
+#define FAULT_BUS               5           // Bus fault
+#define FAULT_USAGE             6           // Usage fault
+#define FAULT_SVCALL            11          // SVCall
+#define FAULT_DEBUG             12          // Debug monitor
+#define FAULT_PENDSV            14          // PendSV
+#define FAULT_SYSTICK           15          // System Tick
+
+/**
+ * This is the timer interrupt service routine.
+ *
+ */
+void SysTick_Handler(void)
+{
+    /* enter interrupt */
+    rt_interrupt_enter();
+
+    rt_tick_increase();
+
+    /* leave interrupt */
+    rt_interrupt_leave();
+}
+
+extern void PendSV_Handler(void);
+extern void HardFault_Handler(void);
+
+/**
+ * This function will initial TM4C129X board.
+ */
+void rt_hw_board_init()
+{
+    //init low level drivers. e.g. cpu uart etc.
+    rt_components_board_init();
+    //init HEAP.
+    #ifdef RT_USING_HEAP
+        rt_system_heap_init(HEAP_BEGIN, HEAP_END);
+    #endif
+    //redirect RTT stdio to CONSOLE device
+    rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
+}
+
+int rt_hw_cpu_init(void)
+{
+    MAP_IntMasterDisable();
+    IntRegister(FAULT_HARD, HardFault_Handler);	
+    IntRegister(FAULT_PENDSV, PendSV_Handler);
+    IntRegister(FAULT_SYSTICK, SysTick_Handler);
+    
+    // Enable lazy stacking for interrupt handlers.  This allows floating-point
+    // instructions to be used within interrupt handlers, but at the expense of
+    // extra stack usage.
+    MAP_FPULazyStackingEnable();
+
+    // Set the clocking to run directly from the external crystal/oscillator.
+    // TODO: The SYSCTL_XTAL_ value must be changed to match the value of the
+    // crystal on your board.
+    SystemCoreClock = MAP_SysCtlClockFreqSet(
+                (SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480),
+                SYS_CLOCK_DEFAULT);
+
+    MAP_SysTickDisable();
+    MAP_SysTickPeriodSet(SystemCoreClock/ RT_TICK_PER_SECOND - 1);
+    MAP_SysTickIntEnable();
+    MAP_SysTickEnable();	
+
+    return 0;
+}
+// rt_hw_cpu_init should be run before any other INIT_BOARD_EXPORT
+// We use INIT_EXPORT here and set the sequence index to "0.xxxx"
+INIT_EXPORT(rt_hw_cpu_init, "0.post");

+ 41 - 0
rtt_default_project_0/applications/board.h

@@ -0,0 +1,41 @@
+/*
+ * File      : board.h
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2009, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2009-09-22     Bernard      add board.h to this bsp
+ * 2010-02-04     Magicoe      add board.h to LPC176x bsp
+ * 2014-07-18     ArdaFu       port it to TM4C129X bsp
+ */
+
+#ifndef __BOARD_H__
+#define __BOARD_H__
+
+#include "tm4c1294ncpdt.h"
+#include <rtthread.h>
+#include <stdbool.h>
+#include <stdint.h>
+
+extern uint32_t SystemCoreClock;
+#ifdef __CC_ARM
+extern int Image$$RW_IRAM$$ZI$$Limit;
+#define HEAP_BEGIN  ((void *)&Image$$RW_IRAM$$ZI$$Limit)
+#elif __ICCARM__
+#pragma section="HEAP"
+#define HEAP_BEGIN  (__segment_end("HEAP"))
+#else
+extern int _ebss;
+#define HEAP_BEGIN  ((void *)&_ebss)
+#endif
+#define HEAP_END    ((void *)(0x20000000 + 256*1024))
+
+#define FINSH_DEVICE_NAME   RT_CONSOLE_DEVICE_NAME
+void rt_hw_board_init(void);
+
+#endif

BIN
rtt_default_project_0/build/applications/application.o


BIN
rtt_default_project_0/build/applications/board.o


BIN
rtt_default_project_0/build/drivers/drv_eth.o


BIN
rtt_default_project_0/build/drivers/drv_uart.o


BIN
rtt_default_project_0/build/kernel/components/drivers/serial/serial.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/completion.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/dataqueue.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/pipe.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/ringblk_buf.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/ringbuffer.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/waitqueue.o


BIN
rtt_default_project_0/build/kernel/components/drivers/src/workqueue.o


BIN
rtt_default_project_0/build/kernel/components/finsh/cmd.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_compiler.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_error.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_heap.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_init.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_node.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_ops.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_parser.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_token.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_var.o


BIN
rtt_default_project_0/build/kernel/components/finsh/finsh_vm.o


BIN
rtt_default_project_0/build/kernel/components/finsh/shell.o


BIN
rtt_default_project_0/build/kernel/components/libc/compilers/common/time.o


BIN
rtt_default_project_0/build/kernel/components/libc/compilers/newlib/libc.o


BIN
rtt_default_project_0/build/kernel/components/libc/compilers/newlib/libc_syms.o


BIN
rtt_default_project_0/build/kernel/components/libc/compilers/newlib/stdio.o


BIN
rtt_default_project_0/build/kernel/components/libc/compilers/newlib/syscalls.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/api_lib.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/api_msg.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/err.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netbuf.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netdb.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/netifapi.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/sockets.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/api/tcpip.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/arch/sys_arch.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/def.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/dhcp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/dns.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/init.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/autoip.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/icmp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/igmp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/inet.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/inet_chksum.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip_addr.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/ipv4/ip_frag.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/memp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/netif.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/pbuf.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/raw.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/stats.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/sys.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp_in.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/tcp_out.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/timers.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/core/udp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/etharp.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/ethernetif.o


BIN
rtt_default_project_0/build/kernel/components/net/lwip-1.4.1/src/netif/slipif.o


BIN
rtt_default_project_0/build/kernel/libcpu/arm/common/backtrace.o


BIN
rtt_default_project_0/build/kernel/libcpu/arm/common/div0.o


BIN
rtt_default_project_0/build/kernel/libcpu/arm/common/showmem.o


BIN
rtt_default_project_0/build/kernel/libcpu/arm/cortex-m4/context_gcc.o


BIN
rtt_default_project_0/build/kernel/libcpu/arm/cortex-m4/cpuport.o


BIN
rtt_default_project_0/build/kernel/src/clock.o


BIN
rtt_default_project_0/build/kernel/src/components.o


BIN
rtt_default_project_0/build/kernel/src/device.o


BIN
rtt_default_project_0/build/kernel/src/idle.o


BIN
rtt_default_project_0/build/kernel/src/ipc.o


BIN
rtt_default_project_0/build/kernel/src/irq.o


BIN
rtt_default_project_0/build/kernel/src/kservice.o


BIN
rtt_default_project_0/build/kernel/src/mem.o


BIN
rtt_default_project_0/build/kernel/src/memheap.o


BIN
rtt_default_project_0/build/kernel/src/mempool.o


BIN
rtt_default_project_0/build/kernel/src/object.o


BIN
rtt_default_project_0/build/kernel/src/scheduler.o


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff