Dave Hylands
1403298a65
stmhal - fixed up adc stuff
Added support for the ADC channels and mappings to make_pins.py
I'm not sure if the hal properly deals with the channel 16/18 differences
between the 40x and 42x. It seems to deal with it partially. This particular
aspect will need testing on a 42x or 43x.
11 years ago
Damien George
6609d636d0
stmhal: Add comment to DAC driver for function to implement.
11 years ago
Damien George
b13492f8ad
stmhal: Add DAC driver.
11 years ago
Damien George
f704e7f20e
stmhal: Improve REPL CTRL commands.
11 years ago
Damien George
2f8beb8d88
stmhal: Fix bug with USB CDC transmit buffer wrap around.
11 years ago
Damien George
0e9d96f18f
stmhal: Make Led, Servo and Accel their class, not a function.
11 years ago
Damien George
5fd2ebbbdd
stmhal: Update help function.
11 years ago
Damien George
f357a19202
stmhal: Fix issues with USB CDC init and receive.
Late USB enumeration could clear settings after they had been set.
Now fixed by not clearing some settings on init.
RX was blocking if received characters were not being processed, so
CTRL-C would not be picked up. Now "fixed" by not blocking, but
instead discarding incoming characters if they overflow the buffer.
11 years ago
Damien George
9050b2ee33
stmhal: Improved interface to accelerometer.
11 years ago
Damien George
6fc5449343
stmhal: Remove servo LED debugging.
11 years ago
Damien George
90834b956d
stm/stmhal: Change gammaf to tgammaf.
11 years ago
Damien George
506589a4b7
stmhal: Change flash MSD from fixed to removable drive.
11 years ago
Damien George
5a16658b21
stmhal: Copy changes to math.c from stm port.
11 years ago
Damien George
965e2bafea
stmhal: Improve LED intensity get/set method.
11 years ago
Damien George
5e756c9860
stmhal: Rename servo_TIM2_Handle -> TIM2_Handle.
11 years ago
Damien George
908a670dfc
stmhal: Add intensity method for blue LED.
As part of this, rejig the way TIM3 is initialised, since it's now
shared by USB CDC and the blue LED PWM.
11 years ago
Damien George
02fa035800
stmhal: Add input() and pyb.input() functions.
11 years ago
Damien George
8138205bea
stm/stmhal: Add more math stubs.
11 years ago
Damien George
0119fc7532
stmhal: Servo driver can move at a given speed.
11 years ago
Damien George
626f6b8133
stmhal: Add servo driver.
11 years ago
Damien George
d311655655
stmhal: Add time module with sleep function.
11 years ago
Damien George
ad7b84a7b9
stmhal: Add os module with a few basic functions.
11 years ago
Damien George
684164a8cf
stmhal: Add PYBv10 config; add RNG support.
11 years ago
Damien George
2fb37847a7
stmhal: Tidy up USB CDC+MSC device some more.
11 years ago
Damien George
fb1d6d097e
sthmal: Remove obsolete files.
11 years ago
Damien George
a6787edcea
stmhal: Tidy up USB device configuration. Make it use less RAM.
11 years ago
Damien George
fb25c2d95f
stmhal: USB CDC and MSC device work together.
11 years ago
Damien George
8913c04831
stmhal: Add support for USB MSC device.
This gives a functioning, independent MSC device.
11 years ago
Damien George
c070ff24a9
Disable some math functions until they work correctly.
11 years ago
Damien George
f78d9b1a72
stmhal: Add accelerometer driver; fix bug with LFN.
11 years ago
Damien George
494600bc99
stmhal: Add lcd.c to Makefile, and init LCD in main.
11 years ago
Damien George
e2e9011253
stmhal: Add LCD driver.
11 years ago
Damien George
b92d3e1fde
stmhal: Add fatfs support, working with flash and SD card.
11 years ago
Damien George
9e5ea4d768
stmhal: Add flash write support and flash storage driver.
11 years ago
Damien George
8a9a31e57b
stmhal: Add autoflash script, to flash a DFU device automatically.
11 years ago
Damien George
fb431bf556
stmhal: Add SD card support.
Just low-level read/write support. No filesystem yet.
11 years ago
Damien George
781687c772
stmhal: Remove unnecessary include.
11 years ago
Dave Hylands
9c122029ec
stmhal - Add usart support
11 years ago
Damien George
02a8543841
stmhal: Check CDC tx buffer has free space before filling with data.
11 years ago
Damien George
6c2455f481
stmhal: Put an array in ROM.
11 years ago
Damien George
fdbc22e4d2
stmhal: Disable redundant SystemCoreClockUpdate function.
11 years ago
Damien George
280e7208d8
Add vstr_ins and vstr_cut_out; improve stmhal readline.
11 years ago
Damien George
8b96af6907
stmhal: Get RTC working.
11 years ago
Damien George
07174c6fca
stmhal: Fix escape sequences in USB CDC input.
11 years ago
Damien George
e285511a23
stmhal: Get USB CDC REPL working.
New USB HAL is quite a bit improved over previous one. Now has better
callbacks and flow control.
REPL over USB CDC now works as before, except for soft-reset (since USB
driver uses malloc...).
11 years ago
Damien George
87e423b866
stmhal: Remove obsolete #defines from mpconfigport.h.
Either not needed anymore, or defined in the board/_hal_conf.h file.
11 years ago
Dave Hylands
ca5444e6cd
stmhal - add pin mapping, gpio, exti, usrsw
11 years ago
Dave Hylands
0a64c92a9c
stmhal - add led support. Add netduino_plus_2 support
Tweaked a couple of the USB files to compile if neither dev nor host was defined.
Tested on netduiono plus 2 and stm32f4discovery boards
11 years ago
Damien George
b30c02afa0
stmhal: Get USB enumerating a CDC device.
Enumerates CDC device over USB, but doesn't transmit/receive yet.
11 years ago
Dave Hylands
9db719bb57
stmhal - More systick cleanup. Fix HAL_Delay
11 years ago