Wykres commitów

83 Commity (1d8b766f9c8f84f37df3b6a4f2c5a26fafbd2e61)

Autor SHA1 Wiadomość Data
Silvano Seva 1d8b766f9c Delays driver for AT32F421 MCU 2024-02-06 19:23:35 +01:00
Silvano Seva 7628b4fc37 Gpio driver for AT32F421 MCU 2024-02-06 19:23:35 +01:00
Silvano Seva ac5d35873d Fix compilation warning generated by __set_FPSCR
When compiling for ARM Cortex M4 without FPU, the input parameter of the
intrinsic function __set_FPSCR generates an unused variable warning. To
avoid this, the parameter is now casted to void when FPU is not present or
not used.
2024-02-06 19:23:35 +01:00
Silvano Seva d8e22e0b11 Boot code for AT32F421 2024-02-06 19:23:35 +01:00
Silvano Seva 20a7a842b5 CMSIS library files for Artery AT32F421 MCU 2024-02-06 19:23:35 +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 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 7dc2ca5524 Driver for random number generator peripheral 2023-11-02 18:36:07 +01:00
Niccolò Izzo c60f580396 ttwrplus: add support for SA868
Add support for initializing SA868 and querying its firmware version,
created a new instance of the AT1846S class that leverages the SA8x8
serial connection as an i2c implementation.
Rx works! In the sense that the RSSI bar behaves as expected, still no
audio.

This commit was contributed by edgetriggered.

TG-553
2023-09-20 21:08:35 +02:00
Silvano Seva 21a93911da Added support for ESP32-S3 MCU using Zephyr RTOS 2023-09-20 21:08:35 +02: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
tarxvf fc6849afb9 Fixed linux RTC driver to make it return UTC time instead of local one 2022-07-10 09:15:10 +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 d95e36f43b Moved to C++ and refactored AT1846S driver, grouping common code. A C-callable wrapper is also provided. TG-37 2021-05-29 08:19:47 +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 fb9d8afb6c Adapted MK22 vcom sources to miosix kernel but not activating it. Reconfigured x86 emulator. 2021-03-13 09:16:06 +01: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 093640478c Moving to miosix kernel: adapted GDx drivers and part of the common code to new configuration 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 aa3680ee46 Moving to miosix kernel: boot files for MK22FN512-based targets 2021-03-13 09:16:06 +01:00
Silvano Seva 5995a5d8e0 Moving to miosix kernel: adapted parameters for cross-compilation and modified boot files for STM32-based targets 2021-03-13 09:16:06 +01:00
Niccolò Izzo 4d66d8b1af Fix various warnings 2021-02-17 11:21:46 +01:00
Silvano Seva 1cd0efdee1 Fixed compilation warnings and code refactoring pass 2021-02-03 14:50:00 +01:00