Silvano Seva
03d1ae5546
Updated year in copyright headers
2025-04-04 21:15:39 +02:00
Silvano Seva
6ff868c7a4
Moved STM32F4xx ADC driver under platform/drivers/ADC
2025-03-16 17:44:26 +01:00
Silvano Seva
df5d6dccef
Stm32 ADC: increased measurement accuracy
...
Increased accuracy of ADC measurements by applying a correction factor for
the real value of VDDA/VREF+, computed using the internal voltage reference.
2024-11-10 11:30:58 +01:00
Silvano Seva
a310a0a2d1
Reorganized GPIO drivers
2024-10-18 19:24:22 +02:00
Silvano Seva
9dc449396a
MD9600: updated nvm driver
2024-10-09 21:24:33 +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
76104dd065
STM32: Gpio: fixed possible #include conficts
2024-10-02 09:37:15 +02:00
Silvano Seva
031eda1d7e
STM32F4xx: fixed bug in gpio driver
...
Fixed bug causing gpios set in alternate function mode to have the internal
pull-up resistor enabled, even if not requested.
2024-07-17 19:07:10 +02:00
Morgan Diepart
220d4d2ef4
Module17: added VBat measurement to ADC1 driver
2024-06-21 19:27:28 +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
Silvano Seva
8842b98a52
STM32F4xx: updated gpio driver
2024-06-21 18:00:33 +02:00
Silvano Seva
7dc2ca5524
Driver for random number generator peripheral
2023-11-02 18:36:07 +01:00
Silvano Seva
435f7a416d
Basic driver to configure STM32F4 timers as perioric update sources.
2023-08-30 18:04:24 +02:00
Silvano Seva
4d03d1535c
Added function to STM32F4 DMA stream driver returning its status (running or not).
2023-08-30 18:04:24 +02:00
Silvano Seva
2931a83303
Almost general purpose driver for peripheral <-> memory DMA streams on STM32F4xx
2023-08-30 18:04:24 +02:00
Silvano Seva
6c12a326cc
Fixed a bug in STM32 flash driver causing data not being written to the internal flash.
...
Solves #133 .
2023-07-29 16:31:14 +02:00
Silvano Seva
4cd1fdfcf3
Moved gpio.h to peripherals
2023-07-21 19:27:14 +02:00
Silvano Seva
dcafd07085
Created "peripherals" include folder for non-mandatory drivers, moved rtc.h to peripherals folder.
2023-07-21 08:23:41 +02:00
Silvano Seva
a89a7523cb
Updated year in copyright headers
2023-02-08 16:33:02 +01:00
Silvano Seva
e29994f396
Fixed bad include in STM32 USB virtual COM driver causing clash of #define directives in xmodem implementation
2022-07-18 18:48:44 +02:00
Silvano Seva
3a288769ba
Added the 'sleepUntil' API function to delays interface, allowing to put a thread in sleeping state until a certain absolute timepoint is reached
2022-07-02 10:47:19 +02:00
Silvano Seva
d16eb04696
Reorganised data structures and functions to manage date and time
2022-07-02 10:28:28 +02:00
Silvano Seva
316e588bc3
Updated copyright headers
2022-06-02 09:56:05 +02:00
Silvano Seva
c0a5d0a26e
Quick and dirty bugfix to STM32F4 USB VCOM driver to allow data transfers of more than 300 bytes
2022-03-06 08:44:52 +01:00
Silvano Seva
4bce2c9f23
Fixed bugs in MDx and Module17 input stream drivers causing errors in sample rate: one due to wrong configuration of TIM2 registers and one due to wrong configuration of ADC channel sample time.
2022-02-07 22:01:14 +01:00
Silvano Seva
3fb93f0a86
Updated CMSIS header files for STM32F4 to version 2.6.7
2022-01-15 14:55:59 +01:00
Silvano Seva
691b388228
Implemented load/save of settings and VFO configuration for MDx devices
2021-11-09 19:28:23 +01:00
Silvano Seva
466b405bba
Fixed compiler warning generated by unused parameters in STM32F4xx USART3 diver
2021-07-10 21:39:47 +02:00
Silvano Seva
eb474d6bee
Driver for STM32F4 USART3, can be used as a debug serial interface on MD3x0 devices without GPS and is enabled by defining the macro MD3x0_ENABLE_DBG
2021-07-09 08:53:12 +02:00
Silvano Seva
10e9ac9057
Driver for STM32F4 SPI2, with locking mechanism for concurrent access
2021-04-10 12:15:29 +02:00
Silvano Seva
fb3447b0c6
Moving to miosix kernel: swapped old uC/OS-III task management functions with pthread ones
2021-03-13 09:16:06 +01:00
Silvano Seva
2b28ea0525
Moving to miosix kernel: added two functions to 'interfaces/delays.h' to provide substitutes for their uC/OS-III counterparts and removed the old rtos sources
2021-03-13 09:16:06 +01:00
Silvano Seva
7992b4abca
Moving to miosix kernel: adapted MDx drivers to new configuration
2021-03-13 09:16:06 +01:00
Silvano Seva
1cd0efdee1
Fixed compilation warnings and code refactoring pass
2021-02-03 14:50:00 +01:00
Silvano Seva
8b6f4e3056
Renamed rtc_shutdown() and toneGen_shutdown() to rtc_terminate() and toneGen_terminate()
2020-12-31 18:31:00 +01:00
Niccolò Izzo
c77cc46fb6
Fix include syntax
...
Interface header includes have acquired the interface prefix, to
distinguish them from regular header includes.
2020-12-24 16:30:13 +01:00
Silvano Seva
3bb7e2cfd4
Moved to static allocated framebuffer and USB vcom rx buffer
2020-11-27 22:34:25 +01:00
Silvano Seva
9ba2c79425
Code changes to remove a bunch of compiler warnings
2020-11-24 17:27:30 +01:00
Silvano Seva
01ee477b02
Workaround for an STM32F405 bug causing a delay between an RCC peripheral clock enable and the effective peripheral enabling, as described in ST's silicon errata sheet
2020-11-16 11:24:52 +01:00
Silvano Seva
76086d567f
Fixed regression affecting USB virtual COM port on TYT MD-380
2020-11-16 11:02:31 +01:00
Silvano Seva
4cdc51a36b
Temporarily disabling critical sections in STM32 RTC driver due to compilation issues, to be fixed
2020-11-03 15:15:36 +01:00
Silvano Seva
05f180f596
Implementing the remaining API specified in platform.h for MD380 target
2020-11-03 15:15:36 +01:00
Silvano Seva
fc0b3ef89e
Suppressed a bit of warnings
2020-11-03 15:15:36 +01:00
Silvano Seva
99b2280f76
Adding interface for RTC drivers
2020-11-03 15:15:36 +01:00
Silvano Seva
9b20e5010c
Made gpio API completely platform independent
2020-11-03 15:15:35 +01:00
Niccolò Izzo
6420d2b2c1
Add TYT MD380 build target
...
Add meson cross-compilation configuration for building for the TYT
MD-380 and MD-UV380 radios.
2020-11-03 15:15:35 +01:00
Silvano Seva
327d8c193c
Start migrating code from previous work
2020-11-03 15:15:35 +01:00