Search found 6 matches
- Fri Mar 26, 2021 11:33 pm
- Forum: Bug Reports
- Topic: ARMCMx removal breaks ChibiOS-Contrib targets (e.g. Teensy 3.6)
- Replies: 2
- Views: 103
ARMCMx removal breaks ChibiOS-Contrib targets (e.g. Teensy 3.6)
Hey, When upgrading my working copy of ChibiOS, I noticed that my targets no longer compile. I tracked it down to commit https://github.com/ChibiOS/ChibiOS/commit/b6df752c69fdca54e42695316c3769176d568839, which removes file os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk (among others). These fi...
- Sat Mar 13, 2021 3:33 pm
- Forum: Bug Reports
- Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
- Replies: 6
- Views: 1553
Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Hm, actually it seems like I need to align to 512 after fixing #define CORTEX_NUM_VECTORS 160 in cmparams.h, otherwise the device doesn’t work. Not 100% sure why right now. I figured out my misunderstanding: I previously missed that the alignment needs to happen on words (each vector table entry is...
- Thu Jun 11, 2020 9:33 pm
- Forum: Bug Reports
- Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
- Replies: 6
- Views: 1553
Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Aligning to 1024 sounds good to me.
Do you want me to update my patch or are you going to make the change?
Do you want me to update my patch or are you going to make the change?
- Thu Jun 11, 2020 8:21 pm
- Forum: Bug Reports
- Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
- Replies: 6
- Views: 1553
Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Hm, actually it seems like I need to align to 512 after fixing
in cmparams.h, otherwise the device doesn’t work. Not 100% sure why right now.
Code: Select all
#define CORTEX_NUM_VECTORS 160
in cmparams.h, otherwise the device doesn’t work. Not 100% sure why right now.
- Thu Jun 11, 2020 6:33 pm
- Forum: Bug Reports
- Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
- Replies: 6
- Views: 1553
[PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
I first wanted to send this as a pull request to https://github.com/ChibiOS/ChibiOS, but then saw an older pull request that was closed with a message to “post to the forums”, so here comes a patch that I would like to ask you to review and merge. I tried attaching the file, but .patch is not an all...
- Wed Jun 03, 2020 9:21 pm
- Forum: Kinetis Support
- Topic: Teensy 3.6 and MK66FX1M0VMD18 support?
- Replies: 5
- Views: 6926
Re: Teensy 3.6 and MK66FX1M0VMD18 support?
Hi! I started a project with Teensy 3.6 where I want to do a USB to uart bridge among other things, I used a teensy 3.2 example as reference and I saw that the output of the UART was slower than should be. I'm assuming I have something wrong in the clock configuration in mcuconf.h, can anyone confi...