Commit Graph

13 Commits (master)

Author SHA1 Message Date
Sadik.Ozer cbe0f73a0e Fix: Do not disable SPI for manual drive mode during transaction setup
It has been reported that disabling SPI module causes glitch for manual SS drive mode

Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2023-09-07 10:15:32 +03:00
Sadik.Ozer bdec190cbb MAX32660, MAX32670 UART performance improvement
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2023-06-01 15:50:39 +03:00
Sadik.Ozer 0eac033cf1 Do not clear interrupt flag during initialization
This causes issue for repeaded initialization while using BufferedSerial mode

Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2023-06-01 15:50:39 +03:00
Sadik.Ozer d42b9b377b Apply MAX32660 delta
Update mbed hal function as per of SDK update

Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2023-05-17 11:22:56 +03:00
Ahmet Polat 3f4b177128 Update MAX32660 peripheral drivers with final ones that use by SDK 2023-05-15 13:08:43 +03:00
Sadik.Ozer fb1d9c2878 Replace MAX32660, MAX32670 I2C driver with final one in MSDK
- apply clang-format
- Fix i2c repeated start issue

Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2022-10-27 13:47:44 +03:00
Hari Limaye f4e5359710 GPIO: Use uintptr_t for gpio_irq_api context
The HAL gpio_irq_api stores object IDs, which serve as a form of context
for the dispatch of the interrupt handler in the drivers level
InterruptIn Class. The way this is achieved is that the InterruptIn
Class casts its address to uint32_t, which is stored as the ID.
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 InterruptIn 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.
2022-01-26 18:12:52 +00:00
Sadik.Ozer 196008205d Add missing file in CMakeList.txt
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-10-07 17:58:13 +03:00
Sadik.Ozer b8bef044dd Use lower case
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-10-07 17:13:19 +03:00
Sadik.Ozer 4db4364e91 Remove device folder as subdir
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-10-07 12:45:44 +03:00
Sadik.Ozer de4d4ca40c Remove unexisting file from CMakeList
Remove unneeded files
Remove const float value

Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-10-06 07:53:50 +03:00
Sadik.Ozer 8961d73ff1 Remove dead code, fix gcc warning
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-10-04 12:58:42 +03:00
Sadik.Ozer 9c029bfc08 Add MAX32660EVSYS
- Add SDK files (updated to match mbed system)
- Implement mbed API files
- Update mbed related configuration (CMakefiles, .json files...)
- Add gcc and arm related files (linker, scatter, startup...)
- Tested with ARM and GCC_ARM toolchain
- GreenTea tests have been executed

Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-09-30 14:07:55 +03:00