https://github.com/openshwprojects/openln882h
ln882h SDK
https://github.com/openshwprojects/openln882h
Last synced: 9 months ago
JSON representation
ln882h SDK
- Host: GitHub
- URL: https://github.com/openshwprojects/openln882h
- Owner: openshwprojects
- Created: 2024-01-08T17:48:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-09T11:14:59.000Z (10 months ago)
- Last Synced: 2025-08-09T13:09:22.579Z (10 months ago)
- Language: C
- Size: 39.5 MB
- Stars: 4
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# LN882H SDK used for OpenBeken port for LN882H -> OpenLN882H
See: https://github.com/openshwprojects/OpenBK7231T_App
# Introduction to LN882H SDK
# Compilation Methods
## 1. Keil MDK
### Environment setup
Refer to `doc/LN882H Keil ARMCC开发环境搭建指导.pdf` to configure the environment
### User project selection
The user project is in `project/xxxx`. For example, open the `wifi_mcu_basic_example` subdirectory
in the Kile IDE and clik **Compile**、**Download**、**调试** button in the interface to start the corresponding step.
## 2. CMake+GCC
### Environment setup
See `doc/lightningsemi_sdk_cross_build_setup.pdf` to configure the environment.
### User project selection
The projects are organized in `CMakeLists.txt` file, the top-level `CMakeLists.txt` selects the user project,
see the following command in the top-level `CMakeLists.txt`:
```
################################################################################
######################### NOTE: select user project here ####################
################################################################################
set(USER_PROJECT wifi_mcu_basic_example)
```
### Compile and upload the user project
Build and upload actions are managed by `start_build.py`, usage is as follows:
```
***************************** usage *****************************
argv[1] -- build action, such as clean/config/build/rebuild/jflash.
Example:
python3 start_build.py rebuild
*******************************************************************
```
- Clean: `python3 start_build.py clean`
- Configure: `python3 start_build.py config`
- Build: `python3 start_build.py build`
- Clean, configure, and build all in one: `python3 start_build.py rebuild`
- Upload the image: `python3 start_build.py jflash`