Commit Graph

20 Commits

Author SHA1 Message Date
iabdalkader
be03021258 boards/All: Update memory configs.
* DMA buffers regions are automatically rounded up to the next power of 2 via
the linker script. This ensures that these buffers, when rounded up, can actually
fit into their respective memories. It also ensures that when/if the MPU is used
to configure these regions, it will not round up the regions sizes, which may cause
the MPU to configure a region bigger than the DMA buffer.
* GC blocks can be rearranged in any order, including the main heap/first block.
This is very important for boards with limited RAM to avoid fragmenting the contiguous
large heap early before it's actually needed.
* Moved VOSPI memory to its own section. The offset is no longer required, and the
linker script can detect overlaps.
* Renamed GC heap memory to allow more than one heap to exist, and added support for
it in the common linker script. This change allows adding a second heap for malloc/libc
easily if needed.
* For STM32 boards, the domain-specific DMA buffers can now be located anywhere within
their memory regions, as their MPU regions' base addresses and sizes are all set via
linker script variables. Previously, this was defined in headers, and sections could
have easily overlapped without warning.
2024-06-30 17:58:59 +02:00
iabdalkader
13c99c6332 boards/All: Optimize flash/memory usage to support the new TFLM. 2024-06-28 16:32:04 +02:00
iabdalkader
112c753bb5 ports/stm32: Add support for additional GC blocks. 2024-06-22 17:02:53 +02:00
FU CHEN-WEI
b3f9d70003 sensors/PAG7980: Support PixArt image sensor PAG7920.
1. Add a sensor driver for PAG7920.
2. Add PAG7920-related definitions.
2024-04-18 16:59:12 +08:00
iabdalkader
bc5222df03 misc: Refactor board config files.
- Rename options more consistently.
- Add OMV prefix to every config option.
- Replace the ST-specific DCMI prefix with CSI.
- Remove the clock source defined in every header to a common enum.
- Remove obsolete board config options.
2024-02-06 21:20:56 +02:00
iabdalkader
725dcdd5cf boards/all: Enable OMA_ENABLE_DMA_MEMCPY for boards that support it. 2024-02-03 09:07:06 +02:00
iabdalkader
e5f1705315 ports/all: Remove support for self-tests. 2023-11-29 17:42:16 +01:00
iabdalkader
5c1599c14e ports/stm32: Remove hardcoded MDMA channels.
MDMA channels can now be defined in board config files.
2023-10-04 20:51:36 +02:00
iabdalkader
6c63368297 boards/All: Update board display configuration. 2023-10-01 16:49:18 +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
iabdalkader
0195473235 ports/stm32: Refactor I2C bus definitions. 2023-07-03 18:35:14 +02:00
iabdalkader
35ed56310d misc: Format code. 2023-07-02 21:49:23 +02:00
iabdalkader
e7b5a3f7e0 ports/all: Refactor cambus code.
* Rename cambus to omv_i2c for consistency with other HALs.
* Rename sensor I2C handle from bus to i2c_bus to allow adding
another handle (ex spi_bus).
2023-06-10 22:00:56 +02:00
iabdalkader
a1724d90dd ports/stm32: Refactor all GPIO pin definitions. 2023-06-10 17:19:12 +02:00
iabdalkader
46fb0da0fe ports/stm32: Rename FB alloc overlay size macro. 2023-03-15 12:58:41 +01:00
iabdalkader
b85a181474 boards/all: Add a bytes offset config option for multi-word UIDs. 2023-03-07 17:47:25 +01:00
iabdalkader
46d346161b boards/OPENMV4_PRO: Enable QSPI Flash. 2023-01-23 12:32:02 +02:00
iabdalkader
8542c9c882 ports/stm32: Support the new flash storage configuration. 2022-09-26 18:16:46 +02:00
iabdalkader
1f36bee3a3 boards/OPENMV4_PRO: Enable FLIR Lepton sensor driver. 2022-09-08 20:07:15 +02:00
iabdalkader
138b0bcdad boards/OPENMV4_PRO: Add board support for OpenMV4-Pro. 2022-08-31 20:16:19 +02:00