项目作者: Javier-varez

项目描述 :
Small Hardware Abstraction Layer for Cortex-M MCU's
高级语言: C++
项目地址: git://github.com/Javier-varez/cortex-m_hal.git
创建时间: 2021-03-09T20:56:48Z
项目社区:https://github.com/Javier-varez/cortex-m_hal

开源协议:MIT License

下载


Cortex-M HAL

Hardware abstraction layer for Cortex-M microcontrollers. Can be used together with builsystem.

Table of Contents

Getting Started

  • Link the libcortex_m_hal library in your project.
  1. LOCAL_DIR := $(call current-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_NAME := user_application
  4. LOCAL_CFLAGS := \
  5. $(TARGET_CFLAGS) \
  6. -Os \
  7. -g3 \
  8. -I$(LOCAL_DIR)/inc \
  9. -Wall \
  10. -Werror \
  11. -Wextra
  12. LOCAL_CXXFLAGS := \
  13. $(LOCAL_CFLAGS) \
  14. -fno-exceptions \
  15. -fno-rtti
  16. LOCAL_SRC := \
  17. $(USER_SOURCES)
  18. # The linker file for the application must define
  19. # the memory layout as a minimum.
  20. LOCAL_LINKER_FILE := \
  21. $(LOCAL_DIR)/memory.ld
  22. # Link agains the libcortex_m_hal
  23. LOCAL_STATIC_LIBS := \
  24. libcortex_m_hal
  25. # Compiler settings
  26. CC := gcc
  27. CXX := g++
  28. LOCAL_CROSS_COMPILE := arm-none-eabi-
  29. include $(BUILD_BINARY)

Back to top

Dependencies

This project relies on a custom build system based on a non-recursive set of makefile templates. You can find a link to it here. See the list of dependencies for the buildsystem here.

Getting the Source

This project is hosted on GitHub. You can clone this project directly using this command:

  1. git clone git@github.com:Javier-varez/cortex-m_hal.git

Back to top

Versioning

This project uses Semantic Versioning. Releases will be tagged.

Back to top

How to Get Help

Feel free to reach out and open an issue if you need any help getting up and running.

Back to top

Contributing

Public contributions are very welcome and appreciated.

Back to top

License

This project is licensed under the MIT License - see LICENSE.md file for details.

Back to top

Authors

See also the list of contributors who participated in this project.

Back to top