Commit Graph

8647 Commits (ca6685346db5b84f4625a9022e5d8466f1723a03)

Author SHA1 Message Date
Jamie Smith d85c55a493 Fix PSA and MUSCA build 2022-09-14 00:25:25 -07:00
Deepak V. Shreshti 61e5a61e34 Removed UTF-8 Chars 2022-08-24 18:31:42 +05:30
Deepak V. Shreshti adadcf3171 Updated System file and Scatter file 2022-08-23 18:26:51 +05:30
Henrik Persson 684181c40b Add targets.json definition for STM32F412xE 2022-06-20 17:09:02 +02:00
Henrik Persson bdaa4a457d Make STM32F412xE targets build
Trying to inherit the STM32F412xE target makes the linker fail, since
__CRASH_DATA_RAM_START__ is not present. Comparing LD scripts with the
STM32F412xG (which has active targets) it seems that the xE variant has
missed some updates somewhere. Since the LD scripts are otherwise
identical, copying the (working) ones from STM32F412xG seems to do the
trick.

Also added flash_data.h which was missing and needed here and there
(copied from xG and updated to fit the xE flash layout).
2022-06-16 16:05:34 +02:00
Jason Reiss 4d616ccc70 MTS002: update MTS_MDOT_F411RE usb clock setting for 8MHz output 2022-06-08 08:42:22 -05:00
Jason Reiss 0905a2e672 MTS001 - add custom clock configuration for MTS_MDOT_F411RE to use 26MHz XTAL 2022-06-08 08:42:22 -05:00
Martin Kojtal 1ab98dec9a
Merge pull request #15286 from pilotak/master
STM32G4: Fix serial port at low speed baud
2022-05-13 14:47:44 +02:00
Pavel S 58e6bf7520
Fix serial low speed baud 2022-05-13 11:16:15 +02:00
Rami Elkhatib fdf37c3217 MPS2 CM3DS ethernet words instead of bytes
The functions smsc9220_receive_by_chunks and smsc9220_send_by_chunks are
supposed to implement receiving and sending packets by chunks. However,
the functions SMSC9220_EMAC::low_level_input and SMSC9220_EMAC::link_out,
which call them respectively, already require or assemble the full packet.
Also, smsc9220_receive_by_chunks doesn't implement the "chunks" part.

This commit renames the functions to smsc9220_receive_packet and
smsc9220_send_packet. The functions now do their operations by word
instead of by bytes. The functions SMSC9220_EMAC::low_level_input and
SMSC9220_EMAC::link_out already handle allocation, continuity and word
alignment of the packet buffer.
2022-05-12 18:27:49 -04:00
Rami Elkhatib f7aca62865 MPS2 CM3DS ethernet fix packet bug
The function smsc9220_receive_by_chunks loads data from the Ethernet port.
It is expected to return the Ethernet frame without the 4 CRC bytes.
However, it is required to call the Ethernet data port register (32-bit)
an amount equal to the number of frame words (including the 4 CRC bytes)
to pop all frame words. The current code doesn't call the register for the
last word (which has CRC data). This causes subsequent calls to have this
missed word at the beginning. The impact of this is huge as the high level
API is getting fed wrong data. The fix adds one additional call to the data
port register.
2022-05-12 18:25:15 -04:00
YahyaTawil 7a108087ed Add default SWO pin number and config if not defined in Ambiq target 2022-05-06 17:24:59 +03:00
YahyaTawil fabe70c0fc Enable ITM (SWO) tracing support to Ambiq Apollo3 targets 2022-05-05 15:47:35 +03:00
YahyaTawil 6467f77125 add ITM (SWO) tracing support to Ambiq Apollo3 targets 2022-05-05 15:45:09 +03:00
Jerome Coutant de4ea6ecd2 STM32F334xx wrong RAM size 2022-05-04 10:43:41 +02:00
Jerome Coutant 6a8a52acf6 STM32L0: add MCU_STM32L071xB support 2022-04-29 09:47:25 +02:00
Martin Kojtal 88b6bb0d85
Merge pull request #15269 from jeromecoutant/PR_G4_UART_ASYNC
STM32G4 : enable UART ASYNC
2022-04-26 11:57:21 +02:00
Jerome Coutant 1985e77dae STM32G4 : enable SERIAL_ASYNCH in default configuration 2022-04-25 16:59:41 +02:00
Jerome Coutant 9b1d4ee62e STM32G4 : add UART5 in IRQ init 2022-04-25 16:59:30 +02:00
Jerome Coutant 271ed686f3 STM32L0 : I2C2 was missing 2022-04-20 14:27:49 +02:00
Sadik.Ozer 4dd01440c4 utf-8 check
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-14 10:27:17 +03:00
Sadik.Ozer 8323e9a7f5 Fix GCC_ARM warnings
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 11:23:39 -05:00
Sadik.Ozer 2f813fcbaa Update system files and mbed wrappers
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 11:22:45 -05:00
Sadik.Ozer 7826582e44 Update LP API
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:07 -05:00
Sadik.Ozer 92983653ed Leave last page of flash
It is used by rom bootloader

Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:07 -05:00
Sadik.Ozer 24f4738f24 Provide option to user to drive SS pin too
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:06 -05:00
Sadik.Ozer f1bce7389f Provide all uart mapping
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:06 -05:00
Sadik.Ozer 65e6595d7b Fix rtc read issue
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:05 -05:00
Sadik.Ozer 8a2681bf6e Add peripheral driver files
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:05 -05:00
Sadik.Ozer 704bfc786a Add peripheral interface files
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:02 -05:00
Sadik.Ozer f40887acdd Remove __R because of confliction
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:41:00 -05:00
Sadik.Ozer fc90e9a64e Update cmsis files
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:40:59 -05:00
Sadik.Ozer 028a85c0b7 Add initial version of files
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2022-04-08 10:40:57 -05:00
Martin Kojtal ddaceccf5a
Merge pull request #15258 from Nantis-GmbH/stm32-uart-num-fix
STM32F0: Fix target codes for number of UARTs
2022-04-05 10:24:13 +02:00
Bora Özgen 9ff358724f STM32F0: Fix target codes for number of UARTs 2022-04-04 16:22:51 +02:00
Jerome Coutant 1cd6bf1399 STM32F1: add MCU_STM32F103xC support 2022-03-31 15:31:47 +02:00
Ahmet Alincak 751d0cf98b Correct heap region calculation for Maxim targets 2022-03-21 00:02:59 +03:00
Pavel S bf599a2438
STM32G4: Fix I2C timing 2022-03-16 08:32:39 +01:00
Pavel S 5c2f103b73
enable QSPI for STM32G4 2022-03-02 20:26:43 +01:00
Deepak V. Shreshti ae0fcefd17 Updated I2C pin names in PinNames.h header 2022-02-28 14:46:11 +05:30
Martin Kojtal 48b1b8ec78
Merge pull request #15221 from amcnicoll/amcnicoll/shared_uart_isr
Add ability to use multiple UARTs on STM32L0, STM32G0 when IRQ is shared
2022-02-22 10:36:28 +01:00
Anthony Mcnicoll fe698ea13b Missed matching #endif 2022-02-20 16:43:44 -05:00
Martin Kojtal a58f8ddae7
Merge pull request #15232 from jeromecoutant/PR_H753
STM32H7: add MCU_STM32H753xI support
2022-02-16 16:44:52 +01:00
Martin Kojtal 3b86e1f4b9
Merge pull request #15230 from jeromecoutant/PR_G4
STM32G4: corrections for STM32G491xE, STM32G4A1xE and STM32G471xE
2022-02-16 16:36:48 +01:00
Anthony Mcnicoll 41275f7e0d Refactor missing #defs for multiple UART support 2022-02-15 21:46:12 -05:00
Jerome Coutant 90cbc89532 STM32H7: add MCU_STM32H753xI support 2022-02-15 16:40:04 +01:00
Jerome Coutant c594d6ee95 STM32L1: build error with STM32L151xB MCU 2022-02-15 15:39:04 +01:00
Jerome Coutant 661c5c17af STM32G4: missing files for STM32G491xE and STM32G4A1xE 2022-02-15 14:03:26 +01:00
Jerome Coutant 071cffafc5 STM32G4 : STM32G471xx CMSIS file 2022-02-15 11:20:20 +01:00
Jerome Coutant 03e51c164c STM32H7 : fix I2C5 build error 2022-02-14 13:39:19 +01:00