Commit Graph
887 Commits
Author SHA1 Message Date
Oskar Weigl d6074fdf2c Update README.md 2018-04-08 21:20:24 -07:00
Oskar Weigl 48c8ad0990 Merge branch 'master' into devel 2018-04-08 20:15:59 -07:00
Oskar Weigl 57719d1578 Merge pull request #154 from madcowswe/sam_enum_size_fix
fix how enums are exposed on the protocol
2018-04-08 19:47:49 -07:00
Samuel Sadok 338e9759ce fix how enums are exposed on the protocol
Previously the assumption was made that the compiler
uses 32 bits for each enum value. This assumption was
invalid and meant that when reading/writing from
control_mode you would also read/write to enable_step_dir.
2018-04-08 14:06:30 -07:00
Oskar Weigl e71a38751f Merge remote-tracking branch 'origin/sam_config_fix' into devel 2018-04-07 18:24:40 -07:00
Oskar Weigl a23b5f29cc Merge branch 'master' into devel 2018-04-07 18:22:16 -07:00
Samuel Sadok 9430851791 set usb task pump priority to osPriorityAboveNormal
osPriorityNormal is the same priority as the communication task. If the USB pump task runs on the same priority, it sometimes fails to respond to the host in time, causing spurious halt conditions.
2018-04-07 18:21:45 -07:00
Samuel Sadok 95994309ae fix bug where an invalid motor config could be loaded
Before this commit, if the NVM is deemed valid and but the subsequent config load fails (e.g. because of a checksum mismatch), the motor config could be left in an undefined state.

Also a variable user_config_loaded is added to indicate whether the device is using user-saved config or factory defaults.
2018-04-07 12:49:29 -07:00
Oskar Weigl fabd4fae60 Merge remote-tracking branch 'origin/sam_rtos_debugging' into devel 2018-04-06 14:24:44 -07:00
Samuel Sadok 0b0acebf23 make two separate debug configurations 2018-04-06 13:07:24 -07:00
Oskar Weigl bc7ff1e623 Update README.md 2018-04-02 22:08:32 -07:00
Oskar Weigl f6e52c0f14 reflect move of drv driver 2018-03-30 13:23:28 -07:00
Samuel Sadok e5badaf724 update VSCode C++ settings 2018-03-30 13:16:26 -07:00
Oskar Weigl b2df11a416 Update tup.config.default 2018-03-29 23:47:58 -07:00
Samuel Sadok a4812f4ed8 change USB PID from 0x0D33 to 0x0D32
The official ODrive PID is 0x0D32 however the
firmware wrongly announced PID 0x0D33. This was already
fixed earlier but the fix was undone by CubeMX. This
commit also fixes the CubeMX setting.
2018-03-29 15:00:06 -07:00
Samuel Sadok a0dc56f2b0 change release binary naming convention 2018-03-27 13:32:47 -07:00
Samuel Sadok 3593a68128 add skip_cleanup and file_glob to .travis.yml fw-v0.3.6 2018-03-27 12:36:32 -07:00
Samuel Sadok e4fb0016e5 fix travis deploy 2018-03-26 23:43:55 -07:00
samuelsadok c639a4620c Merge pull request #152 from madcowswe/fw-v0.3.6-rc
Fw v0.3.6 release
2018-03-26 23:13:47 -07:00
Samuel Sadok 43aa805fd3 amend release notes 2018-03-26 23:07:34 -07:00
Samuel Sadok e40632a008 Merge branch 'master' of github.com:madcowswe/ODrive into fw-v0.3.6-rc 2018-03-26 22:58:13 -07:00
Oskar Weigl 7e1c9b55a1 Merge remote-tracking branch 'origin/sam_cube_fix' into devel 2018-03-26 17:26:38 -07:00
Samuel Sadok 2d251b3ca6 register FreeRTOS heap change in CubeMX
When we changed the FreeRTOS heap to reside in the CCM,
we didn't update the CubeMX settings. This means CubeMX
would revert the change.

This commit fixes this.
2018-03-26 14:55:54 -07:00
Oskar Weigl 17dc2c5c1e Merge pull request #151 from madcowswe/sam_travis
CI updates
2018-03-26 13:38:31 -07:00
Samuel Sadok 603ef50ea4 move build.sh to Firmware 2018-03-26 13:12:20 -07:00
Samuel Sadok 21437eaf59 amend changelog 2018-03-25 18:46:48 -07:00
Samuel Sadok 937953688c don't fail if build dir doesn't exist 2018-03-25 18:26:17 -07:00
Samuel Sadok c0d7d816fc add github API key for travis 2018-03-25 18:25:27 -07:00
Samuel Sadok 8a33a6d8ff ignore tup_build.sh 2018-03-17 22:40:23 -07:00
Samuel Sadok d4075f4127 add preliminary travis deploy section 2018-03-17 22:19:01 -07:00
Samuel Sadok fcdbde2640 build for multiple configurations 2018-03-17 22:11:58 -07:00
Samuel Sadok 6e6909c507 enable RTOS support for cortex-debug 2018-03-17 21:23:08 -07:00
Oskar Weigl 1087c0a824 Merge pull request #147 from madcowswe/sam_erase_config
Add `make erase_config`
2018-03-16 23:00:47 -07:00
Oskar Weigl 0f58c69f5f Merge remote-tracking branch 'origin/sam_dfu_fixes' into devel 2018-03-16 22:55:28 -07:00
Samuel Sadok a1e6dbeff2 ensure proper reset after DFU 2018-03-16 22:05:42 -07:00
Samuel Sadok 284a77eb1b fix timeouts in DFU script 2018-03-16 22:05:19 -07:00
Samuel Sadok 6e66d22055 don't place CCM init data into flash 2018-03-16 21:42:04 -07:00
Oskar Weigl 2b2ed19ab2 move TIM_TIME_BASE to common region of main.h 2018-03-16 17:56:19 -07:00
Oskar Weigl a72395d4c6 Update CHANGELOG.md 2018-03-15 18:56:38 -07:00
Oskar Weigl b6eee48f46 Update CHANGELOG.md 2018-03-15 18:56:27 -07:00
Oskar Weigl 2ed5e572fa Merge pull request #143 from madcowswe/sam_memory
Safer malloc and use of core-coupled memory
2018-03-15 18:53:26 -07:00
Oskar Weigl 2359781c11 Update syscalls.c 2018-03-15 18:49:28 -07:00
Oskar Weigl 5e30b9a257 Merge branch 'devel' into sam_memory 2018-03-15 18:47:26 -07:00
Oskar Weigl 004e3f416f Merge pull request #146 from madcowswe/sam_crlf_to_lf
change all CRLF files in Board/v3 to LF
2018-03-15 18:45:44 -07:00
Samuel Sadok ef99bb98c2 change all CRLF files in Board/v3 to LF 2018-03-15 18:32:46 -07:00
Samuel Sadok e203420a80 relax tup environment check
When tup sees a change in environment variables, it needs to rebuild everything because it doesn't know if a process accessed the changed environment variable.
However these changes are frequent when changing between VSCode and terminal.
By disabling this check we trade a tiny bit of correctness for convenience.
2018-03-15 17:56:51 -07:00
Samuel Sadok 8bf6793a86 make liveplotter not steal focus and terminate as expected 2018-03-15 17:56:14 -07:00
Samuel Sadok 0fd3b43a39 [python tools] use IPython.embed() by default
exmplore_odrive.py no longer needs to be executed with
"ipython -i explore_odrive.py" but can launch an embedded IPython
command prompt by itself. If IPython is not available, the script falls
back to checking for normal python interactive mode.
2018-03-15 17:55:26 -07:00
Samuel Sadok 37db565dad override _sbrk instead of _sbrk_r and repair merge 2018-03-15 17:39:13 -07:00
Samuel Sadok af124746e9 Add make erase_config
This allows developers to erase the entire configuration
without relying on the device to be reachable over USB.
2018-03-15 16:32:44 -07:00