Wykres commitów

228 Commity (1035c2b80178c2f00d930b4e07ab1c025a8edbba)

Autor SHA1 Wiadomość Data
Silvano Seva 8010302d4d Tone generator and GPIO for audio control on MD-UV380 platform 2021-01-04 20:53:42 +01:00
Federico Amedeo Izzo 5f5c993f9a Remove separate MD-UV380G platform files.
From now on they will be shared with MD-UV380,
with only a GPS define set in meson.build.
2021-01-03 08:25:37 +01:00
Silvano Seva 48775a71fd Finalising merge of branch master into GDx-development 2021-01-02 15:17:15 +01:00
Silvano Seva 206daec861 Driver for nonvolatile external memory on GDx devices, by now only supporting retrieval of calibration parameters 2021-01-02 15:07:14 +01:00
Silvano Seva ff7216e9cd Driver for AT24Cx external EEPROM present on GDx devices 2021-01-02 15:07:14 +01:00
Silvano Seva 56d56e901f Driver for MK22FN512xx I2C0 peripheral 2021-01-02 15:07:14 +01:00
Silvano Seva aad19cc41c Driver for external SPI flash memory on Baofeng DM-1801 2021-01-02 15:07:14 +01:00
Silvano Seva d9f6ea31ab Separated code for SPI communication from sources of external flash memory driver. 2021-01-02 15:07:14 +01:00
Federico Amedeo Izzo 89813199d3 Add dummy nvmem Linux driver 2021-01-02 12:10:10 +01:00
Federico Amedeo Izzo b74dba7564 Differentiate MDUV380G target from MDUV380 2021-01-02 12:08:58 +01:00
Niccolò Izzo 2cd9a989fe Integrate OpenGD77 wrapping and flashing tools into meson 2021-01-01 19:08:55 +01:00
Federico Amedeo Izzo 8163eba67b Add MD-9600 support, boot and USB serial working 2021-01-01 18:32:50 +01:00
Niccolò Izzo 73c7b74a3a Add input parsing functions
Input parsing functions are moved into input.c/input.h, and currently
contain functions to determine if a number is pressed and to extract the
pressed number.
2020-12-30 15:46:43 +01:00
Federico Amedeo Izzo 692bd970e0 meson.build: Add commented GDx family display emulation 2020-12-27 15:43:02 +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 f38ce61dc9 ADC driver for GDx targets 2020-12-22 15:29:32 +01:00
Silvano Seva 0f09504453 Integrated MK22FN512xx USB VCOM driver with stdio system 2020-12-22 12:16:01 +01:00
Silvano Seva 498109a672 Second cleanup pass to MK22FN512xx USB VCOM driver sources 2020-12-22 11:05:50 +01:00
Silvano Seva 18709607b3 Board support package for Radioddity DM-1801 2020-12-20 15:14:50 +01:00
Niccolò Izzo d56fafe1a2 Merge graphics_* into a single compilation unit
The specialized graphics libraries ended up sharing the majority of the
code, now they have been merged into a single library so that the
graphics development can be done quicker without leaving any of the
platforms behind.
2020-12-19 12:49:30 +01:00
Silvano Seva 424d337442 Added compilation of (mock) RTC driver for MK22FN512 MCU, was left behind in previous commit 2020-12-18 21:54:34 +01:00
Silvano Seva 431d445c77 Adding stub RTX driver for GDx devices 2020-12-18 17:16:08 +01:00
Federico Amedeo Izzo 599569f236 Add UV3x0 RTX stub 2020-12-17 22:18:09 +01:00
Federico Amedeo Izzo 99bd45d465 Add linux RTX stub 2020-12-14 15:31:39 +01:00
Niccolò Izzo e0d5d8278d Add file to fix building error in FM test 2020-12-11 15:15:28 +01:00
Niccolò Izzo 41ec005680 Implement battery voltage to charge conversion
Voltage to charge nonlinear function is being linearly approximated in
the operating range.
2020-12-11 14:09:36 +01:00
Silvano Seva 2f05bbc6ff Added compilation of MD3x0 rtx source files to MD390 target 2020-12-06 19:49:10 +01:00
Silvano Seva 409bd0f9d0 Fixed errors in 'meson.build' 2020-12-06 19:33:27 +01:00
Silvano Seva 46f68ebca6 First skeleton of a driver for HR-C5000 and made TX working on TYT MD-380 2020-12-06 19:33:27 +01:00
Silvano Seva 55b182406d Initial implementation of rtx driver for TYT MD-380 radio, by now supporting only analog FM reception 2020-12-06 19:33:27 +01:00
Niccolò Izzo d8c81dcabb Include the correct graphics implementation
Now meson chooses the correct graphics implementation according to the
selected keyword in the defines array.
2020-12-06 17:08:58 +01:00
Fred 0d437b239d Add GD77 keyboard file 2020-12-04 20:39:20 +01:00
Fred 5d9ac78548 Fix GD77 display driver 2020-12-04 20:39:20 +01:00
Silvano Seva eaaaca648b Support package for Radioddity GD77 2020-12-04 20:39:19 +01:00
Silvano Seva d4cdba2243 Moved calibration data structures from 'platform/drivers/NVM' to 'openrtx/include/calibration', since various modules need them 2020-12-04 10:27:04 +01:00
Niccolò Izzo e3285fee10 Add platform test compilation options 2020-11-27 12:49:39 +01:00
Niccolò Izzo 3310b5f730 Add memory size info linker flag 2020-11-27 12:23:59 +01:00
Federico Amedeo Izzo f7b1423053 UI: Fix uint32_t frequency printing 2020-11-26 16:53:17 +01:00
Silvano Seva 4dbdb5ddbb Implemented reading of channel data from external flash memory for MDx targets 2020-11-25 16:40:17 +01:00
Silvano Seva 50771c8bbe Moved macro for compile-time definition of the current target from per-target 'hwconfig.h' files to meson.build 2020-11-24 17:39:19 +01:00
Silvano Seva 7a6f39ad26 Added NVM driver compilation for all the MDx family devices and reorganised the platform test printing the calibration, now merged into one single file for all the MDx devices. 2020-11-24 15:42:57 +01:00
Silvano Seva e690a36dd1 Implemented NVM interface API also for MD-UV3x0 targets 2020-11-24 12:41:20 +01:00
Silvano Seva 8ddebef197 Dumping security registers of MD-UV380 2020-11-24 12:41:20 +01:00
Silvano Seva 1cf2a40182 Changed names of source files for MDx drivers to comply to new naming convention 2020-11-19 18:24:28 +01:00
Fred e917738516 Add initial emulator implementation 2020-11-17 15:44:06 +01:00
Niccolò Izzo 91d0e05af7 Replace OpenGD77 fonts with Adafruit GFX fonts
OpenGD77 custom binary font format was replaced with Adafruit GFX
library standard font format, to be able to reuse all the available
fonts, together with the relative tools.
2020-11-17 14:42:23 +01:00
Silvano Seva b06b120148 Reorganising thread structure, moving thread bodies and thread creation function into a dedicated source file to make overall source code more easily readable 2020-11-15 22:23:32 +01:00
Silvano Seva 793a2dcd52 Adding build target for Tytera MD-390 radio 2020-11-13 16:57:49 +01:00
Silvano Seva f7fde110bb Tone generator for CTCSS and user interface 'beep' on MD380 2020-11-13 14:31:43 +01:00
Niccolò Izzo d261f3e8fe Add optional AddressSanitizer 2020-11-13 12:38:59 +01:00
Silvano Seva eb876f1b0c Fixed bad clock tree configuration for STM32F405 MCU 2020-11-13 12:27:07 +01:00
Silvano Seva a5eeca7dae Moving ADC driver for MDxx380 family to common drivers folder. 2020-11-13 08:58:10 +01:00
Niccolò Izzo 6445eb0950 Move selection of linker script in meson.build
Now the linker script was moved from cross_arm.txt into meson.build, so
that the same cross_arm.txt can be used for both the MD380 and the GD77.
2020-11-12 22:10:13 +01:00
Federico Amedeo Izzo c0e4115482 UI: Add clock to top bar, add rtc.c for Linux 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo a36fbc97a1 Default linux simulation to color display 2020-11-03 15:15:36 +01:00
Silvano Seva 71e41ec869 Refining meson.build structure for better readability and source management 2020-11-03 15:15:36 +01:00
Fred 3d1f255d46 Add keyboard implementation for linux 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo a2b2b602dd Add initial UI main 2020-11-03 15:15:36 +01:00
Silvano Seva 9a94efb1c7 Keyboard driver for MD-380 and MD-UV380 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo adb4995653 MD-UV380: Separate target from MD380, add platform.c code 2020-11-03 15:15:36 +01:00
Silvano Seva 69c96c1d81 Renamed source file of display driver for MD-380 and MD-UV380 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
Fred 42704090c9 meson.build: Add main.c to linux_src 2020-11-03 15:15:36 +01:00
Silvano Seva 00d726ddbc Moved bootstrap code into a dedicated file to improve readability 2020-11-03 15:15:36 +01:00
Silvano Seva 7ff11ff5a3 Fixing compilation issues after having added hwconfig.h and platform.c for MD380 radio 2020-11-03 15:15:36 +01:00
Silvano Seva beb33ff244 Moved constants for screen dimensions to platform-dependent hwconfig file 2020-11-03 15:15:35 +01:00
Niccolò Izzo 190548a0d0 Improve handling of missing radio_tool dependency 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 41c4dfa0bc meson.build: Make radio_tool and objcopy optional 2020-11-03 15:15:35 +01:00
Niccolò Izzo 0716d7d78c Make radio_tool an optional dependency 2020-11-03 15:15:35 +01:00
Niccolò Izzo 02209e4c1a Add main file stub and display demo
Initial MVP of a main file that prints a text on the radio display.
The code is already platform independent, to be ported effortlessly
to any of the supported platforms.
2020-11-03 15:15:35 +01:00
Niccolò Izzo f6df51c3c3 Rewrite meson.build in a more compact form 2020-11-03 15:15:35 +01:00
Niccolò Izzo 4b27cb7db2 Add support for wrapping and flashing through meson 2020-11-03 15:15:35 +01:00
Niccolò Izzo 8e92a81115 Add wrapping and flashing capabilities to build system
Now the meson build system is able to wrap and flash supported radios,
wrapping targets will be called openrtx_MODEL_wrap and flashing targets
will be called openrtx_MODEL_flash.
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 72d739b987 Import OpenGD77 font 2020-11-03 15:15:35 +01:00
Silvano Seva b9517e5867 Adding support for 8bpp grayscale and 1bpp black/white pixel formats to SDL-based display emulator, keeping 16bpp RGB565 as the default one. 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
Federico Amedeo Izzo 94bece00c0 add graphics_rgb565.c to linux target, fixed compilation errors 2020-11-03 15:15:35 +01:00
Niccolò Izzo 3a4ef7501a Add meson build system 2020-11-03 15:15:35 +01:00