Commit Graph

274 Commits

Author SHA1 Message Date
Silvano Seva ea02942eec STM32F4: changed name of Module17 linker script to a more generic one
The linker script for Module17 is nothing more than the generic linker
script used to create binaries for the STM32F4xx MCUs. To reflect this,
its name has been changed to one with a broader scope.
2025-03-10 21:52:50 +01:00
Jim Ancona ec56cad014 meson.build: changes to support building on MacOS 2025-03-01 20:00:40 +01:00
Silvano Seva 7993074a6a gpio-native: select driver basing on MCU type instead of build target 2025-02-11 19:01:34 +01:00
marco 52d0c71323 MD9600: Enable Screen Backlight 2024-12-29 00:44:03 +01:00
Silvano Seva 81c55b5377 MD-3x0: using STM32 ADC driver 2024-11-10 12:04:10 +01:00
Silvano Seva 87ac119f1a meson.build: merged miosix variables into MCU ones 2024-11-09 12:03:23 +01:00
Silvano Seva 3469feb065 MD-UV3x0: using HR_C6000 DAC for "beep" tones 2024-11-09 12:02:46 +01:00
Silvano Seva a310a0a2d1 Reorganized GPIO drivers 2024-10-18 19:24:22 +02:00
Silvano Seva 2d0bf51873 MDUV3x0: using HR_C6000 for MCU to speaker audio 2024-10-12 12:24:05 +02:00
Silvano Seva 98978b907f GDx: updated radio driver 2024-10-09 22:02:51 +02:00
Silvano Seva 0c4a0435a8 MD3x0: update radio driver 2024-10-09 22:00:10 +02:00
Silvano Seva 5e94d2fef6 GDx: updated nvm driver 2024-10-09 21:24:33 +02:00
Silvano Seva 9dc449396a MD9600: updated nvm driver 2024-10-09 21:24:33 +02:00
Silvano Seva 23e4ce0a8a MDUV3x0: updated nvm driver 2024-10-08 19:20:59 +02:00
Silvano Seva 3b877d20df MD3x0: updated nvm driver 2024-10-08 18:59:05 +02:00
Silvano Seva af5d10ec52 MDx: unified the nonvolatile memory driver
Merged the NVM drivers of the MDx devices into a single file covering MD-380,
MD-UV380, MD-9600, RT3 and RT3s
2024-10-08 18:58:01 +02:00
Silvano Seva ae0a467d2a MK22: driver for SPI peripherals 2024-10-08 18:36:56 +02:00
Silvano Seva 4c952e047b STM32: refactored SPI driver 2024-10-08 18:35:36 +02:00
Silvano Seva 83f4e1584a STM32: added function to retrieve the clock frequency of APB/AHB busses 2024-10-08 18:30:31 +02:00
Silvano Seva 9ff6375c18 GDx: merged the GD-77 and DM-1801 targets into a common "GDx" one
Radioditty GD-77 and Baofeng DM-1801 radios are 99.9% equal, the only
difference being the assigment of a few gpio pins.
2024-10-02 09:37:53 +02:00
Marc Balmer 644ffb5580 Linux: removed dependency from pulse-simple 2024-09-22 18:25:39 +02:00
Silvano Seva e95b5bbb6f Linux: fixed compilation errors due to missing gpio-native.h header file 2024-06-23 09:39:43 +02:00
Morgan Diepart b5e49a3b4d Module17: reorganized display drivers, implemented dynamic selection of display driver 2024-06-21 19:26:32 +02:00
Morgan Diepart caf3225a87 Driver for CAP1206 capacitive touch controller 2024-06-21 19:26:11 +02:00
Silvano Seva 40780af16d Module17: using standard ADC driver 2024-06-21 19:26:03 +02:00
Morgan Diepart 7052dbcf8b Module17: use hardware I2C for MCP4551 2024-06-21 18:09:53 +02:00
Silvano Seva b196ce9cbc Driver for bitbanged SPI on MCU gpios 2024-06-21 18:00:33 +02:00
Silvano Seva 539d1b45f6 STM32F4xx: driver for ADC peripherals 2024-06-21 18:00:33 +02:00
Silvano Seva 8fff2e7361 Driver for STM32F4xx SPI peripherals 2024-06-21 18:00:33 +02:00
Morgan Diepart 07ee9a3369 Driver for STM32F4xx I2C peripheral 2024-06-21 18:00:33 +02:00
Marco 36ef3b310c Added function to convert minmea coordinate to fixed-point integer representation 2024-04-10 08:04:26 +02:00
Niccolò Izzo 7aa9385ec3
Fix build on T-TWR Plus
Whenever one is building T-TWR Plus without having built other targets
previously, we ensure that the codec2 sources are in place.
2024-02-09 09:06:57 +01:00
marco 31d9b909f7 Allow git commit as version
At the moment the github action actifacts have no version listed on the info screen.
We use the `--always` flag, as yhis allows `git describe` to show only the commit if nothing else is available.
2024-02-06 19:30:54 +01:00
Silvano Seva 1791e70eef Using newlib-specific sniprintf in place of snprintf
Using the newlib's printing functions without floating point support in order
to reduce the overall binary size. This allows to free up around 15kB of space
in the .text section.
2024-02-06 19:19:44 +01:00
Silvano Seva 8bc867beae Using Kconfig-style #defines for GPS, RTC and knob type description 2024-02-01 11:07:20 +01:00
Silvano Seva 0f4290cdfe Using Kconfig-style #defines for display parameters' description. 2024-02-01 11:07:20 +01:00
Morgan Diepart 7b48d2bc28 Fix meson setup for windows
cp does not exist on windows but xcopy does.
2024-01-17 21:54:26 +01:00
marco 7a31dfba3d Configured linux target for Module17 emulation similar to a Module17 rev. 0.1e 2024-01-09 12:36:23 +01:00
marco 0e6473f95e meson.build: created three separate linux targets for different build configurations 2024-01-09 12:36:14 +01:00
Silvano Seva 0363825c1a meson.build: fix linker error on unit tests
Append the sources of the main entrypoint only when defining the build
targets for the executables. This avoids having the symbol for main()
defined twice when building the unit tests.
2023-12-24 10:48:41 +01:00
Silvano Seva 916337e3d7 Refactored meson.build 2023-12-19 21:17:20 +01:00
Silvano Seva 419d02a203 Linux NVM: updated implementation to use the new standard API 2023-12-03 19:00:55 +01:00
Silvano Seva 096da4102d Utility functions to perform read/write/erase operations on NVM areas and partitions 2023-12-03 19:00:55 +01:00
Silvano Seva 8040a012b4 Driver for file-based audio input device 2023-11-12 12:34:37 +01:00
Silvano Seva 12e2a0f18b Linux: added garbage collection of unused .text and .data sections at link time 2023-11-05 18:27:29 +01:00
Silvano Seva 7dc2ca5524 Driver for random number generator peripheral 2023-11-02 18:36:07 +01:00
Silvano Seva 1035c2b801 Updated version number in meson.build 2023-10-23 18:30:14 +02:00
Niccolò Izzo b4c8fca767
Implemented uf2 image wrapping for T-TWR Plus
T-TWR Plus target now produces images in UF2 format.
This format is compatible with bootloaders such as tinyuf2, and future
releases of the hardware will come pre-flashed with tinyuf2, thus
flashing them will not requires any other dependency than the uf2 file
itself.

TG-553
2023-10-18 11:27:43 +02:00
Niccolò Izzo e939218001
Integrate west manifest to facilitate Zephyr build
Add west manifest contributed by edgetriggered to allow automated
cloning of the correst Zephyr revision.
Now codec2 dependency is enabled also for T-TWR build, enabling to build
it from scratch without first building a Miosix target.
Enabled non-cross build to use codec2 compiled sources.
2023-10-09 09:23:45 +02:00
Niccolò Izzo 7c09f7d2b0
Add meson wrapper to build Zephyr targets
Now zephyr build process can be invoked from meson by running:

- meson setup build
- meson compile -C build openrtx_ttwrplus

TG-553
2023-09-25 14:31:15 +02:00