Commit Graph

211 Commits

Author SHA1 Message Date
Kai Hauser 1090c2fb99
Merge branch 'master' into master 2020-03-01 10:23:02 +01:00
EmanuelFeru 72e6b30033 UART with sideboards works + major refactoring
► the mainboard can now send and receive Serial data from the sideboards
► heavy refactored the `main.c`. It was becoming too large to manage... Therefore, `util.c` and `util.h` was created
► added new functionality for `VARIANT_HOVERCAR` and variants with `CONTROL_ADC` in general:
- ADC limits auto-calibration mode (long press of the power button) - calibration will not be lost at power-off
- Max Current and Max Speed adjustment mode (long press followed by a short press of the power button) - calibration will not be lost at power-off
- added one sideboard functionality:
         - LEDs are used to display battery level,  Motor Enable, Errors, Reverse driving, Braking.
         - Photo sensors are used as push buttons: One for changing Control Mode, One for Activating/Deactivating the Field Weakening on the fly
2020-03-01 10:00:26 +01:00
Kai Hauser e70b3aa38c
more CLI 2020-02-27 12:07:49 +01:00
Kai Hauser a6242cc3d6
Added Flashing Method 4: MacOS
and moved Variants above Flashing since you have to define a Variant before flashing
2020-02-26 21:03:52 +01:00
Kai Hauser 83b85bf4a1
Merge pull request #1 from EmanuelFeru/master
sync
2020-02-26 20:46:31 +01:00
EmanuelFeru 52e920c5ee Merge branch 'master' of https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC 2020-02-16 21:58:25 +01:00
EmanuelFeru 872d86f021 Added Keil project
Project can now be built and flashed with Keil uVision as well.
2020-02-16 21:58:15 +01:00
EmanuelFeru f1cb07dad2 Update README.md 2020-02-10 09:52:49 +01:00
EmanuelFeru 9e943feb8e Update README.md 2020-02-08 08:55:11 +01:00
EmanuelFeru b96ecf09e5
Update README.md 2020-02-07 18:25:57 +01:00
EmanuelFeru 4382ec3128
Update README.md 2020-02-07 18:15:18 +01:00
EmanuelFeru c58db9b3e2 Merge branch 'master' of https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC 2020-02-07 17:31:12 +01:00
EmanuelFeru 2cddbf5ed0 Added mcu unlocking pictures 2020-02-07 17:29:09 +01:00
EmanuelFeru 70c385e4a1
Update README.md 2020-02-07 17:27:23 +01:00
EmanuelFeru 2d178a399c Improved Serial Timeout
- added condition to avoid restarting DMA repeatedly if no data is received
- enabled DEBUG_SERIAL_ASCII for all Variants except VARIANT_TRANSPOTTER
2020-02-06 21:53:38 +01:00
EmanuelFeru 3329281bd2
Merge pull request #18 from pinguinpfleger/master
Some prettifying, typos, renaming
2020-01-29 21:29:39 +01:00
EmanuelFeru a57b600230 Minor changes for PR #18
- updated sligtly the order of defines and corrected defines for some variants in config.h
- fixed checksum data type in Arduino example (Issue #19)
2020-01-29 21:20:04 +01:00
Kai Hauser 25f223a703
fixes <command-line>:0:0: warning: "PLATFORMIO" redefined
no need to define -D PLATFORMIO since by platformio itself.
2020-01-26 21:19:58 +01:00
kai 8098a31457 prettified config.h 2020-01-18 02:14:42 +01:00
kai 2c1572d844 prettified config.h 2020-01-18 02:10:40 +01:00
kai 05e56eefd7 prettified config.h typo fix 2020-01-18 02:04:36 +01:00
kai 1ddcee2a5d prettified config.h 2020-01-18 02:00:48 +01:00
kai e1aa42bad0 space removal 2020-01-18 01:15:45 +01:00
kai 04fc584f0a renamed USART3 to USART because you can also use USART2 not only USART3 2020-01-18 01:08:47 +01:00
kai cd01b73451 corrected nunchuck to nunchuk 2020-01-18 01:05:06 +01:00
EmanuelFeru fb362f04a9
Merge pull request #12 from Candas1/master
Add FLYSKY IBUS protocol for RC remotes
2020-01-09 08:38:13 +01:00
EmanuelFeru 827a490f34 Fixed typo 2020-01-08 19:33:22 +01:00
EmanuelFeru d2c846cda9 Updated IBUS variant
- separated the implementation from USART implementation for more clarity
- fixed warnings
- minor visual updates
2020-01-08 19:16:34 +01:00
Candas1 c3a40f6454
Replacing #elif by #else 2020-01-07 22:06:31 +01:00
Candas1 4f8aafe3f0 Use defined macros for min max values 2020-01-07 21:13:22 +01:00
Candas1 faca885c9a Add FLYSKY IBUS support 2020-01-07 21:01:17 +01:00
EmanuelFeru bdb3b00a6d
Merge pull request #11 from pinguinpfleger/master
added PPM and Nunchuck as variant. unifyed variant naming
2020-01-07 18:13:26 +01:00
EmanuelFeru a3b6e40fa2 Minor updates
- fixed all warnings for VARIANT_NUNCHUCK and VARIANT_PPM
- changed the variant order: the basic Variants on top, more application specific in the bottom
2020-01-07 18:09:19 +01:00
kai 574e947cc2 travis 2020-01-05 20:03:28 +01:00
kai 1f8105346c travis 2020-01-05 19:48:57 +01:00
kai 51f17192b0 travis 2020-01-05 19:45:22 +01:00
kai 7ce7e29f34 travis 2020-01-05 19:37:13 +01:00
kai 7272edddbe travis 2020-01-05 19:32:33 +01:00
kai ccbea97941 travis 2020-01-05 19:29:43 +01:00
kai 90b8645b81 travis 2020-01-05 19:26:59 +01:00
kai 9e02369765 travis 2020-01-05 19:21:00 +01:00
kai b22094adf7 travis fix 2020-01-05 19:10:02 +01:00
kai c49bbdeacd all for travis 2020-01-05 14:28:02 +01:00
kai af3309f01b try to fix travis check 2020-01-05 14:02:22 +01:00
kai 7f01b16b63 link to repo file 2020-01-05 13:10:41 +01:00
kai f35d11041c VARIANT changes 2020-01-05 13:08:18 +01:00
kai 2e43550fec try to fix travis 2020-01-05 13:07:21 +01:00
kai ce59911dd4 try to fix travis 2020-01-05 13:04:49 +01:00
kai b12642aabc reverse PREFIX = arm-none-eabi- as default
;
2020-01-04 01:04:57 +01:00
kai ec2f6a1eb6 - removed default / fallback variant; you are forced to define the variant of your choice now or build will stop with an error
- added condition in config.h to either take setting from platform.ini or config.h
- homogenized default_envs naming; all variants now have VARIANT_ as prefix
- added nunchuck variant in platform.ini and config.h
- added PPM variant in platform.ini and config.h
- README: added jan's nunchuck breakout board repo
2020-01-04 00:09:57 +01:00