Commit Graph

1630 Commits

Author SHA1 Message Date
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 04698b2279 SPI: refactored spi_bitbang driver 2024-10-08 18:34:51 +02:00
Silvano Seva 1faf65d11c SPI: driver for devices with user-provided bus transfer function 2024-10-08 18:34:16 +02:00
Silvano Seva b70963d1d5 SPI: forced transfers via spi_transfer to have the same TX and RX size 2024-10-08 18:31:15 +02:00
Silvano Seva ac7e176d3b SPI: refactored spiDevice data structure, added two utility functions 2024-10-08 18:31:02 +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
Silvano Seva 76104dd065 STM32: Gpio: fixed possible #include conficts 2024-10-02 09:37:15 +02:00
Marc Balmer 644ffb5580 Linux: removed dependency from pulse-simple 2024-09-22 18:25:39 +02:00
Silvano Seva 71d3a2c319 Driver for emulated EEPROM storage 2024-08-14 18:20:06 +02:00
Silvano Seva 6a1cdb5fd5 Reorganized ttwrplus nonvolatile memory devices 2024-08-14 18:20:06 +02:00
Silvano Seva 0a2dc3567d Reorganized GDx nonvolatile memory devices 2024-08-14 18:20:05 +02:00
Silvano Seva 15e7f562e3 Reorganized MDx nonvolatile memory devices 2024-08-14 18:20:05 +02:00
Silvano Seva 6aee71ec84 Reorganized Linux nonvolatile memory devices 2024-08-14 18:20:05 +02:00
Silvano Seva 5b9cc789b9 Refactored NVM data structures and functions 2024-08-14 18:20:05 +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
Silvano Seva 079b57e383 Updated authors' list 2024-07-12 19:01:24 +02:00
Silvano Seva ecea0186a0 UI: made authors' list scrollable 2024-07-12 19:00:59 +02:00
Silvano Seva a6f01c3e55 Small refactoring of M17 modulator.
- made start() function return a boolean indicating the actual modulator status
- moved sending of preamble to a dedicated function
- renamed send() function to sendFrame()
2024-07-12 11:11:44 +02:00
Morgan Diepart 3df8657b16 fixed missing static keyword 2024-07-12 09:01:55 +02:00
Silvano Seva c60445d5be UI: exit from macro menu on PTT press 2024-07-12 08:13:30 +02:00
Silvano Seva e2c70bd4fd CPS: fixed wrong TX power in default channel values 2024-07-12 08:03:51 +02:00
Silvano Seva b1a18d0b8e UI: fixed overlapped text on macro menu 2024-07-12 08:02:17 +02:00
Morgan Diepart 4c240a38be UI: fixed locked callsign entry after hash keypress 2024-07-10 09:16:18 +02:00
Morgan Diepart 9cae1cfd3e UI: improved handling of numeric input.
Updated isNumberPressed() to make it not return anymore true if star or hash keys are pressed. Check
for character input, star and hash keys included, is now done by the input_isCharPressed function.
This separation also now prevents from entering non numeric characters during VFO frequency input.
2024-07-10 09:16:18 +02:00
Silvano Seva fe3c54153e Stm32 DAC: moved parameter for idle level from config to init function argument 2024-07-10 09:16:14 +02:00
Silvano Seva fc1fc41f14 Module17: removed old DAC initialization code in platform_init() 2024-07-03 21:47:38 +02:00
Silvano Seva cea48f8d57 Linux: added Module17 hardware info flags to allow compilation of UI emulator 2024-06-23 09:46:13 +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
Silvano Seva 84d9803f57 Module17: hide menu entries for soft potentiometers if hardware does not have them 2024-06-21 19:27:33 +02:00
Morgan Diepart e50b8ce80c Module17: keyboard: do not enable SMBus timeout while using the I2C mode
Enabling SMBus timeout in the capacitive touch sensor and not in the MCU would cause the CTS to reset and the MCU expecting the transaction to keep going, locking-up the device.
Timeout should be re-enabled when SMBus will be implemented.
2024-06-21 19:27:33 +02:00
Morgan Diepart 220d4d2ef4 Module17: added VBat measurement to ADC1 driver 2024-06-21 19:27:28 +02:00
Morgan Diepart 4f2c461bf0 Module17: added detection of baseband soft potentiometers
Detects the presence of the soft potentiometers. Display the detected potentiometers in the info menu.
2024-06-21 19:26:32 +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 30e9311a20 Module17: added support for hardware revision 1.0 2024-06-21 19:26:31 +02:00
Morgan Diepart bd93d9429b HwInfo: extended hw_version field to 16 bits, added a 16-bit "flags" field 2024-06-21 19:26:11 +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
Silvano Seva bfc9f8c77f Standard interface for ADC peripherals 2024-06-21 18:00:33 +02:00
Silvano Seva 8347c3bdcd Standard interface for SPI peripherals 2024-06-21 18:00:33 +02:00
Silvano Seva f2c0f2cc90 Standard interface for I2C peripherals (MCU side) 2024-06-21 18:00:33 +02:00
Silvano Seva b98ea17aee MK22: updated gpio driver 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 e53e110a3b Reorganized and extended the gpio peripheral API 2024-06-21 18:00:33 +02:00