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
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
Silvano Seva
cff09ca3c3
STM32F4: added linker script section for a .bss area in the 128kB SRAM
2025-03-07 19:06:27 +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
3c137a31de
Fixed error in STM32F4 linker scripts causing radio thread lockup
...
Error in linker script definitions made the heap area to start at end of the
64kB CCM RAM, thus effectively allocating memory in an access-protected zone.
2024-02-07 18:37:28 +01:00
Silvano Seva
7fc16388e0
Removed framebuffer from Module17 display driver
2024-02-06 19:19:47 +01:00
Silvano Seva
5ff098d2fb
Removed framebuffer from MDx display driver
2024-02-06 19:19:47 +01: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
Mathis Schmieder
89aedef3ae
Implemented non-volatile memory for settings on Module 17
2023-05-29 22:12:40 +02:00
Silvano Seva
a89a7523cb
Updated year in copyright headers
2023-02-08 16:33:02 +01:00
Silvano Seva
b861beb0e6
Compiling miosix kernel from sources instead of linking against a pre-build image
2022-09-08 09:11:00 +02:00
Silvano Seva
4b0326b1c8
Fixed missing NOLOAD directive in STM32F405 linker scripts causing the linker to emit initialisation data for the BSS section at address 0x2000 0000 and, consequently, making the flasher to wipe up the settings region in MCU's internal flash.
2022-08-11 09:26:11 +02:00
Silvano Seva
57349cba80
Changed allocation of display framebuffers from dynamic to static. Reorganised code in some of the display drivers.
2022-08-10 12:26:04 +02: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
b97d1154d5
STDIO redirection to USB virtual COM port disabled by default, can be enabled by defining the ENABLE_STDIO macro
2022-03-05 10:40:41 +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
a0d9161e1d
Very preliminary support for Module17, providing only the files and configurations essential for a minimal bootstrap of the OpenRTX firmware
2021-11-24 19:53:48 +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
9650ff5925
Removed macro disabling by default the USB virtual COM port, which is now permanently enabled.
2021-08-26 10:22:55 +02:00
Silvano Seva
379b487f64
Added macro allowing to enable the SWD debugging interface on MDx devices (TG-272 #closed)
2021-08-12 19:46:41 +02: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
c48405659b
Added initialisation of MD3x0 debug USART to miosix bsp init function
2021-07-09 08:53:12 +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
Federico Amedeo Izzo
1f74c0abb7
Add `VCOM_ENABLED` define to disable VCOM that is currently broken
2021-06-06 10:13:51 +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