Martin Kojtal
0075eeab6b
Merge pull request #14482 from jeromecoutant/PR_L4_SYSCLOCK
...
STM32L4: align all system_clock files
2021-04-07 10:22:50 +02:00
Martin Kojtal
7328e588f1
Merge pull request #14485 from boraozgen/feature/stm32-rtc-hse-review
...
STM32: RTC HSE support review changes
2021-04-07 09:38:44 +02:00
Martin Kojtal
dce643be92
Merge pull request #14478 from jeromecoutant/PR_L1_ADC_DEEP
...
STM32L1 : enable ADC after deepsleep
2021-04-07 09:38:30 +02:00
Bora Özgen
c16a51d87c
STM32 RTC: Apply review changes for HSE support
...
* Remove unused code
* Fix supported target families
* Add preprocessor error for wrong LPTICKER configuration
2021-04-06 13:45:52 +02:00
reme
38922dee68
README update STM32F1 to CUBE V1.8.3
2021-04-01 16:05:41 +02:00
reme
e523617360
UPDATE STM32CubeF1 with v1.8.3
2021-04-01 09:18:43 +02:00
jeromecoutant
80fed0b442
NUCLEO_G431RB: pin standard
2021-03-30 14:23:43 -05:00
Dan Rose
1c2986a72e
rename USBRX -> CONSOLE_RX
2021-03-29 13:50:49 -05:00
Dan Rose
f7e628d191
switch to new target naming conventions
2021-03-29 13:50:49 -05:00
Dan Rose
3292d0501a
Support Nucleo G431RB
2021-03-29 13:50:49 -05:00
Anna Bridge
616f0b7387
Merge pull request #14445 from jeromecoutant/PR_WB_WATCHDOG
...
STM32WB/STM32WL: watchdog LSI frequency
2021-03-29 11:23:42 +01:00
Anna Bridge
b91a705e74
Merge pull request #14444 from jeromecoutant/PR_GPIO_FREE
...
STM32: reset GPIO value is analog mode
2021-03-29 11:23:15 +01:00
jeromecoutant
1a27351582
STM32L4: align all system_clock files
2021-03-29 09:32:26 +02:00
Jost, Chris
29943181bb
enable USBDEVICE on STM32L1 series, except for XDOT_L151CC
2021-03-26 16:53:04 +01:00
Anna Bridge
7f6ff7e61b
Merge pull request #14434 from jeromecoutant/PR_WB_I2C
...
STM32 I2C : correct deinit
2021-03-26 15:25:48 +00:00
jeromecoutant
a60b985c8d
STM32L1 : enable ADC after deepsleep
2021-03-26 14:03:49 +01:00
jeromecoutant
d0ea0466ad
STM32: remove critical sections in flash_program_page
2021-03-24 17:40:18 +01:00
George Psimenos
61cfaa15cd
Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides
2021-03-23 11:17:17 +00:00
Martin Kojtal
f00ce59769
Merge pull request #14243 from boraozgen/feature/stm32-rtc-hse
...
STM32: Add HSE support to RTC
2021-03-22 10:57:28 +01:00
Martin Kojtal
83adad9609
Merge pull request #14421 from jeromecoutant/PR_SDPUSB
...
SDP-K1: enable IAR compilation
2021-03-22 10:57:08 +01:00
Martin Kojtal
6a252875c7
Merge pull request #14429 from hugueskamba/hk_cmake_fix_st_build_error
...
CMake: Fix STM target build failures
2021-03-22 10:45:46 +01:00
George Psimenos
2322f1dd7a
Remove unused NUCLEO_H743ZI target files
2021-03-18 17:01:54 +00:00
George Psimenos
ec7e00a780
Add target markers to new PinNames.h files
2021-03-18 17:01:54 +00:00
jeromecoutant
e602adb080
[STD-PIN] STM32H7: standardized pins
2021-03-18 17:01:54 +00:00
jeromecoutant
eafaca379e
[STD-PIN] STM32L5: standardized pins
2021-03-18 17:01:53 +00:00
jeromecoutant
bb7d0391a4
[STD-PIN] STM32L4: standardized pins
2021-03-18 17:01:53 +00:00
George Psimenos
885cdef5f7
Add standard pin-names validation script & tests
2021-03-18 17:01:53 +00:00
jeromecoutant
5e50e3b19b
[STD-PIN] enable "ARDUINO_UNO" for B_L4S5I_IOT01A
2021-03-18 17:01:50 +00:00
jeromecoutant
a4350f72bd
[STD-PIN] BUTTON and LED define
...
hal/tests/TESTS/mbed_hal/gpio/main.cpp is replaced by
hal/tests/TESTS/pin_names/generic/main.cpp now
2021-03-18 17:01:50 +00:00
jeromecoutant
a6c213bb10
[STD-PIN] Replace STDIO_UART_TX by USBTX
2021-03-18 17:01:50 +00:00
jeromecoutant
3c2088a45f
STM32WB/STM32WL: watchdog LSI frequency
...
Value from DataSheet
2021-03-18 15:45:47 +01:00
jeromecoutant
21dcebb58d
STM32 OSPI/QSPI : correct GPIO free
2021-03-18 14:53:00 +01:00
jeromecoutant
7203125827
STM32 ANALOGOUT : correct GPIO free
2021-03-18 14:53:00 +01:00
jeromecoutant
73239b6a99
STM32 SPI : correct GPIO free
2021-03-18 14:52:59 +01:00
jeromecoutant
20e9235a26
STM32 SERIAL : correct GPIO free
2021-03-18 14:52:59 +01:00
jeromecoutant
10e0759372
STM32 PWM : correct GPIO free
2021-03-18 14:52:59 +01:00
jeromecoutant
34f02ff573
STM32 I2C : correct deinit
...
Set port mode back to Analog (reset value)
2021-03-16 15:05:37 +01:00
Hugues Kamba
ff0756d338
CMake: Fix STM target build failures
...
Ensure the linker and startup files listed match
with the correct letter case as some host systems
are case sensitive.
2021-03-15 14:11:23 +00:00
Martin Kojtal
e3c8878d59
WIO_BG96: fix macro exclusion - use cellular
...
This depends on cellular drivers not netsockets (it works because both are present in
the system, not true when you use CMake).
2021-03-12 15:28:36 +00:00
Bora Özgen
257e466d6c
Add RTC clock source selection to targets.json
2021-03-12 15:34:13 +01:00
Bora Özgen
25a0aee77e
Support RTC from HSE only for STM32F2/3/4
2021-03-12 15:33:28 +01:00
Bora Özgen
4d1161b689
Add HSE support to STM32 RTC
2021-03-12 15:33:27 +01:00
Martin Kojtal
a63bd12706
Merge pull request #14416 from hugueskamba/hk_cmake_fix_ff1705-l151cc
...
CMake: Fix FF1705_L151CC build
2021-03-12 13:26:41 +00:00
Marek Czerski
f64e64dc9d
STM32: AnalogOut: do not call HAL_DAC_Start in dac_write
...
dac_write (used by AnalogOut.write) calls HAL_DAC_Start
every time. It is required to call HAL_DAC_Start only once.
HAL_DAC_Start uses internally HAL_Delay(1) making AnalogOut
not suitable for use in high speed application.
This change removes call to HAL_DAC_Start in dac_write and
moves it to analogout_init.
2021-03-12 09:56:41 +01:00
Martin Kojtal
eec320c991
Merge pull request #14339 from jeromecoutant/PR_F4_1260
...
STM32F4 update drivers version to CUBE V1.26.0
2021-03-11 17:14:28 +00:00
jeromecoutant
2823fe0275
SDP-K1: enable IAR compilation
2021-03-11 15:53:28 +01:00
Hugues Kamba
9b11ed4144
CMake: Fix FF1705_L151CC build
...
Add the missing CMake target to build BSP for the
FF1705_L151CC Mbed board
2021-03-11 12:30:54 +00:00
Martin Kojtal
5326e30961
Merge pull request #14293 from jeromecoutant/PR_CMAKE_ALIGN
...
STM32L4 : align CMakeLists.txt with all STM32
2021-03-11 08:56:06 +00:00
jeromecoutant
c41ea5f723
STM32F4: STM32Cube_FW_F4_V1.26.0 - Subfamilies
2021-03-10 08:45:49 +01:00
jeromecoutant
021aa009b8
STM32F4: STM32Cube_FW_F4_V1.26.0 - STM32Cube_FW
2021-03-10 08:45:48 +01:00
jeromecoutant
338e37abee
STM32F4: license header alignment
2021-03-10 08:45:47 +01:00
jeromecoutant
de27e83302
STM32F4: move common files
2021-03-10 08:45:47 +01:00
jeromecoutant
82a31782ec
STM32F4: move TARGET_MTS_MDOT_F411RE info STM32F411xE
2021-03-10 08:45:46 +01:00
jeromecoutant
bccef1a6eb
STM32F4: move TARGET_MTS_DRAGONFLY_F411RE info STM32F411xE
2021-03-10 08:45:45 +01:00
jeromecoutant
3d1d3b76bb
STM32F4: align CMakeLists.txt for all families
2021-03-10 08:45:45 +01:00
Martin Kojtal
0e89f9d6d9
Merge pull request #14337 from jeromecoutant/PR_STM32L1_1102
...
STM32L1 update drivers version to CUBE V1.10.2
2021-03-09 17:37:58 +00:00
jeromecoutant
1eb16d1f25
STM32 : gpio_reset_at_init disabled with MBED_DEBUG
2021-03-09 12:33:25 +01:00
jeromecoutant
898439930a
STM32L1 : license header alignment
2021-03-09 12:33:25 +01:00
jeromecoutant
30c843ede7
STM32L1 : STM32Cube_FW 1.10.2
2021-03-09 12:33:16 +01:00
jeromecoutant
6b57fd48a8
STM32L1 : targets restructuration
...
- alignment with other STM32 families
2021-03-09 12:32:42 +01:00
jeromecoutant
95ebb3d7b6
STM32L1 : directory restructuring
2021-03-09 12:32:42 +01:00
jeromecoutant
806417853d
STM32WB: enable QSPI for custom boards
2021-03-08 16:51:53 +01:00
Martin Kojtal
e37f7a67f2
Merge pull request #14351 from ladislas/ladislas/stm32f7/use_callbacks
...
STM32 - Add if !defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-03-08 11:08:45 +00:00
Harrison Mutai
da73b4bf8d
CMake: Refactor target MCU_STM32F103xE library name
2021-03-04 15:37:47 +00:00
Martin Kojtal
876032b818
Merge pull request #14338 from jeromecoutant/PR_README_CLOCK
...
STM32: update readme with clock information
2021-03-03 08:54:26 +00:00
Martin Kojtal
1e3834325f
Merge pull request #14303 from ycsin/master
...
Add STM32F103xE SOC support
2021-03-02 16:43:38 +00:00
Ladislas de Toldi
b12481b3c3
STM32WB - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:20:11 +01:00
Ladislas de Toldi
c68c210a47
STM32L5 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:19:17 +01:00
Ladislas de Toldi
40120e6036
STM32L4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:18:24 +01:00
Ladislas de Toldi
2c1d37e4a5
STM32L0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:17:14 +01:00
Ladislas de Toldi
8361fda30f
STM32H7 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:16:37 +01:00
Ladislas de Toldi
1d4742e8c3
STM32G4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:15:47 +01:00
Ladislas de Toldi
09457e2cf8
STM32G0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:14:50 +01:00
Ladislas de Toldi
758d4c4245
STM32F3 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:13:52 +01:00
Ladislas de Toldi
ea9eb73cc8
STM32F2 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:12:43 +01:00
Ladislas de Toldi
aa30a254a9
STM32F1 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:10:21 +01:00
Ladislas de Toldi
1732c136da
STM32F0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:08:59 +01:00
Ladislas de Toldi
143176b8c4
STM32F4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:06:48 +01:00
Ladislas de Toldi
e1aa00ee76
STM32F7 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:06:41 +01:00
Jost, Chris
96c31e15da
fixed copy paste errors
2021-02-24 14:41:04 +01:00
jeromecoutant
8987aed3e8
STM32L4: align CMakeLists.txt for all families
2021-02-24 12:20:58 +01:00
jeromecoutant
0c7b4d7801
STM32: update readme with clock information
2021-02-24 11:15:17 +01:00
Jost, Chris
cb032d2365
enable USBDEVICE for STM32L5
2021-02-24 10:21:54 +01:00
Martin Kojtal
88a242f749
Merge pull request #14306 from hugueskamba/hk_cmake_create_cmsis_cortex_libs
...
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
2021-02-23 08:36:49 +00:00
Martin Kojtal
da51cb2185
Merge pull request #14318 from harmut01/example_build_errors
...
CMake: Fix path to STM32F0 GCC linker scripts
2021-02-23 08:36:27 +00:00
Martin Kojtal
7b6c7cc2ad
Merge pull request #14295 from 0xc0170/cmake-remove-iar
...
CMake remove IAR references in the tree
2021-02-22 20:10:40 +00:00
Harrison Mutai
5899dd0bc7
Fix path to GCC linker scripts
...
The linux filesystem is case sensitive, this was causing our nightly build to
fail when attempting to find the script with its lower case name. The
name of the file has been kept the same as this seems to be STMs
convention.
2021-02-22 14:07:52 +00:00
Yong Cong Sin
d458f24680
Remove custom board from CMakeLists.txt
2021-02-20 18:27:38 +08:00
Hugues Kamba
11a445be95
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
...
The linker file for the GCC_ARM toolchain was not
correctly listed.
2021-02-19 20:28:25 +00:00
Hugues Kamba
2c3481297c
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
...
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Yong Cong Sin
d81f520073
Divide HSE by 2 if the external XTAL used is 16 MHz
2021-02-19 15:35:47 +08:00
Yong Cong Sin
a36d006b7c
Add STM32F103xE SOC support
2021-02-19 10:57:34 +08:00
Martin Kojtal
85c2d7a25c
CMake: remove IAR references as they are not supported
2021-02-17 09:19:03 +00:00
Martin Kojtal
1dd411268b
Merge pull request #14030 from arduino/i2c_stm32_wrong_clock
...
STM32H7: Compute I2C timing according current I2C clock source
2021-02-15 14:38:11 +00:00
Robert Walton
fd63d33521
CMake: Fix STM32G0 target
2021-02-15 11:16:49 +00:00
Robert Walton
91db89143e
Fix FF1705_L151CC target
2021-02-15 11:06:43 +00:00
Robert Walton
ed4027edf0
Fix STM32F103xB target
2021-02-15 11:06:43 +00:00
Robert Walton
c82c897e2b
Fix STM32F072xB target
2021-02-15 11:06:43 +00:00
Robert Walton
f2f927ebac
Fix NUCLEO_H743ZI2 target
2021-02-15 11:05:07 +00:00
Robert Walton
f6302dc108
Fix NUCLEO_L496ZG_P target
2021-02-15 11:05:07 +00:00
Robert Walton
956a8790c1
Fix DISCO_L4R9I target
2021-02-15 11:05:07 +00:00
Martin Kojtal
fa62e80958
Merge pull request #14249 from jeromecoutant/PR_STM32WL_LORA
...
STM32WL : add LoRa support
2021-02-15 11:04:00 +00:00
Martin Kojtal
34627b7d53
Merge pull request #14280 from hugueskamba/hk_cmake_refactor_wiced
...
CMake: Refactor WIO_EMW3166 support
2021-02-15 10:28:12 +00:00
Martin Kojtal
5e094fe040
Merge pull request #14245 from jeromecoutant/PR_WL
...
STM32WL: I2C and ADC full support
2021-02-15 08:46:13 +00:00
Hugues Kamba
d7a7d44b4b
CMake: Refactor WIO_EMW3166 support
...
Ensure WICED is included for Mbed targets that require it.
This also removes the need for checking MBED_TARGET_LABELS repeatedly and
allows us to be more flexible in the way we include MBED_TARGET
source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-12 16:11:31 +00:00
Robert Walton
ab7a530506
Fix NUCLEO_L4R5ZI_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
f73e154a12
Fix NUCLEO_L073RZ target
2021-02-11 09:33:21 +00:00
Robert Walton
e8227f5be7
Fix PORTENTA_H7_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
6a737ac58d
Fix DISCO_H747I_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
a297a6145e
Add library for NUCLEO_G431KB
2021-02-11 09:33:21 +00:00
Martin Kojtal
fdef59fc10
CMake STM32H7: fix disco m4/m7 targets
2021-02-10 15:32:49 +00:00
Martin Kojtal
2d3bf3fd34
CMake STM32: fixing prefixes in the targets
2021-02-10 15:23:22 +00:00
Martin Kojtal
6bf459e3ce
CMake STM32: fix mbed-stm linking libs names
2021-02-10 12:24:10 +00:00
Martin Kojtal
ef98060d94
CMake STM32: fix missed targets with prefix
2021-02-10 12:14:49 +00:00
Martin Kojtal
00e83ce6e2
CMake STM32: fix missing mbed for some nucleo targets
2021-02-10 10:56:04 +00:00
Martin Kojtal
b3181a102c
CMake STM32: fix search and replace errors
2021-02-10 09:32:55 +00:00
Martin Kojtal
544e5b94c3
CMake STM32: fix targets naming
...
Follow the naming for other CMake targets, using prefix mbed-, lower case with dashes
2021-02-09 17:07:44 +00:00
jeromecoutant
699edff47e
STM32WL LORA : add readme
2021-02-09 11:57:04 +01:00
jeromecoutant
cc26ebc21e
STM32WL LORA : cmakelist
2021-02-09 10:01:17 +01:00
jeromecoutant
4550f92565
STM32WL : I2C full support
2021-02-08 17:19:05 +01:00
jeromecoutant
96e6d8bb7b
STM32WL : ANALOGOUT full support
2021-02-08 17:19:05 +01:00
jeromecoutant
c80ac26f7a
STM32WL : ANALOGIN full support
2021-02-08 17:19:05 +01:00
reme
470e98ed1f
STM32WL : ADDING NUCLEO STM32WL55JC SUPPORT
...
Add code concerning all STM32WL55JC platforms
- system clock, pin and peripheral definition
mbedtools make file
Modify CmakeList to adapt to mbedtools evolution
2021-02-08 09:42:50 +00:00
reme
4c35eb33ed
STM32WL : ADDING STM32WL55xC SUPPORT
...
Add code concerning all STM32WL55xC platforms
- Scatter loader and start-up files for
ARM, GCC and IAR compilers.
- cmsis file
- Update CMakeLists.txt due to mbtools evolution
2021-02-08 08:27:24 +00:00
reme
91e7676cc4
STM32WL : ADDING STM32WL SUPPORT
...
Add code concerning all STM32WL platforms
- STM32 Cube Firmware
Update CMakeLists.txt due to mbedtools evolution
2021-02-08 08:22:19 +00:00
pennam
dc2d8607a3
Fixed __HAL_RCC_GET_I2C4_SOURCE() if RCC_VER_2_0 is used
2021-02-05 09:10:42 +01:00
reme
5a2835c18c
STM32WL : ADDING STM32 SUPPORT
...
Add code concerning all STM32 platforms
2021-02-05 08:04:31 +00:00
Robert Walton
d9e184b6c6
cmake: Refactor ST targets
...
Refactor all ST targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-04 15:26:36 +00:00
pennam
d059feefe0
Added i2c_device.c to CMakeLists.txt
2021-02-03 15:18:33 +01:00
Martin Kojtal
7135c6545a
Merge pull request #14215 from flippy84/master
...
STM: Fix Hal_GetTick wrap around errors
2021-02-03 14:17:59 +00:00
Martin Kojtal
78bbe274f1
Merge pull request #14203 from kylejansen/sdpk1-usb
...
Adding USB HS Support to the SDP-K1
2021-02-03 14:17:43 +00:00
pennam
6db7342cf6
manage I2C_IP_VERSION_V1 boards builds
2021-02-03 15:14:42 +01:00
pennam
d968b17e76
code style fix
2021-02-03 14:18:07 +01:00
Andreas Carlsson
38b9e8ee5f
STM: prevent task switch errors in HAL_GetTick
2021-02-03 09:42:15 +01:00
pennam
506390bcf8
Increase FLAG_TIMEOUT to avoid misleading triggers
2021-02-01 09:13:33 +01:00
pennam
7544f7ef24
Use the proper clock source for any I2C instance
2021-02-01 09:13:21 +01:00
pennam
28a3475c5c
STM32: Compute I2C timing according current I2C clock source and required I2C clock
2021-01-31 14:02:01 +01:00
kylejansen
c401b61c09
Adding USB HS Support to the SDP-K1
2021-01-27 16:50:37 +00:00
Tauno Magnusson
dc969ba1d9
After checking other parts of the code (trng_api.c and a few other board platforms (NUCLEO_F413ZH, ...)) it appears that even though the reset value defaults correctly it may be good practice to keep the HAL_RCCEx_PeriphCLKConfig statement that selects the HSI48CLK as source for USB/RNG.
2021-01-26 03:51:49 +01:00
Tauno Magnusson
21176e903a
Removed the HAL_RCCEx_PeriphCLKConfig statement that was selecting the HSI48 CLK for USB. Assumption is that the STM32G4 reset value (defaults to HSI48 selected for USB) is preserved throughout Mbed initialization.
2021-01-26 03:27:37 +01:00
Tauno Magnusson
80f0a378fb
Updated to enable HSI48 Clock also for USBDEVICE define in targets.json. Also added so that the CK48 Clock Mux selects HSI48 for both RNG and USB. Without these the RNG/USB will be clocked at PLLQ (170 MHz) and not work.
2021-01-26 02:51:03 +01:00
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
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
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