Tauno Magnusson
99d21b6a92
Fixed whitespaces (a tab that should be spaces)
2021-01-26 01:21:46 +01:00
Tauno Magnusson
fa0474239b
Autogenerated file using 'python targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py -t M40_Nucleo_NUCLEO-G431KB'. Had to do some modifications since the autogenerated files contained errors.
2021-01-24 04:25:42 +01:00
Tauno Magnusson
f871eff405
Reverted to a pure copy of 474RE system_clock.c since it was updated with RNG clock fixes. Removing USB Clock enablement (USB will not work out-of-the box but will require users to modify system_clock.c to enable its clock) - this inline with changes to targets.json where I removed the USBDEVICE define
2021-01-24 03:18:06 +01:00
Tauno Magnusson
bfd1f09c26
USBDEVICE removed from G431KB as per ARMmbed policy (only boards with physical USBDEVICE should define it in targets.json)
2021-01-24 02:48:59 +01:00
Tauno Magnusson
173cc1fe29
Cleaning out workaround patches for G431KB now that Flash Bank Switching has been fixed on G4xxx level (ARMmbed/mbed-os patch #14149 )
2021-01-24 02:44:09 +01:00
Tauno Magnusson
e4fb7402c3
Fixed a typo (incorrectly referring to G474RE instead of G431KB)
2021-01-24 02:41:18 +01:00
Tauno Magnusson
3ff04fa81e
Cleaned up and verified file
2021-01-24 02:15:22 +01:00
Tauno Magnusson
d61e4f0e95
Updated G431KB inline with review comments
2021-01-24 02:15:21 +01:00
Tauno Magnusson
1389b1ac9d
Adding CMakeLists.txt files for NUCLEO_G431KB
2021-01-24 02:15:21 +01:00
Tauno Magnusson
0368cab27b
Add: Added STM32G4 series to LP USB list
2021-01-24 02:15:21 +01:00
Tauno Magnusson
d720792191
G431 only has 1 Flash Bank. Code is written with the assumption all G4 devices has 2 Flash Banks. Fix: Commented out SYSCFG_MEMRMP_FB_MODE since stm32g431KB only has 1 Flash Bank. flash_api.c checks for this #define and if it's set understands it as if the chip has 2 flash banks. STM32G4xx_HAL_Driver/stm32g4xx_hal.c also needs to check for this #define since it has flash bank swapping commands that are called in the startup sequence. Fix: Check for SYSCFG_MEMRMP_FB_MODE in Enable/Disable Flash bank swapping.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
98e48828b1
Fix: Added ALIGN(8) for __etext section. This existed in mbed-6.3.0 version. I have not verified if it is truly needed, but it is better to err on the safe side.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
5bd272aabc
Adding support for NUCLEO_G431KB. Created this file based on G474RE file. Added support for USB - connected the HSI48 clock to USB (and RNG). Warning: I'm assuming Flash latency is the same as for G474RE.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
70bd5b916d
Adding support for NUCLEO_G431KB. Created this file based on G474RE. I have done a decent effort to port it / check it. However - Warning - Not everything is verified the the G431 Spec Sheets.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
936467ebab
Adding support for NUCLEO_G431KB. Created this file based on G474RE. Fully verified with Spec Sheets
2021-01-24 02:15:21 +01:00
Tauno Magnusson
9dc882e7d2
Added entry for STM32 NUCLEO_G431KB Board
2021-01-24 02:15:20 +01:00
Martin Kojtal
5f541b22d0
Merge pull request #14142 from hugueskamba/hk_heap_size_fix_stm32l4
...
STM32L4: Correct heap size formula
2021-01-20 14:58:45 +00:00
Martin Kojtal
96aa1bb067
Merge pull request #14132 from hugueskamba/hk_heap_size_fix_apollo3
...
Apollo3: Fix heap size formula and stack start address in scatter file
2021-01-20 08:37:22 +00:00
Martin Kojtal
f7d1f18a80
Merge pull request #14144 from sstaub/STM32-Arduino-Pinnames
...
Update for Arduino Pinnames
2021-01-20 08:34:56 +00:00
Martin Kojtal
6969140110
Merge pull request #14023 from kylejansen/sdpk1-qspi
...
Adding QSPI support to SDP-K1 board support package.
2021-01-20 08:34:38 +00:00
Martin Kojtal
8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
...
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Martin Kojtal
080ea9f903
Merge pull request #14080 from MaximIntegrated/max32630fthr-bare-metal-support
...
Add bare-metal support for MAXIM targets
2021-01-20 08:05:16 +00:00
Martin Kojtal
d841c77921
Merge pull request #13968 from hugueskamba/hk_cmake_arm_ssg_support
...
CMake: Add support for all ARM SSG Mbed targets
2021-01-20 08:03:03 +00:00
Martin Kojtal
4cf0365582
Merge pull request #14075 from MaximIntegrated/maxim-usb-stack-dev
...
Maxim targets; Add USB stack implementation
2021-01-19 09:27:01 +00:00
Martin Kojtal
8dc27fd84e
Merge pull request #14154 from jeromecoutant/PR_STM32_CMAKE
...
STM32: correct cmake compilation issues
2021-01-19 09:22:49 +00:00
Martin Kojtal
1e7dce5bdc
Merge pull request #14166 from arduino/pin_arduino_nano33ble
...
ARDUINO_NANO33BLE: don't define Arduino pins if compiling in Arduino core
2021-01-19 09:21:27 +00:00
Martin Kojtal
c4c28773aa
Merge pull request #14149 from jeromecoutant/PR_G4
...
STM32G4: enable TRNG and correct dual bank flash detection
2021-01-19 09:19:37 +00:00
Hugues Kamba
1d6214df0b
CMake: Add support Arm Musca S1 target
...
Add CMakeLists.txt file for the target
2021-01-18 17:39:13 +00:00
Hugues Kamba
8123cdbe2f
CMake: Add support for ARM's MUSCA B1 target
...
Add CMakeLists.txt input source file for the target
2021-01-18 17:39:13 +00:00
Martino Facchin
ee2e5ad794
Arduino_NANO33BLE: don't define Arduino pins if compiling in Arduino core
2021-01-18 15:43:11 +01:00
Martin Kojtal
95a524ae25
Merge pull request #14145 from arduino/config_sd_transceiver
...
STM32H7: disable uSD transceiver
2021-01-18 08:49:02 +00:00
Hugues Kamba
0ac503312a
CMake: Add support for Arm's MPS2 targets
2021-01-15 16:32:43 +00:00
Hugues Kamba
470cc1a1a6
CMake: Add support for Arm's CM3DS_MPS2 target
2021-01-15 16:32:43 +00:00
Martin Kojtal
eff0d4c8b9
Merge pull request #14032 from jeromecoutant/PR_RESET_GPIO
...
STM32: RESET GPIO during init is configurable
2021-01-15 15:49:11 +00:00
jeromecoutant
1bbceb48f0
STM32 / CMAKE / targets : correct CMakeLists.txt files
2021-01-15 15:11:16 +01:00
Martin Kojtal
aef93ca7c9
Merge pull request #14020 from pea-pod/stm-spi-more-bits
...
Add SPI bitwidths to ST targets where supported
2021-01-15 10:01:28 +00:00
Dustin Crossman
ef6284cad5
Added process to reinitialize qspi if qspi_init is called twice without free.
2021-01-14 12:59:01 -08:00
Dustin Crossman
95a5d60b65
Implement qspi_frequency for Cypress Mbed HAL.
2021-01-14 12:58:50 -08:00
Martin Kojtal
2e905a0060
Merge pull request #14104 from hugueskamba/hk_cmake_fix_STM32F413xH_sysclock_listing
...
CMake: Fix the listing of system_clock.c for STM32F413xH
2021-01-14 17:16:34 +00:00
jeromecoutant
61d00d858f
STM32G4: dual bank FLASH detection
2021-01-13 16:45:03 +01:00
jeromecoutant
eb627788ca
STM32G4: TRNG enabled
...
+ some cleanup/optimisation in SetSysClock
2021-01-13 16:44:57 +01:00
Hugues Kamba
24132695e3
These targets have a different memory layout,
...
they have two RAMs at two distinct locations:
RAM1 (address: MBED_RAM_START, size: MBED_RAM_SIZE):
* stack
* heap
* some part of static memory
RAM2 (address: MBED_IRAM2_START, size: MBED_IRAM2_SIZE):
* remaining part of static memory starting at MBED_IRAM2_START
* crash report
* vector
2021-01-13 12:46:35 +00:00
pennam
df4e397004
STM32H7: disable uSD transceiver
2021-01-13 11:13:15 +01:00
Stefan Staub
c3dca94b78
Update for Arduino Pinnames
2021-01-12 22:43:42 +01:00
Hugues Kamba
f00aeea70f
Apollo3: Fix heap size formula and stack start address in scatter file
...
The heapsize was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
The stack start address should be the top of the RAM which is also fixed.
2021-01-12 11:31:50 +00:00
jeromecoutant
e0217ad9f7
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
2021-01-12 11:42:07 +01:00
Martin Kojtal
74ac9b9b28
Merge pull request #14120 from jeromecoutant/DEV_CMAKE_F4
...
STM32F439 : correct cmake compilation
2021-01-12 08:28:10 +00:00
Martin Kojtal
36a2a808a8
Merge pull request #14130 from hugueskamba/hk_heap_size_fix_nrf52840
...
NRF52840: Fix heap size formula in scatter files
2021-01-12 08:22:31 +00:00
Ahmet Alincak
2ca990eb53
Use MBED_ALIGN and remove mbed.h from header
2021-01-11 22:53:36 +03:00
jeromecoutant
61059d45e4
STM32F439 : correct cmake compilation
2021-01-11 18:07:58 +01:00