Federico Amedeo Izzo
1877f92905
main.c: Add Platform test
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
fed1146690
Adding channel selector and PTT to MD-380 platform API
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
8a3872e5f9
Added to platform API a function which allows to query the PTT status
2020-11-03 15:15:36 +01:00
Silvano Seva
af2e4eb372
Adding keyboard interface API
2020-11-03 15:15:36 +01:00
Silvano Seva
bdd5ea6c7b
Implemented display backlight regulation for MD-UV380
2020-11-03 15:15:36 +01:00
Silvano Seva
6e758fe92b
Initial implementation of the platform API for MD-UV380 target
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
8b7ec5b4ce
Removing useless include from bootstrap.c
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
0c198d100d
Add missing `#include <hwconfig.h>`
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
cb099b1171
Add MD-UV380 platform files
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
6b0f0242d1
Remove screenWidth and screenHeight getters.
2020-11-03 15:15:36 +01:00
Fred
75dd0d2fab
bootstrap.c: remove unused include
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
Fred
3671b737d9
Fix gcc printf warning
2020-11-03 15:15:36 +01:00
Silvano Seva
fc0b3ef89e
Suppressed a bit of warnings
2020-11-03 15:15:36 +01:00
Fred
1d0fff3489
Add platform files for linux build
2020-11-03 15:15:36 +01:00
Silvano Seva
3022d88637
Adapted platform test code to new bootstrap organisation
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
ba40d5f70f
Moving GPIO definitions to hwconfig.h
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
Federico Amedeo Izzo
ddc79bcf0c
README.md: small addition
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
f10347bae0
README.md: Add instructions for running on Linux
2020-11-03 15:15:35 +01:00
Silvano Seva
beb33ff244
Moved constants for screen dimensions to platform-dependent hwconfig file
2020-11-03 15:15:35 +01:00
Silvano Seva
160b23f1b7
Fixed pixel setting in black and white graphics driver
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
838490574e
graphics_bw.c: Fixed compilation errors
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
c3ef0ca036
Remove backlight control from anywhere except platform.c and platform.h
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
c77ff5b339
graphics_bw.c: Add initial version
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
b04617007d
graphics_rgb565.c Fixed screen size check
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
3096146da8
graphics_rgb565.c: Removed backlight setter (now in platform.c)
...
and fixed license authors
2020-11-03 15:15:35 +01:00
Silvano Seva
06346ac827
Moving function for setting display backlight level from display driver to 'platform.c' file
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
a75b9fa635
README.md: Fix linux compile instructions
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
Federico Amedeo Izzo
aafa67c176
main.c: Remove stm34fxx.h include
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
310ff3839c
Add platform.h interface definition
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
4a27aadcc2
Fix typo
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
Federico Amedeo Izzo
9a5e12d4f0
graphics.h renamed graphics_* to gfx_*
...
Removed unused print methods
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
019b43338f
Fix compile instructions
2020-11-03 15:15:35 +01:00
Silvano Seva
e5decb7244
Fixed endianness reordering in MD380 display driver, now it reorders only the lines to be rendered instead of the whole framebuffer
2020-11-03 15:15:35 +01:00
Silvano Seva
027c62b96e
Testing MD380 display driver on the radio
2020-11-03 15:15:35 +01:00
Silvano Seva
bdb59a3ff9
Adapting MD380 display driver to uC/OS-III, making little code reorganisation and embedding endianness reordering into display_render()
2020-11-03 15:15:35 +01:00
Silvano Seva
f4ca5ca025
Moved blinky testsuite from STM32F4 discovery to MD380 for preliminary functionality tests
2020-11-03 15:15:35 +01:00