Commit Graph

  • 53d17251d1 Explicitly initialize STM32.Button pat-rogers 2016-05-20 17:09:09 -05:00
  • 65e186fedc Use common STM32.Button package pat-rogers 2016-05-20 16:47:04 -05:00
  • 543be083c7 Remove commented-out code pat-rogers 2016-05-20 16:11:40 -05:00
  • f704697ce5 Remove driver demo version of blinky now that it is in the examples dir pat-rogers 2016-05-20 15:53:42 -05:00
  • 7404824744 Move "hello world" LED blinker demo to examples pat-rogers 2016-05-20 15:51:53 -05:00
  • 0760cef821 Add timeout capability to streaming version of serial ports. pat-rogers 2016-05-20 14:58:42 -05:00
  • 8e97bfc56d Heavily revise demos' architecture to simplify and share more code. pat-rogers 2016-05-20 13:38:22 -05:00
  • dc4c7b008d Correct copyright date; minor cleanup, enhance readme. pat-rogers 2016-05-19 22:35:30 -05:00
  • 7575e6a196 change name to make it clear what it is pat-rogers 2016-05-19 22:21:52 -05:00
  • 3e22b69caa better proj name pat-rogers 2016-05-19 20:17:23 -05:00
  • 43d14cb71b Enhance content. pat-rogers 2016-05-19 20:13:19 -05:00
  • 3e7ba6a86a better name for demo pat-rogers 2016-05-19 20:05:22 -05:00
  • 55687ba961 Enhance to explain that there are two demos are, and what they demonstrate. pat-rogers 2016-05-19 19:50:38 -05:00
  • 5de77c0964 Move bulk of the Serial_IO spec/body to new package Message_Buffers, for separation of concerns. The package Serial_IO is now just a root package defining the error codes. Thus there is no need for the body of package Serial_IO. Make primary type tagged. pat-rogers 2016-05-19 19:38:02 -05:00
  • 8057e5e9d7 Minor cleanup and simplification pat-rogers 2016-05-19 17:11:26 -05:00
  • 9642aef916 minor cleanup pat-rogers 2016-05-19 16:04:49 -05:00
  • 9907c47843 update blocking demo to new architecture pat-rogers 2016-05-19 15:44:09 -05:00
  • 62d00db26a add explanatory comment pat-rogers 2016-05-19 15:43:48 -05:00
  • 55b99fac86 Update non-blocking demo for new architecture pat-rogers 2016-05-19 15:27:04 -05:00
  • 52d2ffc61e Update for new architecture. pat-rogers 2016-05-19 12:09:15 -05:00
  • 03367740e0 Rename files to be consistent, more descriptive. Add readme.md file. pat-rogers 2016-05-15 21:40:13 -05:00
  • 4038fb2066 Rename to be more descriptive. Add readme.md file. pat-rogers 2016-05-15 21:35:49 -05:00
  • 00cbe4f543 Include LCH overriding default. pat-rogers 2016-05-15 16:07:44 -05:00
  • 0c22c82be8 make main program file and unit name match project name pat-rogers 2016-05-14 19:22:44 -05:00
  • 6524a2bb63 Remove configuration pragma file since we don't need the effect. pat-rogers 2016-05-14 00:27:15 -05:00
  • afbd06af86 minor formatting pat-rogers 2016-05-14 00:07:55 -05:00
  • 21413210b7 Remove demo no longer needed pat-rogers 2016-05-14 00:07:13 -05:00
  • 82dc6ec777 Make GPIO demo handle multiple boards, rename to indicate that it blinks LEDs pat-rogers 2016-05-14 00:02:31 -05:00
  • ee339d9814 Set debug scenario optimization back to O0 pat-rogers 2016-05-13 13:23:22 -05:00
  • a73cee05e0 Fix use of Cur_Num_Trains so that it is actually the number of trains currently spawned; Now the program will again run with assertions and pre/postconditions enabled in debug scenario. pat-rogers 2016-05-13 13:16:09 -05:00
  • 891b9e8c9b Fix the LED decls pat-rogers 2016-05-13 13:09:34 -05:00
  • c39580492a Use STM32.DMA for type DMA_Controller, rather than direct use of one from SVD. pat-rogers 2016-05-12 18:59:55 -05:00
  • c15062787b Move type decl for Data_Direction to (private part of) package spec to prevent noise warnings about Write not being referenced. pat-rogers 2016-05-12 18:58:31 -05:00
  • c3072bcd5e Remove renamings for LEDs that introduce numbered names, and also remove those that do not exist. pat-rogers 2016-05-12 18:16:46 -05:00
  • a1826285f5 components/* : add null exclusion to components discriminants' decls pat-rogers 2016-05-12 16:53:54 -05:00
  • fbd063b88d Reformat for readability, which is vital since we must verify eg correlation of base address to device. pat-rogers 2016-05-11 23:03:10 -05:00
  • 65f4273603 Make obj dir be a subdir of "obj" based on the build type (debug v. production) pat-rogers 2016-05-11 22:46:19 -05:00
  • 802cc3f719 Make Regular_Channel_Rank and Injected_Channel_Rank be distinct types to help prevent accidentally mixing them. pat-rogers 2016-05-11 22:44:55 -05:00
  • 17e47d21ca slow down the loop so the displayed value can be read; add much more comments about the input voltage and displayed output pat-rogers 2016-05-11 22:39:45 -05:00
  • 26a18cc7c3 minor formatting pat-rogers 2016-05-11 21:42:00 -05:00
  • 0b2b306626 Update for new architecture pat-rogers 2016-05-11 18:36:14 -05:00
  • e7c6d86dfa correct file name pat-rogers 2016-05-11 17:13:48 -05:00
  • f8a5036a34 better name pat-rogers 2016-05-11 17:10:56 -05:00
  • 022f18b43c better proj dir name pat-rogers 2016-05-11 17:07:47 -05:00
  • 2114e8d758 remove redundant demos pat-rogers 2016-05-11 17:06:40 -05:00
  • a304df4372 update for new architecture pat-rogers 2016-05-11 17:04:48 -05:00
  • f59f60256a use more descriptive proj name pat-rogers 2016-05-11 16:20:04 -05:00
  • 1a8d3aaedd change project (dir and gpr file) name for sake of correct device name pat-rogers 2016-05-11 16:17:30 -05:00
  • 2044bf69f9 change proj name for correct device name pat-rogers 2016-05-11 16:13:46 -05:00
  • 8e6dbf746c update for new architecture; pat-rogers 2016-05-11 16:10:33 -05:00
  • 9e3b51c4b8 correct transpose chars in name (L3DG20 => L3GD20) pat-rogers 2016-05-11 15:48:18 -05:00
  • 71a821666e correct transpose chars in name (L3DG20 => L3GD20) pat-rogers 2016-05-11 15:39:15 -05:00
  • 62b5434136 demo_L3DG20_basic/demo_l3dg20.gpr: update for new architecture pat-rogers 2016-05-11 15:07:30 -05:00
  • 02a3c6be4c Add aspect Import to DMA device decls pat-rogers 2016-05-11 14:49:11 -05:00
  • 55e8538df6 correct runtime name (*disco) pat-rogers 2016-05-11 09:20:34 -05:00
  • a5693d58c2 minor formatting pat-rogers 2016-05-10 20:15:43 -05:00
  • e45fca82c8 minor formatting pat-rogers 2016-05-10 20:14:18 -05:00
  • dc540b7a06 minor formatting pat-rogers 2016-05-10 20:08:15 -05:00
  • 3e32f4fa88 Update for new architecture. pat-rogers 2016-05-10 15:40:48 -05:00
  • 2985f42bd4 Update for new architecture pat-rogers 2016-05-10 15:29:05 -05:00
  • 2776e86719 update for new architecture pat-rogers 2016-05-10 14:10:08 -05:00
  • 517724a639 remove demo for driving an LED via timing events since not really a driver demo per se pat-rogers 2016-05-10 14:09:53 -05:00
  • 6f70d91567 update for new architecture pat-rogers 2016-05-10 14:07:45 -05:00
  • 0e63859e90 stm32-dma.ads: make type DMA_Controller a limited private derivation of the SVD-based type pat-rogers 2016-05-10 13:40:54 -05:00
  • 867a12e23a update for ne warchitecture pat-rogers 2016-05-10 13:38:46 -05:00
  • 9b78a07fa5 Include package Builder for adc file pat-rogers 2016-05-10 13:01:56 -05:00
  • 94ad2517fd Fix STM32.ADC after correction of the corresponding SVD-generated file. Jerome Lambourg 2016-05-10 10:59:02 +02:00
  • 2e1f83e087 Re-generate the SVD files after fixes in svd2ada Jerome Lambourg 2016-05-10 10:49:22 +02:00
  • d8e4377606 Modify the object file locations for the stm32f40x similar to the other MCUs Jerome Lambourg 2016-05-10 10:34:06 +02:00
  • 2d245f9a9e Add demo for reading an analog voltage on an input pin pat-rogers 2016-05-10 00:07:57 -05:00
  • 5c98606c48 update for new architecture pat-rogers 2016-05-10 00:05:57 -05:00
  • 479bf1e3bd minor simplification pat-rogers 2016-05-09 23:38:58 -05:00
  • 6e70489493 remove vestigial Put_Line pat-rogers 2016-05-09 23:32:54 -05:00
  • 523007919c Merge branch 'master' of https://github.com/AdaCore/bareboard pat-rogers 2016-05-09 23:31:13 -05:00
  • 6cc565e7e9 stm32-adc.adb: correct data alignment handling pat-rogers 2016-05-09 23:30:52 -05:00
  • a597c549ec Minor formatting; correct subprogram name block comment pat-rogers 2016-05-09 21:24:36 -05:00
  • 183becfb63 Correct typo in comment pat-rogers 2016-05-09 20:39:51 -05:00
  • 4e3d126b18 Add initial alpha support for the SD-Card reader on the STM32F7 Jerome Lambourg 2016-05-09 23:59:40 +02:00
  • 31b7cf6350 Corrected interrupt handler to use all four LEDs so that the handlers do not conflict. Added comments to indicate the rationale for dedicated use of the F4 Disco board (ie, four LEDs). pat-rogers 2016-05-09 14:02:31 -05:00
  • 8e99635698 Remove redundant Link package from gpr file. pat-rogers 2016-05-09 13:00:20 -05:00
  • 692ab4427d Update for new architecture. pat-rogers 2016-05-09 11:32:01 -05:00
  • 1b3c11fe26 Adjust style check to allow longer lines pat-rogers 2016-05-08 19:59:45 -05:00
  • 4f7422c1b4 Correct gc-sections switch pat-rogers 2016-05-08 19:59:02 -05:00
  • e1f7f87598 minor reformatting pat-rogers 2016-05-08 19:24:20 -05:00
  • 0075053501 Update for new architecture. Add comments and new constants making it clearer how to experiment with causing the watchdog timeout to occur. pat-rogers 2016-05-08 14:28:30 -05:00
  • 4e3f03aba7 Update for new architecture. Updated header comment block to make explicit that the code is independent of the board used, and that is the gpr file that controls choice. pat-rogers 2016-05-08 13:42:00 -05:00
  • 8cc7b1b2c5 Update for new architecture pat-rogers 2016-05-08 13:25:53 -05:00
  • f09154dd1e Remove redundant demo_discrete_output pat-rogers 2016-05-07 22:43:46 -05:00
  • ea667efad7 Make clear that we must enable the channel explicitly before usage, and that attaching a channel does not enable it. pat-rogers 2016-05-07 17:32:28 -05:00
  • c24619a053 Merge branch 'master' of https://github.com/AdaCore/bareboard pat-rogers 2016-05-07 15:42:35 -05:00
  • 5a12aaec5b Call new procedure to enable the PWM channels pat-rogers 2016-05-07 15:41:27 -05:00
  • fda12772e2 Updated to make calls directly to timer in order to implement PWM, to show how that is done and to have a low-level direct test of the functionality. pat-rogers 2016-05-07 11:21:06 -05:00
  • e6572932f2 Update the object and library dirs with expected subfolders. Jerome Lambourg 2016-05-06 12:51:54 +02:00
  • a78890adde Update gpr file for new architecture. pat-rogers 2016-05-05 22:58:50 -05:00
  • ee7cf789bd update to new architecture pat-rogers 2016-05-05 22:30:07 -05:00
  • 7c2370418f Merge branch 'master' of https://github.com/AdaCore/bareboard pat-rogers 2016-05-05 15:41:22 -05:00
  • 1bccdd3aa9 add missing adc file pat-rogers 2016-05-05 15:40:52 -05:00
  • 780835454c demo*.gpr: Fix these demo projects' gpr files so that the demo projects load. (Based on the accelerometer project file in the examples dir.) Others need to be fixed as well. pat-rogers 2016-05-05 15:39:49 -05:00
  • 5d8265f4f1 Fix the HAL project file. Jerome Lambourg 2016-05-05 21:45:24 +02:00
  • 2965e5aa94 Fix compilation warning in Framebuffer_OTM8009A. Jerome Lambourg 2016-05-05 21:44:38 +02:00