iabdalkader
9ac8540ed3
ports/all: Update code to support new CMSIS.
2024-01-16 19:20:09 +02:00
iabdalkader
c4511338a2
micropython: Add MICROPY_NLR_RAISE_HOOK.
...
- This can be set from a custom mpconfigport.h file to call
fb_alloc_free or any other needed cleanup before an exception.
- The omvdummy stuff is no longer needed since a default empty
hook is defined.
2023-10-24 22:04:32 +02:00
luzpaz
971f14daab
misc: Fix typos in src/omw subdirectory
...
Found via `codespell -q 3 -S "*.pgm,*.ppm,./src/hal,./src/drivers" -L als,dout,erro,extint,hsi,inout,ois,paeth,re-use,ser,serie`
2023-09-16 17:01:42 +00:00
Kwabena W. Agyeman
b1a823f547
drivers: Move alloc alignment macros to the common header.
2023-09-08 10:49:24 -07:00
iabdalkader
26bd27bdbb
misc: Rename common header.
2023-07-04 12:53:23 +02:00
iabdalkader
35ed56310d
misc: Format code.
2023-07-02 21:49:23 +02:00
iabdalkader
dcc2e1cad7
Use pre-defined GCC macro to test for the architecture.
...
* CPU macro was not actually defined, which made the test pass on all MCUs.
2021-05-16 22:29:26 +02:00
Kwabena W. Agyeman
9dd90ae55f
Add support for double buffer, triple buffering, and video fifo
2021-04-15 18:13:40 -07:00
iabdalkader
069e96f51a
Add DMA buffer allocator
2021-03-10 00:25:37 +02:00
Kwabena W. Agyeman
c163560224
Cleanup FB_ALLOC_OVERLAY pointers
2021-03-07 16:17:31 -08:00
Kwabena W. Agyeman
fc9d9a4952
Add alignment for the M4
2021-02-26 08:28:13 -08:00
Kwabena W. Agyeman
666c9dd386
Use 4 less bytes per alginment
2021-02-15 09:35:10 -08:00
Kwabena W. Agyeman
45b7e12cf9
Fix fb_alloc_all cache alignment
2021-02-15 09:25:14 -08:00
Kwabena W. Agyeman
900477383e
Add cache alignment support to fb_alloc
2021-02-14 15:41:10 -08:00
iabdalkader
aeb7539cfa
Update license date.
2021-02-14 16:47:45 +02:00
iabdalkader
91c1aecb51
Make xalloc exception more useful.
...
* Add the number of bytes to the exception message, could be very helpful to the user in debugging stuff.
2021-01-11 19:14:20 +02:00
Kwabena W. Agyeman
ad00a842e9
Switch to compressed error messages ( #1116 )
2021-01-10 19:58:07 +02:00
iabdalkader
74e214abe8
Move unaligned memory to separate file.
2020-12-30 00:58:26 +02:00
iabdalkader
4bfa7b41b7
Remove STM32_HAL_H from common code.
2020-12-19 20:51:52 +02:00
iabdalkader
908d5c8291
Remove code dependency on mp.h header.
2020-12-18 23:16:55 +02:00
iabdalkader
bc6d1d22f0
Split code into common and port specific code.
2020-12-18 00:59:28 +02:00