Skip to content

Commit 4e0d7d6

Browse files
FRASTMfpistm
authored andcommitted
feat: add the STM32Cube_FW to support stm32wb
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 141ebdd commit 4e0d7d6

19 files changed

+6665
-0
lines changed

src/utility/STM32_WPAN/LICENSE.md

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
## Overview
2+
3+
4+
This Software Bill Of Material (SBOM) lists the software components of this
5+
software package, including the copyright owner and license terms for each
6+
component.
7+
8+
__SOFTWARE BILL OF MATERIALS__
9+
10+
Component | Copyright | License
11+
--------- | ----------------------------------------------------------------- | -------
12+
Bluetooth Low Energy | STMicroelectronics | SLA
13+
Bluetooth Low Energy LLD | STMicroelectronics | SLA
14+
Interface | STMicroelectronics | SLA
15+
MAC 802.15.4 | STMicroelectronics | SLA
16+
PHY | STMicroelectronics | SLA
17+
OpenThread | The OpenThread Authors | BSD-3-Clause
18+
Utilities | STMicroelectronics, Amazon.com Inc. | SLA, MIT
19+
Zigbee | Exegin Technologies Limited, STMicroelectronics, Dr Brian Gladman | SLA
20+
21+
22+
__Notes:__ If the license is an open source license, then you can access the
23+
terms at [www.opensource.org](https://opensource.org/). Otherwise, the full
24+
license terms are below. If a component is not listed in the SBOM, then the SLA
25+
shall apply unless other terms are clearly stated in the package.
26+
27+
28+
29+
SLA0044 Rev5/February 2018
30+
31+
## Software license agreement
32+
33+
### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__
34+
35+
BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE
36+
OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS
37+
INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES
38+
(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON
39+
BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES
40+
TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT.
41+
42+
Under STMicroelectronics’ intellectual property rights, the redistribution,
43+
reproduction and use in source and binary forms of the software or any part
44+
thereof, with or without modification, are permitted provided that the following
45+
conditions are met:
46+
47+
1. Redistribution of source code (modified or not) must retain any copyright
48+
notice, this list of conditions and the disclaimer set forth below as items 10
49+
and 11.
50+
51+
2. Redistributions in binary form, except as embedded into microcontroller or
52+
microprocessor device manufactured by or for STMicroelectronics or a software
53+
update for such device, must reproduce any copyright notice provided with the
54+
binary code, this list of conditions, and the disclaimer set forth below as
55+
items 10 and 11, in documentation and/or other materials provided with the
56+
distribution.
57+
58+
3. Neither the name of STMicroelectronics nor the names of other contributors to
59+
this software may be used to endorse or promote products derived from this
60+
software or part thereof without specific written permission.
61+
62+
4. This software or any part thereof, including modifications and/or derivative
63+
works of this software, must be used and execute solely and exclusively on or in
64+
combination with a microcontroller or microprocessor device manufactured by or
65+
for STMicroelectronics.
66+
67+
5. No use, reproduction or redistribution of this software partially or totally
68+
may be done in any manner that would subject this software to any Open Source
69+
Terms. “Open Source Terms” shall mean any open source license which requires as
70+
part of distribution of software that the source code of such software is
71+
distributed therewith or otherwise made available, or open source license that
72+
substantially complies with the Open Source definition specified at
73+
www.opensource.org and any other comparable open source license such as for
74+
example GNU General Public License (GPL), Eclipse Public License (EPL), Apache
75+
Software License, BSD license or MIT license.
76+
77+
6. STMicroelectronics has no obligation to provide any maintenance, support or
78+
updates for the software.
79+
80+
7. The software is and will remain the exclusive property of STMicroelectronics
81+
and its licensors. The recipient will not take any action that jeopardizes
82+
STMicroelectronics and its licensors' proprietary rights or acquire any rights
83+
in the software, except the limited rights specified hereunder.
84+
85+
8. The recipient shall comply with all applicable laws and regulations affecting
86+
the use of the software or any part thereof including any applicable export
87+
control law or regulation.
88+
89+
9. Redistribution and use of this software or any part thereof other than as
90+
permitted under this license is void and will automatically terminate your
91+
rights under this license.
92+
93+
10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND
94+
ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
95+
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
96+
NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE
97+
DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL
98+
STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
99+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
100+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
101+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
102+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
103+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
104+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
105+
106+
11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER
107+
EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY
108+
RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY.

src/utility/STM32_WPAN/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
## Source
3+
4+
[STMicroelectronics/STM32CubeWB Release v1.22.0](https://github.com/STMicroelectronics/STM32CubeWB/releases/tag/v1.22.0)
5+
- Application: [BLE_TransparentMode](https://github.com/STMicroelectronics/STM32CubeWB/tree/v1.22.0/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_TransparentMode)
6+

src/utility/STM32_WPAN/app_conf.h

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//-----------------------------
2+
// @file app_conf.h
3+
// @author Kasper Meldgaard
4+
// @brief Wrapper for BLE app configuration based on comment by fpistm
5+
// (https://github.com/stm32duino/STM32duinoBLE/issues/34).
6+
// @date 15-11-2021
7+
// @copyright Copyright (c) 2021
8+
9+
#ifndef APP_CONF_H
10+
#define APP_CONF_H
11+
12+
#include "hw.h"
13+
#include "ble_bufsize.h"
14+
15+
#if __has_include("app_conf_custom.h")
16+
#include "app_conf_custom.h"
17+
#endif
18+
#include "app_conf_default.h"
19+
20+
#endif /* APP_CONF_H */

0 commit comments

Comments
 (0)