Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ARMmbed/mbed-os
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: arduino/mbed-os
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: portenta-mbed-6.2.0
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Jul 27, 2020

  1. Copy the full SHA
    e8fe8cb View commit details
  2. Copy the full SHA
    3d68eda View commit details
  3. Copy the full SHA
    02d37a8 View commit details
  4. Copy the full SHA
    cca4043 View commit details
  5. Add AnalogIn configure function

    This adds a weak method to configure AnalogIn objects.
    Also, a strong implementation of such method for NRF5284 is provided.
    polldo authored and facchinm committed Jul 27, 2020
    Copy the full SHA
    642eadb View commit details
  6. Copy the full SHA
    7529344 View commit details
  7. Copy the full SHA
    ac478a6 View commit details
  8. Add Arduino Portenta H7 target

    Add some defines for Envie
    
    Change Envie base clock
    
    Add QSPI support
    
    Add Envie support
    
    Fix some pinmux
    
    Add ENVIE folder in TARGET_WICED
    
    Add ethernet support
    
    Partially port Envie to mainline
    
    Add USBDEVICE support to H747
    
    Declare USB pins for Envie
    
    [ENVIE] Add pin definitions
    
    Envie: restore HSEM irq handlers
    
    ENVIE: enable setting an app offset
    
    Envie: make Ethernet support mainlineable
    
    Envie: ETH: set GPIo speed as very high
    
    ENVIE: fix power tree
    
    Envie: use complete pin_peripheral from ST
    
    Envie: Adjust PLL
    
    EnvieM4: fix available RAM
    
    Envie: fix OTG USB functionality
    
    Envie: remove fake arduino pins
    
    ENVIE: fix build after removing Arduino pins
    
    Envie: fix analog pinmux
    
    Envie: force using external crystal
    
    Enable oscillator at startup
    
    Envie: Fix clock
    
    EnvieM4: move OpenAMP defines to library
    
    Envie: M4: eth: don't try to disable nonexisting caches
    
    Envie: Cordio: restore functionality
    
    Portenta: ETH: reset phy and add sw pinstrap
    
    Envie: fix MCU name and remove SERIAL_ASYNC
    
    Portenta: ethernet: set pinstrap to autonegoziation, 100Mbit
    
    Portenta: fix HSI PLL multiplier
    
    Portenta: use PWR_SMPS_1V8_SUPPLIES_LDO power scheme
    
    Envie: delay oscillator start for Abracom
    
    added initialization for HSICalibrationValue to prevent random clock setting
    
    Added mbed original LED naming
    facchinm committed Jul 27, 2020
    Copy the full SHA
    f047a7a View commit details
  9. STM32H7: undefine USE_SD_TRANSCEIVER

    This patch should be surrounded by ifndef
    facchinm committed Jul 27, 2020
    Copy the full SHA
    579c403 View commit details
  10. Copy the full SHA
    bdf3bed View commit details
  11. Portenta: port WHD drivers

    Portenta: WHD: sync with Cypress driver
    
    WHD: fix Thread namespace
    
    WHD: allow disabling OOB interrupt
    facchinm committed Jul 27, 2020
    Copy the full SHA
    62e5515 View commit details
  12. Copy the full SHA
    094ccdb View commit details
  13. Copy the full SHA
    3de5065 View commit details
  14. Copy the full SHA
    1b76d1b View commit details
  15. Copy the full SHA
    fd1e5d2 View commit details
  16. HACK: remove 3status bytes macronix quirk

    This is needed by the flash memory we chose for Portenta.
    Need to discuss with mbed devs to understand how to keep the quirk "alive"
    facchinm committed Jul 27, 2020
    Copy the full SHA
    381f681 View commit details
  17. Hack: QSPIFlash: also remove _needs_fast_mode for macronix quirks

    Completes e8674c3fc4c78946b6c7c3f38de23d7773733350
    
    This avoids triggering MBED_ASSERT(_num_status_registers == 3); (only applies in debug mode)
    facchinm committed Jul 27, 2020
    Copy the full SHA
    ccedc62 View commit details
  18. PortentaH7: self configure HSE based on bootloader information

    PortentaH7: change ext clock speed based on bootloader provided info
    
    Portenta: Use slower clock in bootloader
    
    fixed isBootloader to correctly report status
    facchinm committed Jul 27, 2020
    Copy the full SHA
    edaf4cd View commit details
  19. Copy the full SHA
    e6366da View commit details
  20. Copy the full SHA
    6ccc62f View commit details
  21. Only use LSI crystal

    facchinm committed Jul 27, 2020
    Copy the full SHA
    668cf60 View commit details
  22. Copy the full SHA
    8333932 View commit details
  23. Copy the full SHA
    0484d81 View commit details
  24. Copy the full SHA
    0f4d896 View commit details
  25. Copy the full SHA
    36a8381 View commit details
  26. Copy the full SHA
    9e2c6ee View commit details
  27. Copy the full SHA
    ed9dcbf View commit details
  28. Copy the full SHA
    db3cd3c View commit details
  29. Copy the full SHA
    359f4ee View commit details
  30. Copy the full SHA
    18c42df View commit details

Commits on Jul 28, 2020

  1. Copy the full SHA
    a01a085 View commit details

Commits on Jul 30, 2020

  1. Copy the full SHA
    34f358c View commit details
  2. Copy the full SHA
    464c00e View commit details
  3. [squashme] Restore ed9dcbf

    facchinm committed Jul 30, 2020
    Copy the full SHA
    aaa02e4 View commit details
  4. Copy the full SHA
    b4adf54 View commit details

Commits on Aug 12, 2020

  1. Copy the full SHA
    1e091b9 View commit details

Commits on Aug 13, 2020

  1. Copy the full SHA
    98f3963 View commit details

Commits on Aug 27, 2020

  1. Copy the full SHA
    53103b6 View commit details

Commits on Sep 4, 2020

  1. TEMP: add BT_UART_NO_3M_SUPPORT define for backward compatibility wit…

    …h portenta h7 without 32khz oscillator
    
    This change removes support for 3Mb uart baud rate
    polldo committed Sep 4, 2020
    Copy the full SHA
    3a38556 View commit details
  2. BLE CyH4 - wait for completion of uart transfer

    Change needed to make the ble working for portenta h7 with an external 32khz oscillator and considering a uart baud rate of 115200.
    polldo committed Sep 4, 2020
    Copy the full SHA
    274a101 View commit details

Commits on Sep 23, 2020

  1. Copy the full SHA
    a5ce84c View commit details
  2. Copy the full SHA
    cf72a29 View commit details

Commits on Oct 8, 2020

  1. Copy the full SHA
    c63bee6 View commit details

Commits on Oct 29, 2020

  1. Copy the full SHA
    8b36965 View commit details
  2. Merge pull request #10 from Polldo/portenta-mbed-6.2.0

    portentaH7: Change BLE public address
    facchinm authored Oct 29, 2020
    Copy the full SHA
    c3107bb View commit details
  3. Copy the full SHA
    9fefb7d View commit details

Commits on Mar 8, 2021

  1. Add dedicated section for pdm buffer (#13)

    * Add dedicated section for pdm buffer
    pennam authored Mar 8, 2021
    Copy the full SHA
    94484be View commit details

Commits on Mar 11, 2021

  1. gpio_irq_enable event fix

    pennam authored and facchinm committed Mar 11, 2021
    Copy the full SHA
    1fc4fab View commit details
Showing with 248,332 additions and 40 deletions.
  1. +1 −1 components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.h
  2. +1 −2 components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp
  3. +2 −2 components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h
  4. +4 −0 components/wifi/esp8266-driver/mbed_lib.json
  5. +7 −0 drivers/AnalogIn.h
  6. +1 −1 drivers/I2CSlave.h
  7. +4 −2 drivers/USBCDC.h
  8. +7 −0 drivers/source/AnalogIn.cpp
  9. +1 −1 drivers/source/I2CSlave.cpp
  10. +0 −2 drivers/source/usb/USBCDC.cpp
  11. +10 −8 drivers/source/usb/USBDevice.cpp
  12. +2 −2 features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json
  13. +4 −2 features/FEATURE_BLE/targets/TARGET_CORDIO_LL/stack/controller/sources/ble/lctr/lctr_main_conn.c
  14. +249 −0 features/FEATURE_BLE/targets/TARGET_STM/TARGET_CYW4343X/CyH4TransportDriver.cpp
  15. +124 −0 features/FEATURE_BLE/targets/TARGET_STM/TARGET_CYW4343X/CyH4TransportDriver.h
  16. +567 −0 features/FEATURE_BLE/targets/TARGET_STM/TARGET_CYW4343X/HCIDriver.cpp
  17. +98 −0 features/FEATURE_BLE/targets/TARGET_STM/TARGET_CYW4343X/TARGET_PORTENTA_H7/cy_bt_cordio_cfg.cpp
  18. +3 −0 features/lwipstack/mbed_lib.json
  19. +4 −0 features/mbedtls/src/x509_crt.c
  20. +11 −2 features/netsocket/TLSSocketWrapper.cpp
  21. +454 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/CyDhcpServer.cpp
  22. +125 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/CyDhcpServer.h
  23. +65 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdAccessPoint.cpp
  24. +74 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdAccessPoint.h
  25. +633 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdSTAInterface.cpp
  26. +263 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdSTAInterface.h
  27. +228 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdSoftAPInterface.cpp
  28. +158 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/WhdSoftAPInterface.h
  29. +65 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/emac_eapol.h
  30. +298 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/whd_emac.cpp
  31. +176 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/whd_emac.h
  32. +34 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/whd_interface.cpp
  33. +51 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/interface/whd_interface.h
  34. +135 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/network/whd_network.h
  35. +405 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/utils/cydhcp_server_debug.cpp
  36. +88 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/utils/cynetwork_utils.c
  37. +97 −0 features/netsocket/emac-drivers/TARGET_STM/COMPONENT_WHD/utils/cynetwork_utils.h
  38. +171 −0 features/netsocket/emac-drivers/TARGET_STM/TARGET_STM32H7/TARGET_PORTENTA_H7/stm32h7_eth_init.c
  39. +2 −0 features/netsocket/emac-drivers/TARGET_STM/stm32xx_emac.cpp
  40. +13 −0 hal/analogin_api.h
  41. +4 −2 ...s/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/TARGET_ARDUINO_NANO33BLE/PinNames.h
  42. +34 −0 targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/analogin_api.c
  43. +14 −0 targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h
  44. +1 −1 targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/stm32h7xx_hal_conf.h
  45. +2,086 −0 .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/bt/w_bt_firmware_controller.c
  46. +9 −0 ..._STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/generated_mac_address.txt
  47. +82 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd.h
  48. +226 −0 ...ts/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_events.h
  49. +230 −0 ...ET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_network_types.h
  50. +128 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_resource_api.h
  51. +1,054 −0 ...ets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_types.h
  52. +3 −0 ...s/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_version.h
  53. +1,179 −0 .../TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/inc/whd_wifi_api.h
  54. +114 −0 .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cy_network_buffer.c
  55. +185 −0 .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cy_network_buffer.h
  56. +135 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cy_result.h
  57. +672 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyabs_rtos.h
  58. +77 −0 ...TM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyabs_rtos_impl.h
  59. +828 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyabs_rtos_rtxv5.c
  60. +62 −0 ...T_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_gpio.cpp
  61. +208 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_gpio.h
  62. +103 −0 ...STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_hw_types.h
  63. +86 −0 ..._STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_modules.h
  64. +779 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_sdio.c
  65. +274 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_sdio.h
  66. +250 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_spi.h
  67. +6 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/mbed_lib.json
  68. +55 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/port/cy_hal.c
  69. +592 −0 ...ts/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/port/cy_syslib.h
  70. +79 −0 ...ets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/port/cy_utils.h
  71. +219 −0 ...s/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/port/cybsp_wifi.c
  72. +109 −0 ...s/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/port/cybsp_wifi.h
  73. +49 −0 ..._STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/LICENSE-permissive-binary-license-1.0.txt
  74. BIN ...M32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1-mfgtest.bin
  75. BIN ...47xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1-mfgtest.clm_blob
  76. +23,672 −0 ...2H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1-mfgtest_bin.c
  77. +400 −0 ...xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1-mfgtest_clm_blob.c
  78. BIN ...ARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1.bin
  79. BIN ..._STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1.clm_blob
  80. +25,493 −0 ...GET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1_bin.c
  81. +400 −0 ...TM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/4343WA1_clm_blob.c
  82. +31 −0 ...ARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/COMPONENT_4343W/resources.h
  83. BIN ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012A0.bin
  84. BIN ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012B0.bin
  85. BIN ..._STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest.bin
  86. BIN ...2H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest.clm_blob
  87. +30,669 −0 ...TM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest_bin.c
  88. +408 −0 ...747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0-mfgtest_clm_blob.c
  89. BIN ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0.bin
  90. BIN ...GET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0.clm_blob
  91. +25,762 −0 ...TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0_bin.c
  92. +430 −0 ...T_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/43012C0_clm_blob.c
  93. +28 −0 ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43012/resources.h
  94. BIN ..._STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1-mfgtest.bin
  95. BIN ...2H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1-mfgtest.clm_blob
  96. BIN ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1.bin
  97. BIN ...GET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1.clm_blob
  98. +25,469 −0 ...TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1_bin.c
  99. +402 −0 ...T_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/43364A1_clm_blob.c
  100. +23,644 −0 ...TM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/4343WA1-mfgtest_bin.c
  101. +400 −0 ...747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43364/4343WA1-mfgtest_clm_blob.c
  102. BIN ..._STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1-mfgtest.bin
  103. BIN ...2H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1-mfgtest.clm_blob
  104. BIN ...7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1.bin
  105. BIN ...GET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1.clm_blob
  106. +25,469 −0 ...TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1_bin.c
  107. +402 −0 ...T_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/43438A1_clm_blob.c
  108. +23,644 −0 ...TM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/4343WA1-mfgtest_bin.c
  109. +400 −0 ...747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/firmware/TARGET_43438/4343WA1-mfgtest_clm_blob.c
  110. +87 −0 ...TM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/nvram/TARGET_STM32H747xI/wifi_nvram_image.h
  111. +292 −0 ...TM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/resource_imp/whd_resources.c
  112. +228 −0 ...M32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/resources/resource_imp/wiced_resource.h
  113. +145 −0 ...TM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus.c
  114. +123 −0 ...TM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus.h
  115. +517 −0 ...ET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_common.c
  116. +65 −0 ...ET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_common.h
  117. +128 −0 ...ARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_protocol_interface.h
  118. +1,469 −0 ...2H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_sdio_protocol.c
  119. +229 −0 ...2H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_sdio_protocol.h
  120. +1,038 −0 ...32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_spi_protocol.c
  121. +101 −0 ...32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_bus_spi_protocol.h
  122. +114 −0 ...RGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_chip_reg.h
  123. +234 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_sdio.h
  124. +122 −0 ...TM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/bus_protocols/whd_spi.h
  125. +102 −0 ...ARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_ap.h
  126. +151 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_buffer_api.h
  127. +158 −0 ..._STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_cdc_bdc.h
  128. +393 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_chip.h
  129. +84 −0 ...RGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_chip_constants.h
  130. +45 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_clm.h
  131. +140 −0 ...ET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_debug.h
  132. +69 −0 ...T_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_endian.h
  133. +464 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_events_int.h
  134. +113 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_int.h
  135. +76 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_network_if.h
  136. +93 −0 ...GET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_poll.h
  137. +55 −0 .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_resource_if.h
  138. +124 −0 ...ET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_sdpcm.h
  139. +92 −0 ...T_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_thread.h
  140. +55 −0 ...GET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_thread_internal.h
  141. +407 −0 ...TM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_types_int.h
  142. +182 −0 ...ET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_utils.h
  143. +49 −0 ...STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_wifi_p2p.h
  144. +3,763 −0 ..._STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/include/whd_wlioctl.h
  145. +772 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_ap.c
  146. +220 −0 ...ARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_buffer_api.c
  147. +723 −0 ...s/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_cdc_bdc.c
  148. +1,456 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_chip.c
  149. +362 −0 ...T_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_chip_constants.c
  150. +172 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_clm.c
  151. +62 −0 ...ets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_debug.c
  152. +475 −0 ...ts/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_events.c
  153. +112 −0 ...s/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_logging.c
  154. +478 −0 ...ARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_management.c
  155. +85 −0 ...ARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_network_if.c
  156. +103 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_resource_if.c
  157. +618 −0 ...ets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_sdpcm.c
  158. +346 −0 ...ts/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_thread.c
  159. +877 −0 ...ets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_utils.c
  160. +111 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_wifi.c
  161. +4,375 −0 .../TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_wifi_api.c
  162. +45 −0 .../TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/src/whd_wifi_p2p.c
  163. +1 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/version.txt
  164. +45 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/whd_config.h
  165. +106 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PeripheralNames.h
  166. +584 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PeripheralPins.c
  167. +447 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h
  168. +303 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/system_clock_override.c
  169. +203 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M4/TOOLCHAIN_GCC_ARM/STM32H747xI.ld
  170. +787 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M4/TOOLCHAIN_GCC_ARM/startup_stm32h747xx.S
  171. +40 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M4/cmsis_nvic.h
  172. +233 −0 ...RGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M7/TOOLCHAIN_GCC_ARM/STM32H747xI.ld
  173. +787 −0 ...M/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M7/TOOLCHAIN_GCC_ARM/startup_stm32h747xx.S
  174. +39 −0 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M7/cmsis_nvic.h
  175. +3 −3 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/system_clock.c
  176. +9 −3 targets/TARGET_STM/TARGET_STM32H7/i2c_device.h
  177. +1 −0 targets/TARGET_STM/TARGET_STM32H7/objects.h
  178. +32 −1 targets/TARGET_STM/USBPhy_STM32.cpp
  179. +13 −1 targets/TARGET_STM/gpio_irq_api.c
  180. +1 −0 targets/TARGET_STM/gpio_object.h
  181. +4 −0 targets/TARGET_STM/lp_ticker.c
  182. +3 −3 targets/TARGET_STM/mbed_overrides.c
  183. +1 −1 targets/TARGET_STM/qspi_api.c
  184. +4 −0 targets/TARGET_STM/rtc_api.c
  185. +97 −0 targets/targets.json
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ class FlashIAPBlockDevice : public mbed::BlockDevice {
* @param size Size to erase in bytes
* @return True if erase is valid for underlying block device
*/
virtual bool is_valid_erase(bd_addr_t addr, bd_size_t size) const;
virtual bool is_valid_erase(mbed::bd_addr_t addr, mbed::bd_size_t size) const;


private:
Original file line number Diff line number Diff line change
@@ -1058,8 +1058,7 @@ int QSPIFBlockDevice::_handle_vendor_quirks()
// 2. Require setting a "fast mode" bit in config register 2 to operate at higher clock rates
// 3. Should never attempt to enable 4-byte addressing (it causes reads and writes to fail)
tr_debug("Applying quirks for macronix");
_needs_fast_mode = true;
_num_status_registers = 3;
//_needs_fast_mode = true;
_read_status_reg_2_inst = QSPIF_INST_RDCR;
_attempt_4_byte_addressing = false;
break;
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@
*/
enum qspif_bd_error {
QSPIF_BD_ERROR_OK = 0, /*!< no error */
QSPIF_BD_ERROR_DEVICE_ERROR = BD_ERROR_DEVICE_ERROR, /*!< device specific error -4001 */
QSPIF_BD_ERROR_DEVICE_ERROR = mbed::BD_ERROR_DEVICE_ERROR, /*!< device specific error -4001 */
QSPIF_BD_ERROR_PARSING_FAILED = -4002, /* SFDP Parsing failed */
QSPIF_BD_ERROR_READY_FAILED = -4003, /* Wait for Mem Ready failed */
QSPIF_BD_ERROR_WREN_FAILED = -4004, /* Write Enable Failed */
@@ -289,7 +289,7 @@ class QSPIFBlockDevice : public mbed::BlockDevice {
qspi_status_t _qspi_set_frequency(int freq);

// Update the 4-byte addressing extension register with the MSB of the address if it is in use
qspi_status_t _qspi_update_4byte_ext_addr_reg(bd_addr_t addr);
qspi_status_t _qspi_update_4byte_ext_addr_reg(mbed::bd_addr_t addr);

/*********************************/
/* Flash Configuration Functions */
4 changes: 4 additions & 0 deletions components/wifi/esp8266-driver/mbed_lib.json
Original file line number Diff line number Diff line change
@@ -103,6 +103,10 @@
"NUCLEO_F411RE": {
"tx": "D8",
"rx": "D2"
},
"PORTENTA_H7": {
"tx": "PA_9",
"rx": "PA_10"
}
}
}
7 changes: 7 additions & 0 deletions drivers/AnalogIn.h
Original file line number Diff line number Diff line change
@@ -88,6 +88,13 @@ class AnalogIn {
*/
AnalogIn(PinName pin, float vref = MBED_CONF_TARGET_DEFAULT_ADC_VREF);


/** Reconfigure the adc object using the given configuration
*
* @param config reference to structure which holds AnalogIn configuration
*/
void configure(const analogin_config_t &config);

/** Read the input voltage, represented as a float in the range [0.0, 1.0]
*
* @returns A floating-point value representing the current input voltage, measured as a percentage
2 changes: 1 addition & 1 deletion drivers/I2CSlave.h
Original file line number Diff line number Diff line change
@@ -172,7 +172,7 @@ class I2CSlave {
*
* @return Result of the operation.
* @retval 0 If the number of bytes read is equal to length requested.
* @retval nonzero On error or if the number of bytes read is less than requested.
* @retval the number of bytes read.
*/
int read(char *data, int length);

6 changes: 4 additions & 2 deletions drivers/USBCDC.h
Original file line number Diff line number Diff line change
@@ -33,6 +33,8 @@ class AsyncOp;
* @{
*/

#define CDC_MAX_PACKET_SIZE 64

class USBCDC: public USBDevice {
public:

@@ -219,13 +221,13 @@ class USBCDC: public USBDevice {

OperationList<AsyncWrite> _tx_list;
bool _tx_in_progress;
uint8_t _tx_buffer[64];
uint8_t _tx_buffer[CDC_MAX_PACKET_SIZE];
uint8_t *_tx_buf;
uint32_t _tx_size;

OperationList<AsyncRead> _rx_list;
bool _rx_in_progress;
uint8_t _rx_buffer[64];
uint8_t _rx_buffer[CDC_MAX_PACKET_SIZE];
uint8_t *_rx_buf;
uint32_t _rx_size;
};
7 changes: 7 additions & 0 deletions drivers/source/AnalogIn.cpp
Original file line number Diff line number Diff line change
@@ -38,6 +38,13 @@ AnalogIn::AnalogIn(const PinMap &pinmap, float vref) : _vref(vref)
unlock();
}

void AnalogIn::configure(const analogin_config_t &config)
{
lock();
analogin_configure(&_adc, &config);
unlock();
}

float AnalogIn::read()
{
lock();
2 changes: 1 addition & 1 deletion drivers/source/I2CSlave.cpp
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ int I2CSlave::receive(void)

int I2CSlave::read(char *data, int length)
{
return i2c_slave_read(&_i2c, data, length) != length;
return i2c_slave_read(&_i2c, data, length);
}

int I2CSlave::read(void)
2 changes: 0 additions & 2 deletions drivers/source/usb/USBCDC.cpp
Original file line number Diff line number Diff line change
@@ -34,8 +34,6 @@ static const uint8_t cdc_line_coding_default[7] = {0x80, 0x25, 0x00, 0x00, 0x00,
#define CLS_DTR (1 << 0)
#define CLS_RTS (1 << 1)

#define CDC_MAX_PACKET_SIZE 64

class USBCDC::AsyncWrite: public AsyncOp {
public:
AsyncWrite(USBCDC *serial, uint8_t *buf, uint32_t size):
18 changes: 10 additions & 8 deletions drivers/source/usb/USBDevice.cpp
Original file line number Diff line number Diff line change
@@ -980,10 +980,11 @@ void USBDevice::out(usb_ep_t endpoint)

endpoint_info_t *info = &_endpoint_info[EP_TO_INDEX(endpoint)];

MBED_ASSERT(info->pending >= 1);
info->pending -= 1;
if (info->callback) {
info->callback();
if (info->pending >= 1) {
info->pending -= 1;
if (info->callback) {
info->callback();
}
}
}

@@ -1007,10 +1008,11 @@ void USBDevice::in(usb_ep_t endpoint)

endpoint_info_t *info = &_endpoint_info[EP_TO_INDEX(endpoint)];

MBED_ASSERT(info->pending >= 1);
info->pending -= 1;
if (info->callback) {
info->callback();
if (info->pending >= 1) {
info->pending -= 1;
if (info->callback) {
info->callback();
}
}
}

4 changes: 2 additions & 2 deletions features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordio",
"macros": ["WSF_MS_PER_TICK=1"],
"macros": ["WSF_MS_PER_TICK=10"],
"config": {
"max-connections": {
"help": "Maximum number of connections",
@@ -78,4 +78,4 @@
"macro_name": "EATT_CONN_CHAN_MAX"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -514,14 +514,16 @@ void lctrFreeConnCtx(lctrConnCtx_t *pCtx)
WsfMsgFree(pBuf);
}

uint16_t handle = LCTR_GET_CONN_HANDLE(pCtx);

lmgrPersistCb.sendCompCback(handle, numTxBufs);

/* Cleanup timers. */
WsfTimerStop(&pCtx->tmrSupTimeout);
WsfTimerStop(&pCtx->tmrProcRsp);
WsfTimerStop(&pCtx->tmrPingTimeout);
WsfTimerStop(&pCtx->tmrAuthTimeout);

uint16_t handle = LCTR_GET_CONN_HANDLE(pCtx);

/* VS cleanup. */
if (pLctrVsHdlrs && pLctrVsHdlrs->connCleanup)
{
Loading