Commit Graph

34056 Commits (4587080dbb470294f623054db2a272f1570be327)

Author SHA1 Message Date
Martin Kojtal 4587080dbb
Merge pull request #15116 from jeromecoutant/PR_USB_F3
STM32F3 - enable USB_DEVICE for NUCLEO_F303ZE
2021-10-01 15:59:48 +02:00
Martin Kojtal b57fe3f29d
Merge pull request #15120 from jeromecoutant/PR_H735
STM32: enable STM32H735xG STM32H7B3xIQ for custom boards
2021-10-01 11:02:43 +02:00
Martin Kojtal 7f2b6d0a19
Merge pull request #15103 from artokin/nanostack_release_v15_0_0_master
Nanostack release v15.0.0 to master
2021-09-30 14:07:41 +01:00
Jerome Coutant 317079bde3 STM32: create MCU_STM32H7B3xIQ for custom boards 2021-09-30 09:33:09 +02:00
Jerome Coutant 18f737e906 STM32: create MCU_STM32H735xG for custom boards 2021-09-30 09:15:40 +02:00
Jarkko Paso d125480ede Updated 6LoWPAN/CMakeLists.txt 2021-09-29 21:23:04 +03:00
Martin Kojtal bc01a4e063
Merge pull request #15082 from jeromecoutant/PR_STM32F1_AF
STM32F1: add more alternate functions
2021-09-29 15:31:10 +01:00
Martin Kojtal 0b9a7740d5
Merge pull request #15099 from jeromecoutant/PR_H723
STM32H7: enable more custom boards
2021-09-29 15:18:00 +01:00
Martin Kojtal d5d6688a26
Merge pull request #15074 from jeromecoutant/PR_L432
STM32 : default SPI and I2C for targets with ARDUINO-NANO
2021-09-29 10:39:05 +01:00
Martin Kojtal 4851f6c0b9
Merge pull request #15107 from DDC-NDRS/ndrs-pst
LWIP: Provide inline replacements for htons() and htonl()
2021-09-29 10:37:11 +01:00
Martin Kojtal 611ec14905
Merge pull request #15081 from jeromecoutant/PR_PERIPHSCRIPT
STM32: STM32_gen_PeripheralPins.py v1.20.4
2021-09-29 10:26:45 +01:00
Martin Kojtal 0fac696bfc
Merge pull request #15077 from hazzlim/make_can_api_portable
CAN: Use uintptr_t for can_irq_ids
2021-09-29 10:26:37 +01:00
Martin Kojtal 963aa8bcd3
Merge pull request #15065 from jeromecoutant/PR_CAN
STM32L5/STM32U5 : CAN support
2021-09-29 10:25:27 +01:00
Martin Kojtal fc62b15b08
Merge pull request #15114 from MaximIntegrated/fix-warnings-maxim
Fix ARM toolchain #L6803W Relocation warnings
2021-09-29 10:14:11 +01:00
Jerome Coutant 8d3587919e STM32F3 - enable USB_DEVICE for NUCLEO_F303ZE 2021-09-28 16:36:12 +02:00
Martin Kojtal d93843a694
Merge pull request #15080 from jeromecoutant/PR_F407_CAN
STM32F4: CAN issue with F407 target
2021-09-28 14:02:50 +01:00
Martin Kojtal ff6d401a86
Merge pull request #15095 from LDong-Arm/ctest_nfc
CMake: greentea: Migrate the NFC EEPROM test to CTest
2021-09-28 13:26:41 +01:00
Jerome Coutant f9010ed7a0 STM32F4: CAN issue with F407 target 2021-09-28 13:32:11 +02:00
Jerome Coutant 26df0c144e STM32 : default SPI anbd I2C for targets with ARDUINO-NANO 2021-09-28 13:23:21 +02:00
Martin Kojtal 94c7463762
Merge pull request #15062 from jeromecoutant/PR_LORABARE
Lora drivers: explicit lib requirement
2021-09-28 11:04:55 +01:00
Martin Kojtal c8b489ea9b
Merge pull request #15075 from jeromecoutant/PR_G0_CUBE
STM32G0 update drivers version to CUBE V1.5.0
2021-09-28 11:04:36 +01:00
Sadik.Ozer 6f8e7232d1 Fix ARM toolchain #L6803W Relocation warnings
While building with ARM toolchain relocation warnings appears
This commit will fix it for MAX32625/30 targets.

The system interrupt function is defined as weak in startup file
and its overvides in other files, Becuase of the functions is overrites
while calling it in startup modile by B XXXXX probably compiler give
info purpose warnings... By using using . instead function name it says
go existing point to the compiler.
Warning detail:
https://www.keil.com/support/man/docs/armerr/armerr_dom1365073159742.htm

Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-09-28 12:01:13 +03:00
Jaeden Amero c4f97fc34c
Merge pull request #15098 from jeromecoutant/PR_F303
STM32F303xC: cmakelist issue
2021-09-27 17:43:06 +01:00
ndrs-pst a93aca8a47 LWIP: Provide inline replacements for htons() and htonl() 2021-09-25 15:13:22 +07:00
Arto Kinnunen c8aafa7145 Update Nanostack CMakeLists.txt
Add new files to the CMakeLists.txt
2021-09-23 14:24:02 +03:00
Arto Kinnunen bd96a20145 Merge commit 'a7c7eede53437b0f1f62c89c38ae5a75dfb1b42d'
* commit 'a7c7eede53437b0f1f62c89c38ae5a75dfb1b42d':
  Squashed 'connectivity/nanostack/coap-service/' changes from bbe01736bd..9a9085d4cd
2021-09-23 13:31:31 +03:00
Arto Kinnunen a7c7eede53 Squashed 'connectivity/nanostack/coap-service/' changes from bbe01736bd..9a9085d4cd
9a9085d4cd Updated coap service to be compatible with mbed TLS 3.0 (#135)

git-subtree-dir: connectivity/nanostack/coap-service
git-subtree-split: 9a9085d4cd74ad96320f448a890df43a0cdedbb0
2021-09-23 13:21:08 +03:00
Arto Kinnunen b1adec9028 Merge commit 'fa7202c2e699b26a024d38657a6e495e073fea07'
* commit 'fa7202c2e699b26a024d38657a6e495e073fea07':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 4a3c5c525b..225a4af94f
2021-09-23 13:13:36 +03:00
Arto Kinnunen fa7202c2e6 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 4a3c5c525b..225a4af94f
225a4af94f Remove files from tests folder
58d2c8fa82 Merge remote-tracking branch 'origin/release_internal' into release_external
921b4b3273 Wi-SUN FAN 1.1 dynamic MDR data request enabler
b8722e81b1 Corrected BR removing of waiting list entry when supplicant is in key storage
0d54d7ab39 Adjust trace levels (#2692)
681d9eae8d Added reset for pan id and version to BR network start
30d4fb2ed9 Renaming and cleaning ws bootstrap (#2688)
e0da19dbf0 Add Wi-SUN host configuration (#2690)
50ecc3d0f0 Refactoring Wi-SUN stack (#2686)
9d2386d484 Renamed operation mode to operating mode.
2f755bcfdb RF config resolver and some refactoring (#2683)
86c6d19e06 Fixed WS IE PCAP read operation wrong length usage.
cd3a4c2a62 Config: Remove additional HAVE_WS_ROUTER (#2684)
cdd7f2d868 Added API for configure supported Phy capability.
a00a3c0a02 Wi-SUN FAN 1.1 PCAP IE update
2d063d3b4a Moved State machine and timer functions to own files
edb8bec609 Corrected system time check function return values
85358a635b Moved Wi-SUN Bootstrap Event handling to separate device handlers
61cbdde485 MAC to support mode switch on single channel (#2678)
1006d29e4d Added storing of PAN ID to NVM in BBR
7bf0028c66 Corrected system time jump detection on BR startup
e60974d815 Split Wi-SUN bootstrap to device types
a3f341266e MAC data req: API to support mode switch (#2674)
cad5122a90 Removed automatic network size configuration (#2673)
35d313224a MAC: Callback set to resolve PHY mode ID (#2672)
0c5faca469 Added support for large system time changes (e.g. due to NTP) (#2670)
c94b306431 LFN version and LGTK Hash IE advertisment and learn
8e075119f6 Use FAN version constant  instead of pure number
a5566b22b2 Channel Plan 2 validation and FAN 1.0 reject
42dba4151e Wi-Sun IE FAN 1.1 update
1d56070c24 EU channel plan ids (FAN 1.1) supported (#2668)
fc4f41fb30 Add test API empty function
37efc7ec25 Add version 1.1 basic support
e1558fbb1a Implemented mode switch PHR build and parse (#2665)
cbd8a15d31 Corrected frame counter storing threshold check
37f7ae95eb Time configuration distribution using DHCPv6 vendor data
7415bc724b Added checks for Border Router frame counter space exhaustion (#2660)
f1a65ecbe8 Mode switch PHY API (#2663)
e54231b5d4 Do not check buffer age when virtual RF driver used (#2662)
cc8c7bd38f arm_network_certificate_chain_set() returns -2 when PANA is disabled
319dd91bce Fix dubious semicolon in #define
2ff51abeca Remove extra '\n' in traces
19376c8837 Simplify array indexes
c808661836 Fix ASAN warnings about overflows in bit shifts
f998008f60 Fix use-after-free in mac_helper_coordinator_address_set()
4d04541d70 Wi-SUN header and Paylod IE element lenght future proof update.
935898badf Medium network PAN_TIMEOUT changed to 30 minutes
1af7cfeb24 Updated nanostack to be compatible with mbed TLS 3.0 (#2657)
29744e0e46 If Router Solicitation creation fails no longer tries to retry the RS right away (#2655)
2b889e92b0 Added automatic test procedure triggering during bootstrap
ed9eb0503f GTKs are removed only when fresh GTK hash is received
81ecdc24f8 Added empty function for test procedure trigger
14439b4aa9 Added support for triggering test procedures
b8a67a9e36 Update CHANGELOG.md for Nanostack 14.0.0 (#2649)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 225a4af94f3faf5ca3726e86bc96cdda4c99a469
2021-09-23 13:04:04 +03:00
Jerome Coutant ea4c7fa1be STM32H7: update Pack manager
Add
- STM32H723ZGTx for all STM32H723xG targets
- STM32H725AEIx for all STM32H725xE targets
2021-09-22 15:13:31 +02:00
Jerome Coutant da903bf057 STM32H7 add subfamilies for custom boards
- STM32H723xG
- STM32H725xE
- STM32H750xB
2021-09-22 15:13:31 +02:00
Jerome Coutant 998a46f775 STM32F303xC: cmakelist issue 2021-09-22 11:48:01 +02:00
Jerome Coutant d61d7aa24b STM32G0: update README 2021-09-22 11:47:05 +02:00
Jerome Coutant edd426aac7 STM32G0: update Pack manager
Add
- STM32G050K8Tx for all STM32G050x8 targets
- STM32G051K8Tx for all STM32G051x8 targets
- STM32G061K8Tx for all STM32G061x8 targets
- STM32G0B0RETx for all STM32G0B0xE targets
- STM32G0B1RETx for all STM32G0B1xE targets
2021-09-22 11:47:05 +02:00
Jerome Coutant 168f9a37a9 STM32G0: introduce sub family for custom boards
STM32G030x8
STM32G041x8
STM32G050x8
STM32G051x8
STM32G061x8
STM32G081xB
STM32G0B0xE
STM32G0B1xE
STM32G0C1xE
2021-09-22 11:46:54 +02:00
Jerome Coutant 4da602f79e STM32: STM32_gen_PeripheralPins.py v1.20.4
Minor updates needed in
https://github.com/ARMmbed/stm32customtargets/tree/GENERIC_TARGET
2021-09-22 10:59:56 +02:00
Jerome Coutant b711180838 STM32G0: update from STM32Cube_FW_G0_V1.5.0 2021-09-21 11:29:33 +02:00
Jerome Coutant e0877e4077 STM32G0: align code with CubeUpdate script 2021-09-21 11:29:33 +02:00
Lingkai Dong 58f83597b4 CMake: greentea: Migrate the NFC EEPROM test to CTest 2021-09-20 17:14:06 +01:00
Lingkai Dong cbec61adb5 targets: Declare DISCO_L475VG_IOT01A's built-in M24SR NFC 2021-09-20 17:04:51 +01:00
Lingkai Dong ce1f054bd3 CMake: connectivity: Add drivers subdirectory for tests
Greentea tests run on microcontrollers, so any required drivers need
to be available and built.

Note: Even though unit tests do not require drivers, for ease of
maintenance there's no need to exclude those drivers when building unit
tests because a driver only gets enabled when the Mbed target matches.
2021-09-20 16:28:54 +01:00
Lingkai Dong db8852c5d8 CMake: connectivity: Guard unit test directories
When unit tests or unit test stubs get added as CMake targets, they
becomes part of the "all" target and get compiled when building the
whole project. When building greentea tests we need to disable unit
tests and stubs to avoid unnecessary compilation and errors.
2021-09-20 16:28:54 +01:00
Lingkai Dong c01d417ed4 CMake: connectivity: Unify checks for unit and greentea tests
Subdirectories should always be included in the CMake "all" target when
building any tests, either unit tests or greentea tests.
2021-09-20 16:28:53 +01:00
Lingkai Dong d954841983 memap.py: Allow .a extension for Arm Compiler-generated libraries
The most common extension for static libraries is .a and CMake generates
it with both GCC and Arm toolchains. Mbed CLI 1 generates .ar files with
the Arm Compiler, but since Mbed CLI 2 uses memap.py to generate map
files too, both extensions should be permitted.

This fixes a warning when building greentea tests:

    Malformed input found when parsing ARMCC map: _deps/greentea-client-build/libclient_userio.a(greentea_test_env.o)
    Malformed input found when parsing ARMCC map: _deps/greentea-client-build/libclient_userio.a(greentea_test_env.o)
    Malformed input found when parsing ARMCC map: _deps/greentea-client-build/libclient_userio.a(greentea_test_env.o)
    ...

which repeats over 30 times per test.
2021-09-20 16:28:53 +01:00
Jerome Coutant a3d21b7672 STM32F1: add more alternate functions 2021-09-17 15:37:56 +02:00
Hari Limaye b493a15a53 CAN: Use uintptr_t for can_irq_ids
The HAL can_api stores an array of IDs in order to dispatch interrupts
to the correct CAN object. The drivers level CAN Class casts a pointer
to itself to an uint32_t, which is stored as the ID and then cast back
to a CAN * in order to call the correct handler. This results in
compilation failure when the size of an object pointer is greater than
uint32_t, for example when building on a PC for unit testing.

In order to allow Unit Testing of the CAN Class, we replace the use of
uint32_t with uintptr_t (type capable of holding a pointer), which
allows portability and expresses intentions more clearly. In aid of this
latter goal, we also replace the use of the name "id" with "context",
to improve clarity. These are addresses of the context related to that
callback.
2021-09-17 13:36:43 +01:00
Jaeden Amero 4cfbea43ca
Merge pull request #15078 from OpenNuvoton/nuvoton_m2354_tfm_1.4_fix
M2354: Fix TF-M 1.4
2021-09-17 11:31:25 +01:00
Chun-Chieh Li bbc5ad9505 M2354: Fix TF-M 1.4
1.  In TF-M, fix NSPE interrupt-disabled NSC call broken. Check:
    https://developer.trustedfirmware.org/T966
2.  In TF-M, enable mcuboot log enabled forcibly. This is to help check firmware update process.
3.  Update readme and script
2021-09-17 13:44:58 +08:00
mbedmain 810adf9aa8 Update Mbed version block 2021-09-16 12:15:02 +01:00
Anna Bridge 7feef5981e
Merge pull request #15061 from pan-/fix-event-queue-background-fn-change
Fix replacement of event queue background.
2021-09-16 11:34:34 +01:00