Commit Graph

44 Commits

Author SHA1 Message Date
Fabien Chouteau
0a804815ae HAL: Make UInt8|16|32 derived from Interfaces types rather than subtypes
This remove the dependency on the Interfaces package which simplify the
use of HAL types.

Also remove Byte and Bit subtype.
2017-02-13 21:18:34 +01:00
Fabien Chouteau
3192aed728 STM32_Common: Fix LCD_STD_Out and use it in the draw example
This package should be made platform independent and moved to the
middleware.
2017-02-01 11:40:54 +01:00
Fabien Chouteau
f645d76a3f HAL.Bitmap: Move Draw_Line and Cubic_Bezier with the other drawing primitives 2017-01-21 19:50:50 +01:00
Fabien Chouteau
fdc3ef6e47 HAL.Bitmap: Unify drawing API by using Point and Rect types 2017-01-21 12:49:56 +01:00
Fabien Chouteau
f76a004acb HAL.Bitmap: Move Draw/Fill_Rect with the other drawing primitives 2017-01-21 11:54:14 +01:00
Fabien Chouteau
94fa1bfc31 HAL.Bitmap: Move Draw_Circle and Fill_Circle with the other drawing primitives 2017-01-21 11:54:04 +01:00
Fabien Chouteau
80f15f741b HAL.Bitmap Refactoring: Fix function name Get_Pixel to Pixel 2017-01-21 11:11:15 +01:00
Fabien Chouteau
fc24e56b27 HAL.Bitmap: Fix parameter access
Modifying the bitmap requires write access. As consequence,
framebuffer.Get_Hidden_Buffer has to return a not null access.
2017-01-21 10:51:01 +01:00
Fabien Chouteau
d01504b2ea Merge pull request #60 from AdaCore/fix_license_issues
Fix license issues
2016-11-23 12:42:53 +01:00
pat-rogers
8bc8971d1d add Toggle routine for single LED 2016-11-12 11:41:39 -06:00
Fabien Chouteau
2c34099040 Fix double headers and double empty lines again 2016-11-08 19:47:48 +01:00
Fabien Chouteau
afcda00342 Fix license header when the code is not derived from STM 2016-11-08 19:47:48 +01:00
Fabien Chouteau
bcca2752af Add BSD header when missing 2016-11-08 19:47:48 +01:00
Fabien Chouteau
b9baab7ec7 Remove all invalid license headers
The Ada_Drivers_Library is licensed under BSD license, every non BSD
header is removed.
2016-11-08 19:46:32 +01:00
Fabien Chouteau
37ee86eae6 Rename Word to UInt32 and Short to UInt16
The use of Word and Short to designate data type is ambiguous, not only
they do not express the signed or unsigned nature of the type, the size
is also different depending on the architecture. We might support 64bit
machines in the near future so it's time to change. Using UInt32 and
UInt16 is also more coherent with the other unsigned integer types used
all across the library.

This patch also define UIntXX up to 64.
2016-10-01 12:18:18 +02:00
Jerome Lambourg
6c63d7778c In BMP_Fonts, protect against non-printable characters. 2016-09-01 13:01:03 +02:00
Jerome Lambourg
dd628621d8 Move alternate functions from STM32.GPIO to STM32.Device.
Alternate functions are device-specific
2016-08-25 20:42:52 +02:00
Jerome Lambourg
081ee81675 Refine the reorg of the project files.
This change introduces a library aggregate project at board level, that
ensures that the proper runtime and configuration is used througout the
other projects.
2016-08-12 12:17:50 +02:00
Jerome Lambourg
5132c1ad75 Use the runtime specified by the MCU project in all other projects.
This allows to specify the runtime in a single point, and thus eases the
use of user runtimes.
2016-07-28 14:53:07 +02:00
Jerome Lambourg
d009263f7d Adapt the sdcard demo to the stm32f469
Also fix many timing issues making the SD-Card reader not working
in optimized mode.

Also protect against characters that are not in the bmp font range.
2016-06-05 12:41:36 +02:00
Jerome Lambourg
dce9cb0d9d Add procedural version of Hershey_Fonts.Read to minimize stack usage. 2016-05-30 11:01:48 +02:00
pat-rogers
a597c549ec Minor formatting; correct subprogram name block comment 2016-05-09 21:24:36 -05:00
pat-rogers
4f7422c1b4 Correct gc-sections switch 2016-05-08 19:59:02 -05:00
Jerome Lambourg
2e43282237 examples/common: Remove the missleading Screen_Interface.Initialize 2016-05-05 21:42:00 +02:00
Jerome Lambourg
684ccae44e Fix LCD_Std_Out.
Some improper use of the framebuffer is now fixed.
2016-05-05 21:21:30 +02:00